/** @tests java.text.DecimalFormatSymbols#setDigit(char) */ @TestTargetNew( level = TestLevel.COMPLETE, notes = "", method = "setDigit", args = {char.class}) public void test_setDigitC() { dfs.setDigit('*'); assertEquals("Returned incorrect Digit symbol", '*', dfs.getDigit()); }
/** @tests java.text.DecimalFormatSymbols#equals(java.lang.Object) */ @TestTargetNew( level = TestLevel.COMPLETE, notes = "", method = "equals", args = {java.lang.Object.class}) public void test_equalsLjava_lang_Object() { assertTrue("Equal objects returned false", dfs.equals(dfs.clone())); dfs.setDigit('B'); assertTrue("Un-Equal objects returned true", !dfs.equals(new DecimalFormatSymbols())); }