Describe the bug
mockapi in test https://github.com/microsoft/typespec/blob/main/packages/http-specs/specs/encode/duration/mockapi.ts
On test of duration as float, in query param and header param, it compares with e.g. 35625, which fails other same float value of 35625.0 etc.
Please fix these mockapi, to make it compare the float number (not its string representation).
Reproduction
run test with e.g. 35625.0 as input
Checklist
Describe the bug
mockapi in test https://github.com/microsoft/typespec/blob/main/packages/http-specs/specs/encode/duration/mockapi.ts
On test of duration as float, in query param and header param, it compares with e.g.
35625, which fails other same float value of35625.0etc.Please fix these mockapi, to make it compare the float number (not its string representation).
Reproduction
run test with e.g.
35625.0as inputChecklist