// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/animation/svg_number_interpolation_type.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/core/svg/svg_number.h" #include "third_party/blink/renderer/platform/testing/task_environment.h" namespace blink { TEST(SVGNumberInterpolationTypeTest, NonNegativeSVGNumber) { … } TEST(SVGNumberInterpolationTypeTest, NegativeSVGNumber) { … } // This is a regression test for https://crbug.com/961859. InterpolableNumber // can represent a double, but SVGNumber is created from a float, so we must // make sure to clamp it. TEST(SVGNumberInterpolationTypeTest, InterpolableNumberOutOfRange) { … } } // namespace blink