~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to test/test_framework/hello_text.xml

  • Committer: stevenbird
  • Date: 2008-01-24 04:23:25 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:282
* changed spelling of varible to variable
* example hello world test cases

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<problem name = "Test all IO">
 
2
    <solution>
 
3
<![CDATA[
 
4
# Sample solution, used to generate test output
 
5
greeting = "Hello"
 
6
print " ".join([greeting, name])
 
7
]]>
 
8
    </solution>
 
9
    <!-- Alternatively, <solution src="all_input_test_soln.py" /> -->
 
10
    <case>
 
11
        <!-- Specify input -->
 
12
        <var name="name" value="'Dilshan'" />
 
13
        <function desc="Match case insensitive" default="ignore">
 
14
            <stdout>lambda x:x.lower()</stdout>
 
15
        </function>
 
16
        <function desc="Match exactly" default="ignore">
 
17
            <stdout/>
 
18
        </function>
 
19
    </case>
 
20
    <case>
 
21
        <!-- Specify input -->
 
22
        <var name="name" value="'Matt'" />
 
23
        <function desc="Match case insensitive" default="ignore">
 
24
            <stdout>lambda x:x.lower()</stdout>
 
25
        </function>
 
26
        <function desc="Match exactly" default="ignore">
 
27
            <stdout/>
 
28
        </function>
 
29
    </case>
 
30
</problem>