Commit c6d2df52 authored by Dominik Charousset's avatar Dominik Charousset

Improve test coverage

parent 9f6f11bf
......@@ -57,7 +57,8 @@ CAF_TEST(integer gauges can increment and decrement) {
CAF_CHECK_EQUAL(g.value(), -3);
CAF_MESSAGE("gauges allow setting values");
g.value(42);
CAF_CHECK_EQUAL(g.value(), 42);
CAF_MESSAGE("integer gauges also support operator++");
CAF_CHECK_EQUAL(++g, 43);
CAF_MESSAGE("users can create gauges with custom start values");
CAF_CHECK_EQUAL(telemetry::int_gauge{42}.value(), 42);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment