def test_input_none(self): ydata_ref = np.zeros((self.nphi, self.number_of_measurements)) ydata = inputchecks.check_measurement_data(None, \ self.nphi, self.number_of_measurements) assert_array_equal(ydata, ydata_ref)
def test_input_columns(self): ydata_ref = np.random.rand(self.nphi, self.number_of_measurements) ydata = inputchecks.check_measurement_data(ydata_ref.T, \ self.nphi, self.number_of_measurements) assert_array_equal(ydata, ydata_ref)
def test_input_none(self): ydata_ref = np.zeros((self.nphi, self.number_of_measurements)) ydata = inputchecks.check_measurement_data(None, self.nphi, self.number_of_measurements) assert_array_equal(ydata, ydata_ref)
def test_input_columns(self): ydata_ref = np.random.rand(self.nphi, self.number_of_measurements) ydata = inputchecks.check_measurement_data(ydata_ref.T, self.nphi, self.number_of_measurements) assert_array_equal(ydata, ydata_ref)