Example #1
0
        public void EqualsNullTest()
        {
            // arrange
            ColorCollection target;
            bool            actual;

            target = new ColorCollection();

            // act
            actual = target.Equals(null);

            // assert
            actual.Should().BeFalse();
        }
    public void EqualsNullTest()
    {
      // arrange
      ColorCollection target;
      bool actual;

      target = new ColorCollection();

      // act
      actual = target.Equals(null);

      // assert
      actual.Should().BeFalse();
    }
Example #3
0
        public void EqualsObjectTest()
        {
            // arrange
            ColorCollection target;
            object          other;
            bool            actual;

            target = new ColorCollection();
            other  = target;

            // act
            actual = target.Equals(other);

            // assert
            actual.Should().BeTrue();
        }
    public void EqualsObjectTest()
    {
      // arrange
      ColorCollection target;
      object other;
      bool actual;

      target = new ColorCollection();
      other = target;

      // act
      actual = target.Equals(other);

      // assert
      actual.Should().BeTrue();
    }