nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nitunit: show a progress bar
[nit.git]
/
tests
/
base_int2.nit
diff --git
a/tests/base_int2.nit
b/tests/base_int2.nit
index
0f15bad
..
3e66af7
100644
(file)
--- a/
tests/base_int2.nit
+++ b/
tests/base_int2.nit
@@
-39,8
+39,8
@@
fun three: Int do return 3
(two==two).output
'\n'.output
(two==two).output
'\n'.output
-(not one is two).output
-(two is two).output
+(not one.is_same_instance(two)).output
+(two.is_same_instance(two)).output
'\n'.output
(not one>two).output
'\n'.output
(not one>two).output
@@
-73,5
+73,5
@@
fun three: Int do return 3
(three<=>two).output
'\n'.output
(three<=>two).output
'\n'.output
-one.succ.output
-three.prec.output
+one.successor(1).output
+three.predecessor(1).output