Commit c7a79284 authored by Damien George's avatar Damien George
Browse files

tests: Enable misc tests on pyboard; output 4 sig figs in rge_sm.

parent e6ce10a3
......@@ -106,7 +106,7 @@ def singleTraj(system, trajStart, h=0.02, tend=1.0):
for i in range(len(rk.Trajectory)):
tr = rk.Trajectory[i]
print(' '.join(["{:.5f}".format(t) for t in tr]))
print(' '.join(["{:.4f}".format(t) for t in tr]))
#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))
......
......@@ -152,7 +152,7 @@ def main():
test_dirs = ('basics', 'micropython', 'float', 'import', 'io', 'misc', 'unicode', 'unix')
else:
# run pyboard tests
test_dirs = ('basics', 'micropython', 'float', 'pyb', 'pybnative', 'inlineasm')
test_dirs = ('basics', 'micropython', 'float', 'misc', 'pyb', 'pybnative', 'inlineasm')
else:
# run tests from these directories
test_dirs = args.test_dirs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment