Bases: unittest.case.TestCase
Test cases of the challenge base class.
-
setUp
()[source]
-
test_build
()[source]
Show that build is callable.
-
test_calc
()[source]
Show that calc is callable.
-
test_class_attributes
()[source]
Check setting of class attributes.
-
test_fasta_strands
()[source]
Check the method works as expected.
-
test_format
()[source]
Show that format writes result into output as string.
-
test_format_list_of_integers
()[source]
Show concatenation of list of integers.
-
test_format_path
()[source]
Show concatenation of list of nodes to a path.
-
test_format_permuations
()[source]
Show a list of permuations can be formatted.
-
test_format_permuations_with_user_defined_separator
()[source]
Show user defined separators can be used.
-
test_format_permuations_with_user_defined_separator_of_length_zero
()[source]
Show user defined separators can be used.
-
test_instance_attributes
()[source]
Check setting of instance attributes.
-
test_instance_shadows_class_attribute_of_expect
()[source]
Show that instance attribute shadows class attribute.
-
test_instance_shadows_class_attribute_of_sample
()[source]
Show that instance attribute shadows class attribute.
-
test_line
()[source]
Show that a line is retrievable by index.
-
test_line_to_edge
()[source]
Show lint_to_edge() works as expected.
-
test_line_to_edges
()[source]
Show lint_to_edges() works as expected.
-
test_line_to_float
()[source]
Show a line can be retrieved as float.
-
test_line_to_floats
()[source]
Show a line can be retrieved as floats.
-
test_line_to_integer
()[source]
Show a line can be retrieved as integer.
-
test_line_to_integers
()[source]
Show a line can be retrieved as integers.
-
test_line_to_permuation
()[source]
Show a line can be retrieved as permutation.
-
test_line_to_permuation_surrounded_with_terminals
()[source]
Show a line can be retrieved as permutation.
-
test_line_to_permuation_with_parenthesis
()[source]
Show a line can be retrieved as permutation.
-
test_line_to_permutations
()[source]
Show a line can be retrived as genome.
-
test_line_to_words
()[source]
Show that line_to_words() works as expected.
-
test_lines_to_edges
()[source]
Show lines_to_edges() works as expected.
-
test_lines_to_floats
()[source]
Show lines_to_floats() works as expected.
-
test_lines_to_graph
()[source]
Show lines_to_graph() works as expected.
-
test_lines_to_integers
()[source]
Show lines_to_integers() works as expected.
-
test_lines_to_list
()[source]
Show that lines_to_list() works as expected.
-
test_lines_to_words
()[source]
Show that lines_to_words() works as expected.
-
test_read
()[source]
Show that read creates list of lines.
-
test_read_edges_from
()[source]
Show reading edges self limiting.
-
test_read_edges_from_to
()[source]
Show reading edges limited by start and stop.
-
test_read_edges_without_given_range
()[source]
Show reading edges without given range starting from line 0.
-
test_read_fasta_format
()[source]
Show reading FASTA matches expected format.
-
test_read_fasta_from
()[source]
Show reading FASTA self limiting.
-
test_read_fasta_from_to
()[source]
Show reading FASTA limited by start and stop.
-
test_read_fasta_without_given_range
()[source]
Show reading FASTA limited by start and stop.