Beispiel #1
0
        public void GetMonthsTest()
        {
            //Arrange
            var stockData = new StockDataRepository();

            //Act
            var  months   = stockData.GetMonths();
            bool gathered = months.Contains("October17");

            //Assert
            Assert.AreEqual(gathered, true);
        }
Beispiel #2
0
 public MainWindow()
 {
     InitializeComponent();
     SelectMonth.ItemsSource           = stock.GetMonths();
     SelectPredictionMonth.ItemsSource = stock.GetMonths();
 }