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.

27 lines
349 B

11 months ago
  1. #ifdef TEST
  2. #include "unity.h"
  3. #include "game100.h"
  4. void setUp(void){
  5. //Wenn Funktion Vorraussetzungen braucht
  6. }
  7. void tearDown(void){
  8. }
  9. void test_log(void){
  10. /* arrange */
  11. int result;
  12. double a = 4;
  13. /* act */
  14. result = log(4);
  15. /* assert */
  16. TEST_ASSERT_EQUAL_INT(4, result);//log(4)= 0.60205991
  17. }
  18. #endif // TEST