From 2cdd0ff644e2950d06560318b544eb1f97f564a2 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 17 May 2024 15:47:50 +0200 Subject: [PATCH] Fix test compilation --- Source/Engine/Tests/TestColor.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Engine/Tests/TestColor.cs b/Source/Engine/Tests/TestColor.cs index df1799b5b..8ba38ecf2 100644 --- a/Source/Engine/Tests/TestColor.cs +++ b/Source/Engine/Tests/TestColor.cs @@ -1,6 +1,7 @@ // Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. #if FLAX_TESTS +using System; using NUnit.Framework; namespace FlaxEngine.Tests @@ -41,7 +42,7 @@ namespace FlaxEngine.Tests [Test] public void TestHexConversion() { - String hex = Color.Blue.AlphaMultiplied(0.5f).ToHexString(); + string hex = Color.Blue.AlphaMultiplied(0.5f).ToHexString(); Color col1 = Color.FromHex(hex); Color col2 = Color.FromRGBA(0x0000FF7F); Assert.AreEqual((Color32)col1, (Color32)col2);