## Test the optimal point.
unit_test_equals("wood1([1;1;1;1]) == 0", ...
		 0, ...
		 wood1([1;1;1;1]));

## It should fail with the wrong number of coordinates.
f = wood1([1;2;3]);
unit_test_equals("wood1 fails with too few coordinates", ...
		 true, ...
		 isna(f));

f = wood1([1;2;3;4;5]);
unit_test_equals("wood1 fails with too many coordinates", ...
		 true, ...
		 isna(f));
