uo.tests.unit.utils package
Submodules
uo.tests.unit.utils.test_complex_counter_bit_array_full module
- class uo.tests.unit.utils.test_complex_counter_bit_array_full.TestComplexCounterBitArrayFull(methodName='runTest')
Bases:
TestCase
- test_can_progress_complex_counter()
- test_can_progress_x_2_complex_counter_with_two_counters()
- test_can_progress_x_4_complex_counter_with_two_counters()
- test_create_instance_with_given_number_of_counters()
- test_create_instance_with_zero_counters()
- test_get_current_state()
- test_progress_complex_counter()
- test_progress_complex_counter_with_one_counter()
- test_raises_type_error_if_number_of_counters_not_integer()
- test_reset_complex_counter()
- class uo.tests.unit.utils.test_complex_counter_bit_array_full.TestComplexCounterBitArrayFull2(methodName='runTest')
Bases:
TestCase
- test_can_progress_complex_counter()
- test_copy_complex_counter()
- test_create_instance_with_counter_size_2()
- test_create_instance_with_counter_size_3()
- test_create_instance_with_given_number_of_counters()
- test_create_instance_with_large_number_of_counters()
- test_create_instance_with_single_counter()
- test_get_current_state()
- test_progress_complex_counter()
- test_raises_type_error_if_number_of_counters_not_integer()
- test_reset_complex_counter()
- test_returns_false_when_progress_called_on_counter_with_max_value()
- test_returns_false_when_reset_called_on_counter_with_no_counters()
uo.tests.unit.utils.test_test_complex_counter_uniform_ascending module
- class uo.tests.unit.utils.test_test_complex_counter_uniform_ascending.TestComplexCounterUniformAscending(methodName='runTest')
Bases:
TestCase
- test_copy_complex_counter()
- test_create_instance_with_negative_counter_size()
- test_create_instance_with_negative_number_of_counters()
- test_create_instance_with_one_number_of_counters()
- test_create_instance_with_valid_parameters()
- test_create_instance_with_valid_parameters_1()
- test_create_instance_with_valid_parameters_2()
- test_create_instance_with_valid_parameters_3()
- test_create_instance_with_zero_counter_size()
- test_create_instance_with_zero_number_of_counters()
- test_get_current_state()
- test_make_progress()
- test_make_progressX2()
- test_make_progressX3()
- test_make_progressX4()
- test_progress_when_max_state_reached()
- test_reset_complex_counter()