Skip to content

Commit c7a7928

Browse files
committed
tests: Enable misc tests on pyboard; output 4 sig figs in rge_sm.
1 parent e6ce10a commit c7a7928

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/misc/rge_sm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def singleTraj(system, trajStart, h=0.02, tend=1.0):
106106

107107
for i in range(len(rk.Trajectory)):
108108
tr = rk.Trajectory[i]
109-
print(' '.join(["{:.5f}".format(t) for t in tr]))
109+
print(' '.join(["{:.4f}".format(t) for t in tr]))
110110

111111
#phaseDiagram(sysSM, (lambda i, j: [0.354, 0.654, 1.278, 0.8 + 0.2 * i, 0.1 + 0.1 * j]), (lambda a: (a[4], a[5])), h=0.1, tend=math.log(10**17))
112112

tests/run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def main():
152152
test_dirs = ('basics', 'micropython', 'float', 'import', 'io', 'misc', 'unicode', 'unix')
153153
else:
154154
# run pyboard tests
155-
test_dirs = ('basics', 'micropython', 'float', 'pyb', 'pybnative', 'inlineasm')
155+
test_dirs = ('basics', 'micropython', 'float', 'misc', 'pyb', 'pybnative', 'inlineasm')
156156
else:
157157
# run tests from these directories
158158
test_dirs = args.test_dirs

0 commit comments

Comments
 (0)