kyu_8.my_head_is_at_the_wrong_end package
Submodules
kyu_8.my_head_is_at_the_wrong_end.fix_the_meerkat module
Solution for -> My head is at the wrong end!.
Created by Egor Kostan. GitHub: https://github.com/ikostan
kyu_8.my_head_is_at_the_wrong_end.test_fix_the_meerkat module
Test for -> My head is at the wrong end!.
Created by Egor Kostan. GitHub: https://github.com/ikostan
- class kyu_8.my_head_is_at_the_wrong_end.test_fix_the_meerkat.FixTheMeerkatTestCase(methodName='runTest')[source]
Bases:
TestCaseTesting fix_the_meerkat function.
- _classSetupFailed = False
- _class_cleanups = []
- test_fix_the_meerkat = None
- test_fix_the_meerkat_0(**kw)
Testing fix_the_meerkat function with various test data [with arr=[‘tail’, ‘body’, ‘head’], expected=[‘head’, ‘body’, ‘tail’]].
You will be given an array which will have three values (tail, body, head). It is your job to re-arrange the array so that the animal is the right way round (head, body, tail). :return:
- test_fix_the_meerkat_1(**kw)
Testing fix_the_meerkat function with various test data [with arr=[‘tails’, ‘body’, ‘heads’], expected=[‘heads’, ‘body’, ‘tails’]].
You will be given an array which will have three values (tail, body, head). It is your job to re-arrange the array so that the animal is the right way round (head, body, tail). :return:
- test_fix_the_meerkat_2(**kw)
Testing fix_the_meerkat function with various test data [with arr=[‘bottom’, ‘middle’, ‘top’], expected=[‘top’, ‘middle’, ‘bottom’]].
You will be given an array which will have three values (tail, body, head). It is your job to re-arrange the array so that the animal is the right way round (head, body, tail). :return:
- test_fix_the_meerkat_3(**kw)
Testing fix_the_meerkat function with various test data [with arr=[‘lower legs’, ‘torso’, ‘upper legs’], expected=[‘upper legs’, ‘torso’, ‘lower legs’]].
You will be given an array which will have three values (tail, body, head). It is your job to re-arrange the array so that the animal is the right way round (head, body, tail). :return:
- test_fix_the_meerkat_4(**kw)
Testing fix_the_meerkat function with various test data [with arr=[‘ground’, ‘rainbow’, ‘sky’], expected=[‘sky’, ‘rainbow’, ‘ground’]].
You will be given an array which will have three values (tail, body, head). It is your job to re-arrange the array so that the animal is the right way round (head, body, tail). :return:
Module contents
My head is at the wrong end.