summaryrefslogtreecommitdiff
path: root/test/regression-model.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression-model.rb')
-rw-r--r--test/regression-model.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/regression-model.rb b/test/regression-model.rb
index b925439..7f667dc 100644
--- a/test/regression-model.rb
+++ b/test/regression-model.rb
@@ -179,6 +179,7 @@ class LazarRegressionTest < MiniTest::Test
assert_equal [1.37], result.values(result.compounds[6], result.bioactivity_features[0]).collect{|v| v.round(2)}
assert_equal [1.79], result.values(result.compounds[6], result.prediction_features[0]).collect{|v| v.round(2)}
assert_equal [1.84,1.73], result.values(result.compounds[7], result.bioactivity_features[0]).collect{|v| v.round(2)}
+ assert_match /Low/i, result.predictions[result.compounds[6]][:confidence]
end
end