Retro68/AutomatedTests/PascalTrap.c

17 lines
199 B
C
Raw Normal View History

2019-06-23 15:27:47 +00:00
#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;
}