summaryrefslogtreecommitdiffstats
path: root/test/test-fixed-point-parameter/Main.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-fixed-point-parameter/Main.py')
-rwxr-xr-xtest/test-fixed-point-parameter/Main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-fixed-point-parameter/Main.py b/test/test-fixed-point-parameter/Main.py
index 65e1c8d..ed57873 100755
--- a/test/test-fixed-point-parameter/Main.py
+++ b/test/test-fixed-point-parameter/Main.py
@@ -90,6 +90,8 @@ class FixedPointTester():
runSuccess = True
for value in self._shouldWork:
+ value = value.normalize()
+
print('Testing %s for %s' % (value, self._paramPath))
value, success = self.checkBounds(value)
if not success:
@@ -116,6 +118,7 @@ class FixedPointTester():
continue
for value in self._shouldBreak:
+ value = value.normalize()
print('Testing invalid value %s for %s' % (value, self._paramPath))
value, success = self.checkBounds(value)
if success: