diff options
Diffstat (limited to '02-data_structures/03-hash_tables/01-phone_book/tests')
4 files changed, 32 insertions, 0 deletions
diff --git a/02-data_structures/03-hash_tables/01-phone_book/tests/01 b/02-data_structures/03-hash_tables/01-phone_book/tests/01 new file mode 100644 index 0000000..e335b06 --- /dev/null +++ b/02-data_structures/03-hash_tables/01-phone_book/tests/01 @@ -0,0 +1,13 @@ +12 +add 911 police +add 76213 Mom +add 17239 Bob +find 76213 +find 910 +find 911 +del 910 +del 911 +find 911 +find 76213 +add 76213 daddy +find 76213 diff --git a/02-data_structures/03-hash_tables/01-phone_book/tests/01.a b/02-data_structures/03-hash_tables/01-phone_book/tests/01.a new file mode 100644 index 0000000..b9367b9 --- /dev/null +++ b/02-data_structures/03-hash_tables/01-phone_book/tests/01.a @@ -0,0 +1,6 @@ +Mom +not found +police +not found +Mom +daddy diff --git a/02-data_structures/03-hash_tables/01-phone_book/tests/02 b/02-data_structures/03-hash_tables/01-phone_book/tests/02 new file mode 100644 index 0000000..0391451 --- /dev/null +++ b/02-data_structures/03-hash_tables/01-phone_book/tests/02 @@ -0,0 +1,9 @@ +8 +find 3839442 +add 123456 me +add 0 granny +find 0 +find 123456 +del 0 +del 0 +find 0 diff --git a/02-data_structures/03-hash_tables/01-phone_book/tests/02.a b/02-data_structures/03-hash_tables/01-phone_book/tests/02.a new file mode 100644 index 0000000..c715c98 --- /dev/null +++ b/02-data_structures/03-hash_tables/01-phone_book/tests/02.a @@ -0,0 +1,4 @@ +not found +granny +me +not found |