add unit tests for game

This commit is contained in:
Jan
2021-02-19 23:23:46 +01:00
parent e09793818f
commit 42851bcaf8
3 changed files with 71 additions and 15 deletions

View File

@ -36,7 +36,7 @@ namespace test::parsing::commands::sequence::sequence_architecture
}
};
TEST_CASE("SequenceAction: Ensure can set x86", "[parsing][parsingstream]")
TEST_CASE("SequenceArchitecture: Ensure can set x86", "[parsing][sequence]")
{
CommandsSequenceTestsHelper helper;
const TokenPos pos;
@ -54,7 +54,7 @@ namespace test::parsing::commands::sequence::sequence_architecture
REQUIRE(helper.m_repository->GetArchitecture() == Architecture::X86);
}
TEST_CASE("SequenceAction: Ensure can set x64", "[parsing][parsingstream]")
TEST_CASE("SequenceArchitecture: Ensure can set x64", "[parsing][sequence]")
{
CommandsSequenceTestsHelper helper;
const TokenPos pos;
@ -72,7 +72,7 @@ namespace test::parsing::commands::sequence::sequence_architecture
REQUIRE(helper.m_repository->GetArchitecture() == Architecture::X86);
}
TEST_CASE("SequenceAction: Ensure cannot match unknown value", "[parsing][parsingstream]")
TEST_CASE("SequenceArchitecture: Ensure cannot match unknown value", "[parsing][sequence]")
{
CommandsSequenceTestsHelper helper;
const TokenPos pos;