mirror of
https://github.com/anoma/juvix.git
synced 2024-12-11 08:25:46 +03:00
[test] improve test for literals
This commit is contained in:
parent
3b685092d9
commit
09303131a8
@ -1,12 +1,20 @@
|
|||||||
module Literals;
|
module Literals;
|
||||||
axiom Int : Type;
|
axiom Int : Type;
|
||||||
axiom String : Type;
|
axiom String : Type;
|
||||||
|
axiom + : Int → Int → Int;
|
||||||
a : Int;
|
a : Int;
|
||||||
a := 12313;
|
a := 12313;
|
||||||
|
|
||||||
b : Int;
|
b : Int;
|
||||||
b := -008;
|
b := -008;
|
||||||
|
|
||||||
|
- : Int;
|
||||||
|
- := 010;
|
||||||
|
|
||||||
|
-+-- : Int;
|
||||||
|
-+-- := - + -+--;
|
||||||
|
|
||||||
|
|
||||||
c : String;
|
c : String;
|
||||||
c := "hellooooo";
|
c := "hellooooo";
|
||||||
end;
|
end;
|
Loading…
Reference in New Issue
Block a user