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.

18 lines
262 B

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