浏览代码

no message

florian 22 年之前
父节点
当前提交
e861eaa4c0
共有 1 个文件被更改,包括 18 次插入1 次删除
  1. 18 1
      tests/tbs/tb0460.pp

+ 18 - 1
tests/tbs/tb0460.pp

@@ -2,5 +2,22 @@ const
   MinCurrency : Currency = -922337203685477.5807;
   MinCurrency : Currency = -922337203685477.5807;
   MaxCurrency : Currency = 922337203685477.5807;
   MaxCurrency : Currency = 922337203685477.5807;
 
 
+var
+  s : string;
+
 begin
 begin
-end.
+  str(MinCurrency:0:4,s);
+  { output according to delphi }
+  if s<>'-922337203685477.5810' then
+    begin
+      writeln(s);
+      halt(1);
+    end;
+  str(MaxCurrency:0:4,s);
+  { output according to delphi }
+  if s<>'922337203685477.5810' then
+    begin
+      writeln(s);
+      halt(1);
+    end;
+end.