Skip to content

Commit 8393fc6

Browse files
committed
Moved Color.Mix test into NET10 API block
1 parent 25a9139 commit 8393fc6

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

components/Helpers/tests/Test_ColorHelper.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,6 @@ public void Test_ColorHelper_AlphaOver()
213213
Assert.AreEqual(Colors.Red.AlphaOver(Colors.Blue, 0.5), Color.FromArgb(255, 128, 0, 128));
214214
}
215215

216-
[TestCategory("Helpers")]
217-
[TestMethod]
218-
public void Test_ColorHelper_Mix()
219-
{
220-
Assert.AreEqual(Color.Mix(Colors.White, Colors.Black, 0.6625), Colors.DarkGray);
221-
}
222-
223216
[TestCategory("Helpers")]
224217
[TestMethod]
225218
public void Test_ColorHelper_WithHue()
@@ -250,6 +243,13 @@ public void Test_ColorHelper_WithLightness()
250243

251244
#if NET10_0_OR_GREATER
252245

246+
[TestCategory("Helpers")]
247+
[TestMethod]
248+
public void Test_ColorHelper_Mix()
249+
{
250+
Assert.AreEqual(Color.Mix(Colors.White, Colors.Black, 0.6625), Colors.DarkGray);
251+
}
252+
253253
[TestCategory("Helpers")]
254254
[TestMethod]
255255
public void Test_ColorHelper_Add()

0 commit comments

Comments
 (0)