ligo/src/test/contracts/boolean_operators.ligo
Christian Rinderknecht ca1471612f Merge branch 'pascaligo-tests' into 'dev'
Add Pascaligo tests for not kwd, (commented out) procedure and for loop

See merge request ligolang/ligo!95
2019-09-26 15:09:37 +00:00

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