kyu_7.sum_of_two_lowest_int package

Submodules

kyu_7.sum_of_two_lowest_int.sum_two_smallest_int module

Solution for -> Sum of two lowest positive integers.

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

kyu_7.sum_of_two_lowest_int.sum_two_smallest_int.sum_two_smallest_numbers(numbers: list) int[source]

Return the sum of the two lowest positive numbers.

Parameters:

numbers – list

Returns:

int

kyu_7.sum_of_two_lowest_int.test_sum_two_smallest_numbers module

Test for -> Sum of two lowest positive integers.

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

class kyu_7.sum_of_two_lowest_int.test_sum_two_smallest_numbers.SumTwoSmallestNumbersTestCase(methodName='runTest')[source]

Bases: TestCase

Testing sum_two_smallest_numbers function.

_classSetupFailed = False
_class_cleanups = []
test_sum_two_smallest_numbers()[source]

Test sum_two_smallest_numbers function with various test data.

Returns:

Module contents

Sum of two lowest positive integers.