Esempio n. 1
0
        public void PastParticipleVerbConstructorTest()
        {
            var text   = "abided";
            var target = new PastParticiple(text);

            Check.That(target.Text).IsEqualTo(text);
        }
Esempio n. 2
0
 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);
     }
 }
Esempio n. 3
0
 public void Evaluate()
 {
     correct = SimplePast.Equals(AnswerSimplePast, StringComparison.InvariantCultureIgnoreCase) && PastParticiple.Equals(AnswerPastParticiple, StringComparison.InvariantCultureIgnoreCase);
 }