public void TestSumOfSequenceBrutForceBoundaryCond() { //Arrange SumOfMultipleAlgoBrutForce algo = new SumOfMultipleAlgoBrutForce(); //Act var output = algo.CalcullateSumOfMultipleStategy(0); //Assert Assert.AreEqual(0, output); }
public void TestSumOfSequenceByBrutForceIncluding() { //Arrange SumOfMultipleAlgoBrutForce algo = new SumOfMultipleAlgoBrutForce(); //Act var output = algo.CalcullateSumOfMultipleStategy(16); //Assert Assert.AreEqual(60, output); }