Skip to content

Commit

Permalink
#21: Test Pascal to normal case
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Sep 27, 2019
1 parent 3494989 commit db4c1b9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/test_swaggerGenerator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from unittest import TestCase

from src.swagger.swagger_generator import SwaggerGenerator


class TestSwaggerGenerator(TestCase):
def test_pascal_to_normal(self):
self.assertEqual(SwaggerGenerator.pascal_to_normal("TestCase"), "test case")
self.assertEqual(SwaggerGenerator.pascal_to_normal("testCase"), "test case")

0 comments on commit db4c1b9

Please sign in to comment.