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 "../ActsDeqpgles30018TestSuite.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(ActsDeqpgles30018TestSuite, TestCase_017803,
27         "dEQP-GLES3.functional.shaders.deriva",
28         "te.fwidth.static_switch.float_mediump");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017804,
31         "dEQP-GLES3.functional.shaders.deriv",
32         "ate.fwidth.static_switch.float_highp");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017805,
35         "dEQP-GLES3.functional.shaders.deriva",
36         "te.fwidth.static_switch.vec2_mediump");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017806,
39         "dEQP-GLES3.functional.shaders.deriv",
40         "ate.fwidth.static_switch.vec2_highp");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017807,
43         "dEQP-GLES3.functional.shaders.deriva",
44         "te.fwidth.static_switch.vec3_mediump");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017808,
47         "dEQP-GLES3.functional.shaders.deriv",
48         "ate.fwidth.static_switch.vec3_highp");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017809,
51         "dEQP-GLES3.functional.shaders.deriva",
52         "te.fwidth.static_switch.vec4_mediump");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles30018TestSuite, TestCase_017810,
55         "dEQP-GLES3.functional.shaders.deriv",
56         "ate.fwidth.static_switch.vec4_highp");
57