#include <boost/test/auto_unit_test.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
+namespace fs = boost::filesystem;
#include "alg/flp.hpp"
#include "alg/sequence.hpp"
#include <iostream>
#include <list>
+#include "mussa_exceptions.hpp"
+
BOOST_AUTO_TEST_CASE( flp_simple )
{
FLPs f;
// FIXME: should we test the individual lists?
}
}
+
+BOOST_AUTO_TEST_CASE( flp_file_check )
+{
+ fs::path filename = "Thy_micturations_are_to_me_as_plurdled_gabbleblotchits";
+ FLPs f1;
+ BOOST_CHECK_THROW( f1.load(filename), mussa_load_error);
+}