You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
521 B
29 lines
521 B
// test_wwm.c
|
|
|
|
#include "unity.h"
|
|
#include "wwm.h"
|
|
|
|
void setUp(void) {
|
|
// set up any initializations if needed
|
|
}
|
|
|
|
void tearDown(void) {
|
|
// clean up after the test if needed
|
|
}
|
|
|
|
void test_setGeld_and_wwm(void) {
|
|
// Initialize or reset variables if needed
|
|
runde = 0;
|
|
geld = 0;
|
|
frage = 0;
|
|
useranswer = 0;
|
|
|
|
// Call setGeld and check the initial values
|
|
TEST_ASSERT_EQUAL(0, setGeld(0));
|
|
TEST_ASSERT_EQUAL(0, geld);
|
|
|
|
|
|
// Call wwm and check if it runs without errors
|
|
//wwm();
|
|
|
|
}
|