Exemplo n.º 1
0
 public void StartUp()
 {
     //arrange
     target = new ArrayWarmUps();
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            //STRING WARM UPS

            //StringWarmUps hello = new StringWarmUps();
            //Console.WriteLine(hello.SayHi("Bob"));
            //Console.WriteLine(hello.SayHi("Alice"));
            //Console.WriteLine(hello.SayHi("X"));
            //Console.ReadLine();

            //StringWarmUps mirror = new StringWarmUps();
            //Console.WriteLine(mirror.Abba("Hi", "Bye"));
            //Console.WriteLine(mirror.Abba("Yo", "Alice"));
            //Console.WriteLine(mirror.Abba("What", "Up"));
            //Console.ReadLine();

            //StringWarmUps ital = new StringWarmUps();
            //Console.WriteLine(ital.MakeTags("i", "Yay"));
            //Console.WriteLine(ital.MakeTags("i", "Hello"));
            //Console.WriteLine(ital.MakeTags("cite", "Yay"));
            //Console.ReadLine();

            //StringWarmUps insertion = new StringWarmUps();
            //Console.WriteLine(insertion.InsertWord("<<>>", "Yay"));
            //Console.WriteLine(insertion.InsertWord("<<>>", "WooHoo"));
            //Console.WriteLine(insertion.InsertWord("[[]]", "word"));
            //Console.ReadLine();

            //StringWarmUps tripleEnding = new StringWarmUps();
            //Console.WriteLine(tripleEnding.MultipleEndings("Hello"));
            //Console.WriteLine(tripleEnding.MultipleEndings("ab"));
            //Console.WriteLine(tripleEnding.MultipleEndings("Hi"));
            //Console.ReadLine();

            //StringWarmUps wordDividedByTwo = new StringWarmUps();
            //Console.WriteLine(wordDividedByTwo.FirstHalf("WooHoo"));
            //Console.WriteLine(wordDividedByTwo.FirstHalf("HelloThere"));
            //Console.WriteLine(wordDividedByTwo.FirstHalf("abcdef"));
            //Console.ReadLine();

            //StringWarmUps middle = new StringWarmUps();
            //Console.WriteLine(middle.TrimOne("Hello"));
            //Console.WriteLine(middle.TrimOne("java"));
            //Console.WriteLine(middle.TrimOne("coding"));
            //Console.ReadLine();

            //StringWarmUps surround = new StringWarmUps();
            //Console.WriteLine(surround.LongInMiddle("Hello", "hi"));
            //Console.WriteLine(surround.LongInMiddle("hi", "Hello"));
            //Console.WriteLine(surround.LongInMiddle("aaa", "b"));
            //Console.ReadLine();

            //StringWarmUps rotate = new StringWarmUps();
            //Console.WriteLine(rotate.Rotateleft2("Hello"));
            //Console.WriteLine(rotate.Rotateleft2("java"));
            //Console.WriteLine(rotate.Rotateleft2("Hi"));
            //Console.ReadLine();

            //StringWarmUps rotate2 = new StringWarmUps();
            //Console.WriteLine(rotate2.Rotateright2("Hello"));
            //Console.WriteLine(rotate2.Rotateright2("java"));
            //Console.WriteLine(rotate2.Rotateright2("Hi"));
            //Console.ReadLine();

            //StringWarmUps frontorback = new StringWarmUps();
            //Console.WriteLine(frontorback.TakeOne("Hello", true));
            //Console.WriteLine(frontorback.TakeOne("Hello", false));
            //Console.WriteLine(frontorback.TakeOne("oh", true));
            //Console.ReadLine();

            //StringWarmUps middle = new StringWarmUps();
            //Console.WriteLine(middle.MiddleTwo("string"));
            //Console.WriteLine(middle.MiddleTwo("code"));
            //Console.WriteLine(middle.MiddleTwo("Practice"));
            //Console.ReadLine();

            //StringWarmUps test = new StringWarmUps();
            //Console.WriteLine(test.EndsWithLy("oddly"));
            //Console.WriteLine(test.EndsWithLy("y"));
            //Console.WriteLine(test.EndsWithLy("oddy"));
            //Console.ReadLine();

            //StringWarmUps fandb = new StringWarmUps();
            //Console.WriteLine(fandb.FrontAndBack("Hello", 2));
            //Console.WriteLine(fandb.FrontAndBack("Chocolate", 3));
            //Console.WriteLine(fandb.FrontAndBack("Chocolate", 1));
            //Console.ReadLine();

            //StringWarmUps take2 = new StringWarmUps();
            //Console.WriteLine(take2.TakeTwoFromPosition("java", 0));
            //Console.WriteLine(take2.TakeTwoFromPosition("java", 2));
            //Console.WriteLine(take2.TakeTwoFromPosition("java", 3));
            //Console.ReadLine();

            //StringWarmUps atsign = new StringWarmUps();
            //Console.WriteLine(atsign.AtFirst("hello"));
            //Console.WriteLine(atsign.AtFirst("hi"));
            //Console.WriteLine(atsign.AtFirst("h"));
            //Console.ReadLine();

            //StringWarmUps fandl = new StringWarmUps();
            //Console.WriteLine(fandl.LastChars("last", "chars"));
            //Console.WriteLine(fandl.LastChars("yo", "mama"));
            //Console.WriteLine(fandl.LastChars("hi", ""));
            //Console.ReadLine();

            //StringWarmUps aandb = new StringWarmUps();
            //Console.WriteLine(aandb.ConCat("abc", "cat"));
            //Console.WriteLine(aandb.ConCat("dog", "cat"));
            //Console.WriteLine(aandb.ConCat("abc", ""));
            //Console.ReadLine();

            //StringWarmUps swap = new StringWarmUps();
            //Console.WriteLine(swap.SwapLast("coding"));
            //Console.WriteLine(swap.SwapLast("cat"));
            //Console.WriteLine(swap.SwapLast("ab"));
            //Console.ReadLine();

            //StringWarmUps frontsame = new StringWarmUps();
            //Console.WriteLine(frontsame.FrontAgain("edited"));
            //Console.WriteLine(frontsame.FrontAgain("edit"));
            //Console.WriteLine(frontsame.FrontAgain("ed"));
            //Console.ReadLine();

            //StringWarmUps leastcat = new StringWarmUps();
            //Console.WriteLine(leastcat.MinCat("Hello", "Hi"));
            //Console.WriteLine(leastcat.MinCat("Hello", "java"));
            //Console.WriteLine(leastcat.MinCat("java", "Hello"));
            //Console.ReadLine();

            //StringWarmUps tf = new StringWarmUps();
            //Console.WriteLine(tf.TweakFront("Hello"));
            //Console.WriteLine(tf.TweakFront("away"));
            //Console.WriteLine(tf.TweakFront("abed"));
            //Console.ReadLine();

            //StringWarmUps xx = new StringWarmUps();
            //Console.WriteLine(xx.StripX("xHix"));
            //Console.WriteLine(xx.StripX("xHi"));
            //Console.WriteLine(xx.StripX("Hxix"));
            //Console.ReadLine();

            //CONDITIONAL WARM UPS

            //ConditionalWarmUps trouble = new ConditionalWarmUps();
            //Console.WriteLine(trouble.AreWeInTrouble(true, true));
            //Console.WriteLine(trouble.AreWeInTrouble(false, false));
            //Console.WriteLine(trouble.AreWeInTrouble(true, false));
            //Console.ReadLine();

            //ConditionalWarmUps sleepIn = new ConditionalWarmUps();
            //Console.WriteLine(sleepIn.CanSleepIn(false, false));
            //Console.WriteLine(sleepIn.CanSleepIn(true, false));
            //Console.WriteLine(sleepIn.CanSleepIn(false, true));
            //Console.ReadLine();

            //ConditionalWarmUps sum = new ConditionalWarmUps();
            //Console.WriteLine(sum.SumDouble(1, 2));
            //Console.WriteLine(sum.SumDouble(3, 2));
            //Console.WriteLine(sum.SumDouble(2, 2));
            //Console.ReadLine();

            //ConditionalWarmUps diff = new ConditionalWarmUps();
            //Console.WriteLine(diff.Diff21(23));
            //Console.WriteLine(diff.Diff21(10));
            //Console.WriteLine(diff.Diff21(21));
            //Console.ReadLine();

            //ConditionalWarmUps trouble = new ConditionalWarmUps();
            //Console.WriteLine(trouble.ParrotTrouble(true, 6));
            //Console.WriteLine(trouble.ParrotTrouble(true, 7));
            //Console.WriteLine(trouble.ParrotTrouble(false, 6));
            //Console.ReadLine();

            //ConditionalWarmUps ten = new ConditionalWarmUps();
            //Console.WriteLine(ten.Makes10(9, 10));
            //Console.WriteLine(ten.Makes10(9, 9));
            //Console.WriteLine(ten.Makes10(1, 9));
            //Console.ReadLine();

            //ConditionalWarmUps ten= new ConditionalWarmUps();
            //Console.WriteLine(ten.NearHundred(103));
            //Console.WriteLine(ten.NearHundred(90));
            //Console.WriteLine(ten.NearHundred(89));
            //Console.ReadLine();

            //ConditionalWarmUps posinega = new ConditionalWarmUps();
            //Console.WriteLine(posinega.PosNeg(1, -1, false));
            //Console.WriteLine(posinega.PosNeg(-1, 1, false));
            //Console.WriteLine(posinega.PosNeg(-4, -5, true));
            //Console.ReadLine();

            //ConditionalWarmUps nott = new ConditionalWarmUps();
            //Console.WriteLine(nott.NotString("candy"));
            //Console.WriteLine(nott.NotString("x"));
            //Console.WriteLine(nott.NotString("not bad"));
            //Console.ReadLine();

            //ConditionalWarmUps remov = new ConditionalWarmUps();
            //Console.WriteLine(remov.MissingChar("kitten", 1));
            //Console.WriteLine(remov.MissingChar("kitten", 0));
            //Console.WriteLine(remov.MissingChar("kitten", 4));
            //Console.ReadLine();

            //ConditionalWarmUps switcher = new ConditionalWarmUps();
            //Console.WriteLine(switcher.FrontBack(("code")));
            //Console.WriteLine(switcher.FrontBack(("a")));
            //Console.WriteLine(switcher.FrontBack(("ab")));
            //Console.ReadLine();

            //ConditionalWarmUps f3 = new ConditionalWarmUps();
            //Console.WriteLine(f3.Front3("Microsoft"));
            //Console.WriteLine(f3.Front3("Chocolate"));
            //Console.WriteLine(f3.Front3("at"));
            //Console.ReadLine();

            //ConditionalWarmUps fb = new ConditionalWarmUps();
            //Console.WriteLine(fb.BackAround("cat"));
            //Console.WriteLine(fb.BackAround("Hello"));
            //Console.WriteLine(fb.BackAround("a"));
            //Console.ReadLine();

            //ConditionalWarmUps threeor5 = new ConditionalWarmUps();
            //Console.WriteLine(threeor5.Multiple3or5(3));
            //Console.WriteLine(threeor5.Multiple3or5(10));
            //Console.WriteLine(threeor5.Multiple3or5(8));
            //Console.ReadLine();

            //ConditionalWarmUps beginHi = new ConditionalWarmUps();
            //Console.WriteLine(beginHi.StartHi("hi there"));
            //Console.WriteLine(beginHi.StartHi("hi"));
            //Console.WriteLine(beginHi.StartHi("high"));
            //Console.ReadLine();

            //ConditionalWarmUps coldhot = new ConditionalWarmUps();
            //Console.WriteLine(coldhot.IcyHot(120, -1));
            //Console.WriteLine(coldhot.IcyHot(-1, 120));
            //Console.WriteLine(coldhot.IcyHot(2, 120));
            //Console.ReadLine();

            //ConditionalWarmUps betw10a20 = new ConditionalWarmUps();
            //Console.WriteLine(betw10a20.Between10and20(12, 99));
            //Console.WriteLine(betw10a20.Between10and20(21, 12));
            //Console.WriteLine(betw10a20.Between10and20(8, 99));
            //Console.ReadLine();

            //ConditionalWarmUps teen = new ConditionalWarmUps();
            //Console.WriteLine(teen.HasTeen(13, 20, 10));
            //Console.WriteLine(teen.HasTeen(20, 19, 10));
            //Console.WriteLine(teen.HasTeen(20, 10, 12));
            //Console.ReadLine();

            //ConditionalWarmUps alone = new ConditionalWarmUps();
            //Console.WriteLine(alone.SoAlone(13, 99));
            //Console.WriteLine(alone.SoAlone(21, 19));
            //Console.WriteLine(alone.SoAlone(13, 13));
            //Console.ReadLine();

            //ConditionalWarmUps lessdel = new ConditionalWarmUps();
            //Console.WriteLine(lessdel.RemoveDel("adelbc"));
            //Console.WriteLine(lessdel.RemoveDel("adelHello"));
            //Console.WriteLine(lessdel.RemoveDel("adedbc"));
            //Console.ReadLine();

            //ConditionalWarmUps ixx = new ConditionalWarmUps();
            //Console.WriteLine(ixx.IxStart("mix snacks"));
            //Console.WriteLine(ixx.IxStart("pix snacks"));
            //Console.WriteLine(ixx.IxStart("piz snacks"));
            //Console.ReadLine();

            //ConditionalWarmUps oz = new ConditionalWarmUps();
            //Console.WriteLine(oz.StartOz("ozymandias"));
            //Console.WriteLine(oz.StartOz("bzoo"));
            //Console.WriteLine(oz.StartOz("oxx"));
            //Console.ReadLine();

            //ConditionalWarmUps maxx = new ConditionalWarmUps();
            //Console.WriteLine(maxx.Max(1, 2, 3));
            //Console.WriteLine(maxx.Max(1, 3, 2));
            //Console.WriteLine(maxx.Max(3, 2, 1));
            //Console.ReadLine();

            //ConditionalWarmUps closer10 = new ConditionalWarmUps();
            //Console.WriteLine(closer10.Closer(8, 13));
            //Console.WriteLine(closer10.Closer(13, 8));
            //Console.WriteLine(closer10.Closer(13, 7));
            //Console.ReadLine();

            //ConditionalWarmUps eee = new ConditionalWarmUps();
            //Console.WriteLine(eee.GotE("Hello"));
            //Console.WriteLine(eee.GotE("Heelle"));
            //Console.WriteLine(eee.GotE("Heelele"));
            //Console.ReadLine();

            //ConditionalWarmUps up3 = new ConditionalWarmUps();
            //Console.WriteLine(up3.EndUp("Hello"));
            //Console.WriteLine(up3.EndUp("hi there"));
            //Console.WriteLine(up3.EndUp("hi"));
            //Console.ReadLine();

            //ConditionalWarmUps nthletter = new ConditionalWarmUps();
            //Console.WriteLine(nthletter.EveryNth("Miracle", 2));
            //Console.WriteLine(nthletter.EveryNth("abcdefg", 2));
            //Console.WriteLine(nthletter.EveryNth("abcdefg", 3));
            //Console.ReadLine();

            //Loop warm ups

            //LoopWarmUps nstr = new LoopWarmUps();
            //Console.WriteLine(nstr.StringTimes("Hi", 2));
            //Console.WriteLine(nstr.StringTimes("Hi", 3));
            //Console.WriteLine(nstr.StringTimes("Hi", 1));
            //Console.ReadLine();

            //LoopWarmUps nfront = new LoopWarmUps();
            //Console.WriteLine(nfront.FrontTimes("Chocolate", 2));
            //Console.WriteLine(nfront.FrontTimes("Chocolate", 3));
            //Console.WriteLine(nfront.FrontTimes("Abc", 3));
            //Console.ReadLine();

            //LoopWarmUps xxnumber = new LoopWarmUps();
            //Console.WriteLine(xxnumber.CountXX("abcxx"));
            //Console.WriteLine(xxnumber.CountXX("xxx"));
            //Console.WriteLine(xxnumber.CountXX("xxxx"));
            //Console.ReadLine();

            //LoopWarmUps firstxx = new LoopWarmUps();
            //Console.WriteLine(firstxx.DoubleX("axxbb"));
            //Console.WriteLine(firstxx.DoubleX("axaxxax"));
            //Console.WriteLine(firstxx.DoubleX("xxxxx"));
            //Console.ReadLine();

            //LoopWarmUps evother = new LoopWarmUps();
            //Console.WriteLine(evother.EveryOther("Hello"));
            //Console.WriteLine(evother.EveryOther("Hi"));
            //Console.WriteLine(evother.EveryOther("Heeololeo"));
            //Console.ReadLine();

            //LoopWarmUps splosion = new LoopWarmUps();
            //Console.WriteLine(splosion.StringSplosion("Code"));
            //Console.WriteLine(splosion.StringSplosion("abc"));
            //Console.WriteLine(splosion.StringSplosion("ab"));
            //Console.ReadLine();

            //LoopWarmUps final2 = new LoopWarmUps();
            //Console.WriteLine(final2.CountLast2("hixxhi"));
            //Console.WriteLine(final2.CountLast2("xaxxaxaxx"));
            //Console.WriteLine(final2.CountLast2("axxxaaxx"));
            //Console.ReadLine();

            //LoopWarmUps many9 = new LoopWarmUps();
            //Console.WriteLine(many9.Count9(new int[]{1, 2, 9}));
            //Console.WriteLine(many9.Count9(new int[]{1, 9, 9}));
            //Console.WriteLine(many9.Count9(new int[]{1, 9, 9, 3, 9}));
            //Console.ReadLine();

            //LoopWarmUps isNine = new LoopWarmUps();
            //Console.WriteLine(isNine.ArrayFront9(new int[] { 1, 2, 9, 3, 4 }));
            //Console.WriteLine(isNine.ArrayFront9(new int[] { 1, 2, 3, 4, 9 }));
            //Console.WriteLine(isNine.ArrayFront9(new int[] { 1, 2, 3, 4, 5 }));
            //Console.ReadLine();

            //LoopWarmUps has123 = new LoopWarmUps();
            //Console.WriteLine(has123.Array123(new int[] { 1, 1, 2, 3, 1 }));
            //Console.WriteLine(has123.Array123(new int[] { 1, 1, 2, 4, 1 }));
            //Console.WriteLine(has123.Array123(new int[] { 1, 1, 2, 1, 2, 3 }));
            //Console.ReadLine();

            //LoopWarmUps match2 = new LoopWarmUps();
            //Console.WriteLine(match2.SubStringMatch("xxcaazz", "xxbaaz"));
            //Console.WriteLine(match2.SubStringMatch("abc", "abc"));
            //Console.WriteLine(match2.SubStringMatch("abc", "axc"));
            //Console.ReadLine();

            //LoopWarmUps removx = new LoopWarmUps();
            //Console.WriteLine(removx.StringX("xxHxix"));
            //Console.WriteLine(removx.StringX("abxxxcd"));
            //Console.WriteLine(removx.StringX("xabxxxcdx"));
            //Console.ReadLine();

            //LoopWarmUps altstr = new LoopWarmUps();
            //Console.WriteLine(altstr.AltPairs("kitten"));
            //Console.WriteLine(altstr.AltPairs("Chocolate"));
            //Console.WriteLine(altstr.AltPairs("CodingHorror"));
            //Console.ReadLine();

            //LoopWarmUps yak = new LoopWarmUps();
            //Console.WriteLine(yak.DoNotYak("yakpak"));
            //Console.WriteLine(yak.DoNotYak("pakyak"));
            //Console.WriteLine(yak.DoNotYak("yak123ya"));
            //Console.ReadLine();

            //LoopWarmUps by67 = new LoopWarmUps();
            //Console.WriteLine(by67.Array667(new int[]{ 6, 6, 2}));
            //Console.WriteLine(by67.Array667(new int[] { 6, 6, 2, 6 }));
            //Console.WriteLine(by67.Array667(new int[] { 6, 7, 2, 6 }));
            //Console.ReadLine();

            //LoopWarmUps trips = new LoopWarmUps();
            //Console.WriteLine(trips.NoTriples(new int[] { 1, 1, 2, 2, 1 }));
            //Console.WriteLine(trips.NoTriples(new int[] { 1, 1, 2, 2, 2, 1 }));
            //Console.WriteLine(trips.NoTriples(new int[] { 1, 1, 1, 2, 2, 2, 1 }));
            //Console.ReadLine();

            //LoopWarmUps by271 = new LoopWarmUps();
            //Console.WriteLine(by271.Pattern51(new int[] { 1, 2, 7, 1 }));
            //Console.WriteLine(by271.Pattern51(new int[] { 1, 2, 8, 1 }));
            //Console.WriteLine(by271.Pattern51(new int[] { 2, 7, 1 }));
            //Console.ReadLine();

            // Logic Warm Ups

            //LogicWarmUps squirrel = new LogicWarmUps();
            //Console.WriteLine(squirrel.GreatParty(30, false));
            //Console.WriteLine(squirrel.GreatParty(50, false));
            //Console.WriteLine(squirrel.GreatParty(70, true));
            //Console.ReadLine();

            //LogicWarmUps style = new LogicWarmUps();
            //Console.WriteLine(style.CanHazTable(5, 10));
            //Console.WriteLine(style.CanHazTable(5, 2));
            //Console.WriteLine(style.CanHazTable(5, 5));
            //Console.ReadLine();

            //LogicWarmUps playing = new LogicWarmUps();
            //Console.WriteLine(playing.PlayOutside(70, false));
            //Console.WriteLine(playing.PlayOutside(95, false));
            //Console.WriteLine(playing.PlayOutside(95, true));
            //Console.ReadLine();

            //LogicWarmUps speeding = new LogicWarmUps();
            //Console.WriteLine(speeding.CaughtSpeeding(60, false));
            //Console.WriteLine(speeding.CaughtSpeeding(65, false));
            //Console.WriteLine(speeding.CaughtSpeeding(65, true));
            //Console.ReadLine();

            //LogicWarmUps somesum = new LogicWarmUps();
            //Console.WriteLine(somesum.SkipSum(3, 4));
            //Console.WriteLine(somesum.SkipSum(9, 4));
            //Console.WriteLine(somesum.SkipSum(10, 11));
            //Console.ReadLine();

            //LogicWarmUps clock = new LogicWarmUps();
            //Console.WriteLine(clock.AlarmClock(1, false));
            //Console.WriteLine(clock.AlarmClock(5, false));
            //Console.WriteLine(clock.AlarmClock(0, false));
            //Console.ReadLine();

            //LogicWarmUps sixes = new LogicWarmUps();
            //Console.WriteLine(sixes.LoveSix(6, 4));
            //Console.WriteLine(sixes.LoveSix(4, 5));
            //Console.WriteLine(sixes.LoveSix(1, 5));
            //Console.ReadLine();

            //LogicWarmUps range10 = new LogicWarmUps();
            //Console.WriteLine(range10.InRange(5, false));
            //Console.WriteLine(range10.InRange(11, false));
            //Console.WriteLine(range10.InRange(11, true));
            //Console.ReadLine();

            //LogicWarmUps spec11 = new LogicWarmUps();
            //Console.WriteLine(spec11.SpecialEleven(22));
            //Console.WriteLine(spec11.SpecialEleven(23));
            //Console.WriteLine(spec11.SpecialEleven(24));
            //Console.ReadLine();

            //LogicWarmUps modd20 = new LogicWarmUps();
            //Console.WriteLine(modd20.Mod20(20));
            //Console.WriteLine(modd20.Mod20(21));
            //Console.WriteLine(modd20.Mod20(22));
            //Console.ReadLine();

            //LogicWarmUps modd35 = new LogicWarmUps();
            //Console.WriteLine(modd35.Mod35(3));
            //Console.WriteLine(modd35.Mod35(10));
            //Console.WriteLine(modd35.Mod35(15));
            //Console.ReadLine();

            //LogicWarmUps mama = new LogicWarmUps();
            //Console.WriteLine(mama.AnswerCell(false, false, false));
            //Console.WriteLine(mama.AnswerCell(false, false, true));
            //Console.WriteLine(mama.AnswerCell(true, false, false));
            //Console.ReadLine();

            //LogicWarmUps abc = new LogicWarmUps();
            //Console.WriteLine(abc.TwoIsOne(1, 2, 3));
            //Console.WriteLine(abc.TwoIsOne(3, 1, 2));
            //Console.WriteLine(abc.TwoIsOne(3, 2, 2));
            //Console.ReadLine();

            //LogicWarmUps orderabc = new LogicWarmUps();
            //Console.WriteLine(orderabc.AreInOrder(1, 2, 4, false));
            //Console.WriteLine(orderabc.AreInOrder(1, 2, 1, false));
            //Console.WriteLine(orderabc.AreInOrder(1, 1, 2, true));
            //Console.ReadLine();

            //LogicWarmUps equalabc = new LogicWarmUps();
            //Console.WriteLine(equalabc.InOrderEqual(2, 5, 11, false));
            //Console.WriteLine(equalabc.InOrderEqual(5, 7, 6, false));
            //Console.WriteLine(equalabc.InOrderEqual(5, 5, 7, true));
            //Console.ReadLine();

            //LogicWarmUps moddten = new LogicWarmUps();
            //Console.WriteLine(moddten.LastDigit(23, 19, 13));
            //Console.WriteLine(moddten.LastDigit(23, 19, 12));
            //Console.WriteLine(moddten.LastDigit(23, 19, 3));
            //Console.ReadLine();

            //LogicWarmUps dicey = new LogicWarmUps();
            //Console.WriteLine(dicey.RollDice(2, 3, true));
            //Console.WriteLine(dicey.RollDice(3, 3, true));
            //Console.WriteLine(dicey.RollDice(3, 3, false));
            //Console.ReadLine();

            //ARRAY WARM UPS

            //ArrayWarmUps first6 = new ArrayWarmUps();
            //Console.WriteLine(first6.FirstLast6(new int[] { 1, 2, 6 }));
            //Console.WriteLine(first6.FirstLast6(new int[] { 6, 1, 2, 3 }));
            //Console.WriteLine(first6.FirstLast6(new int[] { 13, 6, 1, 2, 3 }));
            //Console.ReadLine();

            //ArrayWarmUps firstlast = new ArrayWarmUps();
            //Console.WriteLine(firstlast.SameFirstLast(new int[] { 1, 2, 3 }));
            //Console.WriteLine(firstlast.SameFirstLast(new int[] { 1, 2, 3, 1 }));
            //Console.WriteLine(firstlast.SameFirstLast(new int[] { 1, 2, 1 }));
            //Console.ReadLine();

            //ArrayWarmUps makethepie = new ArrayWarmUps();
            //makethepie.MakePi(3);
            //Console.ReadLine();

            //ArrayWarmUps sameend = new ArrayWarmUps();
            //Console.WriteLine(sameend.commonEnd(new int[]{ 1, 2, 3}, new int[]{ 7, 3}));
            //Console.WriteLine(sameend.commonEnd(new int[] { 1, 2, 3 }, new int[]{ 7, 3, 2}));
            //Console.WriteLine(sameend.commonEnd(new int[] { 1, 2, 3 }, new int[]{ 1, 3}));
            //Console.ReadLine();

            //ArrayWarmUps summe = new ArrayWarmUps();
            //Console.WriteLine(summe.Sum(new int[] { 1, 2, 3 }));
            //Console.WriteLine(summe.Sum(new int[] { 5, 11, 2 }));
            //Console.WriteLine(summe.Sum(new int[] { 7, 0, 0 }));
            //Console.ReadLine();

            //ArrayWarmUps rotleft = new ArrayWarmUps();
            //Console.WriteLine(new int[] { 1, 2, 3 });
            //Console.WriteLine(new int[] { 5, 11, 9 });
            //Console.WriteLine(new int[] { 7, 0, 0 });
            //Console.ReadLine();

            ArrayWarmUps or23 = new ArrayWarmUps();
            Console.WriteLine(or23.Double23(new int[] { 2, 2, 3 }));
            Console.WriteLine(or23.Double23(new int[] { 3, 4, 5, 3 }));
            Console.WriteLine(or23.Double23(new int[] { 2, 3, 2, 2 }));
            Console.ReadLine();
        }