in the cash register test case for https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures
one of the test cases expects checkCashRegister(3.26, 100, [["PENNY", 1.01], ["NICKEL", 2.05], ["DIME", 3.1], ["QUARTER", 4.25], ["ONE", 90], ["FIVE", 55], ["TEN", 20], ["TWENTY", 60], ["ONE HUNDRED", 100]]) should return {status: "OPEN", change: [["TWENTY", 60], ["TEN", 20], ["FIVE", 15], ["ONE", 1], ["QUARTER", 0.5], ["DIME", 0.2], ["PENNY", 0.04]]}
which means it output is opposite direction of every other test case;
it starts from highest to lowest where every other one is the other way.
i started losing my mind trying to figure out why my code wasnt working when i figured that the test case must be wrong.
please somebody fix it so someone else doesnt lose their sanity too.