real vec2_polarOffset_return_x616 real vec2_polarOffset_return_y158 real angle_toVec_return_x374 real angle_toVec_return_y130 real vec2_op_plus_return_x123 real vec2_op_plus_return_y208 function initGlobals132() { } function main128() { initGlobals132(); init_test147(); } function config293() { } function init_test147() { local real tuple_temp652 local real tuple_temp170 tuple_temp_652 = vec2_polarOffset149(1., 2., 1.5708, 10.); tuple_temp_170 = vec2_polarOffset_return_y_158; if ((((tuple_temp_652 >= 0.99) and (tuple_temp_652 <= 1.01)) and (tuple_temp_170 >= 11.99)) and (tuple_temp_170 <= 12.01)) { testSuccess913(); } else { }; } function angle_toVec198(real this_radians253, real len180) returns real { angle_toVec_return_x_374 = (Cos139(this_radians_253) * len_180); angle_toVec_return_y_130 = (Sin108(this_radians_253) * len_180); return angle_toVec_return_x_374; } IS_NATIVE IS_EXTERN @extern function Cos139(real x187) returns real { } IS_NATIVE IS_EXTERN @extern function Sin108(real x316) returns real { } function vec2_op_plus151(real this_x178, real this_y203, real v_x233, real v_y519) returns real { vec2_op_plus_return_x_123 = (this_x_178 + v_x_233); vec2_op_plus_return_y_208 = (this_y_203 + v_y_519); return vec2_op_plus_return_x_123; } function vec2_polarOffset149(real this_x470, real this_y157, real ang_radians166, real dist132) returns real { vec2_polarOffset_return_x_616 = vec2_op_plus151(this_x_470, this_y_157, angle_toVec198(ang_radians_166, dist_132), angle_toVec_return_y_130); vec2_polarOffset_return_y_158 = vec2_op_plus_return_y_208; return vec2_polarOffset_return_x_616; } IS_NATIVE function testSuccess913() { }