'Test selecting nodes using case insensitive node names.'

def test_node_nocase(self):

    tree = ParentedTree.fromstring(u'(S    (n    x)    (N    x))')
    self.assertEqual(list(tgrep.tgrep_positions(u'"N"', [tree])), [[(1,)]])
    self.assertEqual(list(tgrep.tgrep_positions(u'i@"N"', [tree])), [[(0,), (1,)]])
