diff --git a/build.py b/build.py index e69de29..b3d44aa 100644 --- a/build.py +++ b/build.py @@ -0,0 +1,7 @@ +def is_rotation(string1, string2): + if string1 == None or string2 == None: + return False + elif string1 == string2 or (string2 in string1*2 and len(string1) == len(string2)): + return True + else: + return False diff --git a/build.pyc b/build.pyc new file mode 100644 index 0000000..33d18e8 Binary files /dev/null and b/build.pyc differ diff --git a/tests/__init__.pyc b/tests/__init__.pyc new file mode 100644 index 0000000..82aef49 Binary files /dev/null and b/tests/__init__.pyc differ diff --git a/tests/test_is_rotation.pyc b/tests/test_is_rotation.pyc new file mode 100644 index 0000000..b08ef75 Binary files /dev/null and b/tests/test_is_rotation.pyc differ