aboutsummaryrefslogtreecommitdiff
path: root/testes
diff options
context:
space:
mode:
Diffstat (limited to 'testes')
-rw-r--r--testes/coroutine.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/testes/coroutine.lua b/testes/coroutine.lua
index 26ed1f6a..48f4c5bf 100644
--- a/testes/coroutine.lua
+++ b/testes/coroutine.lua
@@ -747,6 +747,12 @@ assert(run(function () return a >> b end, {"shr"}) == 10 >> 12)
747assert(run(function () return 10 & b end, {"band"}) == 10 & 12) 747assert(run(function () return 10 & b end, {"band"}) == 10 & 12)
748assert(run(function () return a | 2 end, {"bor"}) == 10 | 2) 748assert(run(function () return a | 2 end, {"bor"}) == 10 | 2)
749assert(run(function () return a ~ 2 end, {"bxor"}) == 10 ~ 2) 749assert(run(function () return a ~ 2 end, {"bxor"}) == 10 ~ 2)
750assert(run(function () return a >> 2 end, {"shr"}) == 10 >> 2)
751assert(run(function () return 1 >> a end, {"shr"}) == 1 >> 10)
752assert(run(function () return a << 2 end, {"shl"}) == 10 << 2)
753assert(run(function () return 1 << a end, {"shl"}) == 1 << 10)
754assert(run(function () return a ~ 2 end, {"bxor"}) == 10 ~ 2)
755
750 756
751assert(run(function () return a..b end, {"concat"}) == "1012") 757assert(run(function () return a..b end, {"concat"}) == "1012")
752 758