Closed GaryHuan9 closed 2 years ago
Describe the bug RGBA128.Parse and RGBA128.TryParse unit tests failing on edge cases.
RGBA128.Parse
RGBA128.TryParse
To Reproduce Steps to reproduce the behavior:
Expected behavior
hdr(123, 45, 67, 89,)
hdr(-12, 3, 4)
rgb(1, 2, 3, 4.5)
rgb(-12, 3, 4)
hdr(.10, .001, .102)
new RGBA128(0.1, 0.001, 0.102, 1)
Systems
Additional context Add any other context about the problem here.
fixed bugs in commit 8e3a045
Describe the bug
RGBA128.Parse
andRGBA128.TryParse
unit tests failing on edge cases.To Reproduce Steps to reproduce the behavior:
Expected behavior
hdr(123, 45, 67, 89,)
andhdr(-12, 3, 4)
should fail.rgb(1, 2, 3, 4.5)
andrgb(-12, 3, 4)
should fail.hdr(.10, .001, .102)
should pass with the expected value equalingnew RGBA128(0.1, 0.001, 0.102, 1)
Systems
Additional context Add any other context about the problem here.