コード例 #1
0
        public void VerticalDeflectionTest_ToString_Success()
        {
            var verticalDeflection = new VerticalDeflection();

            verticalDeflection.Value = 5;

            Assert.That(verticalDeflection.Value.ToString(), Is.EqualTo("5"));
        }
コード例 #2
0
        public void VerticalDeflectionTest_SetValue_Success()
        {
            var verticalDeflection = new VerticalDeflection();

            verticalDeflection.Value = 5;

            Assert.That(verticalDeflection.Value, Is.EqualTo(5));
        }
コード例 #3
0
        public void VerticalDeflectionTest_ConstructionWithNullPosition_Success()
        {
            var verticalDeflection = new VerticalDeflection();

            Assert.That(verticalDeflection.Position, Is.Null);
        }
コード例 #4
0
        public void VerticalDeflectionTest_Construction_Success()
        {
            var verticalDeflection = new VerticalDeflection(15);

            Assert.That(verticalDeflection.Position, Is.EqualTo(15));
        }