function runCreationTests_(testCases, assertion, creation) {
  /**
   * Creates test callback for creation test.
   * @param {FieldCreationTestCase} testCase The test case to use.
   * @returns {Function} The test callback.
   */
  const createTestFn = (testCase) => {
    return function () {
      const field = creation.call(this, testCase);
      assertion(field, testCase);
    };
  };
  runTestCases(testCases, createTestFn);
}
Runs provided creation test cases.
@param {!Array<!FieldCreationTestCase>} testCases The test cases to run.
@param {function(!Blockly.Field, !FieldCreationTestCase)} assertion The
   assertion to use.
@param {function(new:Blockly.Field,!FieldCreationTestCase):Blockly.Field
   } creation A function that returns an instance of the field based on the
   provided test case.
@private