Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Nov 23, 2023
1 parent 1f6b5dc commit 637143d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/struct_pack/tests/test_fast_varint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,10 @@ TEST_CASE("fast varint test 9") {
auto result = struct_pack::deserialize<struct_pack::DISABLE_ALL_META_INFO,
fast_varint_example_1>(buffer);
REQUIRE(result.has_value());
CHECK(result == o);
CHECK(result->a == o.a);
CHECK(result->b == o.b);
CHECK(result->c == o.c);
CHECK(result->d == o.d);
CHECK(buffer.size() == 13);
return;
}
Expand Down

0 comments on commit 637143d

Please sign in to comment.