Created
August 26, 2012 05:42
-
-
Save smallgeek/3474661 to your computer and use it in GitHub Desktop.
NaturalSpec_Tutorial_1_4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario: When calculating fac 0 it should equal 0 | |
- Given 0 | |
– When calculating factorial | |
=> It should equal 1 | |
==> OK | |
Scenario: When calculating fac 1 it should equal 1 | |
- Given 1 | |
– When calculating factorial | |
=> It should equal 1 | |
==> OK | |
Scenario: When calculating fac 5 it should equal 120 | |
- Given 5 | |
– When calculating factorial | |
=> It should equal 120 | |
==> OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment