From e23aa13fda734826f308d17f883c0bb8b1dc6c9c Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Mon, 16 May 2022 10:40:32 +0100 Subject: [PATCH] Fix alpha values in Color32Tests --- .../Assets/Tests/Drawing/Color32Tests.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/X10D.Unity.Tests/Assets/Tests/Drawing/Color32Tests.cs b/X10D.Unity.Tests/Assets/Tests/Drawing/Color32Tests.cs index ec25662..7da3e95 100644 --- a/X10D.Unity.Tests/Assets/Tests/Drawing/Color32Tests.cs +++ b/X10D.Unity.Tests/Assets/Tests/Drawing/Color32Tests.cs @@ -1,4 +1,4 @@ -using System.Collections; +using System.Collections; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; @@ -8,14 +8,14 @@ namespace X10D.Unity.Tests.Drawing { public class Color32Tests { - private static readonly Color32 Black = new(0, 0, 0, 1); - private static readonly Color32 White = new(255, 255, 255, 1); - private static readonly Color32 Red = new(255, 0, 0, 1); - private static readonly Color32 Green = new(0, 255, 0, 1); - private static readonly Color32 Blue = new(0, 0, 255, 1); - private static readonly Color32 Cyan = new(0, 255, 255, 1); - private static readonly Color32 Magenta = new(255, 0, 255, 1); - private static readonly Color32 Yellow = new(255, 255, 0, 1); + private static readonly Color32 Black = new(0, 0, 0, 255); + private static readonly Color32 White = new(255, 255, 255, 255); + private static readonly Color32 Red = new(255, 0, 0, 255); + private static readonly Color32 Green = new(0, 255, 0, 255); + private static readonly Color32 Blue = new(0, 0, 255, 255); + private static readonly Color32 Cyan = new(0, 255, 255, 255); + private static readonly Color32 Magenta = new(255, 0, 255, 255); + private static readonly Color32 Yellow = new(255, 255, 0, 255); [UnityTest] public IEnumerator Inverted_ShouldReturnInvertedColor()