You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently some solutions check if resistance value is >= 1000 and use integer division to switch to kilo-ohms, which causes loss of precision for values that are larger than 1000, but are not divisible by 1000.
This testcase will ensure divisibility by 1000 before transitioning to kilo-ohms.
{
"description": "Red and red and red",
"property": "label",
"input": {
"colors": ["red", "red", "red"]
},
"expected": {
"value": 2200,
"unit": "ohms"
}
},
The text was updated successfully, but these errors were encountered:
Currently some solutions check if resistance value is >= 1000 and use integer division to switch to kilo-ohms, which causes loss of precision for values that are larger than 1000, but are not divisible by 1000.
This testcase will ensure divisibility by 1000 before transitioning to kilo-ohms.
The text was updated successfully, but these errors were encountered: