diff --git a/UnitTests/SoarUnitTests/MiscTests.cpp b/UnitTests/SoarUnitTests/MiscTests.cpp index 2ff64e9131..43fbe0aea5 100644 --- a/UnitTests/SoarUnitTests/MiscTests.cpp +++ b/UnitTests/SoarUnitTests/MiscTests.cpp @@ -378,22 +378,6 @@ void MiscTests::testProductionPrinting() no_agent_assertTrue(spMessage == "sp {foo\n (state ^superstate nil)\n -->\n ( ^one 1 ^two 2.000000 ^three 3.000000 ^foo bar ^|| hi ^|| bar\n ^|^baz| baz ^1 one ^|2.0| two)\n}\n\n"); } -void MiscTests::testSvsSceneCaseInsensitivity() -{ - agent->ExecuteCommandLine("svs --enable"); - no_agent_assertTrue_msg("failed to enable SVS", agent->GetLastCommandLineResult()); - - std::string result; - result = agent->ExecuteCommandLine("svs S1.scene.world"); - no_agent_assertFalse_msg("could not find S1 scene", result == "path not found\n"); - - result = agent->ExecuteCommandLine("svs s1.scene.world"); - no_agent_assertFalse_msg("lower-case s1 scene name not found", result == "path not found\n"); - - result = agent->ExecuteCommandLine("svs D34.scene.world"); - no_agent_assertTrue_msg("D34 scene name found: " + result, result == "path not found\n"); -} - void MiscTests::testLocationPredictionRhs() { source("predict-location.soar"); diff --git a/UnitTests/SoarUnitTests/MiscTests.hpp b/UnitTests/SoarUnitTests/MiscTests.hpp index f548095bd3..b6cdc304de 100644 --- a/UnitTests/SoarUnitTests/MiscTests.hpp +++ b/UnitTests/SoarUnitTests/MiscTests.hpp @@ -66,9 +66,6 @@ class MiscTests : public FunctionalTestHarness TEST(testProductionPrinting, -1) void testProductionPrinting(); - TEST(testSvsSceneCaseInsensitivity, -1) - void testSvsSceneCaseInsensitivity(); - TEST(testLocationPredictionRhs, -1) void testLocationPredictionRhs(); diff --git a/UnitTests/SoarUnitTests/SvsTests.cpp b/UnitTests/SoarUnitTests/SvsTests.cpp index 2a746b7e57..7f8585cf14 100644 --- a/UnitTests/SoarUnitTests/SvsTests.cpp +++ b/UnitTests/SoarUnitTests/SvsTests.cpp @@ -160,3 +160,19 @@ void SvsTests::testSubstateWhenDisabledInSubstates() { // TODO } + +void SvsTests::testSvsSceneCaseInsensitivity() +{ + agent->ExecuteCommandLine("svs --enable"); + no_agent_assertTrue_msg("failed to enable SVS", agent->GetLastCommandLineResult()); + + std::string result; + result = agent->ExecuteCommandLine("svs S1.scene.world"); + no_agent_assertFalse_msg("could not find S1 scene", result == "path not found\n"); + + result = agent->ExecuteCommandLine("svs s1.scene.world"); + no_agent_assertFalse_msg("lower-case s1 scene name not found", result == "path not found\n"); + + result = agent->ExecuteCommandLine("svs D34.scene.world"); + no_agent_assertTrue_msg("D34 scene name found: " + result, result == "path not found\n"); +} diff --git a/UnitTests/SoarUnitTests/SvsTests.hpp b/UnitTests/SoarUnitTests/SvsTests.hpp index 071c0138d3..8754d42d75 100644 --- a/UnitTests/SoarUnitTests/SvsTests.hpp +++ b/UnitTests/SoarUnitTests/SvsTests.hpp @@ -54,6 +54,9 @@ class SvsTests : public FunctionalTestHarness TEST(testSubstateWhenDisabledInSubstates, -1); void testSubstateWhenDisabledInSubstates(); + + TEST(testSvsSceneCaseInsensitivity, -1); + void testSvsSceneCaseInsensitivity(); }; #endif /* SvsTests_cpp */