Ejemplo n.º 1
0
        public void GetClaimWithoutIntersections()
        {
            var claim1 = new Day03.Claim("#1 @ 1,3: 4x4");
            var claim2 = new Day03.Claim("#2 @ 3,1: 4x4");
            var claim3 = new Day03.Claim("#3 @ 5,5: 2x2");
            var list   = new List <Day03.Claim> {
                claim1, claim2, claim3
            };
            var sut = new Day03();

            var result = sut.GetClaimsWithoutIntersections(list).First();

            result.Id.Should().Be("#3");
        }