Example #1
0
        public void op_Equals_objectSame()
        {
            var obj       = new Salt();
            var comparand = obj;

            Assert.True(obj.Equals(comparand));
        }
Example #2
0
        public void op_Equals_objectString()
        {
            const string value = "XbAH5ybjSkZt+Q==";
            var          obj   = new Salt(value);

            Assert.False(obj.Equals(value));
        }
Example #3
0
        public void op_Equals_objectFalse()
        {
            var obj       = new Salt();
            var comparand = new Salt("XbAH5ybjSkZt+Q==");

            Assert.False(obj.Equals(comparand));
        }
Example #4
0
        public void op_Equals_objectTrue()
        {
            const string value     = "XbAH5ybjSkZt+Q==";
            var          obj       = new Salt(value);
            var          comparand = new Salt(value);

            Assert.True(obj.Equals(comparand));
        }
Example #5
0
        public void op_Equals_objectTrue()
        {
            const string value = "XbAH5ybjSkZt+Q==";
            var obj = new Salt(value);
            var comparand = new Salt(value);

            Assert.True(obj.Equals(comparand));
        }
Example #6
0
        public void op_Equals_objectString()
        {
            const string value = "XbAH5ybjSkZt+Q==";
            var obj = new Salt(value);

            Assert.False(obj.Equals(value));
        }
Example #7
0
        public void op_Equals_objectSame()
        {
            var obj = new Salt();
            var comparand = obj;

            Assert.True(obj.Equals(comparand));
        }
Example #8
0
        public void op_Equals_objectFalse()
        {
            var obj = new Salt();
            var comparand = new Salt("XbAH5ybjSkZt+Q==");

            Assert.False(obj.Equals(comparand));
        }