Flutter Engine
The Flutter Engine
Namespaces | Functions
saturated_math_unittests.cc File Reference
#include "gtest/gtest.h"
#include "impeller/geometry/saturated_math.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::testing
 

Functions

 impeller::testing::TEST (SaturatedMath, ExplicitAddOfSignedInts)
 
 impeller::testing::TEST (SaturatedMath, ImplicitAddOfSignedInts)
 
 impeller::testing::TEST (SaturatedMath, ExplicitAddOfFloatingPoint)
 
 impeller::testing::TEST (SaturatedMath, ImplicitAddOfFloatingPoint)
 
 impeller::testing::TEST (SaturatedMath, ExplicitSubOfSignedInts)
 
 impeller::testing::TEST (SaturatedMath, ImplicitSubOfSignedInts)
 
 impeller::testing::TEST (SaturatedMath, ExplicitSubOfFloatingPoint)
 
 impeller::testing::TEST (SaturatedMath, ImplicitSubOfFloatingPoint)
 
 impeller::testing::TEST (SaturatedMath, ExplicitAverageScalarOfSignedInts)
 
 impeller::testing::TEST (SaturatedMath, ImplicitAverageScalarOfSignedInts)
 
 impeller::testing::TEST (SaturatedMath, ExplicitAverageScalarOfFloatingPoint)
 
 impeller::testing::TEST (SaturatedMath, ImplicitAverageScalarOfFloatingPoint)
 
 impeller::testing::TEST (SaturatedMath, CastingFiniteDoubleToFloatStaysFinite)
 
 impeller::testing::TEST (SaturatedMath, CastingInfiniteDoubleToFloatStaysInfinite)
 
 impeller::testing::TEST (SaturatedMath, CastingNaNDoubleToFloatStaysNaN)
 
 impeller::testing::TEST (SaturatedMath, CastingLargeScalarToSignedIntProducesLimit)
 
 impeller::testing::TEST (SaturatedMath, CastingInfiniteScalarToSignedIntProducesLimit)
 
 impeller::testing::TEST (SaturatedMath, CastingNaNScalarToSignedIntProducesZero)