assert_true(true, `Buffer unmodified when ${location}.`);
  return Promise.resolve();
}

for (const test of Object.keys(tests)) {
  promise_test(async function(t) {
    var buf = await tests[test](new OfflineAudioContext(1, LENGTH, SAMPLERATE));
    return allSamplesAtOne(buf, "rendering");
  }, test);
};
</script>
