Added 048 acceptance test
This commit is contained in:
9
examples/acceptance_tests/048/lib/tests.ak
Normal file
9
examples/acceptance_tests/048/lib/tests.ak
Normal file
@@ -0,0 +1,9 @@
|
||||
pub fn when_tuple(a: (Int, Int)) -> Int {
|
||||
when a is {
|
||||
(a, b) -> a
|
||||
}
|
||||
}
|
||||
|
||||
test when_tuple_1() {
|
||||
when_tuple((4, 1)) == 4
|
||||
}
|
||||
Reference in New Issue
Block a user