We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 040adcd commit 1f78154Copy full SHA for 1f78154
test/traits.jl
@@ -26,9 +26,14 @@ LearnAPI.algorithm(model::SmallAlgorithm) = model
26
# OVERLOADABLE TRAITS
27
28
small = SmallAlgorithm()
29
+@test LearnAPI.constructor(small) == SmallAlgorithm
30
+@test LearnAPI.functions(small) == (:(LearnAPI.fit), :(LearnAPI.algorithm))
31
+@test isempty(LearnAPI.kinds_of_proxy(small))
32
+@test isempty(LearnAPI.tags(small))
33
@test !LearnAPI.is_pure_julia(small)
34
@test LearnAPI.pkg_name(small) == "unknown"
35
@test LearnAPI.pkg_license(small) == "unknown"
36
+@test LearnAPI.doc_url(small) == "unknown"
37
@test LearnAPI.load_path(small) == "unknown"
38
@test !LearnAPI.is_composite(small)
39
@test LearnAPI.human_name(small) == "small algorithm"
0 commit comments