Esempio n. 1
0
 internal static void Main()
 {
     Console.WriteLine("==========================================");
     Console.WriteLine("ADVENT OF CODE 2020 - DAY 1: REPORT REPAIR");
     Console.WriteLine("==========================================");
     Console.WriteLine("----- PART 1 -----");
     Console.WriteLine($"Result: {ReportRepair.SumWithTwoNumbersFromNumbers(_numbers)}");
     Console.WriteLine("\n----- PART 2 -----");
     Console.WriteLine($"Result: {ReportRepair.SumWithThreeNumbersFromNumbers(_numbers)}");
 }
Esempio n. 2
0
        public void TwoEntriesThatSumOfThreeTwenty()
        {
            int result = ReportRepair.SumWithThreeNumbersFromNumbers(this._numbers);

            Assert.IsTrue(result > 0);
        }