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')
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')
def test_p3(self): src = extract_p3(self.gb) dst = np.array([452889.0, 65655.0, 326810.0, 163320.0, 40832.0, 0.0]) np.testing.assert_array_almost_equal(src, dst, decimal=-3, err_msg='Incorrect extraction of P3')
def test_p3(self): src = extract_p3(self.gb) dst = np.array([452889.0, 65655.0, 326810.0, 163320.0, 40832.0, 0.0]) np.testing.assert_array_almost_equal( src, dst, decimal=-3, err_msg='Incorrect extraction of P3')