public static void test1() { Console.WriteLine("Testing NbYear"); testing(Arge.NbYear(1500, 5, 100, 5000), 15); testing(Arge.NbYear(1500000, 2.5, 10000, 2000000), 10); testing(Arge.NbYear(1500000, 0.25, 1000, 2000000), 94); }
static void Main(string[] args) { Console.WriteLine(Arge.NbYear(1500, 5, 100, 5000)); }