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 "../Deqpgles3BaseFunc.h"
19 #include "../ActsDeqpgles30019TestSuite.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(ActsDeqpgles30019TestSuite, TestCase_018207,
27         "dEQP-GLES3.functional.shaders.builtin_",
28         "functions.common.modf.float_lowp_vertex");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018208,
31         "dEQP-GLES3.functional.shaders.builtin_f",
32         "unctions.common.modf.float_lowp_fragment");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018209,
35         "dEQP-GLES3.functional.shaders.builtin_fu",
36         "nctions.common.modf.float_mediump_vertex");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018210,
39         "dEQP-GLES3.functional.shaders.builtin_fun",
40         "ctions.common.modf.float_mediump_fragment");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018211,
43         "dEQP-GLES3.functional.shaders.builtin_f",
44         "unctions.common.modf.float_highp_vertex");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018212,
47         "dEQP-GLES3.functional.shaders.builtin_fu",
48         "nctions.common.modf.float_highp_fragment");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018213,
51         "dEQP-GLES3.functional.shaders.builtin_",
52         "functions.common.modf.vec2_lowp_vertex");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018214,
55         "dEQP-GLES3.functional.shaders.builtin_f",
56         "unctions.common.modf.vec2_lowp_fragment");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018215,
59         "dEQP-GLES3.functional.shaders.builtin_f",
60         "unctions.common.modf.vec2_mediump_vertex");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018216,
63         "dEQP-GLES3.functional.shaders.builtin_fu",
64         "nctions.common.modf.vec2_mediump_fragment");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018217,
67         "dEQP-GLES3.functional.shaders.builtin_",
68         "functions.common.modf.vec2_highp_vertex");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018218,
71         "dEQP-GLES3.functional.shaders.builtin_f",
72         "unctions.common.modf.vec2_highp_fragment");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018219,
75         "dEQP-GLES3.functional.shaders.builtin_",
76         "functions.common.modf.vec3_lowp_vertex");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018220,
79         "dEQP-GLES3.functional.shaders.builtin_f",
80         "unctions.common.modf.vec3_lowp_fragment");
81 
82 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018221,
83         "dEQP-GLES3.functional.shaders.builtin_f",
84         "unctions.common.modf.vec3_mediump_vertex");
85 
86 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018222,
87         "dEQP-GLES3.functional.shaders.builtin_fu",
88         "nctions.common.modf.vec3_mediump_fragment");
89 
90 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018223,
91         "dEQP-GLES3.functional.shaders.builtin_",
92         "functions.common.modf.vec3_highp_vertex");
93 
94 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018224,
95         "dEQP-GLES3.functional.shaders.builtin_f",
96         "unctions.common.modf.vec3_highp_fragment");
97 
98 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018225,
99         "dEQP-GLES3.functional.shaders.builtin_",
100         "functions.common.modf.vec4_lowp_vertex");
101 
102 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018226,
103         "dEQP-GLES3.functional.shaders.builtin_f",
104         "unctions.common.modf.vec4_lowp_fragment");
105 
106 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018227,
107         "dEQP-GLES3.functional.shaders.builtin_f",
108         "unctions.common.modf.vec4_mediump_vertex");
109 
110 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018228,
111         "dEQP-GLES3.functional.shaders.builtin_fu",
112         "nctions.common.modf.vec4_mediump_fragment");
113 
114 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018229,
115         "dEQP-GLES3.functional.shaders.builtin_",
116         "functions.common.modf.vec4_highp_vertex");
117 
118 static SHRINK_HWTEST_F(ActsDeqpgles30019TestSuite, TestCase_018230,
119         "dEQP-GLES3.functional.shaders.builtin_f",
120         "unctions.common.modf.vec4_highp_fragment");
121