public void TestCumProd() { Pair col = new Pair("Column1", new Series(new NDArray(10, 20, 30))); Pair col1 = new Pair("Column2", new Series(new NDArray(40, 50, 60))); DataFrame df = new DataFrame(col, col1); DataFrame t = df.CumProd(); Pair col5 = new Pair("Column1", new Series(new NDArray(10, 200, 6000))); Pair col6 = new Pair("Column2", new Series(new NDArray(40, 2000, 120000))); DataFrame z = new DataFrame(col5, col6); Assert.True(t.Equals(z), "Arrays are not equal."); }