def test_not_specified_errors():
 symsystem1 = SymbolicSystem(states, comb_explicit_rhs)
 with raises(AttributeError):
  symsystem1.comb_implicit_mat
 with raises(AttributeError):
  symsystem1.comb_implicit_rhs
 with raises(AttributeError):
  symsystem1.dyn_implicit_mat
 with raises(AttributeError):
  symsystem1.dyn_implicit_rhs
 with raises(AttributeError):
  symsystem1.kin_explicit_rhs
 with raises(AttributeError):
  symsystem1.compute_explicit_form()
 symsystem2 = SymbolicSystem(coordinates, comb_implicit_rhs, speeds=speeds, mass_matrix=comb_implicit_mat)
 with raises(AttributeError):
  symsystem2.dyn_implicit_mat
 with raises(AttributeError):
  symsystem2.dyn_implicit_rhs
 with raises(AttributeError):
  symsystem2.kin_explicit_rhs
 with raises(AttributeError):
  symsystem1.coordinates
 with raises(AttributeError):
  symsystem1.speeds
 with raises(AttributeError):
  symsystem1.bodies
 with raises(AttributeError):
  symsystem1.loads
 with raises(AttributeError):
  symsystem2.comb_explicit_rhs

def test_not_specified_errors ( ) : symsystem1 = SymbolicSystem ( states , comb_explicit_rhs ) with raises ( AttributeError ) : symsystem1 . comb_implicit_mat with raises ( AttributeError ) : symsystem1 . comb_implicit_rhs with raises ( AttributeError ) : symsystem1 . dyn_implicit_mat with raises ( AttributeError ) : symsystem1 . dyn_implicit_rhs with raises ( AttributeError ) : symsystem1 . kin_explicit_rhs with raises ( AttributeError ) : symsystem1 . compute_explicit_form ( ) symsystem2 = SymbolicSystem ( coordinates , comb_implicit_rhs , speeds = speeds , mass_matrix = comb_implicit_mat ) with raises ( AttributeError ) : symsystem2 . dyn_implicit_mat with raises ( AttributeError ) : symsystem2 . dyn_implicit_rhs with raises ( AttributeError ) : symsystem2 . kin_explicit_rhs with raises ( AttributeError ) : symsystem1 . coordinates with raises ( AttributeError ) : symsystem1 . speeds with raises ( AttributeError ) : symsystem1 . bodies with raises ( AttributeError ) : symsystem1 . loads with raises ( AttributeError ) : symsystem2 . comb_explicit_rhs
this test will cover errors that arise from trying to access attributes that were not specificed upon object creation or were specified on creation and the user trys to recalculate them .