예제 #1
0
        public void CalculateDistanceBetweenTwoPoints()
        {
            // Arrange
            var point1 = new Point(1, 1);
            var point2 = new Point(2, 4);
            var sut    = new Day06();

            // Act
            var result = sut.CalculateDistance(point1, point2);

            // Assert
            result.Should().Be(4);
        }