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

native-del-fast
Damien George 2014-09-06 18:38:55 +01:00
parent e6ce10a3e7
commit c7a79284bb
2 changed files with 2 additions and 2 deletions

View File

@ -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))

View File

@ -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