Exemple #1
0
        public void SameResourceId_Eq()
        {
            var resource1 = ResourceGenHelper.Silly();
            var resource2 = ResourceGenHelper.Silly(resource1.ResourceId);

            AreEqual(resource1, resource2);
        }
Exemple #2
0
        public void RefDiffId_NotEq()
        {
            var resource1 = ResourceGenHelper.Silly();
            var resource2 = ResourceGenHelper.Silly();

            AreNotEqual(resource1.ToRef(), resource2.ToRef());
        }
Exemple #3
0
        public void RefSameIdDiffType_NotEq()
        {
            var resource1 = ResourceGenHelper.Silly();
            var resource2 = ResourceGenHelper.Grumpy(resource1.ResourceId);

            AreEqual(resource1.ToRef(), resource2.ToRef());
        }
Exemple #4
0
        public void RefSameId_Eq()
        {
            var resource1 = ResourceGenHelper.Silly();
            var resource2 = ResourceGenHelper.Silly(resource1.ResourceId);

            AreEqual(resource1.ToRef(), resource2.ToRef());
        }
Exemple #5
0
        public void DiffId_NotEq()
        {
            var resource1 = ResourceGenHelper.Silly();
            var resource2 = ResourceGenHelper.Silly();

            AreNotEqual(resource1, resource2);
        }
Exemple #6
0
        public void SameIdDiffType_NotEq()
        {
            var resource1 = ResourceGenHelper.Silly();
            var resource2 = ResourceGenHelper.Grumpy(resource1.ResourceId);

            AreNotEqual(resource1, resource2);
        }