summaryrefslogtreecommitdiffstats
path: root/tests/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libdimension')
-rw-r--r--tests/libdimension/warning.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libdimension/warning.c b/tests/libdimension/warning.c
index d221076..915c97a 100644
--- a/tests/libdimension/warning.c
+++ b/tests/libdimension/warning.c
@@ -26,16 +26,19 @@ int
main(void)
{
if (dmnsn_get_resilience() != DMNSN_SEVERITY_MEDIUM) {
+ fprintf(stderr, "--- Wrong default resilience! ---\n");
return EXIT_FAILURE;
}
dmnsn_set_resilience(DMNSN_SEVERITY_LOW);
if (dmnsn_get_resilience() != DMNSN_SEVERITY_LOW) {
+ fprintf(stderr, "--- Resilience not updated! ---\n");
return EXIT_FAILURE;
}
dmnsn_set_resilience(DMNSN_SEVERITY_MEDIUM);
if (dmnsn_get_resilience() != DMNSN_SEVERITY_MEDIUM) {
+ fprintf(stderr, "--- Resilience not updated! ---\n");
return EXIT_FAILURE;
}
@@ -43,6 +46,7 @@ main(void)
dmnsn_set_resilience(DMNSN_SEVERITY_HIGH);
if (dmnsn_get_resilience() != DMNSN_SEVERITY_HIGH) {
+ fprintf(stderr, "--- Resilience not updated! ---\n");
return EXIT_FAILURE;
}