ABB.Swum.Nodes.Tests.WordNodeTests.TestConstructor_AllParams C# (CSharp) 메소드

TestConstructor_AllParams() 개인적인 메소드

private TestConstructor_AllParams ( ) : void
리턴 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);
        }