Example #1
0
 def assertIsNotSubanagram(self, word1, word2):
     self.assertFalse(
         is_subanagram(word1, word2),
         "%r is a sub-anagram of %r" % (word1, word2))
Example #2
0
 def assertIsSubanagram(self, word1, word2):
     self.assertTrue(
         is_subanagram(word1, word2),
         "%r is not a sub-anagram of %r" % (word1, word2))