Skip to content

Commit

Permalink
Fixed error in testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
senthurayyappan committed Oct 23, 2023
1 parent 720bfbe commit 7e43d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_sensors/test_sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def test_strainamp_read_uncompressed_strain(strainamp_patched: StrainAmp):
# data = [0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15]
# Calculate the expected values by hand
expected_data = [2314, 2828, 3342, 3856, 4370, 4884]
uncompressed_strain = msa_byte_data._read_uncompressed_strain()
uncompressed_strain = msa_byte_data.read_uncompressed_strain()
# Assert the proper array is returned
assert np.array_equal(uncompressed_strain, expected_data)

Expand Down

0 comments on commit 7e43d77

Please sign in to comment.