public void Valid_DefaultParts_ReturnFalse() { var parts = new PartsOfSpeech(); bool valid = parts.IsValid(); Assert.That(valid, Is.False); }
public void Valid_NoAdverb_ReturnFalse() { var parts = new PartsOfSpeech() { Noun = "dog", Verb = "walk", Adjective = "blue" }; bool valid = parts.IsValid(); Assert.That(valid, Is.False); }
public void Valid_NoNoun_ReturnFalse() { var parts = new PartsOfSpeech() { Verb = "walk", Adjective = "blue", Adverb = "quickly" }; bool valid = parts.IsValid(); Assert.That(valid, Is.False); }
public void Valid_SettedFullParts_ReturnTrue() { var parts = new PartsOfSpeech() { Noun = "dog", Verb = "walk", Adjective = "blue", Adverb = "quickly" }; bool valid = parts.IsValid(); Assert.That(valid, Is.True); }