Exemplo n.º 1
0
        public void RadianConvertToFloat()
        {
            tlog.Debug(tag, $"RadianConvertToFloat START");

            var testingTarget = new Radian(10.0f);

            Assert.IsNotNull(testingTarget, "null handle");
            Assert.IsInstanceOf <Radian>(testingTarget, "Should return Radian instance.");

            var result = testingTarget.ConvertToFloat();

            Assert.AreEqual(10.0f, result, "ConvertToFloat function does not work, return error value");

            testingTarget.Dispose();
            tlog.Debug(tag, $"RadianConvertToFloat END (OK)");
        }