// // Copyright 2018 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. // // MatrixModeTest.cpp: Tests basic usage of glMatrixMode. #include "test_utils/ANGLETest.h" #include "test_utils/gl_raii.h" #include <vector> usingnamespaceangle; class MatrixModeTest : public ANGLETest<> { … }; // State query: Checks the initial state is correct. TEST_P(MatrixModeTest, InitialState) { … } // Checks for error-generating cases. TEST_P(MatrixModeTest, Negative) { … } // Checks that matrix mode can be set. TEST_P(MatrixModeTest, Set) { … } ANGLE_INSTANTIATE_TEST_ES1(…);