public void TestMethod1() { var input = new int[][] { new int[] { 1, 91 }, new int[] { 1, 92 }, new int[] { 2, 93 }, new int[] { 2, 97 }, new int[] { 1, 60 }, new int[] { 2, 77 }, new int[] { 1, 65 }, new int[] { 1, 87 }, new int[] { 1, 100 }, new int[] { 2, 100 }, new int[] { 2, 76 }, }; var result = new HighFives().HighFive(input); }
public ApiResponse(string error = "", string success = "") { if (!string.IsNullOrWhiteSpace(error) && !string.IsNullOrWhiteSpace(success)) { throw new ArgumentException("Something errored and was successful? What are you doing?"); } if (!string.IsNullOrWhiteSpace(error)) { Errors.Add(error); } if (!string.IsNullOrWhiteSpace(success)) { HighFives.Add(success); } }