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

TestConstructor_AllParams() private method

private TestConstructor_AllParams ( ) : void
return void
        public void TestConstructor_AllParams()
        {
            WordNode wn = new WordNode("watermelon", PartOfSpeechTag.Noun, 5.7);
            Assert.AreEqual("watermelon", wn.Text);
            Assert.AreEqual(PartOfSpeechTag.Noun, wn.Tag);
            Assert.AreEqual(5.7, wn.Confidence);
            Assert.AreEqual(Location.None, wn.Location);
        }