Demo and test code
Main | Description | GNAT 3.14p | GNAT 3.15a | GCC 3.1 | OA 7.2.2 |
---|---|---|---|---|---|
avl_test | test AVL trees | ok | ok | ok | ok |
bag_test | test bounded, dynamic and unbounded bags | ok | ok | ok | ok |
collection_test | test bounded, dynamic and unbounded collections | ok | ok | ok | ok |
deque_test | test bounded, dynamic and unbounded deques | ok | ok | ok | ok |
graph_test | test directed and undirected graphs | ok | ok | ok | ok |
list_test | test single and double lists | ok | ok | ok | ok |
map_test | test bounded, dynamic and unbounded maps | ok | ok | ok | ok |
ordered_collection_test | test bounded, dynamic and unbounded ordered collections | ok | ok | ok | ok |
ordered_queue_test | test bounded, dynamic and unbounded ordered queues | ok | ok | ok | ok |
queue_test | test bounded, dynamic and unbounded queues | ok | ok | ok | ok |
ring_test | test bounded, dynamic and unbounded rings | ok | ok | ok | ok |
set_test | test bounded, dynamic and unbounded sets | ok | ok | ok | ok |
smart_test | test smart pointers | ok | ok | ok | ok |
sort_test | test sorts | ok | ok | ok | ok |
stack_test | test bounded, dynamic and unbounded stacks | ok | ok | ok | ok |
stream_test | test 'Output, 'Input for those components that support them | ok | ok | ok | Constraint_Error with discriminated records (simple and tagged types ok) |
tree_test | test AVL, binary and multiway trees | ok | ok | ok | ok |
Main | Description | GNAT 3.14p | GNAT 3.15a | GCC 3.1 | OA 7.2.2 |
---|---|---|---|---|---|
ada_units | demonstrate graphs | ok | ok | ok | ok |
configuration_demo | demonstrate using Maps to implement a configuration facility | ok | Program_Error (finalize raised exception) | ok | ok |
lists_traversal | demonstrate an unexpected behaviour of double lists | ok | ok | ok | Program_Error (finalization problem?) |
ordering_test | demonstrate ordered containers, especially where different elements have equal keys | ok | ok | ok | ok |
storage | demonstrate managed and unmanaged store allocation | ok | ok | ok | ok |
test_synchronization | demonstrate the functionality in BC.Support.Synchronization | ok | ok | ok | ok |
time_lists | demonstrate timings for lists of varying lengths | ok | ok | ok | ok |
time_queues | demonstrate timings for queues of varying lengths | ok | ok | ok | ok |
unmanaged_storage | demonstrate use of Unmanaged_Storage | ok | ok | ok | ok |
user_map | demonstrate maps with user-defined equality for the key type | ok | ok | ok | Program_Error (finalization?) |
user_set | demonstrate user-defined equality for sets | ok | ok | ok | ok |
word_count | a word-counter demo, as suggested by John English in the first Ada
Standard Component Library Working Group NB, as supplied this fails if the last line of the input is blank! |
ok | ok | ok | Doesn't compile as it stands (needs to be gnatchop'd) |