public void Predict_CorrectSet_ExpectedPrediction() { // arrange IPredictionAlgorithm movingAverage = new MovingAverage(); IEnumerable <StockDataset> dataset = GetDataset("fortests/NSE-TATAGLOBAL11.csv").Reverse(); // act IEnumerable <BasicDataset> prediction = movingAverage.Predict(dataset); var expectedPrediction = prediction; // assert Assert.IsTrue(prediction.Count() > 0); }