const expected = 2 * 2 + 3 * 3; const value = vec2.lengthSq(vec2.create(2, 3)); assertStrictEqual(value, expected);