예제 #1
0
 static void Fail()
 {
     Assert.Equal(TryParse.SByte("a"), None());
 }
예제 #2
0
 static void Null()
 {
     Assert.Equal(TryParse.SByte(null), None());
 }
예제 #3
0
 static void Success()
 {
     Assert.Equal(TryParse.SByte("1"), Some((sbyte)1));
 }