Differences between revisions 8 and 20 (spanning 12 versions)
Revision 8 as of 2012-12-29 08:53:10
Size: 183
Editor: KaiJaeger
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 1: Line 1:
Describe TestPage here. #acl AutoAdminGroup:read,write,admin,delete,revert All:read
Line 3: Line 3:
Does APL font within a sentence work? {{{¯3+¨⌊(2↑3↓⍇1 1),X[⍋X] }}} Yes it does! <<Include(GetNameTable)>>
Line 5: Line 5:
{{drawing:mytest.tdraw}} /* replace TestPage by a proper & meaningful Wiki name */
= TestPage =
Line 7: Line 8:
{{drawing:anywikitest.adraw}} 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 ==
/* Replace "PhraseName" accordingly */
<<SeeSaw(section="test", toshow="<<Show>> test cases", tohide="<<Hide>> test cases", bg="#FEE1A5", speed="Slow")>>
{{{{#!wiki seesaw/test/test/hide
/* Note that the test cases are executed AUTOMATICALLY. It is therefore very important to stick with the pattern */

{{{
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.
}}}}

[[http://aplwiki.com:49991/phrasebook?action=CheckCode&page=TestPage | Test my code]]

Mentor: AplWiki:KaiJaeger

----
CategoryListAll

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)