/*
* Test method for 'ca.nengo.dynamics.impl.CanonicalModel.getRealization(float[], float[], float)'
*/
public void testGetRealization() {
LTISystem system = CanonicalModel.getRealization(new float[]{0f, 1f}, new float[]{10f, 100f}, 1f);
float[][] A = system.getA(0f);
assertClose(0f, A[0][0]);
assertClose(1f, A[0][1]);
assertClose(-100f, A[1][0]);
assertClose(-10f, A[1][1]);
float[][] B = system.getB(0f);
assertClose(0f, B[0][0]);
assertClose(1f, B[1][0]);
float[][] C = system.getC(0f);
assertClose(1f, C[0][0]);
assertClose(0f, C[0][1]);
float[][] D = system.getD(0f);
assertClose(1f, D[0][0]);
}