public static void TestUseCase(Assert assert) { assert.Expect(4); var c = new Opti <string>(); var c1 = new Class1(); assert.Ok(c.Equals(c)); assert.NotOk(c.Equals(null)); assert.Ok(c1.Equals(c1)); assert.NotOk(c1.Equals(null)); }
public bool Equals(Opti <T> obj) { return(this == obj); }