3de1e0ce4269c1480b03080599f8321d002726e0,graphbrain/tests/test_hypergraph.py,TestHypergraph,test_counters3_non_deep_removal,#TestHypergraph#,115
Before Change
def test_counters3_non_deep_removal(self):
self.hg.destroy()
self.hg.add(("says", "mary/c", ("is", "graphbrain/c", "great/c")))
self.hg.remove(("says", "mary/c", ("is", "graphbrain/c", "great/c")),
deep=False)
self.assertEqual(self.hg.atom_count(), 5)
self.assertEqual(self.hg.primary_atom_count(), 0)
After Change
def test_counters3_non_deep_removal(self):
self.hg.destroy()
self.hg.add("(says mary/c (is graphbrain/c great/c))")
self.hg.remove(hedge("(says mary/c (is graphbrain/c great/c))"),
deep=False)
self.assertEqual(self.hg.atom_count(), 5)
self.assertEqual(self.hg.primary_atom_count(), 0)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: graphbrain/graphbrain
Commit Name: 3de1e0ce4269c1480b03080599f8321d002726e0
Time: 2019-07-20
Author: telmo@telmomenezes.net
File Name: graphbrain/tests/test_hypergraph.py
Class Name: TestHypergraph
Method Name: test_counters3_non_deep_removal
Project Name: graphbrain/graphbrain
Commit Name: 3de1e0ce4269c1480b03080599f8321d002726e0
Time: 2019-07-20
Author: telmo@telmomenezes.net
File Name: graphbrain/tests/test_hypergraph.py
Class Name: TestHypergraph
Method Name: test_destroy
Project Name: graphbrain/graphbrain
Commit Name: 3de1e0ce4269c1480b03080599f8321d002726e0
Time: 2019-07-20
Author: telmo@telmomenezes.net
File Name: graphbrain/tests/test_hypergraph.py
Class Name: TestHypergraph
Method Name: test_counters2
Project Name: graphbrain/graphbrain
Commit Name: 3de1e0ce4269c1480b03080599f8321d002726e0
Time: 2019-07-20
Author: telmo@telmomenezes.net
File Name: graphbrain/tests/test_hypergraph.py
Class Name: TestHypergraph
Method Name: test_ops_2
Project Name: graphbrain/graphbrain
Commit Name: 3de1e0ce4269c1480b03080599f8321d002726e0
Time: 2019-07-20
Author: telmo@telmomenezes.net
File Name: graphbrain/tests/test_hypergraph.py
Class Name: TestHypergraph
Method Name: test_star