Skip to content

Instantly share code, notes, and snippets.

@smallgeek
Created August 26, 2012 05:42
Show Gist options
  • Save smallgeek/3474661 to your computer and use it in GitHub Desktop.
Save smallgeek/3474661 to your computer and use it in GitHub Desktop.
NaturalSpec_Tutorial_1_4
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