UnitTestException on failure.
1 int[] ints; 2 string[] strings; 3 string[string] aa; 4 5 shouldBeEmpty(ints); 6 shouldBeEmpty(strings); 7 shouldBeEmpty(aa); 8 9 ints ~= 1; 10 strings ~= "foo"; 11 aa["foo"] = "bar"; 12 13 assertFail(shouldBeEmpty(ints)); 14 assertFail(shouldBeEmpty(strings)); 15 assertFail(shouldBeEmpty(aa));
Verify that aa is empty.