public void IsFirstReturnsTrueWhenFirstValueIsPresent() { const uint value = 0x6a09e667; var target = new Either<uint, string>(value); Assert.That(target.IsFirst()); }
public void IsFirstReturnsFalseWhenFirstValueIsNotPresent() { const string value = "6a09e667"; var target = new Either<uint, string>(value); Assert.That(!target.IsFirst()); }