varseq_test
Module summary
Tests the varseq.VarSeq
procedures.
(In the implementation details below, click on class/function names for additional documentation and links to the source code.)
❖❖❖
Implements functions (outside the classes above):
Tests the correctness of |
❖❖❖
Implementation details
❖❖❖
Functions
- varseq_test.test_align_to(N)[source]
Tests the correctness of
varseq.VarSeq.align_to()
.Generates random variable sequences (of length
N
) and testsVarSeq.align_to()
against a naive implementation ofVarSeq.greedy_sort()
.