fixed the baker paper test
This commit is contained in:
parent
1cde1d9a01
commit
08f898d83a
@ -98,9 +98,7 @@ class Test(unittest.TestCase):
|
|||||||
|
|
||||||
answer = baker.run_baker(self.X, R, S)
|
answer = baker.run_baker(self.X, R, S)
|
||||||
|
|
||||||
a = answer['abc'][0]
|
a, b, c = sorted(answer['abc'])
|
||||||
b = answer['abc'][1]
|
|
||||||
c = answer['abc'][2]
|
|
||||||
aa,bb,cc = sorted((2/3.0, 2/3.0, 1/3.0))
|
aa,bb,cc = sorted((2/3.0, 2/3.0, 1/3.0))
|
||||||
|
|
||||||
self.assertAlmostEqual(a,aa)
|
self.assertAlmostEqual(a,aa)
|
||||||
|
Loading…
Reference in New Issue
Block a user