Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vrthra committed Dec 11, 2017
1 parent 0639b8a commit 7228008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/mergesort.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def merge_sort(items):
"""
if len(items) > 1:

mid = len(items) / 2 # Determine the midpoint and split
mid = len(items) // 2 # Determine the midpoint and split
left = items[0:mid]
right = items[mid:]

Expand Down
2 changes: 1 addition & 1 deletion src/mutants.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def allm():
unarySign = SwapOpsTemplate({'UNARY_POSITIVE': '+u', 'UNARY_NEGATIVE': '-u'}, "us, %s : swap %s")
inplaceMutationRelational = SwapOpsTemplate({'INPLACE_AND': '&&', 'INPLACE_OR': '||'}, "imr, %s : swap %s")
inplaceMutationNum = SwapOpsTemplate(
{'INPLACE_FLOOR_DIVIDE': '//=', 'INPLACE_TRUE_DIVIDE': './=.', 'INPLACE_DIVIDE': '/=', 'INPLACE_MULTIPLY': '*=',
{'INPLACE_FLOOR_DIVIDE': '//=', 'INPLACE_TRUE_DIVIDE': './=.', 'INPLACE_TRUE_DIVIDE': '/=', 'INPLACE_MULTIPLY': '*=',
'INPLACE_POWER': '**=', 'INPLACE_MODULO': '%=', 'INPLACE_ADD': '+=', 'INPLACE_SUBTRACT': '-=',
'INPLACE_LSHIFT': '<<=', 'INPLACE_RSHIFT': '>>=', 'INPLACE_XOR': '^='}, "imn, %s : swap %s")
jumpMutationStack2 = SwapOpsTemplate(
Expand Down

0 comments on commit 7228008

Please sign in to comment.