real vec2_polarOffset_return_x228 real vec2_polarOffset_return_y210 real angle_toVec_return_x861 real angle_toVec_return_y193 real vec2_op_plus_return_x176 real vec2_op_plus_return_y209 function initGlobals400() { } function main378() { initGlobals400(); init_test313(); } function config128() { } function init_test313() { local real v_x732 local real v_y199 local real tuple_temp184 local real tuple_temp929 local real tuple_temp751 local real tuple_temp206 tuple_temp_184 = 1.; tuple_temp_929 = 2.; v_x_732 = tuple_temp_184; v_y_199 = tuple_temp_929; tuple_temp_751 = vec2_polarOffset127(v_x_732, v_y_199, 1.5708, 10.); tuple_temp_206 = vec2_polarOffset_return_y_210; v_x_732 = tuple_temp_751; v_y_199 = tuple_temp_206; if ((((v_x_732 >= 0.99) and (v_x_732 <= 1.01)) and (v_y_199 >= 11.99)) and (v_y_199 <= 12.01)) { testSuccess239(); } else { }; } function angle_toVec418(real this_radians196, real len472) returns real { angle_toVec_return_x_861 = (Cos156(this_radians_196) * len_472); angle_toVec_return_y_193 = (Sin858(this_radians_196) * len_472); return angle_toVec_return_x_861; } IS_NATIVE IS_EXTERN @extern function Cos156(real x171) returns real { } IS_NATIVE IS_EXTERN @extern function Sin858(real x102) returns real { } function vec2_op_plus283(real this_x568, real this_y185, real v_x867, real v_y289) returns real { vec2_op_plus_return_x_176 = (this_x_568 + v_x_867); vec2_op_plus_return_y_209 = (this_y_185 + v_y_289); return vec2_op_plus_return_x_176; } function vec2_polarOffset127(real this_x351, real this_y136, real ang_radians900, real dist102) returns real { vec2_polarOffset_return_x_228 = vec2_op_plus283(this_x_351, this_y_136, angle_toVec418(ang_radians_900, dist_102), angle_toVec_return_y_193); vec2_polarOffset_return_y_210 = vec2_op_plus_return_y_209; return vec2_polarOffset_return_x_228; } IS_NATIVE function testSuccess239() { }