public void SetUp() { string input = "35 20 15 25 47 40 62 55 65 95 102 117 150 182 127 219 299 277 309 576"; XMASEncryptedMessage message = new XMASEncryptedMessage(input.Split(" ").Select(i => long.Parse(i)).ToList(), 5); exploiter = new XMASExploiter(message); }
protected override void ReadInput(StreamReader input) { IList <long> numbers = new List <long>(input.ReadToEnd().Split('\n').ToList().Select(i => long.Parse(i))); message = new XMASEncryptedMessage(numbers, 25); }