|
422 | 422 | @test all((true, true)) === true
|
423 | 423 | @test all((true, false)) === false
|
424 | 424 | @test all((false, false)) === false
|
| 425 | + @test all((missing, true)) === missing |
| 426 | + @test all((true, missing)) === missing |
| 427 | + @test all((missing, false)) === false |
| 428 | + @test all((false, missing)) === false |
| 429 | + @test all((missing, true, false)) === false |
| 430 | + @test_throws TypeError all((missing, 3.2, true)) |
425 | 431 | end
|
426 | 432 |
|
427 | 433 | @testset "any" begin
|
|
439 | 445 | @test any((true,false,true)) === true
|
440 | 446 | @test any((true,true,false)) === true
|
441 | 447 | @test any((true,true,true)) === true
|
| 448 | + @test any((missing, true)) === true |
| 449 | + @test any((true, missing)) === true |
| 450 | + @test any((missing, false)) === missing |
| 451 | + @test any((false, missing)) === missing |
| 452 | + @test any((missing, true, false)) === true |
| 453 | + @test any((missing, false, false)) === missing |
| 454 | + @test_throws TypeError any((missing, 3.2, true)) |
442 | 455 | end
|
443 | 456 | end
|
444 | 457 |
|
|
0 commit comments