Flutter Engine
The Flutter Engine
Namespaces | Functions
size_unittest.cc File Reference
#include "size.h"
#include "gtest/gtest.h"
#include "size_conversions.h"
#include "size_f.h"

Go to the source code of this file.

Namespaces

namespace  gfx
 

Functions

 gfx::TEST (SizeTest, ToSizeF)
 
 gfx::TEST (SizeTest, ToFlooredSize)
 
 gfx::TEST (SizeTest, ToCeiledSize)
 
 gfx::TEST (SizeTest, ToRoundedSize)
 
 gfx::TEST (SizeTest, ClampSize)
 
 gfx::TEST (SizeTest, ClampSizeF)
 
 gfx::TEST (SizeTest, Enlarge)
 
 gfx::TEST (SizeTest, IntegerOverflow)
 
 gfx::TEST (SizeTest, TrivialDimensionTests)
 
 gfx::TEST (SizeTest, ClampsToZero)
 
 gfx::TEST (SizeTest, ConsistentClamping)
 
 gfx::TEST (SizeTest, StaysSmall)
 
 gfx::TEST (SizeTest, OperatorAddSub)
 
 gfx::TEST (SizeTest, OperatorAddOverflow)
 
 gfx::TEST (SizeTest, OperatorSubClampAtZero)
 
 gfx::TEST (SizeTest, OperatorCompare)