tests: Enable misc tests on pyboard; output 4 sig figs in rge_sm.
This commit is contained in:
parent
e6ce10a3e7
commit
c7a79284bb
@ -106,7 +106,7 @@ def singleTraj(system, trajStart, h=0.02, tend=1.0):
|
|||||||
|
|
||||||
for i in range(len(rk.Trajectory)):
|
for i in range(len(rk.Trajectory)):
|
||||||
tr = rk.Trajectory[i]
|
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))
|
#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')
|
test_dirs = ('basics', 'micropython', 'float', 'import', 'io', 'misc', 'unicode', 'unix')
|
||||||
else:
|
else:
|
||||||
# run pyboard tests
|
# run pyboard tests
|
||||||
test_dirs = ('basics', 'micropython', 'float', 'pyb', 'pybnative', 'inlineasm')
|
test_dirs = ('basics', 'micropython', 'float', 'misc', 'pyb', 'pybnative', 'inlineasm')
|
||||||
else:
|
else:
|
||||||
# run tests from these directories
|
# run tests from these directories
|
||||||
test_dirs = args.test_dirs
|
test_dirs = args.test_dirs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user