From d0bb0aaf39bb61736e72b30e4d8f1a4a39536a0c Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 10 May 2025 15:17:40 -0400 Subject: Combine read_vec_guard and read_guard using templates --- tests/id.cc | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'tests/id.cc') diff --git a/tests/id.cc b/tests/id.cc index ca10677..0e7de3b 100644 --- a/tests/id.cc +++ b/tests/id.cc @@ -191,18 +191,3 @@ TEST_CASE_METHOD(IDFixture, "Parse arbitrary j-type # two", "[id]") delete i; } - -TEST_CASE_METHOD(IDFixture, "read does not conflict with read", "[id]") -{ - signed int v; - Response r; - - v = 0b1; - r = this->d->read_guard(v); - CHECK(v == 0b0); - REQUIRE(r == OK); - - v = 0b1; - this->d->read_guard(v); - REQUIRE(v == 0b0); -} -- cgit v1.2.3