first requirement: two dimensional map of Mars
This commit is contained in:
parent
41540dbd53
commit
a8c70f42b1
|
@ -0,0 +1,6 @@
|
||||||
|
package cat.hack3.codingtests.marsrover;
|
||||||
|
|
||||||
|
public class MarsMap {
|
||||||
|
public MarsMap(int width, int height) {
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,4 +1,13 @@
|
||||||
package cat.hack3.codingtests.marsrover;
|
package cat.hack3.codingtests.marsrover;
|
||||||
|
|
||||||
|
import org.testng.annotations.Test;
|
||||||
|
|
||||||
public class MarsRoverTest {
|
public class MarsRoverTest {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void havingTwoDimensionalMapOfMars() {
|
||||||
|
int width = 10;
|
||||||
|
int height = 10;
|
||||||
|
new MarsMap(width, height);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue