Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions eo-runtime/src/main/eo/bool.eo
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@

if true (01-.eq x) > [x] > or

++> tests-if-result-answers-right-method-of-chosen-branch
eq. > @
(true.if 00-00-00-00-00-00-00-05 00-00-00-00-00-00-00-09).right 1
00-00-00-00-00-00-00-02

++> tests-if-result-answers-left-method-of-chosen-branch
eq. > @
(false.if 00-00-00-00-00-00-00-09 00-00-00-00-00-00-00-05).left 1
00-00-00-00-00-00-00-0A

++> tests-compares-two-bools
eq. > @
true
Expand Down
2 changes: 1 addition & 1 deletion eo-runtime/src/main/eo/false.eo
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
+unlint mandatory-package

bool > false
right > [left right]
right-branch > [left-branch right-branch]
2 changes: 1 addition & 1 deletion eo-runtime/src/main/eo/true.eo
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
+unlint mandatory-package

bool > true
left > [left right]
left-branch > [left-branch right-branch]
Loading