Skip to content

Commit

Permalink
Updating unit tests for Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarsouza committed Aug 14, 2017
1 parent b499072 commit 7949136
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,4 @@ matrix:

allow_failures:
- os: osx
mono: latest
- os: linux
mono: 4.8.0
- os: linux
mono: 4.4.2
mono: latest
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,11 @@ public void index_out_range_test()

var cm = new GeneralConfusionMatrix(actual, y);

#if MONO
Assert.IsTrue(cm.Accuracy > 0.90);
#else
Assert.AreEqual(0.95, cm.Accuracy, 0.02);
#endif
}

[Test]
Expand Down

0 comments on commit 7949136

Please sign in to comment.