UnitTestException on failure.
int[] ints; string[] strings; string[string] aa; shouldBeEmpty(ints); shouldBeEmpty(strings); shouldBeEmpty(aa); ints ~= 1; strings ~= "foo"; aa["foo"] = "bar"; assertFail(shouldBeEmpty(ints)); assertFail(shouldBeEmpty(strings)); assertFail(shouldBeEmpty(aa));
Verify that aa is empty.