/*
- * Copyright (c) 2020-2021 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2021 - 2022 Samsung Electronics Co., Ltd. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
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);