|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectisql.test.JUnitMatrices
public class JUnitMatrices
JUnit as it is does not have support for vectors and matrices. This class adds it
| Constructor Summary | |
|---|---|
JUnitMatrices()
|
|
| Method Summary | |
|---|---|
static void |
assertEquals(boolean[][] a,
boolean[][] b)
Checks if two matrices of booleans are equal Throws AssertionError with the index of the failed item if not |
static void |
assertEquals(boolean[] a,
boolean[] b)
Checks if two vectors of booleans are equal Throws AssertionError with the index of the failed item if not |
static void |
assertEquals(double[][] a,
double[][] b)
Checks if two matrices of doubles are equal Throws AssertionError with the index of the failed item if not |
static void |
assertEquals(double[][] a,
double[][] b,
double delta)
Checks if two matrices of doubles are equal, concerning a certain delta |
static void |
assertEquals(double[] a,
double[] b)
Checks if two vectors of doubles are equal Throws AssertionError with the index of the failed item if not |
static void |
assertEquals(double[] a,
double[] b,
double delta)
Checks if two vectors of doubles are equal concerning a certain delta Throws AssertionError with the index of the failed item if not |
static void |
assertEquals(java.lang.Object[][] a,
java.lang.Object[][] b)
Checks if two matrices of objects are equal Throws AssertionError with the index of the failed item if not |
static void |
assertEquals(java.lang.Object[] a,
java.lang.Object[] b)
Checks if two vectors of objects (String, Date, ...) are equal Throws AssertionFailedError with the index of the failed item if not |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JUnitMatrices()
| Method Detail |
|---|
public static void assertEquals(java.lang.Object[] a,
java.lang.Object[] b)
a - b -
public static void assertEquals(double[] a,
double[] b)
a - b -
public static void assertEquals(double[] a,
double[] b,
double delta)
a - b -
public static void assertEquals(boolean[] a,
boolean[] b)
a - b -
public static void assertEquals(java.lang.Object[][] a,
java.lang.Object[][] b)
a - b -
public static void assertEquals(double[][] a,
double[][] b)
a - b -
public static void assertEquals(double[][] a,
double[][] b,
double delta)
a - b - delta -
public static void assertEquals(boolean[][] a,
boolean[][] b)
a - b -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||