|
|
@ -28,20 +28,10 @@ void test_convertToDogYears_WhenAgeIsGreaterThanTwo_ShouldReturnExpectedValue(vo |
|
|
|
|
|
|
|
int result = convertToDogYears(3); |
|
|
|
|
|
|
|
UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((25.0)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((25.0))), (UNITY_FLOAT)((UNITY_FLOAT)((result))), (( |
|
|
|
UnityAssertEqualNumber((UNITY_INT)((24)), (UNITY_INT)((result)), ( |
|
|
|
|
|
|
|
((void *)0) |
|
|
|
|
|
|
|
)), (UNITY_UINT)((UNITY_UINT)(17))); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
result = convertToDogYears(5); |
|
|
|
|
|
|
|
UnityAssertFloatsWithin((UNITY_FLOAT)((UNITY_FLOAT)((37.0)) * (UNITY_FLOAT)(0.00001f)), (UNITY_FLOAT)((UNITY_FLOAT)((37.0))), (UNITY_FLOAT)((UNITY_FLOAT)((result))), (( |
|
|
|
|
|
|
|
((void *)0) |
|
|
|
|
|
|
|
)), (UNITY_UINT)((UNITY_UINT)(20))); |
|
|
|
), (UNITY_UINT)(17), UNITY_DISPLAY_STYLE_INT); |
|
|
|
|
|
|
|
} |