Browse Source

Commited Unit Test

remotes/origin/production
Jonas Zitzmann 11 months ago
parent
commit
d63830bc0c
  1. 18
      test/test_convert_kph_to_mps.c

18
test/test_convert_kph_to_mps.c

@ -0,0 +1,18 @@
#include "../src/convert_kph_to_mps.h"
#include "unity.h"
#include "limits.h"
void setUp(void) {
// set stuff up here
}
void tearDown(void) {
// clean stuff up here
}
void test_convert_kph_to_mps_kpstomps(void){
double expectedResult = 1.0;
double result;
result = converter_kph_to_mps(3.6);
TEST_ASSERT_EQUAL_DOUBLE(expectedResult, result);
}
Loading…
Cancel
Save