squiggle/packages/squiggle-lang/__tests__/Utility_test.res

11 lines
234 B
Plaintext
Raw Normal View History

2022-04-13 04:35:07 +00:00
open Jest
open Expect
describe("E.L.combinations2", () => {
2022-04-13 05:02:53 +00:00
test("size three", () => {
E.L.combinations2(list{"alice", "bob", "eve"})
->expect
->toEqual(list{("alice", "bob"), ("alice", "eve"), ("bob", "eve")})
})
})