-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathunittests.c
More file actions
33 lines (27 loc) · 1.02 KB
/
unittests.c
File metadata and controls
33 lines (27 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
This file is part of process-watcher.
process-watcher is free software: you can redistribute it and/or
modify it under the terms of the Apache 2.0 License as published by
the Apache Software Foundation.
process-watcher is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License
for more details.
You should have received a copy of the Apache 2.0 License
along with process-watcher.
If not, see <https://www.apache.org/licenses/LICENSE-2.0>.
*/
#include "status.test.h" /* test_status (). */
#include "string-has-only-digits.test.h" /* test_string_has_only_digits (). */
#include <stdlib.h> /* exit (). */
#include <string.h> /* memset (). */
#include <assert.h> /* assert (). */
#include <stdio.h> /* printf (). */
/* Run all tests. */
int
main (void) {
test_string_has_only_digits ();
test_status ();
printf ("ok\n");
return 0;
}