We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does this fail?
it("should convert measurements to a common unit", () => { expect(toCommonUnit([1, 'cm'], [2, 'm'])).not.toBeUndefined() });
I would expect it to return [[1, 'cm'], [200, 'cm']], but it returns undefined.
[[1, 'cm'], [200, 'cm']]
undefined
The text was updated successfully, but these errors were encountered:
Reading this test I can see that this function doesn't do what I expected it to do.
How do you bring two measurements of the same dimension to the same unit?
Sorry, something went wrong.
Or how do you compare two measurements of the same dimension with different units? That would solve my problem as well.
No branches or pull requests
Why does this fail?
I would expect it to return
[[1, 'cm'], [200, 'cm']]
, but it returnsundefined
.The text was updated successfully, but these errors were encountered: