public void StrNumberToQueue_ConvertEmpty_False()
        {
            ConverterHeirTests converter = new ConverterHeirTests();
            bool act = converter.StrNumberToQueueTests();

            Assert.AreEqual(false, act);
        }
        public void StrNumberToQueue_ConvertEmptyNumber_ReturnFalse()
        {
            Numeric            numeric   = new Numeric();
            ConverterHeirTests converter = new ConverterHeirTests(numeric);

            bool act = converter.StrNumberToQueueTests();

            Assert.AreEqual(false, act);
        }
        public void CountQuotientOfTripleDiv_Numbers_ReturnQuotient(string number, int expected)
        {
            Numeric            numeric   = new Numeric(number);
            ConverterHeirTests converter = new ConverterHeirTests(numeric);

            converter.StrNumberToQueueTests();

            int act = converter.CountQuotientOfTripleDivTests();

            Assert.AreEqual(expected, act);
        }
        public void CountResidueOfTriplesDiv_NumberWithResidue_ReturnResidue(string number, int expected)
        {
            Numeric            numeric   = new Numeric(number);
            ConverterHeirTests converter = new ConverterHeirTests(numeric);

            converter.StrNumberToQueueTests();

            int act = converter.CountResidueOfTriplesDivTests();

            Assert.AreEqual(expected, act);
        }
        public void StrNumberToQueue_ConvertNumber_ReturnTrueNumber(string number)
        {
            Numeric            numeric   = new Numeric(number);
            ConverterHeirTests converter = new ConverterHeirTests(numeric);

            bool act = converter.StrNumberToQueueTests();

            Queue <char> expected = new Queue <char>();

            for (int i = 0; i < number.Length; ++i)
            {
                expected.Enqueue(number[i]);
            }

            CollectionAssert.AreEqual(expected, converter.QueueChars);
            Assert.AreEqual(true, act);
        }