public void MultipleAlgoTest2() { MultipleAlgo algo = new MultipleAlgo(4, 1.3); Assert.Equal(4, algo.GetNext()); Assert.Equal(6, algo.GetNext()); //5,2 Assert.Equal(7, algo.GetNext()); //6,76 Assert.Equal(9, algo.GetNext()); //8,788 Assert.Equal(12, algo.GetNext()); //11,4244 }
public void MultipleAlgoTest() { MultipleAlgo algo = new MultipleAlgo(1, 2); Assert.Equal(1, algo.GetNext()); Assert.Equal(2, algo.GetNext()); Assert.Equal(4, algo.GetNext()); Assert.Equal(8, algo.GetNext()); Assert.Equal(16, algo.GetNext()); }