test initializer: remove a invalid test case.

This test depends on the machine environment.
it's not guaranteed the same result so we remove it.
This commit is contained in:
Hermet Park 2021-11-09 14:11:53 +09:00 committed by JunsuChoi
parent 37e39866dd
commit 775a0bcb1d

View file

@ -48,12 +48,6 @@ TEST_CASE("Negative termination", "[tvgInitializer]")
REQUIRE(Initializer::term(CanvasEngine::Sw) == Result::InsufficientCondition);
}
TEST_CASE("Many threads", "[tvgInitializer]")
{
REQUIRE(Initializer::init(CanvasEngine::Sw, -1) == Result::FailedAllocation);
REQUIRE(Initializer::term(CanvasEngine::Sw) == Result::InsufficientCondition);
}
TEST_CASE("Invalid engine", "[tvgInitializer]")
{
REQUIRE(Initializer::init(CanvasEngine(0), 0) == Result::InvalidArguments);