1   /* Copyright 2002-2022 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.Test;
20  
21  
22  public class GenericGNSSTest extends AbstractGNSSAttitudeProviderTest {
23  
24      @Test
25      public void testPatchedLargeNegativeBetaGalileo() {
26          doTestAxes("patched-eclips/beta-large-negative-GALILEO.txt", 6.4e-15, 5.8e-16, true);
27      }
28  
29      @Test
30      public void testPatchedLargePositiveBetaGalileo() {
31          doTestAxes("patched-eclips/beta-large-positive-GALILEO.txt", 6.7e-15, 7.1e-16, true);
32      }
33  
34      @Test
35      public void testPatchedLargeNegativeBetaGlonass() {
36          doTestAxes("patched-eclips/beta-large-negative-GLONASS.txt", 5.8e-15, 5.2e-16, true);
37      }
38  
39      @Test
40      public void testPatchedLargePositiveBetaGLONASS() {
41          doTestAxes("patched-eclips/beta-large-positive-GLONASS.txt", 6.5e-15, 8.8e-16, true);
42      }
43  
44      @Test
45      public void testPatchedLargeNegativeBetaBlockIIA() {
46          doTestAxes("patched-eclips/beta-large-negative-BLOCK-IIA.txt", 6.1e-15, 4.5e-16, true);
47      }
48  
49      @Test
50      public void testPatchedLargePositiveBetaBlockIIA() {
51          doTestAxes("patched-eclips/beta-large-positive-BLOCK-IIA.txt", 7.0e-15, 8.0e-16, true);
52      }
53  
54      @Test
55      public void testPatchedLargeNegativeBetaBlockIIF() {
56          doTestAxes("patched-eclips/beta-large-negative-BLOCK-IIF.txt", 6.7e-15, 7.6e-16, true);
57      }
58  
59      @Test
60      public void testPatchedLargePositiveBetaBlockIIF() {
61          doTestAxes("patched-eclips/beta-large-positive-BLOCK-IIF.txt", 7.2e-15, 6.3e-16, true);
62      }
63  
64      @Test
65      public void testPatchedLargeNegativeBetaBlockIIR() {
66          doTestAxes("patched-eclips/beta-large-negative-BLOCK-IIR.txt", 8.0e-15, 8.7e-16, true);
67      }
68  
69      @Test
70      public void testPatchedLargePositiveBetaBlockIIR() {
71          doTestAxes("patched-eclips/beta-large-positive-BLOCK-IIR.txt",  6.3e-15, 9.1e-16, true);
72      }
73  
74      @Test
75      public void testOriginalLargeNegativeBetaGalileo() {
76          doTestAxes("original-eclips/beta-large-negative-GALILEO.txt", 6.4e-15, 5.8e-16, true);
77      }
78  
79      @Test
80      public void testOriginalLargePositiveBetaGalileo() {
81          doTestAxes("original-eclips/beta-large-positive-GALILEO.txt", 6.7e-15, 7.1e-16, true);
82      }
83  
84      @Test
85      public void testOriginalLargeNegativeBetaGlonass() {
86          doTestAxes("original-eclips/beta-large-negative-GLONASS.txt", 5.8e-15, 5.2e-16, true);
87      }
88  
89      @Test
90      public void testOriginalLargePositiveBetaGLONASS() {
91          doTestAxes("original-eclips/beta-large-positive-GLONASS.txt", 6.5e-15, 8.8e-16, true);
92      }
93  
94      @Test
95      public void testOriginalLargeNegativeBetaBlockIIA() {
96          doTestAxes("original-eclips/beta-large-negative-BLOCK-IIA.txt", 6.1e-15, 4.5e-16, true);
97      }
98  
99      @Test
100     public void testOriginalLargePositiveBetaBlockIIA() {
101         doTestAxes("original-eclips/beta-large-positive-BLOCK-IIA.txt", 7.0e-15, 8.0e-16, true);
102     }
103 
104     @Test
105     public void testOriginalLargeNegativeBetaBlockIIF() {
106         doTestAxes("original-eclips/beta-large-negative-BLOCK-IIF.txt", 6.7e-15, 7.6e-16, true);
107     }
108 
109     @Test
110     public void testOriginalLargePositiveBetaBlockIIF() {
111         doTestAxes("original-eclips/beta-large-positive-BLOCK-IIF.txt", 7.2e-15, 6.3e-16, true);
112     }
113 
114     @Test
115     public void testOriginalLargeNegativeBetaBlockIIR() {
116         doTestAxes("original-eclips/beta-large-negative-BLOCK-IIR.txt", 8.0e-15, 8.8e-16, true);
117     }
118 
119     @Test
120     public void testOriginalLargePositiveBetaBlockIIR() {
121         doTestAxes("original-eclips/beta-large-positive-BLOCK-IIR.txt",  6.3e-15, 9.1e-16, true);
122     }
123 
124 }