Differences between revisions 19 and 20
Revision 19 as of 2016-08-19 10:38:54
Size: 1349
Editor: anonymous
Comment:
Revision 20 as of 2016-08-19 10:39:35
Size: 1344
Editor: KaiJaeger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 36: Line 36:
 1

TestPage

Note that this page exists in order to test the automated tests of both, examples and test cases on all phrase pages. For that reason this page contains buggy examples and buggy test cases

      +/

Examples

      ⎕FX⊃'r←Sum na' 'r←+/na'
      Display Sum 1 2 3
6
      Display Sum 2 3 4⍴⍳24
6

Test Cases

Show test cases

Test
 ⎕IO←0      ⍝ You may change this; however, zero IS the default in the Phrasebook Wiki
⍝⎕ML←3      ⍝ Enable this line in Dyalog APL if appropriate
 ⎕FX'r←Sum na' 'r←+/na'
⍝ ---- Start Test cases (do not delete this!)
 1 ≡ Sum 1 2 3
 1 ≡ Sum 1 
 0 ≡ Sum ⍳0

For details see the TestCasesGuidelines.

Test my code

Mentor: KaiJaeger


CategoryListAll

TestPage (last edited 2016-08-19 10:39:35 by KaiJaeger)