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

Function TEST_F

common/values/timestamp_value_test.cc:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29using TimestampValueTest = common_internal::ValueTest<>;
30
31TEST_F(TimestampValueTest, Kind) {
32 EXPECT_EQ(TimestampValue().kind(), TimestampValue::kKind);
33 EXPECT_EQ(Value(TimestampValue(absl::UnixEpoch() + absl::Seconds(1))).kind(),
34 TimestampValue::kKind);
35}
36
37TEST_F(TimestampValueTest, DebugString) {
38 {

Callers

nothing calls this directly

Calls 5

OfFunction · 0.85
TimestampValueClass · 0.70
ValueClass · 0.70
kindMethod · 0.45
ConvertToJsonMethod · 0.45

Tested by

no test coverage detected