示例#1
0
        public void ShouldCorrectlyGetPart1Solution()
        {
            PaintableHullSection hull  = new PaintableHullSection();
            PaintingRobot        robot = new PaintingRobot(hull, 0);

            Assert.Equal(1985, robot.PaintedPanels);
        }
示例#2
0
        public Day11()
        {
            var pr1 = new PaintingRobot();

            _answer1 = pr1.PanelsPaintedAtLeastOnce;

            var pr2 = new PaintingRobot(1);

            _answer2 = "ZRZPKEZR";

            pr2.PrintRegistrationIdentifier();
        }
示例#3
0
 public PaintingProgram()
 {
     _robot = new PaintingRobot((long[])_originalMemory.Clone());
 }