    [123.456, "123.456"],
     [1e3, "1000"],
     [-123, "-123"]
   ]);

   const rangeInput = document.getElementById("input_range");
   testValueAsNumberGetter("range", rangeInput, [
     ["", 50],
     ["0", 0],
     ["50", 50],
     ["100", 100],
     ["-10", 0], // Realign to the min
     ["110", 100] // Realign to the max
   ]);
   testValueAsNumberSetter("range", rangeInput, [
     [0, "0"],
     [50, "50"],
     [100, "100"]
   ]);
  </script>
 </body>
</html>
