// Includes
#include "datetest.h"
#include "woopsiheaders.h"
#include "debug.h"

void DateTest::startup() {

	// Call base startup method
	Woopsi::startup();

	Date* date = new Date(6, 10, 2008);
	for (u8 i = 0; i < 20; i++) {
		date->addDays(-1);
		Debug::printf("%d/%d/%d", date->getDay(), date->getMonth(), date->getYear());
	}

	// Ensure Woopsi can draw itself
	enableDrawing();
	
	// Draw GUI
	redraw();
}

void DateTest::shutdown() {

	// Call base shutdown method
	Woopsi::shutdown();
}
