added preliminary test cases
This commit is contained in:
@@ -179,7 +179,7 @@ class TestADCResult(unittest.TestCase):
|
||||
Test the functionality of __sub__ and __rsub__
|
||||
"""
|
||||
adc = self.create_adc_result()
|
||||
y = adc.y
|
||||
y = adc.y[0][1]=5
|
||||
# test integer subtraction
|
||||
for i in range(adc.get_nChannels()):
|
||||
self.assertIsNone(np.testing.assert_array_equal(adc.y[i] - 10, y[i] - 10))
|
||||
|
||||
Reference in New Issue
Block a user