cleverhans/future/torch/attacks/semantic.py

Killed 0 out of 2 mutants

Survived

Survived mutation testing. These mutants show holes in your test suite.

Mutant 184

--- cleverhans/future/torch/attacks/semantic.py
+++ cleverhans/future/torch/attacks/semantic.py
@@ -2,7 +2,7 @@
 Semantic adversarial Examples
 """
 
-def semantic(x, center=True, max_val=1.):
+def semantic(x, center=False, max_val=1.):
   """
   Semantic adversarial examples.
   

Mutant 185

--- cleverhans/future/torch/attacks/semantic.py
+++ cleverhans/future/torch/attacks/semantic.py
@@ -2,7 +2,7 @@
 Semantic adversarial Examples
 """
 
-def semantic(x, center=True, max_val=1.):
+def semantic(x, center=True, max_val=2.0):
   """
   Semantic adversarial examples.