Exemple #1
0
 def test_p5(self):
     src = extract_p5(extract_p1(self.gb), extract_p3(self.gb))
     dst = np.array([226444.5, 65655.0, 163405.0, 54440.0, 8166.3999999999996, 0.0])
     np.testing.assert_array_almost_equal(src, dst, decimal=-3, err_msg='Incorrect extraction of P5')
Exemple #2
0
 def test_p1(self):
     src = extract_p1(self.gb)
     dst = np.array([3, 2, 3, 4, 6, 2])
     np.testing.assert_array_equal(src, dst, 'Incorrect extraction of P1')
Exemple #3
0
 def test_p1(self):
     src = extract_p1(self.gb)
     dst = np.array([3, 2, 3, 4, 6, 2])
     np.testing.assert_array_equal(src, dst, 'Incorrect extraction of P1')
Exemple #4
0
 def test_p5(self):
     src = extract_p5(extract_p1(self.gb), extract_p3(self.gb))
     dst = np.array(
         [226444.5, 65655.0, 163405.0, 54440.0, 8166.3999999999996, 0.0])
     np.testing.assert_array_almost_equal(
         src, dst, decimal=-3, err_msg='Incorrect extraction of P5')