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