def testAssignment(self): f = open('dataset_78_8.txt') v = next(f).strip() w = next(f).strip() s,vv,ww = globalAlign(v, w) print(s) print(vv) print(ww) pass
def testLinearSpaceAllignment(self): v="PLEASANTLY" w="MEANLY" st = 8 vt = "PLEASANTLY" wt = "-MEA--N-LY" s,vv,ww = globalAlign(v, w) assert s == st assert vv==vt assert ww == wt