public void FormatTest2exception()
        {

            IntFormatProvider pr = new IntFormatProvider();

            //act
            string str = String.Format(pr, "{0:Q}",0.12);
            //assert
           
        }
        public void FormatStandartFormat()
        {

            IntFormatProvider pr = new IntFormatProvider();
            CultureInfo ci = CultureInfo.InvariantCulture;
            //act
            string str = String.Format(pr, "{0:C}", 120,ci);
            //assert
            Assert.AreEqual(String.Format("{0:C}", 120), str);
        }
 public string FormatTest(int a)
 {
     
     IntFormatProvider pr = new IntFormatProvider();
    
     //act
     string str = String.Format(pr, "{0:Q}",a);
     //assert
     return str;
 }