aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/test/test/luxc/lang/translation/jvm.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--new-luxc/test/test/luxc/lang/translation/jvm.lux24
1 files changed, 12 insertions, 12 deletions
diff --git a/new-luxc/test/test/luxc/lang/translation/jvm.lux b/new-luxc/test/test/luxc/lang/translation/jvm.lux
index 6652c8484..34f1af508 100644
--- a/new-luxc/test/test/luxc/lang/translation/jvm.lux
+++ b/new-luxc/test/test/luxc/lang/translation/jvm.lux
@@ -6,7 +6,7 @@
(data [maybe]
["e" error]
[bit]
- [bool "bool/" Eq<Bool>]
+ [bit "bit/" Eq<Bit>]
[number "int/" Number<Int> Codec<Text,Int>]
[text "text/" Eq<Text>]
text/format
@@ -242,8 +242,8 @@
(lang.with-current-module "")
(macro.run (io.run init-jvm))
(case> (#e.Success valueT)
- (bool/= (<reference> param subject)
- (:coerce Bool valueT))
+ (bit/= (<reference> param subject)
+ (:coerce Bit valueT))
(#e.Error error)
false)))]
@@ -279,7 +279,7 @@
(do @
[size (|> r.nat (:: @ map (|>> (n/% +10) (n/max +1))))
idx (|> r.nat (:: @ map (n/% size)))
- valueZ r.bool
+ valueZ r.bit
valueB gen-int
valueS gen-int
valueI gen-int
@@ -303,7 +303,7 @@
(#e.Error error)
false)))]
- ["boolean" Bool valueZ bool/= (code.bool valueZ)
+ ["boolean" Bit valueZ bit/= (code.bit valueZ)
id]
["byte" Int valueB i/= (|> (code.int valueB) (~) "jvm convert long-to-byte" (`))
"jvm convert byte-to-long"]
@@ -327,7 +327,7 @@
(do @
[size (|> r.nat (:: @ map (|>> (n/% +10) (n/max +1))))
idx (|> r.nat (:: @ map (n/% size)))
- valueZ r.bool
+ valueZ r.bit
valueB gen-int
valueS gen-int
valueI gen-int
@@ -401,7 +401,7 @@
(def: instances
(List [Text (r.Random ls.Synthesis)])
- (let [gen-boolean (|> r.bool (:: r.Functor<Random> map code.bool))
+ (let [gen-boolean (|> r.bit (:: r.Functor<Random> map code.bit))
gen-integer (|> r.int (:: r.Functor<Random> map code.int))
gen-double (|> r.frac (:: r.Functor<Random> map code.frac))
gen-string (|> (r.text +5) (:: r.Functor<Random> map code.text))]
@@ -436,7 +436,7 @@
(lang.with-current-module "")
(macro.run (io.run init-jvm))
(case> (#e.Success outputT)
- (:coerce Bool outputT)
+ (:coerce Bit outputT)
(#e.Error error)
false)))
@@ -447,7 +447,7 @@
(lang.with-current-module "")
(macro.run (io.run init-jvm))
(case> (#e.Success outputT)
- (not (:coerce Bool outputT))
+ (not (:coerce Bit outputT))
(#e.Error error)
false)))
@@ -500,7 +500,7 @@
(lang.with-current-module "")
(macro.run (io.run init-jvm))
(case> (#e.Success outputT)
- (:coerce Bool outputT)
+ (:coerce Bit outputT)
(#e.Error error)
false)))
@@ -610,7 +610,7 @@
(lang.with-current-module "")
(macro.run (io.run init-jvm))
(case> (#e.Success outputT)
- (:coerce Bool outputT)
+ (:coerce Bit outputT)
(#e.Error error)
false)))
@@ -623,7 +623,7 @@
(lang.with-current-module "")
(macro.run (io.run init-jvm))
(case> (#e.Success outputT)
- (:coerce Bool outputT)
+ (:coerce Bit outputT)
(#e.Error error)
false)))