kyu_6.unique_in_order package
Submodules
kyu_6.unique_in_order.test_unique_in_order module
Test for -> Unique In Order.
Created by Egor Kostan. GitHub: https://github.com/ikostan
- class kyu_6.unique_in_order.test_unique_in_order.UniqueInOrderTestCase(methodName='runTest')[source]
Bases:
TestCaseTesting the ‘unique_in_order’ function.
- _classSetupFailed = False
- _class_cleanups = []
- test_unique_in_order = None
- test_unique_in_order_0_AAAABBBCCDAABBB(**kw)
Testing the ‘unique_in_order’ function with various test data [with test_data=’AAAABBBCCDAABBB’, expected=[‘A’, ‘B’, ‘C’, ‘D’, ‘A’, ‘B’], msg=’Should reduce duplicates’].
- Returns:
- test_unique_in_order_1_ABBCcAD(**kw)
Testing the ‘unique_in_order’ function with various test data [with test_data=’ABBCcAD’, expected=[‘A’, ‘B’, ‘C’, ‘c’, ‘A’, ‘D’], msg=’Should be case-sensitive’].
- Returns:
- test_unique_in_order_2(**kw)
Testing the ‘unique_in_order’ function with various test data [with test_data=[1, 2, 2, 3, 3], expected=[1, 2, 3], msg=’Should work with different element types’].
- Returns:
- test_unique_in_order_3_ooooDDDDDdddddvOORRRRvvvFFFFpppppeeeeeppppIIIIssssNUUUUjjVVVVVVVnnnZfffffjjjYYYYYkkkOOOOTvvvMMMtttttdyyyyFFFFCVVVVNNNuuuuufffQQQQQfffiiii(**kw)
Testing the ‘unique_in_order’ function with various test data [with test_data=’ooooDDDDDdddddvOORRRRvvvFFFFppp…FFFCVVVVNNNuuuuufffQQQQQfffiiii’, expected=[‘o’, ‘D’, ‘d’, ‘v’, ‘O’, ‘R’, ‘…’, ‘N’, ‘u’, ‘f’, ‘Q’, ‘f’, ‘i’], msg=’Should work with randomly generated sequence’].
- Returns:
- test_unique_in_order_4(**kw)
Testing the ‘unique_in_order’ function with various test data [with test_data=[-544706949, 1830150107, 1830150…3550250, -733550250, -733550250], expected=[-544706949, 1830150107, -125135…4276632, -367750677, -733550250], msg=’Should work with randomly generated sequence’].
- Returns:
kyu_6.unique_in_order.unique_in_order module
Test for -> Unique In Order.
Created by Egor Kostan. GitHub: https://github.com/ikostan
Module contents
Unique In Order.