diff options
Diffstat (limited to '02-data_structures/03-hash_tables/02-hash_chains/tests')
6 files changed, 55 insertions, 0 deletions
diff --git a/02-data_structures/03-hash_tables/02-hash_chains/tests/01 b/02-data_structures/03-hash_tables/02-hash_chains/tests/01 new file mode 100644 index 0000000..543e44b --- /dev/null +++ b/02-data_structures/03-hash_tables/02-hash_chains/tests/01 @@ -0,0 +1,14 @@ +5 +12 +add world +add HellO +check 4 +find World +find world +del world +check 4 +del HellO +add luck +add GooD +check 2 +del good diff --git a/02-data_structures/03-hash_tables/02-hash_chains/tests/01.a b/02-data_structures/03-hash_tables/02-hash_chains/tests/01.a new file mode 100644 index 0000000..2089645 --- /dev/null +++ b/02-data_structures/03-hash_tables/02-hash_chains/tests/01.a @@ -0,0 +1,5 @@ +HellO world +no +yes +HellO +GooD luck diff --git a/02-data_structures/03-hash_tables/02-hash_chains/tests/02 b/02-data_structures/03-hash_tables/02-hash_chains/tests/02 new file mode 100644 index 0000000..3ebfc0e --- /dev/null +++ b/02-data_structures/03-hash_tables/02-hash_chains/tests/02 @@ -0,0 +1,10 @@ +4 +8 +add test +add test +find test +del test +find test +find Test +add Test +find Test diff --git a/02-data_structures/03-hash_tables/02-hash_chains/tests/02.a b/02-data_structures/03-hash_tables/02-hash_chains/tests/02.a new file mode 100644 index 0000000..95b2d9a --- /dev/null +++ b/02-data_structures/03-hash_tables/02-hash_chains/tests/02.a @@ -0,0 +1,4 @@ +yes +no +no +yes diff --git a/02-data_structures/03-hash_tables/02-hash_chains/tests/03 b/02-data_structures/03-hash_tables/02-hash_chains/tests/03 new file mode 100644 index 0000000..0893cf3 --- /dev/null +++ b/02-data_structures/03-hash_tables/02-hash_chains/tests/03 @@ -0,0 +1,14 @@ +3 +12 +check 0 +find help +add help +add del +add add +find add +find del +del del +find del +check 0 +check 1 +check 2 diff --git a/02-data_structures/03-hash_tables/02-hash_chains/tests/03.a b/02-data_structures/03-hash_tables/02-hash_chains/tests/03.a new file mode 100644 index 0000000..8f5237c --- /dev/null +++ b/02-data_structures/03-hash_tables/02-hash_chains/tests/03.a @@ -0,0 +1,8 @@ + +no +yes +yes +no + +add help + |