MCPcopy Create free account
hub / github.com/AOMediaCodec/libavif / TEST

Function TEST

tests/gtest/avifsampletransformtest.cc:77–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75//------------------------------------------------------------------------------
76
77TEST(SampleTransformTest, NoExpression) {
78 AvifExpression empty;
79 ASSERT_EQ(
80 avifSampleTransformRecipeToExpression(AVIF_SAMPLE_TRANSFORM_NONE, &empty),
81 AVIF_RESULT_INVALID_ARGUMENT);
82 EXPECT_TRUE(avifSampleTransformExpressionIsEquivalentTo(&empty, &empty));
83}
84
85TEST(SampleTransformTest, NoRecipe) {
86 AvifExpression empty;

Callers

nothing calls this directly

Calls 8

EvalFunction · 0.85
AddConstantMethod · 0.80
AddOperatorMethod · 0.80
ApplyMethod · 0.80

Tested by

no test coverage detected