ThreadSafeSet: Remove unused class
This commit is contained in:
@@ -97,26 +97,6 @@ TEST_CASE("ThreadSafeFIFO_GetTimeout_no_timeout","[ThreadSafeFIFO]") {
|
||||
std::cout << std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count() << std::endl;
|
||||
}
|
||||
|
||||
TEST_CASE("ThreadSafeSet","[ThreadSafeFIFO]") {
|
||||
ThreadSafeSet<uint32_t> set;
|
||||
uint32_t tmp;
|
||||
set.Put(0);
|
||||
set.Put(1);
|
||||
|
||||
REQUIRE(set.Get(tmp) == 1);
|
||||
CHECK (tmp == 0);
|
||||
|
||||
set.Put(0);
|
||||
|
||||
REQUIRE(set.Get(tmp) == 1);
|
||||
CHECK (tmp == 0);
|
||||
|
||||
REQUIRE(set.Get(tmp) == 1);
|
||||
CHECK (tmp == 1);
|
||||
|
||||
REQUIRE(set.Get(tmp) == 0);
|
||||
}
|
||||
|
||||
TEST_CASE("ThreadSafeFIFO_Utilization","[ThreadSafeFIFO]") {
|
||||
ThreadSafeFIFO<uint32_t> fifo;
|
||||
uint32_t tmp;
|
||||
|
||||
Reference in New Issue
Block a user