Question: package entry; public class Entry { private int length; public int getLength() { return length; } public void setLength(int length) { this.length = length; }

package entry;

public class Entry {

private int length; public int getLength() { return length; } public void setLength(int length) { this.length = length; } public int getWidth() { return width; } public void setWidth(int width) { this.width = width; } public int area () { return length * width;} public Entry(int length, int width) { this.length = length; this.width = width; } private int width; }

hi my code here is able to times length and width however I would like to test my program out using Junit testing on eclipse the following code below is what work i have done towards it so far could you help me please.

package entry;

import static org.junit.jupiter.api.Assertions.*;

import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Test;

class EntryTest {

@AfterAll static void tearDownAfterClass() throws Exception { }

@Test void test() { fail("Not yet implemented"); }

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!