Ejemplo n.º 1
0
    def test_open_rri_text_file(self):
        rri_file_name = 'tests/test_files/test_file_1.txt'

        response = read_from_text(rri_file_name)
        expected = np.array(FAKE_RRI)

        self.assertTrue(isinstance(response, RRi))
        np.testing.assert_equal(response.values, expected)
Ejemplo n.º 2
0
 def setUp(self):
     self.real_rri = read_from_text("tests/test_files/real_rri.txt")