errors/unit-test/Days-in-month/3/compile-output - Kompilering og kørsel - normal og test. | Lektion 7 - slide 18 : 25 Program 9 |
> gcc all-tests.c CuTest.c days-month-leap.c > a.exe Enter a month - a number between 1 and 12: 11 Enter a year: 2010 There are 30 days in month 11 in year 2010 Enter a month - a number between 1 and 12: 12 Enter a year: 0 There are 31 days in month 12 in year 0 > a.exe --test ........ OK (8 tests)