Tell unittests to use native file convention for EXAMPLE_DIR
[mussa.git] / alg / test / test_mussa.cpp
index 7340feb86e7609bda2c606e1eeb300e354b1ca70..3a850367f1d9b109a1f23cde12ac3285a05b7081 100644 (file)
@@ -90,7 +90,7 @@ BOOST_AUTO_TEST_CASE ( empty_mussa_set_threshold )
 
 BOOST_AUTO_TEST_CASE( mussa_load_mupa )
 {
-  fs::path mupa_path(EXAMPLE_DIR);
+  fs::path mupa_path(EXAMPLE_DIR, fs::native);
   fs::path result_path = fs::initial_path() / "mck3test_w30_t20";
   mupa_path /= "mck3test.mupa";
 
@@ -110,7 +110,7 @@ BOOST_AUTO_TEST_CASE( mussa_load_mupa )
 BOOST_AUTO_TEST_CASE( mussa_load_full_path )
 {
   Mussa m1;
-  fs::path full_path(fs::path(EXAMPLE_DIR) / "mck3test.mupa");
+  fs::path full_path(fs::path(EXAMPLE_DIR, fs::native) / "mck3test.mupa");
   m1.load_mupa_file( full_path );
   m1.analyze();
 
@@ -121,7 +121,7 @@ BOOST_AUTO_TEST_CASE( mussa_load_full_path )
 
 BOOST_AUTO_TEST_CASE( mussa_load_analysis )
 {
-  fs::path example_dir(EXAMPLE_DIR);
+  fs::path example_dir(EXAMPLE_DIR, fs::native);
   Mussa m1;
   m1.load_mupa_file( example_dir / "mck3test.mupa" );
   m1.analyze();