<?xml version="1.0" encoding="utf-8" ?>

<testModule>
	<name>My Module</name>
	<description>Sample module for FoxUnit</description>
	<common>
		// This code is included in every test in the module.
	</common>
	<setup>
		// Code to be run before tests start goes here.
	</setup>
	<teardown>
		// Code to be run once tests have completed goes here.
	</teardown>
	<test>
		<common>
			// Code to be included in every test case in this test goes here.
		</common>
		<name>Sample Test</name>
		<description>An example of a FoxUnit test.</description>
		<testCase>
			<name>Addition</name>
			<description>Tests whether we can add numbers.</description>
			<run>
				do_check_eq(5+5, 10);
				do_check_neq(1+1, 3);
			</run>
		</testCase>
		<testCase>
			<name>Multiplication</name>
			<description>Tests whether we can multiply numbers.</description>
			<run>
				do_check_eq(2*2, 4);
				// Oops, this test is going to fail!
				do_check_neq(5*5, 25);
			</run>
		</testCase>
	</test>
</testModule>
