public void Should_Success_Terbilang_IsNegative_Decimal() { GarmentFinanceBankCashReceiptPdfTemplate PdfTemplate = new GarmentFinanceBankCashReceiptPdfTemplate(); var terbilang = PdfTemplate.Terbilang(-1.2, "USD"); Assert.NotNull(terbilang); }
public void Should_Success_Terbilang_Puluham() { GarmentFinanceBankCashReceiptPdfTemplate PdfTemplate = new GarmentFinanceBankCashReceiptPdfTemplate(); var terbilang = PdfTemplate.Terbilang(56, "IDR"); Assert.NotNull(terbilang); }
public void Should_Success_Terbilang_Decimal() { GarmentFinanceBankCashReceiptPdfTemplate PdfTemplate = new GarmentFinanceBankCashReceiptPdfTemplate(); var angka = "123,456"; var terbilang = PdfTemplate.Terbilang(Convert.ToDouble(angka), "USD"); Assert.NotNull(terbilang); }