Added comment to the Controller.cs class.
Created test method stub with comments.
Renamed "Controller.cs" to FizzBuzzController (solving namespace conflict).
Created the first unit test for the Fizz Buzz program. The unit test
was written without any methods in the FizzBuzzController. Thus, when
we tried to call controller.FizzBuzz(1) we got an error. The method was
then created from within the unit test which allows the project to build
again.
Enough logic was written into the FizzBuzz controller to make the test pass.
Created a new test that given 3, we print out all numbers up to 3 where
3 is replaced with Fizz. We also introduce a requirement of each itteration
being on a new line. Note that the first test will fail when we implement
this new line change, though we will be careful not to fix this until the
test breaks.
Our second test is now working, however the requirement to include a new
line has broken the first test. This is normal within TDD, and as such the
failing tests should be re-visited until all tests are working.
The first test was changed (to include a new line at the end of expected)
and now all of the two tests now pass.
Added test for a max itterator of 5 (where 5 should produce Buzz). The
test fails as per the TDD process.
Added an extra else if on the itterator within the FizzBuzzController, which was enough to make the
test pass. The Controller.cs file was also renamed to FizzBuzzController.cs
to match the class name.
Created unit test for 15 itterations, thus testing for FizzBuzz. The
test failed and as such, the logic in the Controller should now be changed
to allow the unit test to pass (without breaking any of the others!).
Logic in the Controller has been updated to reflect the unit tests which
now all pass. All of the requirements have been covered by the unit
tests and as such, it is now the time to re-factor the code within the
Controller with readability in mind.
Fixed typos in comments.
Re-factored Controller code and added comments.
Finished the ProgramView.cs class and the Program.cs class to allow
the program to work when run. Comments were also added to these classes.
Merge pull request #1 from georgemathieson/feature-fizz-buzz-controller

Feature fizz buzz controller