浏览代码

* made test more verbose

git-svn-id: trunk@46707 -
florian 5 年之前
父节点
当前提交
1041bc5a17
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/test/cg/taddreal1.pp

+ 2 - 2
tests/test/cg/taddreal1.pp

@@ -53,11 +53,11 @@ end;
   i:=i-j;
   if trunc(i) <> trunc(89.9) then
     result := false;
-  WriteLn('Result (89.9) :',i);
+  WriteLn('Result (89.9) :',i,' trunc(i)=',trunc(i),' trunc(89.9)=',trunc(89.9));
   i:=j-i;
   if trunc(i) <> trunc(-79.9) then
     result := false;
-  WriteLn('Result (-79.9) :',i);
+  WriteLn('Result (-79.9) :',i,' trunc(i)=',trunc(i),' trunc(-79.9)=',trunc(-79.9));
   j:=j-10.0;
   if j <> 0.0 then
     result := false;