Beispiel #1
0
        public void TakeFomatNumberTestAll()
        {
            TestContext.Run((ulong n, int take) =>
            {
                var k = new KanjiNumber();

                var str = k.TakeFormatNumber(n, take);
                Console.WriteLine(str);
            });
        }
Beispiel #2
0
        public void TakeFomatNumberTest()
        {
            var k = new KanjiNumber();

            var str = k.TakeFormatNumber(1234000005678910, 2);

            Console.WriteLine(str);

            Assert.IsTrue(str == "1234兆");
        }