c6a384e2cd760994c160d8b69adab3252f9b3151,gb/hypergraph/tests/test_hypergraph.py,TestHypergraph,ops_test_2,#TestHypergraph#Any#,34

Before Change


        self.assertFalse(hg.exists(["is", "graphbrain/1", "great/1"]))

    def ops_test_2(self, hg):
        hg.add(["size", "graphbrain/1", 7])
        self.assertTrue(hg.exists(["size", "graphbrain/1", 7]))
        hg.remove(["size", "graphbrain/1", 7])
        self.assertFalse(hg.exists(["size", "graphbrain/1", 7]))

    def ops_test_3(self, hg):
        hg.add(["size", "graphbrain/1", 7.0])

After Change


        self.assertFalse(hg.exists(("is", "graphbrain/1", "great/1")))

    def ops_test_2(self, hg):
        hg.add(("size", "graphbrain/1", 7))
        self.assertTrue(hg.exists(("size", "graphbrain/1", 7)))
        hg.remove(("size", "graphbrain/1", 7))
        self.assertFalse(hg.exists(("size", "graphbrain/1", 7)))

    def ops_test_3(self, hg):
        hg.add(("size", "graphbrain/1", 7.0))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: graphbrain/graphbrain
Commit Name: c6a384e2cd760994c160d8b69adab3252f9b3151
Time: 2016-07-30
Author: telmo@telmomenezes.net
File Name: gb/hypergraph/tests/test_hypergraph.py
Class Name: TestHypergraph
Method Name: ops_test_2


Project Name: graphbrain/graphbrain
Commit Name: c6a384e2cd760994c160d8b69adab3252f9b3151
Time: 2016-07-30
Author: telmo@telmomenezes.net
File Name: gb/hypergraph/tests/test_hypergraph.py
Class Name: TestHypergraph
Method Name: ops_test_3


Project Name: graphbrain/graphbrain
Commit Name: c6a384e2cd760994c160d8b69adab3252f9b3151
Time: 2016-07-30
Author: telmo@telmomenezes.net
File Name: gb/hypergraph/tests/test_hypergraph.py
Class Name: TestHypergraph
Method Name: ops_test_2


Project Name: graphbrain/graphbrain
Commit Name: c6a384e2cd760994c160d8b69adab3252f9b3151
Time: 2016-07-30
Author: telmo@telmomenezes.net
File Name: gb/hypergraph/tests/test_hypergraph.py
Class Name: TestHypergraph
Method Name: degree_test