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
265 B

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