aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/test/test/luxc/lang/translation/function.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/test/test/luxc/lang/translation/function.lux')
-rw-r--r--new-luxc/test/test/luxc/lang/translation/function.lux54
1 files changed, 27 insertions, 27 deletions
diff --git a/new-luxc/test/test/luxc/lang/translation/function.lux b/new-luxc/test/test/luxc/lang/translation/function.lux
index 69cd174dd..fd96aeeb9 100644
--- a/new-luxc/test/test/luxc/lang/translation/function.lux
+++ b/new-luxc/test/test/luxc/lang/translation/function.lux
@@ -51,7 +51,7 @@
(test "Can read arguments."
(|> (run (` ("lux call" (~ functionS) (~+ argsS))))
(case> (#e.Success valueT)
- (f/= arg-value (:! Frac valueT))
+ (f/= arg-value (:coerce Frac valueT))
(#e.Error error)
(exec (log! error)
@@ -65,7 +65,7 @@
("lux call" (~ functionS) (~+ preS))
(~+ postS))))
(case> (#e.Success valueT)
- (f/= arg-value (:! Frac valueT))
+ (f/= arg-value (:coerce Frac valueT))
(#e.Error error)
(exec (log! error)
@@ -84,7 +84,7 @@
((~ (code.int arg-var))))))]
(|> (run (` ("lux call" (~ functionS) (~+ argsS))))
(case> (#e.Success valueT)
- (f/= arg-value (:! Frac valueT))
+ (f/= arg-value (:coerce Frac valueT))
(#e.Error error)
(exec (log! error)
@@ -95,34 +95,34 @@
(<| (times +100)
(function-spec run-jvm)))
-(context: "[JS] Function."
- (<| (times +100)
- (function-spec run-js)))
+## (context: "[JS] Function."
+## (<| (times +100)
+## (function-spec run-js)))
-(context: "[Lua] Function."
- (<| (times +100)
- (function-spec run-lua)))
+## (context: "[Lua] Function."
+## (<| (times +100)
+## (function-spec run-lua)))
-(context: "[Ruby] Function."
- (<| (times +100)
- (function-spec run-ruby)))
+## (context: "[Ruby] Function."
+## (<| (times +100)
+## (function-spec run-ruby)))
-(context: "[Python] Function."
- (<| (times +100)
- (function-spec run-python)))
+## (context: "[Python] Function."
+## (<| (times +100)
+## (function-spec run-python)))
-(context: "[R] Function."
- (<| (times +100)
- (function-spec run-r)))
+## (context: "[R] Function."
+## (<| (times +100)
+## (function-spec run-r)))
-(context: "[Scheme] Function."
- (<| (times +100)
- (function-spec run-scheme)))
+## (context: "[Scheme] Function."
+## (<| (times +100)
+## (function-spec run-scheme)))
-(context: "[Common Lisp] Function."
- (<| (times +100)
- (function-spec run-common-lisp)))
+## (context: "[Common Lisp] Function."
+## (<| (times +100)
+## (function-spec run-common-lisp)))
-(context: "[PHP] Function."
- (<| (times +100)
- (function-spec run-php)))
+## (context: "[PHP] Function."
+## (<| (times +100)
+## (function-spec run-php)))