C# PointBetween

C# PointBetween

In this section were going to finish the PointBetween class and create Unit Tests for it.

Let’ start of by defining a new Interface and Class for PointBetween.

C#

Then implement the PointBetween Class.

C#

Then in the IWireframeFactory Interface and Class, we’ll add a new method for AddNewPointBetween

C#

Then in the WireframeFactory Class we will define the new method for AddNewPointBetween

C#

And finally we need to define a Unit Test Class, to do this we need to add a new Class to the existing PointConstructors Unit Test Folder.

Point Between Unit Test Class

We can now fully define the unit tests for PointBetween

C#