def write(self): """Populate and write the test files. """ if self.language=="f90": render_fortran.Model2Package(self.models, self.dir).write_tests() if self.language=="py": render_cyml.Model2Package(self.models, self.dir).write_tests()
def generate_test_f90(model, dir): return [render_fortran.Model2Package(model, dir).generate_test(model)]