From 9ef4c4bc5b7d66c4a18089b28e04dd0ce66867d9 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Thu, 30 Oct 2014 20:25:24 +0100 Subject: adjust tests --- test/descriptor-long.rb | 2 +- test/validation-long.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/descriptor-long.rb b/test/descriptor-long.rb index 6b232cf..e33eea1 100644 --- a/test/descriptor-long.rb +++ b/test/descriptor-long.rb @@ -14,7 +14,7 @@ class DescriptorLongTest < MiniTest::Test dataset.upload File.join(DATA_DIR,"hamster_carcinogenicity.mini.csv") d = OpenTox::Algorithm::Descriptor.physchem dataset assert_equal dataset.compounds.size, d.data_entries.size - assert_equal 316, d.data_entries[0].size + assert_equal 332, d.data_entries[0].size d.delete end diff --git a/test/validation-long.rb b/test/validation-long.rb index e89f582..644429f 100644 --- a/test/validation-long.rb +++ b/test/validation-long.rb @@ -245,7 +245,7 @@ class ValidationTest < MiniTest::Test end def test_filter_predictions - (@@vs + @@cv).each do |v| + (@@vs + @@cvs).each do |v| v = v.statistics if v.is_a?(OpenTox::Crossvalidation) puts v.metadata.to_yaml -- cgit v1.2.3