ceremonyclient/bedlam/testsuite/lang/test_le.qcl
Cassandra Heart e51992f3e8
OT
2025-03-23 21:11:16 -05:00

17 lines
292 B
Go

// -*- go -*-
package main
// @Test 42 11 = 0
// @Test 42 42 = 1
// @Test 42 43 = 1
// @Test 42 0 = 0
// @Test 0 0 = 1
// @Test 0 42 = 1
// @Test 42 0xffff = 1
// @Test 0xffff 0xffff = 1
// @Test 0xffff 42 = 0
func main(a, b uint16) bool {
return a <= b
}