Skip to content

Commit

Permalink
Fixes broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
modlfo committed May 22, 2020
1 parent fa197ef commit 8aa529e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _tags
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# Link libraries and ppx for Js (js_of_ocaml) files
<src/js/*.byte> : package(js_of_ocaml)
<src/js/*.ml> : package(js_of_ocaml), package(js_of_ocaml.ppx)
<src/js/*.ml> : package(js_of_ocaml), package(js_of_ocaml-ppx)

# Makes the bytecode debuggable and linking the custom runtime
true : bin_annot,custom,debug
Expand Down
4 changes: 2 additions & 2 deletions test/code/kick.java.base
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f
if(Util_change(_ctx._inst13b,cv)){ _ctx.rate = (4.f * Util_cvToRate_1024(cv)); }
float new_phase = 0.0f;
float _if_13 = 0.0f;
if_ctx.direction{ _if_13 = _ctx.rate; }
if(_ctx.direction){ _if_13 = _ctx.rate; }
else
{ _if_13 = (- _ctx.rate); }
new_phase = (_ctx.phase + _if_13);
Expand All @@ -720,7 +720,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f
if(bdisable){ _ctx.phase = 0.0f; }
else
{ _ctx.phase = new_phase; }
if_ctx.reset_state{
if(_ctx.reset_state){
if((Math.abs(_ctx.reset_phase) > 10.f) || bdisable){
float reset_speed = 0.0f;
if(bdisable){ reset_speed = 0.01f; }
Expand Down
2 changes: 1 addition & 1 deletion test/code/sawcore.java.base
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ private float Sawcore_process(Sawcore__ctx_type_1 _ctx, float cv, float reset){
}
_ctx.phase = new_phase;
out = _ctx.phase;
if_ctx.reset_state{
if(_ctx.reset_state){
boolean done = false;
float ptr = 0.0f;
Sawcore_ptr_w2(_ctx._inst622,_ctx.phase,_ctx.rate);
Expand Down
4 changes: 2 additions & 2 deletions test/code/tricore.java.base
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f
if(Util_change(_ctx._inst13b,cv)){ _ctx.rate = (4.f * Util_cvToRate_1024(cv)); }
float new_phase = 0.0f;
float _if_13 = 0.0f;
if_ctx.direction{ _if_13 = _ctx.rate; }
if(_ctx.direction){ _if_13 = _ctx.rate; }
else
{ _if_13 = (- _ctx.rate); }
new_phase = (_ctx.phase + _if_13);
Expand All @@ -506,7 +506,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f
if(bdisable){ _ctx.phase = 0.0f; }
else
{ _ctx.phase = new_phase; }
if_ctx.reset_state{
if(_ctx.reset_state){
if((Math.abs(_ctx.reset_phase) > 10.f) || bdisable){
float reset_speed = 0.0f;
if(bdisable){ reset_speed = 0.01f; }
Expand Down
4 changes: 2 additions & 2 deletions test/code/voice_4.java.base
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f
if(Util_change(_ctx._inst13b,cv)){ _ctx.rate = (4.f * Util_cvToRate_1024(cv)); }
float new_phase = 0.0f;
float _if_13 = 0.0f;
if_ctx.direction{ _if_13 = _ctx.rate; }
if(_ctx.direction){ _if_13 = _ctx.rate; }
else
{ _if_13 = (- _ctx.rate); }
new_phase = (_ctx.phase + _if_13);
Expand All @@ -832,7 +832,7 @@ private float Tricore_process(Tricore__ctx_type_0 _ctx, float cv, float reset, f
if(bdisable){ _ctx.phase = 0.0f; }
else
{ _ctx.phase = new_phase; }
if_ctx.reset_state{
if(_ctx.reset_state){
if((Math.abs(_ctx.reset_phase) > 10.f) || bdisable){
float reset_speed = 0.0f;
if(bdisable){ reset_speed = 0.01f; }
Expand Down

0 comments on commit 8aa529e

Please sign in to comment.