diff options
author | bd <bdunahu@operationnull.com> | 2025-05-10 15:17:40 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-10 15:17:40 -0400 |
commit | d0bb0aaf39bb61736e72b30e4d8f1a4a39536a0c (patch) | |
tree | b2eef605ec838083e2c97144d52c72f5ddaeb956 /tests/id.cc | |
parent | a08582325ef39cb5dc1bbe14043b756b111899b1 (diff) |
Combine read_vec_guard and read_guard using templates
Diffstat (limited to 'tests/id.cc')
-rw-r--r-- | tests/id.cc | 15 |
1 files changed, 0 insertions, 15 deletions
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); -} |