ca1471612f
Add Pascaligo tests for not kwd, (commented out) procedure and for loop See merge request ligolang/ligo!95
17 lines
425 B
Plaintext
17 lines
425 B
Plaintext
// Test PascaLIGO boolean operators
|
|
|
|
function or_true (const b : bool) : bool is
|
|
begin skip end with b or True
|
|
|
|
function or_false (const b : bool) : bool is
|
|
begin skip end with b or False
|
|
|
|
function and_true (const b : bool) : bool is
|
|
begin skip end with b and True
|
|
|
|
function and_false (const b : bool) : bool is
|
|
begin skip end with b and False
|
|
|
|
function not_bool (const b: bool) : bool is
|
|
begin skip end with not b
|