public void Write__Writing_A_Valid_VectorType()
        {
            VectorType vectorType = new VectorType();
            vectorType.X = 1;
            vectorType.Y = 10;
            vectorType.Z = 100;

            byte[] writtenData = vectorType.Write();
            byte[] expected = File.ReadAllBytes("Content/Tests/VectorType/VectorType-Data.bin");

            Assert.AreEqual(BitConverter.ToString(expected), BitConverter.ToString(writtenData));
        }
        public void Read__Reading_A_Valid_VectorType()
        {
            byte[] data = File.ReadAllBytes("Content/Tests/VectorType/VectorType-Data.bin");

            VectorType vectorType = new VectorType();
            vectorType.Read(data);

            float epsilon = 0.0001f;
            Assert.AreEqual(1, vectorType.X, epsilon);
            Assert.AreEqual(10, vectorType.Y, epsilon);
            Assert.AreEqual(100, vectorType.Z, epsilon);
        }
        public void Equals__Not_Equal()
        {
            VectorType vectorType = new VectorType();
            vectorType.X = 1;
            vectorType.Y = 2;
            vectorType.Z = 3;

            VectorType other = new VectorType();
            other.X = 100;
            other.Y = 2;
            other.Z = 3;

            Assert.IsFalse(vectorType.Equals(other));
        }
        public void Equals()
        {
            VectorType vectorType = new VectorType();
            vectorType.X = 1;
            vectorType.Y = 2;
            vectorType.Z = 3;

            VectorType other = new VectorType();
            other.X = 1;
            other.Y = 2;
            other.Z = 3;

            Assert.IsTrue(vectorType.Equals(other));
        }