summaryrefslogtreecommitdiff
path: root/tests/basics/math-fun.py
AgeCommit message (Collapse)Author
2014-04-17tests: Split out those tests requiring float and import.Damien George
Tests in basics (which should probably be renamed to core) should not rely on float, or import any non-built-in files. This way these tests can be run when those features are not available. All test in basics now pass on the pyboard using stmhal port, except for string-repr which has some issues with character hex printing.
2014-04-02py: Fix regress for printing of floats and #if.Damien George
Also change formating modifier in test script (it still passes with original format though).
2014-04-01py: Fix math.{ceil,floor,trunc} to return int.Damien George
2014-03-22Fixed broken math functions that return bool and added some more.Rachel Dowdall
2014-03-20Rename test so that it doesn't clash with Python math module.Damien George