def __str__(self): params = { "NAME": self.name, "OPERAND": str(self.get_operand()), "VALUES": self.gen_values(), } return genutil.fillTemplate(INVALID_CASE_TEMPLATE, params)
def __str__(self): params = { "NAME": self.name, "EXPR": self.get_expr(), "VALUES": self.gen_values(), } return genutil.fillTemplate(ARTIHMETIC_CASE_TEMPLATE, params)
def __str__(self): params = { "NAME": self.name, "OUTTYPE": self.out_type, "VALUES": self.gen_values(), } return genutil.fillTemplate(FUNCTIONS_CASE_TEMPLATE, params)
def __str__(self): params = { "NAME": self.name, "INTYPE": self.in_type, "OUTTYPE": self.out_type, "INVALUE": self.get_value(), } return genutil.fillTemplate(INVALID_STRUCT_CASE_TEMPLATE, params)
def __str__(self): params = { "NAME": self.name, "VALUES": self.gen_values(), "OUTTYPE": self.out_type, "STRUCTVALUE": self.get_struct_value(), "EXPR": self.get_expr(), } return genutil.fillTemplate(STRUCT_CASE_TEMPLATE, params)
def __str__(self): params = { "NAME": self.name, "VALUES": self.gen_values(), "ARRAYTYPE": "float", "ARRAYVALUES": self.gen_array_values(), "EXPR": self.get_expr(), } return genutil.fillTemplate(ARRAY_CASE_TEMPLATE, params)
def __str__(self): params = { "NAME": self.name, "EXPR": self.gen_expr(), } return genutil.fillTemplate(INVALID_ARRAY_CASE_TEMPLATE, params)