Size: 945
Comment: Moved to test.aplwiki.com
|
Size: 2143
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
/* replace TestPage by a proper & meaningful Wiki name */ | |
Line 5: | Line 6: |
The only purpose of this page is to provide some problems for the ACEX (automated code executioner) which will make it to the TestReport. | <<TableOfContents>> Describe the problem to be solved here. |
Line 8: | Line 11: |
''⍴0 | Put the phrase here |
Line 10: | Line 13: |
[[http://aplwiki.com:49991/phrasebook?action=CreateTagPage | Create Tags]] |
|
Line 13: | Line 18: |
/* Add proper examples here, and don't forget to fix a sample function changing "!PhraseName" accordingly */ | |
Line 14: | Line 20: |
⎕FX'r←Do y' 'r←''''⍴⊂y' Do 2 1⍴'Kai' 'thomas' Kai thomas |
⎕FX⊃'r←[?] PhraseName ?' 'r←....' Display PhraseName array |
Line 20: | Line 24: |
== Specialities == .... /* Add special remarks for specific dialects here, for example the mentioning of a system function solving the problem goes here */ == Compatibility == Checked with: /* APL2, APLX, APL+Win, Dyalog, NARS2000 - Add as many as you can/like */ |
|
Line 21: | Line 33: |
/* Replace "NameOfYourChoice" accordingly */ | /* Replace "PhraseName" accordingly */ |
Line 24: | Line 36: |
/* Note that the test cases are executed AUTOMATICALLY */ /* It is therefore very important to stick with the pattern! */ /* In doubt? Email me at kai@aplteam.com */ |
/* Note that the test cases are executed AUTOMATICALLY. It is therefore very important to stick with the pattern */ |
Line 28: | Line 39: |
Test;Do ⎕IO←0 ⎕FX'r←Do y' 'r←⍬⍴⊂y' |
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←[larg] PhraseName rarg' 'r←phrase' |
Line 32: | Line 44: |
''≡Do'' ' '≡Do' ' 'APL'≡Do' APL' ' '≡Do' ' 1 2 3≡Do 1 2 3 |
/* expectedResult ≡ statement */ |
Line 38: | Line 46: |
For details see the TestCasesGuidelines. [[http://aplwiki.com:49991/phrasebook?action=CheckCode&page=TestPage | Test my code]] |
|
Line 40: | Line 52: |
See also: ... /* Add proper Wiki names. The pages do not necessarily must exist. If they don't they will show up on WantedPages and that's just fine */ Mentor: AplWiki:JohnDoe /* Replace by your name */ /* Tags are used to create a list automatically - see ListAllTags */ [[ListAllTags|Tags]]: <<span(css_class=small)>> <!AppropriateCamelCaseName> <Simpleword> /* Use "!" to avoid unwanted links for CamelCase names */ <<span>> |
|
Line 41: | Line 62: |
CategoryListAll | CategoryListAll /* Don't forget to add more categories. If they do not exist so far that's fine - someone will take care */ |