errors/ad-hoc-unit-test/Days-in-month/2/all-tests.c - Test driver for tests af funktionenerne daysInMonth og isLeapYear. | Lektion 7 - slide 17 : 25 Program 6 |
#include <stdio.h> void RunAllTests(void) { testDaysInMonthJan(); testDaysInMonthFeb(); testDaysInMonthApr(); testDaysInMonthDec(); testIsLeapYear1999(); testIsLeapYear2000(); testIsLeapYear1900(); testIsLeapYear2008(); } int main(void) { RunAllTests(); }