author | Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
Thu, 30 Oct 2014 21:30:10 +0100 | |
changeset 409 | 40cabcdcd2be |
parent 181 | 81d72f69fa42 |
permissions | -rw-r--r-- |
jtulach@378 | 1 |
package test; |
jtulach@8 | 2 |
|
jtulach@378 | 3 |
import api.Covariance; |
jtulach@378 | 4 |
|
jtulach@378 | 5 |
public class CovarianceTest { |
jtulach@378 | 6 |
// BEGIN: variance.covariance.test |
jtulach@378 | 7 |
public static void main(String[] args) { |
jtulach@378 | 8 |
Number n = Covariance.max(10, 20); |
jtulach@378 | 9 |
System.err.println("value: " + n + " type: " + n.getClass()); |
jtulach@378 | 10 |
assert n.intValue() == 20 : "The max should be 20, but was: " + n; |
jtulach@8 | 11 |
} |
jtulach@378 | 12 |
// END: variance.covariance.test |
jtulach@8 | 13 |
} |