Exemplo n.º 1
0
        public void TwoInstancesAreNotEqual() // refs #262
        {
            var bundle1 = new InlineScriptBundle("var x = 1;");
            var bundle2 = new InlineScriptBundle("var x = 1;");

            bundle1.Equals(bundle2).ShouldBeFalse();
        }
        public void TwoInstancesAreNotEqual()
        {
            var bundle1 = new InlineScriptBundle("var x = 1;");
            var bundle2 = new InlineScriptBundle("var x = 1;");

            bundle1.Equals(bundle2).ShouldBeFalse();
        }
Exemplo n.º 3
0
        public void TheSameInstanceIsEqual()
        {
            var bundle1 = new InlineScriptBundle("var x = 1;");

            bundle1.Equals(bundle1).ShouldBeTrue();
        }
        public void TheSameInstanceIsEqual()
        {
            var bundle1 = new InlineScriptBundle("var x = 1;");

            bundle1.Equals(bundle1).ShouldBeTrue();
        }