[skip ci] removed debug print statement
This commit is contained in:
parent
0d0226f703
commit
2549d7a05a
|
@ -87,7 +87,6 @@ class TestConfigMaterial:
|
||||||
def test_from_table(self):
|
def test_from_table(self):
|
||||||
N = np.random.randint(3,10)
|
N = np.random.randint(3,10)
|
||||||
a = np.vstack((np.hstack((np.arange(N),np.arange(N)[::-1])),np.ones(N*2),np.zeros(N*2),np.ones(N*2),np.ones(N*2))).T
|
a = np.vstack((np.hstack((np.arange(N),np.arange(N)[::-1])),np.ones(N*2),np.zeros(N*2),np.ones(N*2),np.ones(N*2))).T
|
||||||
print(a)
|
|
||||||
t = Table(a,{'varying':1,'constant':4})
|
t = Table(a,{'varying':1,'constant':4})
|
||||||
c = ConfigMaterial.from_table(t,**{'phase':'varying','O':'constant','homogenization':'4_constant'})
|
c = ConfigMaterial.from_table(t,**{'phase':'varying','O':'constant','homogenization':'4_constant'})
|
||||||
assert len(c['material']) == N
|
assert len(c['material']) == N
|
||||||
|
|
Loading…
Reference in New Issue