ensure correct shape
This commit is contained in:
parent
b6db675f1a
commit
610c233fb6
|
@ -22,7 +22,7 @@ class TestTable:
|
||||||
|
|
||||||
@pytest.mark.parametrize('N',[10,40])
|
@pytest.mark.parametrize('N',[10,40])
|
||||||
def test_len(self,N):
|
def test_len(self,N):
|
||||||
len(Table(np.random.rand(N,3),{'X':3})) == N
|
assert len(Table(np.random.rand(N,3),{'X':3})) == N
|
||||||
|
|
||||||
def test_get_scalar(self,default):
|
def test_get_scalar(self,default):
|
||||||
d = default.get('s')
|
d = default.get('s')
|
||||||
|
|
Loading…
Reference in New Issue