/// <summary>
        /// Returns given number in given numeral system as string representation in
        /// exponent notation.
        /// </summary>
        public string Back_Parse_Force_Exponent_Mock_Test(double number, sbyte numeral_System_Type)
        {
            Back_Parser = new Back_Parser_Fascede(Number_Notation.Force_Exponent, numeral_System_Type, ",");

            // Act

            INumber Number = new Number(number);

            return(Back_Parser.Parse_Back(Number));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Returns given number in given numeral system as string representation in
        /// normalised scientific notation.
        /// </summary>
        public string Back_Parse_Scienfic_Normalized_Mock_Test(double number, sbyte numeral_System_Type)
        {
            Back_Parser = new Back_Parser_Fascede(Number_Notation.Scienfic_Normalized, numeral_System_Type, ",");

            // Act

            INumber Number = new Number(number);

            return(Back_Parser.Parse_Back(Number));
        }
Exemplo n.º 3
0
 /// <summary>
 /// Constructs new Factory for getting Back_Parser_Fascede.
 /// </summary>
 internal Back_Parser_Factory(Number_Notation number_Notation, sbyte numeral_System_Type, string comma_Type)
 {
     Back_Parser_Fascede = new Back_Parser_Fascede(number_Notation, numeral_System_Type, comma_Type);
 }