summaryrefslogtreecommitdiff
path: root/src/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.cc')
-rw-r--r--src/test.cc12
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.
*/