public void IsSome() { Option <int> opt1 = new Some <int>(1); Assert.True(opt1.IsSome()); Option <int> opt2 = None <int> .Instance; Assert.False(opt2.IsSome()); }