MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / TEST

Function TEST

common/source_test.cc:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27using ::testing::Optional;
28
29TEST(SourceRange, Default) {
30 SourceRange range;
31 EXPECT_EQ(range.begin, -1);
32 EXPECT_EQ(range.end, -1);
33}
34
35TEST(SourceRange, Equality) {
36 EXPECT_THAT((SourceRange{}), (Eq(SourceRange{})));

Callers 1

source_test.ccFile · 0.70

Calls 7

descriptionMethod · 0.80
line_offsetsMethod · 0.80
GetPositionMethod · 0.80
ToStringMethod · 0.45
contentMethod · 0.45
has_valueMethod · 0.45
GetLocationMethod · 0.45

Tested by

no test coverage detected