autokeras/engine/adapter.py

Killed 4 out of 7 mutants

Survived

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

Mutant 56

--- autokeras/engine/adapter.py
+++ autokeras/engine/adapter.py
@@ -18,7 +18,7 @@
         batch_size: Int. Number of samples per gradient update. Defaults to 32.
     """
 
-    def __init__(self, shape=None, batch_size=32):
+    def __init__(self, shape=None, batch_size=33):
         self.shape = shape
         self.batch_size = batch_size
 

Mutant 57

--- autokeras/engine/adapter.py
+++ autokeras/engine/adapter.py
@@ -19,7 +19,7 @@
     """
 
     def __init__(self, shape=None, batch_size=32):
-        self.shape = shape
+        self.shape = None
         self.batch_size = batch_size
 
     def check(self, dataset):

Mutant 58

--- autokeras/engine/adapter.py
+++ autokeras/engine/adapter.py
@@ -20,7 +20,7 @@
 
     def __init__(self, shape=None, batch_size=32):
         self.shape = shape
-        self.batch_size = batch_size
+        self.batch_size = None
 
     def check(self, dataset):
         """Check if the dataset is valid for the input node.