コード例 #1
0
        public void EqualsOverride()
        {
            // Arrange
            var viewWrapperA = new ViewWrapper(frameworkElement);
            var viewWrapperB = new ViewWrapper(frameworkElement);

            // Act
            bool equals = viewWrapperA.Equals(viewWrapperB);

            // Assert
            Assert.That(equals, Is.True);
        }
コード例 #2
0
        public void EqualsOverride()
        {
            // ARRANGE
            var viewWrapperA = new ViewWrapper(frameworkElement);
            var viewWrapperB = new ViewWrapper(frameworkElement);

            // ACT
            bool equals = viewWrapperA.Equals(viewWrapperB);

            // ASSERT
            Assert.That(equals, Is.True);
        }