Skip to content

Commit

Permalink
test passed
Browse files Browse the repository at this point in the history
  • Loading branch information
gubertoli committed May 18, 2020
1 parent d71a661 commit 78ebb6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/units/feature_extraction/test_feature_calculations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1258,9 +1258,9 @@ def test_benford_correlation(self):
# A list containing NaN
list_with_nan = [1.354, 0.058, 0.055, 0.99, 3.15, np.nan, 0.3, 2.3, 0, 0.59, 0.74]

self.assertAlmostEqual(benford_correlation, random_list, 0.39458056)
self.assertAlmostEqual(benford_correlation, fibonacci, 0.998)
self.assertAlmostEqual(benford_correlation, list_with_nan, 0.10357511)
self.assertAlmostEqual(benford_correlation(random_list), 0.39458056)
self.assertAlmostEqual(benford_correlation(fibonacci_list), 0.998003988)
self.assertAlmostEqual(benford_correlation(list_with_nan), 0.10357511)
self.assertIsNaN(benford_correlation(equal_list))


Expand Down

0 comments on commit 78ebb6f

Please sign in to comment.