示例#1
0
 public static void ShouldBeNone <T>(this FSharpOption <T> value)
 {
     value.ShouldEqual(FSharpOption <T> .None);
 }
示例#2
0
 public static void ShouldBeSome <T>(this FSharpOption <T> value)
 {
     value.ShouldEqual(FSharpOption <T> .Some(value.Value));
 }