public void Accum() { Assert.AreEqual(MumbligKyu7.Accum("abcd"), "A-Bb-Ccc-Dddd"); Assert.AreEqual(MumbligKyu7.Accum("RqaEzty"), "R-Qq-Aaa-Eeee-Zzzzz-Tttttt-Yyyyyyy"); Assert.AreEqual(MumbligKyu7.Accum("ZpglnRxqenU"), "Z-Pp-Ggg-Llll-Nnnnn-Rrrrrr-Xxxxxxx-Qqqqqqqq-Eeeeeeeee-Nnnnnnnnnn-Uuuuuuuuuuu"); Assert.AreEqual(MumbligKyu7.Accum("NyffsGeyylB"), "N-Yy-Fff-Ffff-Sssss-Gggggg-Eeeeeee-Yyyyyyyy-Yyyyyyyyy-Llllllllll-Bbbbbbbbbbb"); Assert.AreEqual(MumbligKyu7.Accum("MjtkuBovqrU"), "M-Jj-Ttt-Kkkk-Uuuuu-Bbbbbb-Ooooooo-Vvvvvvvv-Qqqqqqqqq-Rrrrrrrrrr-Uuuuuuuuuuu"); Assert.AreEqual(MumbligKyu7.Accum("EvidjUnokmM"), "E-Vv-Iii-Dddd-Jjjjj-Uuuuuu-Nnnnnnn-Oooooooo-Kkkkkkkkk-Mmmmmmmmmm-Mmmmmmmmmmm"); Assert.AreEqual(MumbligKyu7.Accum("HbideVbxncC"), "H-Bb-Iii-Dddd-Eeeee-Vvvvvv-Bbbbbbb-Xxxxxxxx-Nnnnnnnnn-Cccccccccc-Ccccccccccc"); }
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" }