Commit 4fc0d376 authored by Jay's avatar Jay Committed by jay
Browse files

Updated spec. syntax to conform to Gherkin

parent 1d62bc1c
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -16,17 +16,15 @@ class TestTwoImageMatching(unittest.TestCase):
        I wish to automatically match two images to
        Generate an ISIS control network

        Background:
            Given that I have two manually identified overlapping images
            Specified in two_image_adjacency.json

        Scenario: Create an adjacency graph
            Extract image data and attribute nodes
            Then find features and descriptors
            And tag these to the graph nodes
        Scenario: Match two images
            Given a manually specified adjacency structure named two_image_adjacency.json
            When read create an adjacency graph
            Then extract image data and attribute nodes
            And find features and descriptors
            Then tag these to the graph nodes
            Then apply a FLANN matcher
            And create a C object
            Output a control network
            Then output a control network
    """

    def test_two_image(self):