Retro68/AutomatedTests/PascalTrap.c
2019-06-23 17:27:47 +02:00

17 lines
199 B
C

#include <FixMath.h>
#include "Test.h"
short calc()
{
return FixRound(FixRatio(42,5));
}
int main()
{
if(calc() == 8)
TEST_LOG_OK();
else
TEST_LOG_NO();
return 0;
}