public void TakeFomatNumberTestAll() { TestContext.Run((ulong n, int take) => { var k = new KanjiNumber(); var str = k.TakeFormatNumber(n, take); Console.WriteLine(str); }); }
public void TakeFomatNumberTest() { var k = new KanjiNumber(); var str = k.TakeFormatNumber(1234000005678910, 2); Console.WriteLine(str); Assert.IsTrue(str == "1234兆"); }