Skip to content
Snippets Groups Projects
Commit f2bafa71 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Fixed unit test

parent 69435702
No related branches found
No related tags found
No related merge requests found
......@@ -89,10 +89,8 @@ def test_KMeansMachine2():
variances_result = numpy.array([[ 0.01,1.],
[ 0.01555556, 0.00888889]])
weights_result = numpy.array([ 0.4, 0.6])
assert equals(weights_result,weights, 1e-3)
assert equals(variances_result,variances,1e-3)
assert equals(weights_result,weights, 1e-3).all()
assert equals(variances_result,variances,1e-3).all()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment