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.

17 lines
260 B

  1. #include "unity.h"
  2. #include "kgV.h"
  3. void setUp(void){}
  4. void tearDown(void){}
  5. void test_kgV8And6(void) {
  6. //arrange
  7. int a = 8;
  8. int b = 6;
  9. int expected = 24;
  10. //act
  11. int result = kgV(a, b);
  12. TEST_ASSERT_EQUAL_INT(expected, result);
  13. }