コード例 #1
0
 public void ctor_Value_IsSet(double value)
 {
     var sut = new SimpleTickerQuote(DateTime.Now, value, null);
     Assert.Equal<double?>(value, sut.Value);
 }
コード例 #2
0
 public void ctor_Volume_IsSet(double? volume)
 {
     var sut = new SimpleTickerQuote(DateTime.Now, 1, volume);
     Assert.Equal<double?>(volume, sut.Volume);
 }
コード例 #3
0
 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);
 }