Beispiel #1
0
        public void Vector4AsFloat()
        {
            tlog.Debug(tag, $"Vector4AsFloat START");

            var testingTarget = new Vector4(10.0f, 20.0f, 30.0f, 40.0f);

            Assert.IsNotNull(testingTarget, "Can't create success object Vector4");
            Assert.IsInstanceOf <Vector4>(testingTarget, "Should be an instance of Vector4 type.");

            var result = testingTarget.AsFloat();

            Assert.IsInstanceOf <SWIGTYPE_p_float>(result, "Should be an instance of SWIGTYPE_p_float type.");

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