summaryrefslogtreecommitdiff
path: root/test/test_main.adb
blob: 0ce72b1455d041b5fb23a458cac2094bbab0eeee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28


with

    Ada.Text_IO,
    Ratnest.Tests;

use

    Ada.Text_IO,
    Ratnest,
    Ratnest.Tests;


procedure Test_Main is
begin
    Put_Line ("Running tests for Packrat.Errors...");
    Run_Tests (Error_Tests);
    New_Line;

    Put_Line ("Running tests for Packrat.Util...");
    Put_Line ("Testing set predicates...");
    Run_Tests (Set_Predicate_Tests);
    Put_Line ("Testing ordinary predicates...");
    Run_Tests (Util_Predicate_Tests);
end Test_Main;