Commit fddecd4a authored by Steven Cordwell's avatar Steven Cordwell
Browse files

take account of the fact that tuples or lists are used to store spares...

take account of the fact that tuples or lists are used to store spares matrices rather than ndarrays of type object
parent 6d8c493d
......@@ -224,10 +224,10 @@ def test_exampleRand_dense_check():
assert check(Pr, Rr) == None
def test_exampleRand_sparse_P_shape():
assert (Prs.shape == (ACTIONS, ))
assert (len(Prs) == ACTIONS)
def test_exampleRand_sparse_R_shape():
assert (Rrs.shape == (ACTIONS, ))
assert (len(Rrs) == ACTIONS)
def test_exampleRand_sparse_check():
assert check(Prs, Rrs) == None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment