private void EvaluateMergingWalls(Wall wall1, Wall wall2) { bool theyAreContinuous = wall1.IsCollinearContinuous(wall2); bool LengthsSumTheLimitOrLess = wall1.Length() + wall2.Length() <= Constants.MAX_WALL_LENGTH; if (theyAreContinuous && LengthsSumTheLimitOrLess) { MergeWalls(wall1, wall2); } }