X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Test.obn;h=8249fb77223116fd24082f63a7dba78821d98fe1;hb=d54469555328facc1c3b20e741b0bc3d2061685d;hp=da1f5453089ca918510c6b19e914ac2dbbf33d42;hpb=9b4f78290edb5f5bedeb12e683546fa00082f108;p=dsw-obn.git diff --git a/Test.obn b/Test.obn index da1f545..8249fb7 100644 --- a/Test.obn +++ b/Test.obn @@ -1,19 +1,8 @@ MODULE Test; -VAR - i : INTEGER; - s : SET; +IMPORT Out; BEGIN - INC(i); - ASSERT(i = 1); - DEC(i); - ASSERT(i = 0); - - INCL(s, 3); - ASSERT(3 IN s); - EXCL(s, 3); - ASSERT(~(3 IN s)); + Out.Open; + Out.String("Hello World!"); Out.Ln; END Test. - -Проверка встроенных процедур.