ABB.Swum.Nodes.Tests.WordNodeTests.TestGetNewWord_Parameters C# (CSharp) Method

TestGetNewWord_Parameters() private method

private TestGetNewWord_Parameters ( ) : void
return void
        public void TestGetNewWord_Parameters()
        {
            WordNode wn = new WordNode("watermelon", PartOfSpeechTag.Noun);
            object obj = wn.GetNewWord("beef", PartOfSpeechTag.Verb);
            Assert.IsInstanceOf(wn.GetType(), obj);
            
            WordNode wn2 = new WordNode("beef", PartOfSpeechTag.Verb);
            Assert.IsTrue(WordNodesAreEqual(wn2, obj as WordNode));
        }