kopia lustrzana https://github.com/micropython/micropython
tests: Adapt misc/features.py tests for ports without floating point.
rodzic
c5175526dd
commit
4af5424242
|
@ -7,7 +7,7 @@ print("1")
|
||||||
print("2")
|
print("2")
|
||||||
print(three)
|
print(three)
|
||||||
print("{}".format(4))
|
print("{}".format(4))
|
||||||
five=25/5
|
five=25//5
|
||||||
print(int(five))
|
print(int(five))
|
||||||
j=0
|
j=0
|
||||||
for i in range(4):
|
for i in range(4):
|
||||||
|
@ -15,7 +15,7 @@ for i in range(4):
|
||||||
print(j)
|
print(j)
|
||||||
print(3+4)
|
print(3+4)
|
||||||
try:
|
try:
|
||||||
a=4/zero
|
a=4//zero
|
||||||
except:
|
except:
|
||||||
print(8)
|
print(8)
|
||||||
print("xxxxxxxxx".count("x"))
|
print("xxxxxxxxx".count("x"))
|
||||||
|
|
Ładowanie…
Reference in New Issue