def test_camelcase(self): self.assertEqual(camelcase("Foo"), "foo")
def test_2_camelcase(self): self.assertEqual(camelcase("foo_bar"), "fooBar")
def test_2_reverse_camelcase(self): self.assertEqual(camelcase("Foo_bar"), "fooBar")
def test_double_camelcase(self): self.assertEqual(camelcase(camelcase("foo_bar")), "fooBar")
def test_2_mixed_camelcase(self): self.assertEqual(camelcase("FooBarBaz_FooBarBaz"), "foobarbazFoobarbaz")
def test_correct_CAPITALS_camelcase(self): self.assertEqual(camelcase("test_GUI_part"), "testGuiPart")
def test_pascalcase2camelcase(self): self.assertEqual(camelcase("FooBarBaz"), "fooBarBaz")
def test_preserve_already_3_camelcase(self): self.assertEqual(camelcase("fooBarBaz"), "fooBarBaz")
def test_3_camelcase(self): self.assertEqual(camelcase("foo_bar_baz"), "fooBarBaz")