terecs3.pp 315 B

12345678910111213141516171819202122232425
  1. program terecs3;
  2. {$mode delphi}
  3. {$apptype console}
  4. uses
  5. terecs_u1;
  6. var
  7. F: TFoo;
  8. begin
  9. F.F3 := 0;
  10. F.F4 := 1;
  11. if F.F3 <> 0 then
  12. halt(1);
  13. if F.F4 <> 1 then
  14. halt(2);
  15. if F.C <> 1 then
  16. halt(3);
  17. if F.Test(3) <> 4 then
  18. halt(4);
  19. if F.Test1(4) <> 5 then
  20. halt(5);
  21. WriteLn('ok');
  22. end.