def test_param_01(self): card = PARAM('NOCOMP', [-1]) #print('%r' % card) assert str(card) == 'PARAM NOCOMP -1\n', '%r' % str(card) cardi = BDFCard(['PARAM', 'NOCOMP', -1]) card = PARAM.add_card(cardi) assert str(card) == 'PARAM NOCOMP -1\n', '%r' % str(card)
class TestOther(unittest.TestCase): card = PARAM('NOCOMP', [-1]) #print('%r' % card) assert str(card) == 'PARAM NOCOMP -1\n', '%r' % str(card) cardi = BDFCard(['PARAM', 'NOCOMP', -1]) card = PARAM.add_card(cardi) assert str(card) == 'PARAM NOCOMP -1\n', '%r' % str(card)