public void SumOfArraySingles() { Assert.AreEqual(15, SumOfArraySinglesKyu7.SumOfArraySingles(new List <int> { 4, 5, 7, 5, 4, 8 })); Assert.AreEqual(19, SumOfArraySinglesKyu7.SumOfArraySingles(new List <int> { 9, 10, 19, 13, 19, 13 })); Assert.AreEqual(12, SumOfArraySinglesKyu7.SumOfArraySingles(new List <int> { 16, 0, 11, 4, 8, 16, 0, 11 })); Assert.AreEqual(22, SumOfArraySinglesKyu7.SumOfArraySingles(new List <int> { 5, 17, 18, 11, 13, 18, 11, 13 })); Assert.AreEqual(24, SumOfArraySinglesKyu7.SumOfArraySingles(new List <int> { 5, 10, 19, 13, 10, 13 })); }
static void Main(string[] args) { HighestAndLowestKyu7.HighAndLow("8 3 -5 42 -1 0 0 -9 4 7 4 -4"); ReversedSequenceKyu8.ReverseSeq(5); GarbleSortKyu6.GarbleSort(new int[] { 5, 6, 3 }); ConvertStringToCamelCaseKyu5.ToCamelCase("The-stealth-warrior"); DescendingOrderKyu7.DescendingOrder(141267123); MumbligKyu7.Accum("abcd"); MultiplesOf3Or5Kyu6.Solution(10); WoSewExceptions wsExceptions = new WoSewExceptions(); wsExceptions.SelectiveExceptions(); wsExceptions.TryCatchFinally(); wsExceptions.TryCatchFinallyException(); SumOfArraySinglesKyu7.SumOfArraySingles(new List <int> { 4, 5, 7, 5, 4, 8 }); LoveVsFriendshipKyu7.LoveVsFriendship("love"); LoveVsFriendshipKyu7.LoveVsFriendship("friendship"); HumanReadableTimeKyu5.GetReadableTime(5458); HumanReadableTimeKyu5.GetReadableTime(0); YourOrderPleaseKyu6.YourOrderPlease("is2 Thi1s T4est 3a"); YourOrderPleaseKyu6.YourOrderPlease("4of Fo1r pe6ople g3ood th5e the2"); //"Fo1r the2 g3ood 4of th5e pe6ople" }