#include "third_party/blink/renderer/platform/geometry/calculation_expression_node.h"
#include "base/memory/scoped_refptr.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
namespace {
scoped_refptr<CalculationExpressionOperationNode> BuildOperationNode(
Vector<float> numbers,
CalculationOperator op) { … }
}
TEST(CalculationExpressionOperationNodeTest, Comparison) { … }
TEST(CalculationExpressionOperationNodeTest, SteppedValueFunctions) { … }
TEST(CalculationExpressionOperationNodeTest, ExponentialFunctions) { … }
TEST(CalculationExpressionOperationNodeTest,
SignRelatedFunctionsPixelsAndPercent) { … }
TEST(CalculationExpressionOperationNodeTest,
SignRelatedFunctionsPixelsAndZeroPercent) { … }
TEST(CalculationExpressionOperationNodeTest, SignRelatedFunctionsPixelsOnly) { … }
TEST(CalculationExpressionOperationNodeTest, SignRelatedFunctions) { … }
TEST(CalculationExpressionOperationNodeTest, ExplicitPixelsAndPercent) { … }
TEST(CalculationExpressionOperationNodeTest, NonExplicitPixelsAndPercent) { … }
TEST(CalculationExpressionOperationNodeTest, ProgressNotation) { … }
}