Add some test code
This commit is contained in:
parent
b76d47e14c
commit
bf8079082c
11
test/testudrkit-testdata.dml
Normal file
11
test/testudrkit-testdata.dml
Normal 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
14
test/testudrkit-tests.dml
Normal 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;
|
Loading…
Reference in New Issue
Block a user