Improved test [skip ci]

This commit is contained in:
Andrew Kane
2024-04-03 22:08:48 -07:00
parent 3219a30290
commit 7667abe9a0
2 changed files with 6 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ SELECT hamming_distance(B'111', B'000'::varbit(4));
3
(1 row)
SELECT hamming_distance(B'111', B'0000'::varbit(4));
ERROR: different bit lengths 3 and 4
SELECT jaccard_distance(B'1111', B'1111');
jaccard_distance
------------------
@@ -74,3 +76,5 @@ SELECT jaccard_distance(B'1111', B'0000'::varbit(5));
1
(1 row)
SELECT jaccard_distance(B'1111', B'00000'::varbit(5));
ERROR: different bit lengths 4 and 5