added preliminary test cases

This commit is contained in:
2026-03-20 10:08:07 +01:00
parent 65611b98a0
commit ec8fa09201
3 changed files with 65 additions and 33 deletions
+1 -1
View File
@@ -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))