コード例 #1
0
 public void ReadsObjectFromJsonResource(TestParameter param)
 {
     Assert.Equal("value", param.Property);
 }
コード例 #2
0
 public void ReadsMultipleArraysOfObjectsFromJsonResource(TestParameter param, Version v)
 {
     Assert.Equal(v.ToString(), param.Property);
 }
コード例 #3
0
 public void ReadsMultipleObjectsFromJsonResource(TestParameter param)
 {
     Assert.StartsWith("value", param.Property);
 }
コード例 #4
0
 public void ReadsArrayOfObjectsFromJsonResource(TestParameter param, Version v)
 {
     Assert.Equal("value", param.Property);
     Assert.Equal(3, v.Major);
     Assert.Equal(4, v.Minor);
 }