Code Coverage can be a helpful metric to see how much of your code is hit by the tests you have written. Although it isn't a way to measure how good your code is, it will at least help you to see what parts of your code have no automated tests written against them.
First, we're going to test the SampleLogic class in the Logic project. Here is the SampleLogic class:
public class SampleLogic { public int val; public SampleLogic(int value) { this.val = value; } public int Double() { return val * 2; } }