function check(tokens, expected) {
	const length = tokens.length;

	assert.strictEqual(length, expected.length);
	for (let i = 0; i < length; i++) {
		assert.strictEqual(tokens[i].value, expected[i]);
	}
}
Checks the values of tokens against an array of expected values.
@param {Token[]} tokens Tokens returned from the API.
@param {string[]} expected Expected token values
@returns {void}