Exemple #1
0
 public TheoryDataItem(int expectedCYYMM, int expectedYear, int expectedMonth, IntCYYMM actual, string testDescription)
 {
     Actual          = actual;
     ExpectedCYYMM   = expectedCYYMM;
     ExpectedYear    = expectedYear;
     ExpectedMonth   = expectedMonth;
     TestDescription = testDescription;
 }
Exemple #2
0
        public void ConstructorEmpty_DoesNotThrowAndHasDefaultValue()
        {
            // Arrange & Act
            IntCYYMM actual    = null;
            var      exception = Record.Exception(() => actual = new IntCYYMM());

            // Assert
            Assert.Null(exception);
            Assert.Equal(0, actual.CYYMM);
        }