Properties

Story is names
  In order to get the latin names of individual figures
  As a library user
  I want to be able to invoke a method on a roman figure

      With scenario zero
        Given the figure N does have a name
        When the name is obtained
        Then the name is not empty

      With scenario one
        Given the figure I does have a name
        When the name is obtained
        Then the name is not empty

      With scenario five
        Given the figure V does have a name
        When the name is obtained
        Then the name is not empty

      With scenario ten
        Given the figure X does have a name
        When the name is obtained
        Then the name is not empty

      With scenario figures with names
        Given the figure L does have a name
        When the name is obtained
        Then the name is not empty

      With scenario figures with names
        Given the figure C does have a name
        When the name is obtained
        Then the name is not empty

      With scenario figures with names
        Given the figure D does have a name
        When the name is obtained
        Then the name is not empty

      With scenario figures with names
        Given the figure M does have a name
        When the name is obtained
        Then the name is not empty


Story is values
  In order to get the integral values of individual figures
  As a library user
  I want to be able to invoke a method on a roman figure

      With scenario value of a figure
        Given a roman figure I
        When the value is obtained
        Then the value 1 is correct

      With scenario value of a figure
        Given a roman figure V
        When the value is obtained
        Then the value 5 is correct

      With scenario value of a figure
        Given a roman figure X
        When the value is obtained
        Then the value 10 is correct

      With scenario value of a figure
        Given a roman figure L
        When the value is obtained
        Then the value 50 is correct

      With scenario value of a figure
        Given a roman figure C
        When the value is obtained
        Then the value 100 is correct

      With scenario value of a figure
        Given a roman figure D
        When the value is obtained
        Then the value 500 is correct

      With scenario value of a figure
        Given a roman figure M
        When the value is obtained
        Then the value 1000 is correct

Last edited Jan 3, 2012 at 10:58 PM by dgon, version 1

Comments

No comments yet.