Median: fix test names

This commit is contained in:
Willi Ballenthin 2026-03-13 10:58:11 +01:00 committed by GitHub
parent 4865806baa
commit 90660fb41b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@ import TestRegister from "../../lib/TestRegister.mjs";
TestRegister.addTests([
{
name: "Median: sorts odd-length input",
name: "Median: odd-length input",
input: "10 1 2",
expectedOutput: "2",
recipeConfig: [
@ -20,7 +20,7 @@ TestRegister.addTests([
],
},
{
name: "Median: keeps even-length behavior",
name: "Median: even-length input",
input: "10 1 2 5",
expectedOutput: "3.5",
recipeConfig: [