summaryrefslogtreecommitdiff
path: root/test/classification-validation.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/classification-validation.rb')
-rw-r--r--test/classification-validation.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/classification-validation.rb b/test/classification-validation.rb
index 5995c88..b913e1e 100644
--- a/test/classification-validation.rb
+++ b/test/classification-validation.rb
@@ -50,17 +50,17 @@ class ClassificationValidationTest < MiniTest::Test
cv[type][key].each do |arr|
arr.each do |a|
refute_nil a
- assert a > 0
+ assert a > 0, "#{cv[type][key]} values should be greater than 0."
end
end
when "predictivity", "true_rate"
av.each do |v|
refute_nil cv[type][key][v]
- assert cv[type][key][v] > 0
+ assert cv[type][key][v] > 0, "#{cv[type][key]} values should be greater than 0."
end
else
refute_nil cv[type][key]
- assert cv[type][key] > 0
+ assert cv[type][key] > 0, "#{cv[type][key]} value should be greater than 0."
end
end
end