/* * 2 covered goals: * 1 client.gui.ImageCache.getW()I: root-Branch * 2 client.gui.ImageCache.<init>(Ljava/awt/Image;IIII)V: root-Branch */ @Test public void test5() throws Throwable { ImageCache imageCache0 = new ImageCache((Image) null, 0, 682, 1948, 1321); int int0 = imageCache0.getW(); assertEquals(1948, int0); assertEquals(682, imageCache0.y); assertEquals(1321, imageCache0.h); assertEquals(0, imageCache0.x); }
/* * 1 covered goal: * 1 client.gui.ImageCache.setImg(Ljava/awt/Image;)V: root-Branch */ @Test public void test2() throws Throwable { ImageCache imageCache0 = new ImageCache((Image) null, 1803, 0, 1, 0); imageCache0.setImg((Image) null); assertEquals(0, imageCache0.y); assertEquals(0, imageCache0.h); assertEquals(1, imageCache0.w); assertEquals(1803, imageCache0.x); assertEquals(1, imageCache0.getW()); }