示例#1
0
 public void CheckThatGetAnnotatedLengthReturnsCorrectValues()
 {
     Sample s = new Sample();
     Assert.Equal(10, s.GetAnnotatedLength(nameof(s.StringProperty)));
     Assert.Equal(int.MaxValue, s.GetAnnotatedLength(nameof(s.BigStringProperty)));
 }