conductor.native.tests.test_sequence module

class conductor.native.tests.test_sequence.ChunksTest(methodName='runTest')

Bases: unittest.case.TestCase

test_best_chunk_size()
test_chunk_count()
test_chunk_size()
test_chunk_size_setter()
test_clamp_chunk_size()
test_create_chunks_cycle()
test_create_chunks_linear()
test_no_chunk_size()
test_progression_count_all_progressions()
test_progression_count_with_chunk_size()
test_progression_count_without_chunk_size()
class conductor.native.tests.test_sequence.ExpandFilenameTest(methodName='runTest')

Bases: unittest.case.TestCase

test_expand_many_captures()
test_expand_padded_hash()
test_expand_result_same_length()
test_expand_single_hash()
test_invalid_template_raises()
class conductor.native.tests.test_sequence.IntersectionTest(methodName='runTest')

Bases: unittest.case.TestCase

test_does_intersect()
test_does_not_intersect()
class conductor.native.tests.test_sequence.OffsetTest(methodName='runTest')

Bases: unittest.case.TestCase

test_offset_negative_value()
test_offset_positive_value()
test_offset_sequence_has_same_chunk_size()
test_offset_sequence_has_same_chunk_strategy()
test_raises_if_result_negative()
class conductor.native.tests.test_sequence.PermutationsTest(methodName='runTest')

Bases: unittest.case.TestCase

test_one_substitution()
test_three_substitutions()
test_two_the_same_substitution()
class conductor.native.tests.test_sequence.ProgressionsTest(methodName='runTest')

Bases: unittest.case.TestCase

test_empty()
test_from_range()
test_order()
test_progression_at_end()
test_progression_at_start()
test_range_max_16()
test_range_max_2()
test_range_max_size_one()
test_seq_to_limited_length_progressions()
test_seq_to_longest_progressions()
test_single()
test_two()
class conductor.native.tests.test_sequence.SequenceFactoryFailTest(methodName='runTest')

Bases: unittest.case.TestCase

test_bad_spec()
test_bad_spec_step()
test_negative_end()
test_negative_end_str()
test_negative_number()
test_negative_step()
class conductor.native.tests.test_sequence.SequenceFactoryTest(methodName='runTest')

Bases: unittest.case.TestCase

test_frame_spec_is_not_progression()
test_is_progression_method()
test_list_sequence_is_not_progression()
test_progressive_list_is_progression()
test_range_is_progression()
test_range_step_is_progression()
test_range_string_is_progression()
test_single_number_is_progression()
test_single_number_string_is_progression()
class conductor.native.tests.test_sequence.SequenceIterator(methodName='runTest')

Bases: unittest.case.TestCase

test_iterator_sorted_no_dups()
class conductor.native.tests.test_sequence.SequenceToStringTest(methodName='runTest')

Bases: unittest.case.TestCase

test_progression_range()
test_progression_range_step()
test_progression_range_step_round_down()
test_progression_single()
test_repr_from_progression()
test_repr_from_sequence()
test_sequence()
class conductor.native.tests.test_sequence.SequenceValidator(methodName='runTest')

Bases: unittest.case.TestCase

test_is_valid_method_bad_type()
test_is_valid_method_false()
test_is_valid_method_true()
class conductor.native.tests.test_sequence.StartEndStepValuesTest(methodName='runTest')

Bases: unittest.case.TestCase

test_create_from_start_end_ints()
test_create_from_start_end_strings()
test_create_from_start_end_strings_backwards()
test_create_from_start_only()
test_create_with_start_string()
test_create_with_step_ints()
test_create_with_step_strings()
class conductor.native.tests.test_sequence.SubsampleTest(methodName='runTest')

Bases: unittest.case.TestCase

test_counts_from_1_to_10()
class conductor.native.tests.test_sequence.ToCustomSpecTest(methodName='runTest')

Bases: unittest.case.TestCase

test_complex_add_spaces()
test_spec_complex()
test_spec_range()
test_spec_single_number()
test_spec_step_range()
class conductor.native.tests.test_sequence.UnionTest(methodName='runTest')

Bases: unittest.case.TestCase

test_creates_union_from_other_sequence()
test_creates_union_from_range()