コード例 #1
0
        public void TestToString()
        {
            var v1 = new CubeCoordinates(1, -1, 0);

#if NET471
            var v2 = (1, -1, 0);
#elif NETCOREAPP
            var v2 = new Vector3(1, -1, 0);
#endif
            Assert.AreEqual(v2.ToString(), v1.ToString());
        }