Added 048 acceptance test

This commit is contained in:
Micah Kendall
2023-01-23 01:12:29 +11:00
parent e36f91c39c
commit d608c50130
4 changed files with 26 additions and 0 deletions

View 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
}