initial speed should be from song’s BPM0ms ‣
var e=new c
const t=(0,o.Z)({enabled:!0,initialSpeed:3.8,desiredLeadTime:1200,songBPM:140})
s()(e._expr(e._capt(1.8===e._capt(e._capt(t,"arguments/0/left/callee/object").getInitialSpeed(),"arguments/0/left"),"arguments/0"),{content:"assert(autoVelocity.getInitialSpeed() === 1.8)",filepath:"createAutoVelocity.spec.js",line:39}))
should also take into consideration the lane cover0ms ‣
var e=new c
const t=(0,o.Z)({enabled:!0,initialSpeed:3.8,desiredLeadTime:1200,songBPM:140,laneCover:.5})
s()(e._expr(e._capt(.9===e._capt(e._capt(t,"arguments/0/left/callee/object").getInitialSpeed(),"arguments/0/left"),"arguments/0"),{content:"assert(autoVelocity.getInitialSpeed() === 0.9)",filepath:"createAutoVelocity.spec.js",line:49}))
should also take into consideration the lane cover0ms ‣
var e=new c
const t=(0,o.Z)({enabled:!0,initialSpeed:3.8,desiredLeadTime:1200,songBPM:140,laneCover:-.5})
s()(e._expr(e._capt(.9===e._capt(e._capt(t,"arguments/0/left/callee/object").getInitialSpeed(),"arguments/0/left"),"arguments/0"),{content:"assert(autoVelocity.getInitialSpeed() === 0.9)",filepath:"createAutoVelocity.spec.js",line:59}))
initial speed should be from song’s BPM [ANOTHER]0ms ‣
var e=new c
const t=(0,o.Z)({enabled:!0,initialSpeed:3.8,desiredLeadTime:600,songBPM:162})
s()(e._expr(e._capt(3.1===e._capt(e._capt(t,"arguments/0/left/callee/object").getInitialSpeed(),"arguments/0/left"),"arguments/0"),{content:"assert(autoVelocity.getInitialSpeed() === 3.1)",filepath:"createAutoVelocity.spec.js",line:68}))
initial speed should be from song’s BPM [TUTORIAL]0ms ‣
var e=new c
const t=(0,o.Z)({enabled:!0,initialSpeed:3.8,desiredLeadTime:1685,songBPM:178})
s()(e._expr(e._capt(1===e._capt(e._capt(t,"arguments/0/left/callee/object").getInitialSpeed(),"arguments/0/left"),"arguments/0"),{content:"assert(autoVelocity.getInitialSpeed() === 1.0)",filepath:"createAutoVelocity.spec.js",line:77}))
should save speed and lead time after playing game0ms ‣
var e=new c,t=new c
const n=(0,o.Z)({enabled:!0,initialSpeed:3.8,desiredLeadTime:1685,songBPM:178}),a=sinon.spy(),r=sinon.spy()
n.handleGameFinish(3,{saveSpeed:a,saveLeadTime:r}),s()(e._expr(e._capt(e._capt(a,"arguments/0/callee/object").calledWith(3),"arguments/0"),{content:"assert(saveSpeed.calledWith(3))",filepath:"createAutoVelocity.spec.js",line:89})),s()(t._expr(t._capt(t._capt(r,"arguments/0/callee/object").calledWith(562),"arguments/0"),{content:"assert(saveLeadTime.calledWith(562))",filepath:"createAutoVelocity.spec.js",line:90}))
should not save if speed remains the same1ms ‣
var e=new c,t=new c
const n=(0,o.Z)({enabled:!0,initialSpeed:3.8,desiredLeadTime:1685,songBPM:178}),a=sinon.spy(),r=sinon.spy()
n.handleGameFinish(1,{saveSpeed:a,saveLeadTime:r}),s()(e._expr(e._capt(e._capt(a,"arguments/0/callee/object").calledWith(1),"arguments/0"),{content:"assert(saveSpeed.calledWith(1))",filepath:"createAutoVelocity.spec.js",line:102})),s()(t._expr(t._capt(!t._capt(t._capt(r,"arguments/0/argument/object").called,"arguments/0/argument"),"arguments/0"),{content:"assert(!saveLeadTime.called)",filepath:"createAutoVelocity.spec.js",line:103}))