package entry; public class Entry { private int length; public int getLength() { return length; } public
Question:
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"); }
}