Metric to imperial converter; doubts about a test

Tell us what’s happening:
Describe your issue in detail here.
One of the requirements of the tests is as follows:

  • convertHandler should correctly return an error on a double-fraction (i.e. 3/2/3 ).

I was thinking this doesn’t make much sense since 3/2/3 is mathematically correct and JavaScript also correctly parses and converts it.

In a nutshell, this would make the code much more complicated while it decreases the functionality of the program.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36 OPR/77.0.4054.60

Challenge: Metric-Imperial Converter

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.