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.

28 lines
508 B

#ifdef TEST
#include <stdbool.h>
#include <stdio.h>
#include "unity.h"
#include "casualQuiz.h"
// Test setup function
void setUp(void) {
}
// Test teardown function
void tearDown(void) {
}
void test_FcheckaufRichtigkeit_correct_answer_atIndex1(void){
int TESTeingabe = 1;
int TESTindex = 0;
int TESTrichtige_antwort[]={1};
bool testfall;
testfall = FcheckaufRichtigkeit(TESTeingabe, TESTrichtige_antwort, TESTindex);
TEST_ASSERT_TRUE(testfall == true);
}
#endif //Test