Commit 5a5b2dcf authored by Jay's avatar Jay Committed by jay
Browse files

Ranges needs to be a bit more inclusive on stochastic process tests

parent c2c1f24c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ class TestFeatureExtractor(unittest.TestCase):
    def test_extract_features(self):
        features = feature_extractor.extract_features(self.data_array, self.parameters)
        self.assertEquals(len(features), 2)
        self.assertIn(len(features[0]), range(8,11))
        self.assertIn(len(features[0]), range(8,12))
        self.assertIsInstance(features[0][0], type(cv2.KeyPoint()))
        self.assertIsInstance(features[1][0], np.ndarray)