Closed pawelbaran closed 1 week ago
@BHoMBot check compliance
@BHoMBot check compliance
@BHoMBot check core
@BHoMBot check installer
If we compare two strings with LessThan
and GreaterThan
comparison type the result for both is False
and we have following entry in the report:
Shouldn't we disable numeric comparisons for strings?
Thanks @michal-pekacki, I've just fixed that, returning null
as inconclusive in such cases 👍
Shouldn't we be consistent and do the same when comparing number to string?
In following entry comparing numeric ValueSource
with string ReferenceValue
doesn't return null
:
Ha, I disabled comparing numbers to strings now, thanks for another good catch @michal-pekacki 👍 also added test cases
@BHoMBot check required
@BHoMBot check copyright-compliance @BHoMBot check dataset-compliance @BHoMBot check unit-tests
@BHoMBot check ready-to-merge
NOTE: Depends on
https://github.com/BHoM/BHoM/pull/1644
Issues addressed by this PR
Supports https://github.com/BHoM/BHoM/issues/1643
Test files
On SharePoint
Changelog
Additional comments
@alelom please note that the GH script mentioned under test files contains a suite of tests that fail to serialise due to a diffing bug - I will try to extract the exact culprit and raise an issue for you to debug. Once the bug gets fixed, I will gladly push UTs for this PR.