コード例 #1
0
 [InlineData("dk", "alala", false)] // not even a country
 public void Is(string countryCode, string isParam, bool expected)
 {
     Assert.Equal(expected, countries.Get(countryCode).Is(isParam));
 }
コード例 #2
0
 [InlineData("_208")] // does not register as "numeric", so ends up with null
 public void Get_returnsNull_ifGiven(string given)
 {
     Assert.Null(countries.Get(given));
 }