summaryrefslogtreecommitdiff
path: root/tests/micropython/native_misc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/native_misc.py')
-rw-r--r--tests/micropython/native_misc.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/micropython/native_misc.py b/tests/micropython/native_misc.py
index f5ef807fe..f40fcb240 100644
--- a/tests/micropython/native_misc.py
+++ b/tests/micropython/native_misc.py
@@ -1,5 +1,6 @@
# tests for natively compiled functions
+
# basic test
@micropython.native
def native_test(x):
@@ -14,6 +15,7 @@ import gc
gc.collect()
native_test(3)
+
# native with 2 args
@micropython.native
def f(a, b):
@@ -22,6 +24,7 @@ def f(a, b):
f(1, 2)
+
# native with 3 args
@micropython.native
def f(a, b, c):
@@ -30,6 +33,7 @@ def f(a, b, c):
f(1, 2, 3)
+
# check not operator
@micropython.native
def f(a):