assertEquals (
2,
stimuli.length );
final Stimulus stimulus0 = stimuli [ 0 ];
final Stimulus stimulus1 = stimuli [ 1 ];
assertNotNull ( stimulus0 );
assertNotNull ( stimulus1 );
assertNull ( stimulus0.simulatorParser );
assertNull ( stimulus1.simulatorParser );
// strength
assertEquals (
1e-10,
stimulus0.getStrength ( ),
0 );
assertEquals (
1e-10,
stimulus1.getStrength ( ),
0 );
// type
assertEquals (
0,
stimulus0.getType ( ) );
assertEquals (
0,
stimulus1.getType ( ) );
// onTime
assertEquals (
0.0,
stimulus0.getOnTime ( ),
0 );
assertEquals (
0.0,
stimulus1.getOnTime ( ),
0 );
// offTime
assertEquals (
10.0,
stimulus0.getOffTime ( ),
0 );
assertEquals (
10.0,
stimulus1.getOffTime ( ),
0 );
// freq
assertEquals (
40.0,
stimulus0.getFreq ( ),
0 );
assertEquals (
40.0,
stimulus1.getFreq ( ),
0 );
// decay
assertEquals (
0.0,
stimulus0.getDecay ( ),
0 );
assertEquals (
0.0,
stimulus1.getDecay ( ),
0 );
// seed
assertNotNull ( stimulus0.seed );
assertNotNull ( stimulus1.seed );
// channel
assertEquals (
-1,
stimulus0.getChannel ( ) );
assertEquals (
-1,
stimulus1.getChannel ( ) );
// TODO: For prefix and suffix parsing, see Stimulus.background()
final Recorder recorder = experiment.recorder;