Files
mercury/tests/hard_coded/test_bitset.exp
Peter Ross 55ed3e382e Back out my previous change to these files, because it is useful to
Estimated hours taken: 0.25

Mmakefile:
bitset.exp:
bitset.m:
bitset_tester.m:
test_bitset.exp:
test_bitset.m:
    Back out my previous change to these files, because it is useful to
    have bitset_tester in a seperate module for testing the
    sparse_bitset module.
2001-02-15 11:23:27 +00:00

90 lines
2.2 KiB
Plaintext

List1: -59, -34, -19, -15, 2, 7, 19, 22, 25, 28, 29, 31, 32, 36, 38, 39, 40, 42, 44, 47, 58, 59
List2: -64, -61, -58, -56, -51, -49, -48, -46, -44, -40, -38, -37, -31, -30, -23, -18, -13, -4, -2, 4, 9, 11, 12, 14, 17, 21, 23, 37, 39, 42, 43, 50, 52, 53, 54, 55, 56, 57, 61, 63
count: 22 40
testing foldl
Sum of List1 = 471
Sum of List2 = 60
testing union
[-64, -61, -59, -58, -56, -51, -49, -48, -46, -44, -40, -38, -37, -34, -31, -30, -23, -19, -18, -15, -13, -4, -2, 2, 4, 7, 9, 11, 12, 14, 17, 19, 21, 22, 23, 25, 28, 29, 31, 32, 36, 37, 38, 39, 40, 42, 43, 44, 47, 50, 52, 53, 54, 55, 56, 57, 58, 59, 61, 63]
testing intersection
[39, 42]
testing difference
[-59, -34, -19, -15, 2, 7, 19, 22, 25, 28, 29, 31, 32, 36, 38, 40, 44, 47, 58, 59]
testing remove_least_element
-59
[-34, -19, -15, 2, 7, 19, 22, 25, 28, 29, 31, 32, 36, 38, 39, 40, 42, 44, 47, 58, 59]
testing delete_list
[-59, -34, -19, -15, 2, 7, 19, 22, 25, 28, 29, 31, 32, 36, 38, 40, 44, 47, 58, 59]
count: 20 40
testing foldl
testing union
testing intersection
testing difference
testing remove_least_element
testing delete_list
count: 20 40
testing foldl
testing union
testing intersection
testing difference
testing remove_least_element
testing delete_list
count: 20 40
testing foldl
testing union
testing intersection
testing difference
testing remove_least_element
testing delete_list
count: 20 40
testing foldl
testing union
testing intersection
testing difference
testing remove_least_element
testing delete_list
count: 20 40
testing foldl
testing union
testing intersection
testing difference
testing remove_least_element
testing delete_list
count: 20 40
testing foldl
testing union
testing intersection
testing difference
testing remove_least_element
testing delete_list
count: 20 40
testing foldl
testing union
testing intersection
testing difference
testing remove_least_element
testing delete_list
count: 20 40
testing foldl
testing union
testing intersection
testing difference
testing remove_least_element
testing delete_list
count: 20 40
testing foldl
testing union
testing intersection
testing difference
testing remove_least_element
testing delete_list
count: 20 40
testing foldl
testing union
testing intersection
testing difference
testing remove_least_element
testing delete_list