Beispiel #1
0
        public void ParseEmpty()
        {
            var influence = new An8Influence();

            influence.Parse(
                @"
");
        }
Beispiel #2
0
        public void ParseOther()
        {
            var influence = new An8Influence();

            influence.Parse(
                @"
other { }
");
        }
Beispiel #3
0
        public void ParseNull()
        {
            var influence = new An8Influence();

            influence.Parse(
                @"
2.0 3.0 4.0 5.0 6.0 7.0
");

            Assert.Equal(2.0f, influence.LowerEndCenter);
            Assert.Equal(3.0f, influence.LowerEndInnerRadius);
            Assert.Equal(4.0f, influence.LowerEndOuterRadius);
            Assert.Equal(5.0f, influence.UpperEndCenter);
            Assert.Equal(6.0f, influence.UpperEndInnerRadius);
            Assert.Equal(7.0f, influence.UpperEndOuterRadius);
        }