public void SymbolData_Tests(string rawActual, SymbolDatum expected)
 {
     var actual = TickerCsvParser.ParseRow(rawActual);
     Assert.AreEqual(expected.AdjustedClose, actual.AdjustedClose);
     Assert.AreEqual(expected.Close, actual.Close);
     Assert.AreEqual(expected.DailyHigh, actual.DailyHigh);
     Assert.AreEqual(expected.DailyLow, actual.DailyLow);
     Assert.AreEqual(expected.Date, actual.Date);
     Assert.AreEqual(expected.OpeningPrice, actual.OpeningPrice);
     Assert.AreEqual(expected.TradeVolume, actual.TradeVolume);
 }
 public static IEnumerable<ITestCaseData> ParseRow_TestCases()
 {
     var expected = new SymbolDatum(new DateTime(2016, 01, 15), 173.529999m, 173.529999m, 173.529999m, 173.529999m, 0L, 173.529999m);
     yield return new TestCaseData("2016-01-15,173.529999,173.529999,173.529999,173.529999,000,173.529999", expected)
         .SetName("Fractional decimals behaves OK");
 }