GetFirstDate() публичный Метод

public GetFirstDate ( ) : System.DateTime
Результат System.DateTime
Пример #1
0
        public void shouldThrowWhenThereAreNoValuePoints()
        {
            ILine emptyline = new Line();

            Assert.Throws<NoValuesOnLineException>(() => emptyline.GetValuePoints());
            Assert.Throws<NoValuesOnLineException>(() => emptyline.GetValue(DateTime.Now));
            Assert.Throws<NoValuesOnLineException>(() => emptyline.GetFirstDate());
            Assert.Throws<NoValuesOnLineException>(() => emptyline.GetLastDate());
        }