diff options
author | Pixel <> | 2001-03-21 09:13:34 +0000 |
---|---|---|
committer | Pixel <> | 2001-03-21 09:13:34 +0000 |
commit | 9bf8629e1420fb0bc09103e747f7d9b18aa7f10d (patch) | |
tree | 22a20f7d1c9c00db9a8970df40d0a981517d2a96 /src/test.cc | |
parent | 68332dfa57850ceabed4c270638096edf2bc32e7 (diff) |
Bug fixes
Diffstat (limited to 'src/test.cc')
-rw-r--r-- | src/test.cc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/test.cc b/src/test.cc index a557b69..fb67d24 100644 --- a/src/test.cc +++ b/src/test.cc @@ -23,7 +23,8 @@ char *method_names[] = { N_("0 - Binary Heap"), N_("1 - Binomial Heap"), N_("2 - Fibonacci Heap"), - N_("3 - Sorted chained list") + N_("3 - Sorted chained list"), + NULL }; char *menu[] = { @@ -35,7 +36,8 @@ char *menu[] = { N_("p - Print the current priority list on the screen"), N_("r - Remove the whole priority list"), N_("t - Test the priority list algorithms"), - N_("q - Quit") + N_("q - Quit"), + NULL }; void exception(int e, char *msg) @@ -96,7 +98,7 @@ void DoCombTest(int method, int number) } delete T; - cerr << "Ok.\n"; + cerr << _("Ok.\n"); } void FullTest(int method) @@ -284,7 +286,7 @@ int main(int argc, char **argv) } method = (*argv)[0] - '0'; } - + if (method == -1) method = 0; @@ -303,7 +305,7 @@ int main(int argc, char **argv) } initterm(input); - + /* Debut du programme de test. */ |