public void EqualsMethodTest()
        {
            Assert.IsFalse(
                new ToonHandle()
            {
                Region    = 1,
                ProgramId = 123456789,
                Realm     = 2,
                Id        = 234234,
            }
                .Equals((int?)null));

            Assert.IsFalse(
                new ToonHandle()
            {
                Region    = 1,
                ProgramId = 123456789,
                Realm     = 2,
                Id        = 234234,
            }
                .Equals(5));

            ToonHandle toonHandle = new ToonHandle()
            {
                Region    = 1,
                ProgramId = 123456789,
                Realm     = 2,
                Id        = 234234,
            };

            Assert.IsTrue(toonHandle.Equals(obj: toonHandle));
        }
        public void OperatorNotEqualTest(int region, int programId, int realm, long id, int region2, int programId2, int realm2, long id2)
        {
            ToonHandle toonHandle = new ToonHandle()
            {
                Region    = region,
                ProgramId = programId,
                Realm     = realm,
                Id        = id,
            };

            ToonHandle toonHandle2 = new ToonHandle()
            {
                Region    = region2,
                ProgramId = programId2,
                Realm     = realm2,
                Id        = id2,
            };

#pragma warning disable SA1131 // Use readable conditions
            Assert.IsTrue(null ! != toonHandle2);
#pragma warning restore SA1131 // Use readable conditions
            Assert.IsTrue(toonHandle2 != null !);

            Assert.IsFalse(null ! != (ToonHandle)null !);
            Assert.IsTrue(toonHandle != toonHandle2);
        }
        public void NotSameObjectTest()
        {
            ToonHandle toonHandle = new ToonHandle()
            {
                Region    = 1,
                ProgramId = 123456789,
                Realm     = 2,
                Id        = 234234,
            };

            Assert.AreNotEqual(new List <string>()
            {
                "asdf"
            }, toonHandle);
        }
        public void NotEqualsTest(int region, int programId, int realm, long id)
        {
            ToonHandle toonHandle = new ToonHandle()
            {
                Region    = 1,
                ProgramId = 123456789,
                Realm     = 2,
                Id        = 234234,
            };

            Assert.AreNotEqual(toonHandle, new ToonHandle()
            {
                Region    = region,
                ProgramId = programId,
                Realm     = realm,
                Id        = id,
            });
        }
        public void GetHashCodeNotEqualTest(int region, int programId, int realm, long id, int region2, int programId2, int realm2, long id2)
        {
            ToonHandle toonHandle = new ToonHandle()
            {
                Region    = region,
                ProgramId = programId,
                Realm     = realm,
                Id        = id,
            };

            ToonHandle toonHandle2 = new ToonHandle()
            {
                Region    = region2,
                ProgramId = programId2,
                Realm     = realm2,
                Id        = id2,
            };

            Assert.AreNotEqual(toonHandle.GetHashCode(), toonHandle2.GetHashCode());
        }