summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/fun_largestate.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-29 00:44:11 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-29 00:44:11 +0000
commit12c66be2b8baab093c7be5e2108d2767c9779a69 (patch)
tree7db0c4259eaae84cea25d79b3856fc08d863cef1 /tests/basics/fun_largestate.py
parent81e70a88a7a4adb33c4a5d049c83f42d94e6332b (diff)
downloadmicropython-12c66be2b8baab093c7be5e2108d2767c9779a69.tar.gz
micropython-12c66be2b8baab093c7be5e2108d2767c9779a69.zip
tests: Add some tests to improve coverage.
Used gcov to find some parts of vm.c, runtime.c, obj.c that were not covered by any tests. Still need to use gcov more thoroughly.
Diffstat (limited to 'tests/basics/fun_largestate.py')
-rw-r--r--tests/basics/fun_largestate.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/basics/fun_largestate.py b/tests/basics/fun_largestate.py
index c83f730dcb..f13619295f 100644
--- a/tests/basics/fun_largestate.py
+++ b/tests/basics/fun_largestate.py
@@ -129,5 +129,9 @@ def f():
x125 = 1
x126 = 1
+f()
+
def g():
x = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,]
+
+g()