示例#1
0
        static void Main(string[] args)
        {
            string       input        = File.ReadAllText("../../../input.txt");
            SuitMaterial suitMaterial = new SuitMaterial();

            Console.WriteLine($"Part 1 - Total overlapping area: {suitMaterial.GetOverLappingAreaFromClaims(input)}");

            Console.WriteLine($"Part 2 - Claim ID with no overlap: {suitMaterial.GetClaimThatHasNoOverlap(input)}");
        }
示例#2
0
 public SuitMaterial_GetClaimThatHasNoOverlapShould()
 {
     _suitMaterial = new SuitMaterial();
 }
 public SuitMaterial_GetOverLappingAreaFromClaimsShould()
 {
     _suitMaterial = new SuitMaterial();
 }