// // Copyright 2016 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // vector_utils_unittests.cpp: Unit tests for the vector utils. // #include "vector_utils.h" #include <gtest/gtest.h> usingnamespaceangle; namespace { // First test that comparing vectors work TEST(VectorUtilsTest, Comparison) { … } // Test indexing TEST(VectorUtilsTest, Indexing) { … } // Test for the various constructors TEST(VectorUtilsTest, Constructors) { … } // Test accessing the data directly TEST(VectorUtilsTest, DataAccess) { … } // Test accessing the data directly TEST(VectorUtilsTest, LoadStore) { … } // Test basic arithmetic operations TEST(VectorUtilsTest, BasicArithmetic) { … } // Test compound arithmetic operations TEST(VectorUtilsTest, CompoundArithmetic) { … } // Test other arithmetic operations TEST(VectorUtilsTest, OtherArithmeticOperations) { … } // Test element shortcuts TEST(VectorUtilsTest, ElementShortcuts) { … } // Test the cross product TEST(VectorUtilsTest, CrossProduct) { … } // Test basic functionality of int vectors TEST(VectorUtilsTest, IntVector) { … } // Test basic functionality of int vectors TEST(VectorUtilsTest, UIntVector) { … } } // anonymous namespace