Damien George
734775524e
tests/basics: Add test for super() when self is closed over.
2017-03-27 11:29:11 +11:00
Damien George
bfb48c1620
tests/float: Add tests for round() of inf, nan and large number.
2017-03-24 11:00:45 +11:00
Damien George
bacb52aa2d
tests/float: Add tests for math funcs that return ints.
...
One should test bigint, inf and nan to make sure all cases are covered.
2017-03-23 23:54:10 +11:00
Paul Sokolovsky
4a4bb84e92
tests/heapalloc_str: Test no-replacement case for str.replace().
2017-03-22 22:17:52 +03:00
Peter Hinch
231cfc84a7
extmod/modframebuf: Add support for monochrome horizontal format.
...
MHLSB and MHMSB formats are added to the framebuf module, which have 8
adjacent horizontal pixels represented in a single byte.
2017-03-20 16:21:47 +11:00
Damien George
74faf4c5fc
unix/coverage: Enable scheduler and add tests for it.
2017-03-20 15:20:26 +11:00
Damien George
c772817dee
tests/micropython: Add tests for micropython.schedule().
2017-03-20 15:20:26 +11:00
Damien George
eeff0c3528
tests/basics/bytes_add: Add tests for optimised bytes addition.
2017-03-16 14:31:03 +11:00
Damien George
ecb4357fe1
tests/basics: Move string-modulo-format int tests to dedicated file.
2017-03-15 17:34:47 +11:00
Damien George
b154468b08
tests/basics: Add test for string module formatting with int argument.
2017-03-15 17:31:17 +11:00
Damien George
3a0b2be6e2
tests/basics/string_format2: Adjust comment now that tests succeed.
2017-03-15 17:25:46 +11:00
Damien George
e29f704b67
tests/micropython/viper_error: Add more tests to improve coverage.
2017-03-14 23:05:41 +11:00
Rami Ali
8a57cacd78
tests/extmod: Improve tinfgzip.c test coverage.
2017-03-14 22:13:36 +11:00
Damien George
a49a96bb5d
tests/extmod/vfs_basic: Unmount all existing devices before doing test.
...
This is so the test can run successfully on targets that already have
something mounted.
2017-03-14 22:08:37 +11:00
Damien George
923ec1169f
tests/run-tests: Re-instate skipping of doubleprec test on pyboard.
2017-03-14 22:07:52 +11:00
Damien George
05fec17d9b
tests/basics/struct_micropython: Add test for 'S' typecode in ustruct.
...
The 'S' typecode is a uPy extension so it should be grouped with the other
extension (namely 'O' typecode). Testing 'S' needs uctypes which is an
extmod module and not always available, so this test is made optional and
will only be run on ports that have (u)struct and uctypes. Otherwise it
will be silently skipped.
2017-03-14 18:27:43 +11:00
Rami Ali
77cbd173df
tests: Improve binary.c test coverage.
2017-03-14 18:27:29 +11:00
Rami Ali
4e86ca398f
tests/extmod: Improve re1.5/recursiveloop.c test coverage.
2017-03-14 17:17:45 +11:00
Damien George
773b0bac41
tests/extmod/vfs_basic: Add more tests for basic VFS functionality.
2017-03-14 16:07:30 +11:00
Damien George
8891b2e700
tests/extmod: Add a test for core VFS functionality, sans any filesystem.
2017-03-13 21:42:02 +11:00
Paul Sokolovsky
3e321f1724
tests/misc/: Make few tests skippable.
2017-03-11 01:17:02 +01:00
Damien George
f07a56fa3b
tests/extmod: Rename websocket test to websocket_basic.
...
This is so that the filename of the test doesn't clash with the module name
itself (being "websocket"), and lead to potential problems executing the
test.
2017-03-10 15:05:08 +11:00
Paul Sokolovsky
c9705cff68
tests/basics/fun_error: Split out skippable test.
2017-03-10 02:22:56 +01:00
Paul Sokolovsky
854bb322bf
tests/feature_check/int_big: Rework "big int" detection.
...
MICROPY_LONGINT_IMPL_LONGLONG doesn't have overflow detection, so just
parsing a large number won't give an error, we need to print it out
to check that the whole number was parsed.
2017-03-10 02:11:43 +01:00
Paul Sokolovsky
bc5bffbf65
tests/micropython/opt_level: Clarify the expected output for opt_level == 3.
2017-03-09 23:22:31 +01:00