Commit c1c89e75 authored by Juergen Nickelsen's avatar Juergen Nickelsen
Browse files

moved sequence tests out of the way (just like the sequences code)

parent 5d8fe2ce
......@@ -9,12 +9,3 @@
(testcmp "sort list 9" '(sort '(66 43 42 68 6 15 9 30 51 81
21 38 31 46 28 29 67 21 20 36) #'>)
'(81 68 67 66 51 46 43 42 38 36 31 30 29 28 21 21 20 15 9 6))
(testcmp "sort string 0" '(sort "" #'string>) "")
(testcmp "sort string 1" '(sort "W" #'string>) "W")
(testcmp "sort string 2" '(sort "TF" #'string>) "TF")
(testcmp "sort string 3" '(sort "FT" #'string>) "TF")
(testcmp "sort string 4" '(sort "The quick brown fox jumps over the lazy dog."
#'string>)
"zyxwvuutsrrqpoooonmlkjihhgfeeedcbaT. ")
......@@ -47,27 +47,3 @@
(testcmp "substr 2 15" '(substr "madrigal" 2 15) "drigal")
(testcmp "substr 10 15" '(substr "madrigal" 10 15) "")
(testcmp "subseq 0" '(subseq "madrigal" 0) "madrigal")
(testcmp "subseq 2" '(subseq "madrigal" 2) "drigal")
(testcmp "subseq 10" '(subseq "madrigal" 10) "")
(testcmp "subseq 0 0" '(subseq "madrigal" 0 0) "")
(testcmp "subseq 2 0" '(subseq "madrigal" 2 0) "")
(testcmp "subseq 10 0" '(subseq "madrigal" 10 0) "")
(testcmp "subseq 0 1" '(subseq "madrigal" 0 1) "m")
(testcmp "subseq 2 1" '(subseq "madrigal" 2 1) "")
(testcmp "subseq 10 1" '(subseq "madrigal" 10 1) "")
(testcmp "subseq 0 2" '(subseq "madrigal" 0 2) "ma")
(testcmp "subseq 2 2" '(subseq "madrigal" 2 2) "")
(testcmp "subseq 10 2" '(subseq "madrigal" 10 2) "")
(testcmp "subseq 0 5" '(subseq "madrigal" 0 5) "madri")
(testcmp "subseq 2 5" '(subseq "madrigal" 2 5) "dri")
(testcmp "subseq 10 5" '(subseq "madrigal" 10 5) "")
(testcmp "subseq 0 15" '(subseq "madrigal" 0 15) "madrigal")
(testcmp "subseq 2 15" '(subseq "madrigal" 2 15) "drigal")
(testcmp "subseq 10 15" '(subseq "madrigal" 10 15) "")
(testcmp "sort string 0" '(sort "" #'string>) "")
(testcmp "sort string 1" '(sort "W" #'string>) "W")
(testcmp "sort string 2" '(sort "TF" #'string>) "TF")
(testcmp "sort string 3" '(sort "FT" #'string>) "TF")
(testcmp "sort string 4" '(sort "The quick brown fox jumps over the lazy dog."
#'string>)
"zyxwvuutsrrqpoooonmlkjihhgfeeedcbaT. ")
(testcmp "subseq 0" '(subseq "madrigal" 0) "madrigal")
(testcmp "subseq 2" '(subseq "madrigal" 2) "drigal")
(testcmp "subseq 10" '(subseq "madrigal" 10) "")
(testcmp "subseq 0 0" '(subseq "madrigal" 0 0) "")
(testcmp "subseq 2 0" '(subseq "madrigal" 2 0) "")
(testcmp "subseq 10 0" '(subseq "madrigal" 10 0) "")
(testcmp "subseq 0 1" '(subseq "madrigal" 0 1) "m")
(testcmp "subseq 2 1" '(subseq "madrigal" 2 1) "")
(testcmp "subseq 10 1" '(subseq "madrigal" 10 1) "")
(testcmp "subseq 0 2" '(subseq "madrigal" 0 2) "ma")
(testcmp "subseq 2 2" '(subseq "madrigal" 2 2) "")
(testcmp "subseq 10 2" '(subseq "madrigal" 10 2) "")
(testcmp "subseq 0 5" '(subseq "madrigal" 0 5) "madri")
(testcmp "subseq 2 5" '(subseq "madrigal" 2 5) "dri")
(testcmp "subseq 10 5" '(subseq "madrigal" 10 5) "")
(testcmp "subseq 0 15" '(subseq "madrigal" 0 15) "madrigal")
(testcmp "subseq 2 15" '(subseq "madrigal" 2 15) "drigal")
(testcmp "subseq 10 15" '(subseq "madrigal" 10 15) "")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment