|
|
@ -76,7 +76,7 @@ public class Rgba128Tests |
|
|
public void Rgba128_ToRgba32() |
|
|
public void Rgba128_ToRgba32() |
|
|
{ |
|
|
{ |
|
|
// arrange
|
|
|
// arrange
|
|
|
Rgba128 rgb96 = new((uint)(uint.MaxValue * 0.1f), uint.MaxValue / 2, uint.MaxValue, uint.MaxValue); |
|
|
Rgba128 rgb96 = new((uint)(uint.MaxValue * 0.1), uint.MaxValue / 2, uint.MaxValue, uint.MaxValue); |
|
|
Rgba32 expected = new(25, 127, 255, 255); |
|
|
Rgba32 expected = new(25, 127, 255, 255); |
|
|
|
|
|
|
|
|
// act
|
|
|
// act
|
|
|
|