diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/gleam/list_test.gleam | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/gleam/list_test.gleam b/test/gleam/list_test.gleam index 869bcf6..bde753a 100644 --- a/test/gleam/list_test.gleam +++ b/test/gleam/list_test.gleam @@ -301,6 +301,10 @@ pub fn all_test() { list.all([], fn(_) { False }) |> should.equal(True) + list.repeat(False, 16999) + |> list.all(fn(_item) { False }) + |> should.equal(False) + list.repeat(True, 16999) |> list.all(fn(_item) { True }) |> should.equal(True) @@ -319,6 +323,10 @@ pub fn any_test() { list.repeat(True, 16999) |> list.any(fn(_item) { True }) |> should.equal(True) + + list.repeat(False, 16999) + |> list.any(fn(_item) { False }) + |> should.equal(False) } pub fn zip_test() { |