public void PastParticipleVerbConstructorTest() { var text = "abided"; var target = new PastParticiple(text); Check.That(target.Text).IsEqualTo(text); }
public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (PastTense != null ? PastTense.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PastParticiple != null ? PastParticiple.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PresParticiple != null ? PresParticiple.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ThirdPerson != null ? ThirdPerson.GetHashCode() : 0); return(hashCode); } }
public void Evaluate() { correct = SimplePast.Equals(AnswerSimplePast, StringComparison.InvariantCultureIgnoreCase) && PastParticiple.Equals(AnswerPastParticiple, StringComparison.InvariantCultureIgnoreCase); }