Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c7a7928

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

2 files changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tests/misc/rge_sm.py‎

Copy file name to clipboardExpand all lines: tests/misc/rge_sm.py
+1-1Lines 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

Collapse file

‎tests/run-tests‎

Copy file name to clipboardExpand all lines: tests/run-tests
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.