22. September 2013 11:18
This post is not about the concept of TDD and why it is a good idea, this can be read other places on the net. This post is merely an introducing to how to get started with TDD in C#.
The technical requirements for the program are listed below.
- Create a point
- The program should be able to control a point in a diagonal system.
- move the point horizontal and vertical.
- The diagonal system is defined in the space (0,0) and (500,500)
- Give information about where the point is located.
- Remove a point
How to start
The key in TDD is to start out with the test, so this is what we will do.