nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
nitc: fix error in constructor inheritance
[nit.git]
/
tests
/
base_virtual_int.nit
1
import
kernel
2
3
fun
test
(
d
:
Discrete
)
4
do
5
(
d
<
5
).
output
6
#alt1#(3<d).output
7
(
d
<=
d
).
output
8
#alt2#(d<='a').output
9
#alt3#(5.as(Discrete)<=d).output
10
end
11
12
test
(
4
)