This test depends on the machine environment.
it's not guaranteed the same result so we remove it.
REQUIRE(Initializer::term(CanvasEngine::Sw) == Result::InsufficientCondition);
}
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);
TEST_CASE("Invalid engine", "[tvgInitializer]")
{
REQUIRE(Initializer::init(CanvasEngine(0), 0) == Result::InvalidArguments);