Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/Test-a-function/SQL-PL/test-a-function.sql
Normal file
9
Task/Test-a-function/SQL-PL/test-a-function.sql
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
CREATE OR REPLACE PROCEDURE TEST_MY_TEST()
|
||||
BEGIN
|
||||
DECLARE EXPECTED INTEGER;
|
||||
DECLARE ACTUAL INTEGER;
|
||||
CALL DB2UNIT.REGISTER_MESSAGE('My first test');
|
||||
SET EXPECTED = 2;
|
||||
SET ACTUAL = 1+1;
|
||||
CALL DB2UNIT.ASSERT_INT_EQUALS('Same value', EXPECTED, ACTUAL);
|
||||
END @
|
||||
Loading…
Add table
Add a link
Reference in a new issue