assertBetween(((RealOutput) sg.run(new float[1], new float[]{current[2]})).getValues()[0], 236f, 237f);
sg = new LIFSpikeGenerator(maxTimeStep, tauRC[1], tauRef[0]);
sg.setMode(SimulationMode.CONSTANT_RATE);
assertBetween(((RealOutput) sg.run(new float[1], new float[]{current[0]})).getValues()[0], -.001f, .001f);
assertBetween(((RealOutput) sg.run(new float[1], new float[]{current[1]})).getValues()[0], 67f, 68f);
assertBetween(((RealOutput) sg.run(new float[1], new float[]{current[2]})).getValues()[0], 183f, 184f);
sg = new LIFSpikeGenerator(maxTimeStep, tauRC[1], tauRef[1]);
sg.setMode(SimulationMode.CONSTANT_RATE);
assertBetween(((RealOutput) sg.run(new float[1], new float[]{current[0]})).getValues()[0], -.001f, .001f);