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 "../ActsDeqpgles20016TestSuite.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(ActsDeqpgles20016TestSuite, TestCase_015271,
27         "dEQP-GLES2.functional.de",
28         "pth_range.compare.default");
29 
30 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015272,
31         "dEQP-GLES2.functional.de",
32         "pth_range.compare.reverse");
33 
34 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015273,
35         "dEQP-GLES2.functional.depth",
36         "_range.compare.zero_to_half");
37 
38 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015274,
39         "dEQP-GLES2.functional.dept",
40         "h_range.compare.half_to_one");
41 
42 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015275,
43         "dEQP-GLES2.functional.depth",
44         "_range.compare.half_to_zero");
45 
46 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015276,
47         "dEQP-GLES2.functional.dept",
48         "h_range.compare.one_to_half");
49 
50 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015277,
51         "dEQP-GLES2.functional.depth",
52         "_range.compare.third_to_0_8");
53 
54 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015278,
55         "dEQP-GLES2.functional.depth",
56         "_range.compare.0_8_to_third");
57 
58 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015279,
59         "dEQP-GLES2.functional.depth",
60         "_range.compare.zero_to_zero");
61 
62 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015280,
63         "dEQP-GLES2.functional.depth",
64         "_range.compare.half_to_half");
65 
66 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015281,
67         "dEQP-GLES2.functional.dept",
68         "h_range.compare.one_to_one");
69 
70 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015282,
71         "dEQP-GLES2.functional.dept",
72         "h_range.compare.clamp_near");
73 
74 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015283,
75         "dEQP-GLES2.functional.dep",
76         "th_range.compare.clamp_far");
77 
78 static SHRINK_HWTEST_F(ActsDeqpgles20016TestSuite, TestCase_015284,
79         "dEQP-GLES2.functional.dept",
80         "h_range.compare.clamp_both");
81