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
This test fails on Linux:
func testWithNonBaseUnits() { let factor1 = Measurement(value: 100, unit: UnitArea.squareCentimeters) let factor2 = Measurement(value: 10, unit: UnitLength.millimeters) let actual: Measurement<UnitVolume> = factor1 * factor2 let expected = Measurement(value: 100, unit: UnitVolume.cubicCentimeters) AmpereTest.assertEqual(actual, expected) }
XCTAssertEqual failed: ("0.0001 m³") is not equal to ("0.001 m³") - "0.0001 m³" is not equal to "100.0 cm³"
This is due to a bug in swift-corelibs-foundation. Some of the conversion coefficients for UnitVolume are wrong.
UnitVolume
The text was updated successfully, but these errors were encountered:
Reported to bugs.swift.org: SR-11766.
PR: swiftlang/swift-corelibs-foundation#2561
Sorry, something went wrong.
No branches or pull requests
This test fails on Linux:
XCTAssertEqual failed: ("0.0001 m³") is not equal to ("0.001 m³") - "0.0001 m³" is not equal to "100.0 cm³"
This is due to a bug in swift-corelibs-foundation. Some of the conversion coefficients for
UnitVolume
are wrong.The text was updated successfully, but these errors were encountered: