def test_to_gr1c(self): assert gr1c.check_syntax(translate(self.f_un, 'gr1c')) assert gr1c.check_syntax(translate(self.dcounter, 'gr1c'))
def test_check_syntax(self): assert gr1c.check_syntax(REFERENCE_SPECFILE) assert not gr1c.check_syntax("foo")