micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Tests various constants of the math module.
|
||||
try:
|
||||
import math
|
||||
from math import exp, cos
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
print(math.e == exp(1.0))
|
||||
|
||||
print(cos(math.pi))
|
Reference in New Issue
Block a user