Added another test

This commit is contained in:
Alexey Milovidov 2020-03-24 08:14:48 +03:00
parent 5a89fd0abc
commit 691d98ff34
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,9 @@
nan
nan
nan
0
1
0
0.5
1
0.5

View File

@ -0,0 +1,14 @@
SELECT arrayAUC([], []); -- { serverError 43 }
SELECT arrayAUC([1], [1]);
SELECT arrayAUC([1], []); -- { serverError 43 }
SELECT arrayAUC([], [1]); -- { serverError 43 }
SELECT arrayAUC([1, 2], [3]); -- { serverError 36 }
SELECT arrayAUC([1], [2, 3]); -- { serverError 36 }
SELECT arrayAUC([1, 1], [1, 1]);
SELECT arrayAUC([1, 1], [0, 0]);
SELECT arrayAUC([1, 1], [0, 1]);
SELECT arrayAUC([0, 1], [0, 1]);
SELECT arrayAUC([1, 0], [0, 1]);
SELECT arrayAUC([0, 0, 1], [0, 1, 1]);
SELECT arrayAUC([0, 1, 1], [0, 1, 1]);
SELECT arrayAUC([0, 1, 1], [0, 0, 1]);