コード例 #1
0
        public void EqualityComparisonFalseAgainstNull()
        {
            var line = new Line2D(default(Point2D), new Point2D(1, 1));

            Assert.IsFalse(line.Equals(null));
        }
コード例 #2
0
 public void EqualityComparisonFalseAgainstNull()
 {
     var line = new Line2D(new Point2D(), new Point2D(1,1) );
     Assert.IsFalse(line.Equals(null));
 }