MCPcopy Create free account
hub / github.com/bdring/FluidNC / TEST

Function TEST

FluidNC/tests/FluidErrorTest.cpp:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace {
7
8TEST(FluidError, NoneErrorCodeIsZero) {
9 auto ec = std::error_code(FluidError::None);
10 EXPECT_EQ(ec.value(), 0);
11}
12
13TEST(FluidError, SDNotConfiguredErrorCodeIsOne) {
14 auto ec = std::error_code(FluidError::SDNotConfigured);

Callers

nothing calls this directly

Calls 4

c_strMethod · 0.80
valueMethod · 0.45
nameMethod · 0.45
messageMethod · 0.45

Tested by

no test coverage detected