Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
2
Task/Assertions/Apex/assertions-1.apex
Normal file
2
Task/Assertions/Apex/assertions-1.apex
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
String myStr = 'test;
|
||||
System.assert(myStr == 'something else', 'Assertion Failed Message');
|
||||
2
Task/Assertions/Apex/assertions-2.apex
Normal file
2
Task/Assertions/Apex/assertions-2.apex
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Integer i = 5;
|
||||
System.assertEquals(6, i, 'Expected 6, received ' + i);
|
||||
2
Task/Assertions/Apex/assertions-3.apex
Normal file
2
Task/Assertions/Apex/assertions-3.apex
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Integer i = 5;
|
||||
System.assertNotEquals(5, i, 'Expected different value than ' + i);
|
||||
Loading…
Add table
Add a link
Reference in a new issue