'Test \'unique\' function.'

def testUniqueFunc(self):

    from markdown.extensions.toc import unique
    ids = set([u'foo'])
    self.assertEqual(unique(u'foo', ids), u'foo_1')
    self.assertEqual(ids, set([u'foo', u'foo_1']))
