def test_src(exe, lang, assume=None): print("Testing solution %s" % (exe)) test_testcases( base_dir, exe, language=lang, assume=assume)
def test_src(exe, lang, assume=None): # Solution names begin with sol/ and end with _EVAL, we strip that print( "Testing solution", add_color_to_string(exe[4:-5], colors.BLACK, bold=True) ) test_testcases( base_dir, exe, language=lang, assume=assume)
def test_src(exe, input_num, task_type): print "Testing solution %s" % (exe) cormgr = '' if task_type == ['Batch', 'Comp'] or \ task_type == ['Batch', 'GradComp']: cormgr = 'cor/correttore' test_testcases(input_num, box_path, exe, yaml_conf['timeout'], yaml_conf['memlimit'], task_type[0], task_type[1], cormgr=cormgr)
def test_src(exe, input_num, task_type): print "Testing solution %s" % (exe) cormgr = '' if task_type == ['Batch', 'Comp'] or \ task_type == ['Batch', 'GradComp']: cormgr = 'cor/correttore' test_testcases( input_num, box_path, exe, yaml_conf['timeout'], yaml_conf['memlimit'], task_type[0], task_type[1], cormgr=cormgr)
def test_src(exe, lang, assume=None): print("Testing solution %s" % (exe)) test_testcases(base_dir, exe, language=lang, assume=assume)
def test_src(exe, assume=None): print "Testing solution %s" % (exe) test_testcases( base_dir, exe, assume=assume)