Commit 1755a78
committed
test: add alias-equivalence and length-mismatch tests for array fns
Pin the contracts the doctests don't cover:
list_compact/list_normalize must produce the same output as their
array_* primaries, and cosine_distance/inner_product must reject
length-mismatched inputs at execution time.1 parent 2a9292e commit 1755a78
1 file changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
720 | 747 | | |
721 | 748 | | |
722 | 749 | | |
| |||
0 commit comments