def test_velgrad_integration(): F = DefGrad.from_comp(xx=2, zz=0.5) L = VelGrad.from_comp(xx=np.log(2), zz=-np.log(2)) L.defgrad() == F
def test_defgrad_derivation(): F = DefGrad.from_comp(xx=2, zz=0.5) L = VelGrad.from_comp(xx=np.log(2), zz=-np.log(2)) F.velgrad() == L