1   /* Copyright 2002-2024 CS GROUP
2    * Licensed to CS GROUP (CS) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * CS licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *   http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.orekit.gnss.attitude;
18  
19  import org.junit.jupiter.api.Test;
20  
21  
22  class GenericGNSSTest extends AbstractGNSSAttitudeProviderTest {
23  
24      @Test
25      void testPatchedLargeNegativeBetaGalileo() {
26          doTestAxes("patched-eclips/beta-large-negative-GALILEO.txt", 7.3e-15, 5.8e-16, true);
27      }
28  
29      @Test
30      void testPatchedLargePositiveBetaGalileo() {
31          doTestAxes("patched-eclips/beta-large-positive-GALILEO.txt", 7.3e-15, 7.9e-16, true);
32      }
33  
34      @Test
35      void testPatchedLargeNegativeBetaGlonass() {
36          doTestAxes("patched-eclips/beta-large-negative-GLONASS.txt", 7.2e-15, 1.1e-15, true);
37      }
38  
39      @Test
40      void testPatchedLargePositiveBetaGLONASS() {
41          doTestAxes("patched-eclips/beta-large-positive-GLONASS.txt", 6.8e-15, 9.2e-16, true);
42      }
43  
44      @Test
45      void testPatchedLargeNegativeBetaBlockIIA() {
46          doTestAxes("patched-eclips/beta-large-negative-BLOCK-IIA.txt", 6.3e-15, 1.1e-15, true);
47      }
48  
49      @Test
50      void testPatchedLargePositiveBetaBlockIIA() {
51          doTestAxes("patched-eclips/beta-large-positive-BLOCK-IIA.txt", 7.2e-15, 8.8e-16, true);
52      }
53  
54      @Test
55      void testPatchedLargeNegativeBetaBlockIIF() {
56          doTestAxes("patched-eclips/beta-large-negative-BLOCK-IIF.txt", 6.8e-15, 7.6e-16, true);
57      }
58  
59      @Test
60      void testPatchedLargePositiveBetaBlockIIF() {
61          doTestAxes("patched-eclips/beta-large-positive-BLOCK-IIF.txt", 7.4e-15, 7.0e-16, true);
62      }
63  
64      @Test
65      void testPatchedLargeNegativeBetaBlockIIR() {
66          doTestAxes("patched-eclips/beta-large-negative-BLOCK-IIR.txt", 8.0e-15, 8.7e-16, true);
67      }
68  
69      @Test
70      void testPatchedLargePositiveBetaBlockIIR() {
71          doTestAxes("patched-eclips/beta-large-positive-BLOCK-IIR.txt",  6.7e-15, 9.1e-16, true);
72      }
73  
74      @Test
75      void testOriginalLargeNegativeBetaGalileo() {
76          doTestAxes("original-eclips/beta-large-negative-GALILEO.txt", 7.3e-15, 5.8e-16, true);
77      }
78  
79      @Test
80      void testOriginalLargePositiveBetaGalileo() {
81          doTestAxes("original-eclips/beta-large-positive-GALILEO.txt", 7.3e-15, 7.9e-16, true);
82      }
83  
84      @Test
85      void testOriginalLargeNegativeBetaGlonass() {
86          doTestAxes("original-eclips/beta-large-negative-GLONASS.txt", 7.2e-15, 1.1e-15, true);
87      }
88  
89      @Test
90      void testOriginalLargePositiveBetaGLONASS() {
91          doTestAxes("original-eclips/beta-large-positive-GLONASS.txt", 6.8e-15, 9.2e-16, true);
92      }
93  
94      @Test
95      void testOriginalLargeNegativeBetaBlockIIA() {
96          doTestAxes("original-eclips/beta-large-negative-BLOCK-IIA.txt", 6.3e-15, 1.1e-15, true);
97      }
98  
99      @Test
100     void testOriginalLargePositiveBetaBlockIIA() {
101         doTestAxes("original-eclips/beta-large-positive-BLOCK-IIA.txt", 7.2e-15, 8.8e-16, true);
102     }
103 
104     @Test
105     void testOriginalLargeNegativeBetaBlockIIF() {
106         doTestAxes("original-eclips/beta-large-negative-BLOCK-IIF.txt", 6.8e-15, 7.6e-16, true);
107     }
108 
109     @Test
110     void testOriginalLargePositiveBetaBlockIIF() {
111         doTestAxes("original-eclips/beta-large-positive-BLOCK-IIF.txt", 7.4e-15, 7.0e-16, true);
112     }
113 
114     @Test
115     void testOriginalLargeNegativeBetaBlockIIR() {
116         doTestAxes("original-eclips/beta-large-negative-BLOCK-IIR.txt", 8.0e-15, 8.8e-16, true);
117     }
118 
119     @Test
120     void testOriginalLargePositiveBetaBlockIIR() {
121         doTestAxes("original-eclips/beta-large-positive-BLOCK-IIR.txt",  6.7e-15, 9.1e-16, true);
122     }
123 
124 }