public void ctor_Value_IsSet(double value) { var sut = new SimpleTickerQuote(DateTime.Now, value, null); Assert.Equal<double?>(value, sut.Value); }
public void ctor_Volume_IsSet(double? volume) { var sut = new SimpleTickerQuote(DateTime.Now, 1, volume); Assert.Equal<double?>(volume, sut.Volume); }
public void ctor_Date_IsSet() { var date = new DateTime(2000,1,1); var sut = new SimpleTickerQuote(date, 1, null); Assert.Equal<DateTime>(date, sut.Date); }