Last active
July 12, 2017 04:12
-
-
Save chaserileyroberts/3b5dd49cc936541c51287423be4739cb to your computer and use it in GitHub Desktop.
Unit testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestClassifier(): | |
def test_classification(self): | |
classifier = Classifier() | |
dog_image = open_image('test/data/dog_image.png') | |
classification = classifier.classify(dog_image) | |
self.assertEquals(classification, "Dog") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment