Skip to content

Commit

Permalink
User story 6 completed
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhodine-orleans-lindsay committed Jan 31, 2020
1 parent 10e2839 commit 03f27d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ User story 2 and 3 - User story 2 and 3 complete . I implemented the same method
User story 4 - capacity - had already begun this in user story 3 but refactored code and test to include DEFAULT_CAPACITY to get rid of the magic number.
User story 5 - User story 5 completed. to pass the test, I created a 'isStormy' function that returned false by default and created a guard clause within the 'clearForTakeoff' function that would through the error when isStormy was true. I also refactored my capacity test to have 'capacity' = 'DEFAULT_CAPACITY'.
User story 5 - User story 5 completed. To pass the test, I created a 'isStormy' function that returned false by default and created a guard clause within the 'clearForTakeoff' function that would through the error when isStormy was true. I also refactored my capacity test to have 'capacity' = 'DEFAULT_CAPACITY'.
User story 6 - User story 6 completed. I created a test similar to that in user story 5 but landing rather than takeoff and added a guard clause to the 'clearForLanding' function to make it pass.
Expand Down

0 comments on commit 03f27d8

Please sign in to comment.