|
@ -1,9 +1,23 @@ |
|
|
using System; |
|
|
using System; |
|
|
|
|
|
using static System.Console; |
|
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
using Xunit; |
|
|
|
|
|
|
|
|
namespace AdventOfCode { |
|
|
namespace AdventOfCode { |
|
|
class Program { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class Program { |
|
|
|
|
|
|
|
|
|
|
|
static string Hello() { |
|
|
|
|
|
return "ahoy, world"; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[Fact] |
|
|
|
|
|
static void HelloTest() { |
|
|
|
|
|
Assert.Equal("ahoy, world", Hello()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
static void Main(string[] args) { |
|
|
static void Main(string[] args) { |
|
|
Console.WriteLine("Hello World!"); |
|
|
|
|
|
|
|
|
Console.WriteLine(Hello()); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |