~ubuntu-branches/ubuntu/saucy/mago/saucy

« back to all changes in this revision

Viewing changes to gcalctool/gcalctool_calculations.xml

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2011-02-08 13:32:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110208133213-m1og7ey0m990chg6
Tags: 0.3+bzr20-0ubuntu1
* debian/rules:
  - updated to debhelper 7
  - use dh_python2 instead of python-central
* debian/pycompat:
  - removed, no longer needed
* debian/control:
  - dropped cdbs and python-central dependencies
* bzr snapshot of the current trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
<suite name="gcalctool calculations">
3
 
  <class>gcalctool_calculations.GCalctoolCalculations</class>
4
 
  <description>
5
 
    Tests that perform calculations and check the answer (cal-002)
6
 
  </description>
7
 
  <case name="1">
8
 
    <method>calculate</method>
9
 
    <description>3*4=12</description>
10
 
    <args>
11
 
      <input>3*4=</input>
12
 
      <oracle>12</oracle>
13
 
      <view>BASIC</view>
14
 
    </args>
15
 
  </case>
16
 
  <case name="2">
17
 
    <method>calculate</method>
18
 
    <description>s9=3</description>
19
 
    <args>
20
 
      <input>Cs9=</input>
21
 
      <oracle>3</oracle>
22
 
      <view>ADVANCED</view>
23
 
    </args>
24
 
  </case>
25
 
  <case name="3">
26
 
    <method>calculate</method>
27
 
    <description>1+1=2</description>
28
 
    <args>
29
 
      <input>1+1=</input>
30
 
      <oracle>2</oracle>
31
 
      <view>ADVANCED</view>
32
 
    </args>
33
 
  </case>
34
 
  <case name="4">
35
 
    <method>calculate</method>
36
 
    <description>10-2=8</description>
37
 
    <args>
38
 
      <input>10-2=</input>
39
 
      <oracle>8</oracle>
40
 
      <view>PROGRAMMING</view>
41
 
    </args>
42
 
  </case>
43
 
  <case name="5">
44
 
    <method>calculate</method>
45
 
    <description>14/2=7</description>
46
 
    <args>
47
 
      <input>14/2=</input>
48
 
      <oracle>7</oracle>
49
 
      <view>FINANCIAL</view>
50
 
    </args>
51
 
  </case>
52
 
  <case name="6">
53
 
    <method>calculate</method>
54
 
    <description>5*6=30</description>
55
 
    <args>
56
 
      <input>5*6=</input>
57
 
      <oracle>30</oracle>
58
 
      <view>BASIC</view>
59
 
    </args>
60
 
  </case>
61
 
  <case name="7">
62
 
    <method>calculate</method>
63
 
    <description>modulus - debian bug 410763</description>
64
 
    <args>
65
 
      <input>7921m14=</input>
66
 
      <oracle>11</oracle>
67
 
      <view>ADVANCED</view>
68
 
    </args>
69
 
  </case>
70
 
</suite>