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