tval.pp 507 B

12345678910111213141516171819202122232425262728293031
  1. program TestVal;
  2. uses
  3. { longint type, short string }
  4. tval1,
  5. { dword type, short string }
  6. tval2,
  7. { int64 type, short string }
  8. tval3,
  9. { uint64 type, short string }
  10. tval4,
  11. { common variables and functions }
  12. tvalc;
  13. begin
  14. if (paramcount>0) and
  15. (paramstr(1)='verbose') then
  16. silent:=false;
  17. TestAllVal1;
  18. TestAllVal2;
  19. TestAllVal3;
  20. TestAllVal4;
  21. if HasErrors then
  22. begin
  23. Writeln('Test tval failed');
  24. Halt(1);
  25. end;
  26. end.