def test_MakeFriendly_DuplicateSpaces(self): a = NavTree() self.assertEqual("test extra spaces", a.MakeFriendly("test extra spaces"))
def test_MakeFriendly_StartEndSpaces(self): a = NavTree() self.assertEqual("test start end spaces", a.MakeFriendly(" test start end spaces "))
def test_MakeFriendly_MultipleUpper(self): a = NavTree() self.assertEqual("TEst MULtiple UPPEr CASEINAROW", a.MakeFriendly("TEstMULtipleUPPErCASEINAROW"))
def test_MakeFriendly_AllCaps(self): a = NavTree() self.assertEqual("TESTALLCAPS", a.MakeFriendly("TESTALLCAPS"))
def test_MakeFriendly_MixedCase(self): a = NavTree() self.assertEqual("Test Mixed Case", a.MakeFriendly("TestMixed_Case"))
def test_MakeFriendly_SnakeCase(self): a = NavTree() self.assertEqual("Test Snake Case", a.MakeFriendly("Test_Snake_Case"))
def test_MakeFriendly_CamelCase(self): a = NavTree() self.assertEqual("Test Camel Case", a.MakeFriendly("TestCamelCase"))