ligo/src/contracts/boolean_operators.ligo

14 lines
352 B
Plaintext
Raw Normal View History

// Test PascaLIGO boolean operators
2019-05-13 00:56:22 +04:00
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