public void Problem1_PointClass_WithReturnValue() { // Instantiate the problem var target = new Problem1(); // Set up the test int x = 590; int y = 37; var pointClass = new PointClass(x, y); var result = target.ReturnADoubledPointClass(pointClass); // Assert truths. Assert.IsNotNull(result); Assert.AreNotSame(result, pointClass); Assert.AreEqual(x * 2, result.X); Assert.AreEqual(y * 2, result.Y); }