Exemplo n.º 1
0
 public Day5Tests()
 {
     _input = new List <string> {
         "0", "3", "0", "1", "-3"
     };
     _testObject = new Solution();
 }
Exemplo n.º 2
0
 public Day2Tests()
 {
     _input = new List <string> {
         "2x3x4"
     };
     _testObject = new Solution();
 }
Exemplo n.º 3
0
 public Day1Tests()
 {
     _input = new List <string> {
         ")())())"
     };
     _testObject = new Solution();
 }
Exemplo n.º 4
0
 public Day6Tests()
 {
     _input = new List <string> {
         "0 2 7 0"
     };
     _testObject = new Solution();
 }
Exemplo n.º 5
0
 public Day17Tests()
 {
     _testObject = new Solution();
     _input      = new List <string>
     {
         "3"
     };
 }
Exemplo n.º 6
0
 public Day15Tests()
 {
     _testObject = new Solution();
     _input      = new List <string>
     {
         "65,8921"
     };
 }
Exemplo n.º 7
0
 public Day16Tests()
 {
     _testObject = new Solution();
     _input      = new List <string>
     {
         "5",
         "s1,x3/4,pe/b"
     };
 }
Exemplo n.º 8
0
 public Day13Tests()
 {
     _testObject = new Solution();
     _input      = new List <string>
     {
         "0: 3",
         "1: 2",
         "4: 4",
         "6: 4"
     };
 }
Exemplo n.º 9
0
        public Day8Tests()
        {
            _input = new List <string>
            {
                "b inc 5 if a > 1",
                "a inc 1 if b < 5",
                "c dec -10 if a >= 1",
                "c inc -20 if c == 10",
            };

            _testObject = new Solution();
        }
Exemplo n.º 10
0
 public Day12Tests()
 {
     _testObject = new Solution();
     _input      = new List <string>
     {
         "0 <-> 2",
         "1 <-> 1",
         "2 <-> 0, 3, 4",
         "3 <-> 2, 4",
         "4 <-> 2, 3, 6",
         "5 <-> 6",
         "6 <-> 4, 5"
     };
 }
Exemplo n.º 11
0
        public Day7Tests()
        {
            _input = new List <string>
            {
                "pbga (66)",
                "xhth (57)",
                "ebii (61)",
                "havc (66)",
                "ktlj (57)",
                "fwft (72) -> ktlj, cntj, xhth",
                "qoyq (66)",
                "padx (45) -> pbga, havc, qoyq",
                "tknk (41) -> ugml, padx, fwft",
                "jptl (61)",
                "ugml (68) -> gyxo, ebii, jptl",
                "gyxo (61)",
                "cntj (57)"
            };

            _testObject = new Solution();
        }
Exemplo n.º 12
0
 public Day10Tests()
 {
     _testObject = new Solution();
 }