mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 21:49:33 +00:00
17 lines
199 B
C
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;
|
|
}
|