Skip to content

Commit 11006b4

Browse files
committed
Add tests for the generate classification
1 parent 9936c06 commit 11006b4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/runtests.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,12 @@ using Test
3636
@test size(data)[1] == samples
3737
@test size(data)[2] == features + 1
3838

39+
data = SyntheticDatasets.generate_classification(n_samples = samples,
40+
n_features = features,
41+
n_classes = 1)
42+
43+
44+
@test size(data)[1] == samples
45+
@test size(data)[2] == features + 1
46+
3947
end

0 commit comments

Comments
 (0)