2025-03-26 15:44:44 +01:00

122 lines
3.5 KiB
Java

/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/UnitTests/JUnit4TestClass.java to edit this template
*/
package metier;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author emile.lalorcey
*/
public class RecifTest {
public RecifTest() {
}
@Before
public void setUp() {
}
/**
* Test of getDangerosite method, of class Recif.
*/
@Test
public void testGetDangerosite() {
System.out.println("getDangerosite");
Recif instance = new Recif();
int expResult = 0;
int result = instance.getDangerosite();
assertEquals(expResult, result);
// TODO review the generated test code and remove the default call to fail.
fail("The test case is a prototype.");
}
/**
* Test of getLaPosition method, of class Recif.
*/
@Test
public void testGetLaPosition() {
System.out.println("getLaPosition");
Recif instance = new Recif();
Position expResult = null;
Position result = instance.getLaPosition();
assertEquals(expResult, result);
// TODO review the generated test code and remove the default call to fail.
fail("The test case is a prototype.");
}
/**
* Test of setDangerosite method, of class Recif.
*/
@Test
public void testSetDangerosite() {
System.out.println("setDangerosite");
int dangerosite = 0;
Recif instance = new Recif();
instance.setDangerosite(dangerosite);
// TODO review the generated test code and remove the default call to fail.
fail("The test case is a prototype.");
}
/**
* Test of setLaPosition method, of class Recif.
*/
@Test
public void testSetLaPosition() {
System.out.println("setLaPosition");
Position laPosition = null;
Recif instance = new Recif();
instance.setLaPosition(laPosition);
// TODO review the generated test code and remove the default call to fail.
fail("The test case is a prototype.");
}
/**
* Test of toString method, of class Recif.
*/
@Test
public void testToString() {
System.out.println("toString");
Recif instance = new Recif();
String expResult = "";
String result = instance.toString();
assertEquals(expResult, result);
// TODO review the generated test code and remove the default call to fail.
fail("The test case is a prototype.");
}
/**
* Test of hashCode method, of class Recif.
*/
@Test
public void testHashCode() {
System.out.println("hashCode");
Recif instance = new Recif();
int expResult = 0;
int result = instance.hashCode();
assertEquals(expResult, result);
// TODO review the generated test code and remove the default call to fail.
fail("The test case is a prototype.");
}
/**
* Test of equals method, of class Recif.
*/
@Test
public void testEquals() {
System.out.println("equals");
Object obj = null;
Recif instance = new Recif();
boolean expResult = false;
boolean result = instance.equals(obj);
assertEquals(expResult, result);
// TODO review the generated test code and remove the default call to fail.
fail("The test case is a prototype.");
}
}