From ed0d4d075858ddf5b55c65c43757056617c67242 Mon Sep 17 00:00:00 2001 From: Christian Reum Date: Mon, 5 Feb 2024 20:49:06 +0100 Subject: [PATCH] unittest 3: crandomNumber() --- test/test_wwm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_wwm.c b/test/test_wwm.c index 4a644d5..85a87b1 100644 --- a/test/test_wwm.c +++ b/test/test_wwm.c @@ -32,3 +32,9 @@ void test_setGeld_2(void) { } + +void test_crandomNumber(void){ + int result = crandomNumber(); + TEST_ASSERT_TRUE(result >= 0 && result <= 9); + +}