Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 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