should compute length0ms ‣
const expected = Math.sqrt(1 * 1 + 2 * 2 + 3 * 3 + 4 * 4);
const value = quat.length(quat.create(1, 2, 3, 4));
assertStrictEqual(value, expected);
should compute length squared0ms ‣
const expected = 1 * 1 + 2 * 2 + 3 * 3 + 4 * 4;
const value = quat.lengthSq(quat.create(1, 2, 3, 4));
assertStrictEqual(value, expected);
should compute len0ms ‣
const expected = Math.sqrt(1 * 1 + 2 * 2 + 3 * 3 + 4 * 4);
const value = quat.len(quat.create(1, 2, 3, 4));
assertStrictEqual(value, expected);
should compute lenSq0ms ‣
const expected = 1 * 1 + 2 * 2 + 3 * 3 + 4 * 4;
const value = quat.lenSq(quat.create(1, 2, 3, 4));
assertStrictEqual(value, expected);