Add some test code

This commit is contained in:
Paul Reeves 2023-01-26 16:13:50 +01:00
parent b76d47e14c
commit bf8079082c
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,11 @@
insert into test_div(numerator, denominator) values (100, 5);
insert into test_div(numerator, denominator) values (10000000, 3);
insert into test_div(numerator, denominator) values (987654321000, 7);
commit;
set bail off;
insert into test_div(numerator, denominator) values (9876543210000000000, 7);
set bail on;
commit;

14
test/testudrkit-tests.dml Normal file
View File

@ -0,0 +1,14 @@
set stats on;
set bail off;
select * from test_div;
set stats off;
set bail on;
select FLAGGED (190, 0) from rdb$database;
select FLAGGED (191, 0) from rdb$database;
commit;