Flutter Engine
The Flutter Engine
Namespaces | Functions
vector2d_unittest.cc File Reference
#include <cmath>
#include <cstddef>
#include <limits>
#include "gtest/gtest.h"
#include "vector2d.h"
#include "vector2d_f.h"

Go to the source code of this file.

Namespaces

namespace  gfx
 

Functions

template<typename T , size_t N>
constexpr size_t gfx::size (const T(&array)[N]) noexcept
 
 gfx::TEST (Vector2dTest, ConversionToFloat)
 
 gfx::TEST (Vector2dTest, IsZero)
 
 gfx::TEST (Vector2dTest, Add)
 
 gfx::TEST (Vector2dTest, Negative)
 
 gfx::TEST (Vector2dTest, Scale)
 
 gfx::TEST (Vector2dTest, Length)
 
 gfx::TEST (Vector2dTest, ClampVector2d)
 
 gfx::TEST (Vector2dTest, ClampVector2dF)
 
 gfx::TEST (Vector2dTest, IntegerOverflow)