kyu_8.strange_trip_to_the_market package

Submodules

kyu_8.strange_trip_to_the_market.solution module

Test for -> A Strange Trip to the Market.

Created by Egor Kostan. GitHub: https://github.com/ikostan

kyu_8.strange_trip_to_the_market.solution.is_loch_ness_monster(string: str) bool[source]

Return true if you’re talking with ‘The Loch Ness Monster’, false otherwise.

Parameters:

string – str

Returns:

bool

kyu_8.strange_trip_to_the_market.test_is_loch_ness_monster module

Test for -> A Strange Trip to the Market.

Created by Egor Kostan. GitHub: https://github.com/ikostan

class kyu_8.strange_trip_to_the_market.test_is_loch_ness_monster.IsLochNessMonsterTestCase(methodName='runTest')[source]

Bases: TestCase

Test ‘is_loch_ness_monster’ function.

_classSetupFailed = False
_class_cleanups = []
test_is_loch_ness_monster = None
test_is_loch_ness_monster_0_Your_girlscout_cookies_are_ready_to_ship_Your_total_comes_to_tree_fiddy(**kw)

Test ‘is_loch_ness_monster’ function with various test data [with string=’Your girlscout cookies are read… Your total comes to tree fiddy’, expected=True].

Returns:

test_is_loch_ness_monster_1_Howdy_Pardner_Name_s_Pete_Lexington_I_reckon_you_re_the_kinda_stiff_who_carries_about_tree_fiddy_(**kw)

Test ‘is_loch_ness_monster’ function with various test data [with string=”Howdy Pardner. Name’s Pete Lexi…f who carries about tree fiddy?”, expected=True].

Returns:

test_is_loch_ness_monster_2_I_m_from_Scottland_I_moved_here_to_be_with_my_family_sir_Please_3_50_would_go_a_long_way_to_help_me_find_them(**kw)

Test ‘is_loch_ness_monster’ function with various test data [with string=”I’m from Scottland. I moved her…ay to help me find them”, expected=True].

Returns:

test_is_loch_ness_monster_3_Yo_I_heard_you_were_on_the_lookout_for_Nessie_Let_me_know_if_you_need_assistance_(**kw)

Test ‘is_loch_ness_monster’ function with various test data [with string=’Yo, I heard you were on the loo…me know if you need assistance.’, expected=False].

Returns:

test_is_loch_ness_monster_4_I_will_absolutely_positively_never_give_that_darn_Loch_Ness_Monster_any_of_my_three_dollars_and_fifty_cents(**kw)

Test ‘is_loch_ness_monster’ function with various test data [with string=’I will absolutely, positively, …dollars and fifty cents’, expected=False].

Returns:

test_is_loch_ness_monster_5_Did_I_ever_tell_you_about_my_run_with_that_paleolithic_beast_He_tried_all_sorts_of_ways_to_get_at_my_three_dolla_and_fitty_cent_I_told_him_this_is_MY_4_dolla_He_just_wouldn_t_listen_(**kw)

Test ‘is_loch_ness_monster’ function with various test data [with string=”Did I ever tell you about my ru… He just wouldn’t listen.”, expected=False].

Returns:

test_is_loch_ness_monster_6_Hello_I_come_from_the_year_3150_to_bring_you_good_news_(**kw)

Test ‘is_loch_ness_monster’ function with various test data [with string=’Hello, I come from the year 3150 to bring you good news!’, expected=False].

Returns:

test_is_loch_ness_monster_7_By_tree_fiddy_I_mean_three_fifty_(**kw)

Test ‘is_loch_ness_monster’ function with various test data [with string=”By ‘tree fiddy’ I mean ‘three fifty’”, expected=True].

Returns:

test_is_loch_ness_monster_8_I_will_be_at_the_office_by_3_50_or_maybe_a_bit_earlier_but_definitely_not_before_3_to_discuss_with_50_clients(**kw)

Test ‘is_loch_ness_monster’ function with various test data [with string=’I will be at the office by 3:50…e 3, to discuss with 50 clients’, expected=False].

Returns:

test_is_loch_ness_monster_9_(**kw)

Test ‘is_loch_ness_monster’ function with various test data [with string=’’, expected=False].

Returns:

Module contents

A Strange Trip to the Market.