source: trunk/examples/zoo/periodicelement/tool.xml @ 3770

Last change on this file since 3770 was 3770, checked in by mmc, 11 years ago

Fixed a problem with the resultset that surfaced during the "letters"
assignment in the summer bootcamp. With two results, the "Number of
Words" plot would show one result but not the other. The problem was
that one parameter would be something like "abc", and the other would
have spaces like "abc def". The resultset was not reporting diffs
properly for any value like that with spaces in it.

Also fixed a small problem in the tester diff method for boolean values.

File size: 1.2 KB
Line 
1<?xml version="1.0"?>
2<run>
3    <tool>
4        <about>Press Simulate to view results.</about>
5        <command>tclsh @tool/test.tcl @driver</command>
6    </tool>
7    <input>
8        <periodicelement id="first">
9            <about>
10                <label>First Element</label>
11                <description>Select the first element.</description>
12            </about>
13            <default>As</default>
14            <returnvalue>name</returnvalue>
15        </periodicelement>
16        <periodicelement id="second">
17            <about>
18                <label>Second Element</label>
19                <description>Select the second element.</description>
20            </about>
21            <default>Oxygen</default>
22            <returnvalue>name symbol number weight</returnvalue>
23            <inactive>actinoid lanthanoid</inactive>
24        </periodicelement>
25        <periodicelement id="third">
26            <about>
27                <label>Third Element</label>
28                <description>Select the third element.</description>
29            </about>
30            <default>Carbon</default>
31            <returnvalue>weight</returnvalue>
32            <active>other-non-metal</active>
33        </periodicelement>
34    </input>
35</run>
Note: See TracBrowser for help on using the repository browser.