@Test public void testChgMDMG() throws IOException, InterruptedException { Scanner sc = new Scanner(System.in); Name ok = new Name(); Player gram = new Warrior(ok); gram.chgMDMG(1); assertTrue(gram.ex_mdmg == 1); }