Ejemplo n.º 1
0
 static void Null()
 {
     Assert.Equal(TryParse.UInt32(null), None());
 }
Ejemplo n.º 2
0
 static void Success()
 {
     Assert.Equal(TryParse.UInt32("1"), Some((uint)1));
 }
Ejemplo n.º 3
0
 static void Fail()
 {
     Assert.Equal(TryParse.UInt32("a"), None());
 }