1 /*
2  * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include <climits>
17 #include <gtest/gtest.h>
18 #include "../Deqpgles2BaseFunc.h"
19 #include "../ActsDeqpgles20006TestSuite.h"
20 #include "shrinkdefine.h"
21 
22 using namespace std;
23 using namespace testing::ext;
24 using namespace OHOS;
25 
26 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005812,
27         "dEQP-GLES2.functional.shaders.operator.angl",
28         "e_and_trigonometry.tan.mediump_float_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005813,
31         "dEQP-GLES2.functional.shaders.operator.angle",
32         "_and_trigonometry.tan.mediump_float_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005814,
35         "dEQP-GLES2.functional.shaders.operator.ang",
36         "le_and_trigonometry.tan.highp_float_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005815,
39         "dEQP-GLES2.functional.shaders.operator.angl",
40         "e_and_trigonometry.tan.highp_float_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005816,
43         "dEQP-GLES2.functional.shaders.operator.ang",
44         "le_and_trigonometry.tan.mediump_vec2_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005817,
47         "dEQP-GLES2.functional.shaders.operator.angl",
48         "e_and_trigonometry.tan.mediump_vec2_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005818,
51         "dEQP-GLES2.functional.shaders.operator.an",
52         "gle_and_trigonometry.tan.highp_vec2_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005819,
55         "dEQP-GLES2.functional.shaders.operator.ang",
56         "le_and_trigonometry.tan.highp_vec2_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005820,
59         "dEQP-GLES2.functional.shaders.operator.ang",
60         "le_and_trigonometry.tan.mediump_vec3_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005821,
63         "dEQP-GLES2.functional.shaders.operator.angl",
64         "e_and_trigonometry.tan.mediump_vec3_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005822,
67         "dEQP-GLES2.functional.shaders.operator.an",
68         "gle_and_trigonometry.tan.highp_vec3_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005823,
71         "dEQP-GLES2.functional.shaders.operator.ang",
72         "le_and_trigonometry.tan.highp_vec3_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005824,
75         "dEQP-GLES2.functional.shaders.operator.ang",
76         "le_and_trigonometry.tan.mediump_vec4_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005825,
79         "dEQP-GLES2.functional.shaders.operator.angl",
80         "e_and_trigonometry.tan.mediump_vec4_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005826,
83         "dEQP-GLES2.functional.shaders.operator.an",
84         "gle_and_trigonometry.tan.highp_vec4_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005827,
87         "dEQP-GLES2.functional.shaders.operator.ang",
88         "le_and_trigonometry.tan.highp_vec4_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005828,
91         "dEQP-GLES2.functional.shaders.operator.an",
92         "gle_and_trigonometry.tan.lowp_float_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005829,
95         "dEQP-GLES2.functional.shaders.operator.ang",
96         "le_and_trigonometry.tan.lowp_float_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005830,
99         "dEQP-GLES2.functional.shaders.operator.an",
100         "gle_and_trigonometry.tan.lowp_vec2_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005831,
103         "dEQP-GLES2.functional.shaders.operator.ang",
104         "le_and_trigonometry.tan.lowp_vec2_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005832,
107         "dEQP-GLES2.functional.shaders.operator.an",
108         "gle_and_trigonometry.tan.lowp_vec3_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005833,
111         "dEQP-GLES2.functional.shaders.operator.ang",
112         "le_and_trigonometry.tan.lowp_vec3_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005834,
115         "dEQP-GLES2.functional.shaders.operator.an",
116         "gle_and_trigonometry.tan.lowp_vec4_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles20006TestSuite, TestCase_005835,
119         "dEQP-GLES2.functional.shaders.operator.ang",
120         "le_and_trigonometry.tan.lowp_vec4_fragment");
121