From 4b0617449dbbc98c4190df2fc1e22b647feaadda Mon Sep 17 00:00:00 2001 From: Mingbo Peng Date: Mon, 22 Apr 2024 16:57:06 -0400 Subject: [PATCH] fix(test): fix test --- src/LadybugDisplaySchema.Tests/Model/FromJsonTests.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/LadybugDisplaySchema.Tests/Model/FromJsonTests.cs b/src/LadybugDisplaySchema.Tests/Model/FromJsonTests.cs index 6f5ef8b..49abc1f 100644 --- a/src/LadybugDisplaySchema.Tests/Model/FromJsonTests.cs +++ b/src/LadybugDisplaySchema.Tests/Model/FromJsonTests.cs @@ -118,13 +118,14 @@ public void VisualizationDataWithStringValuesTest() "2.6", "0.6", "-4", - "21" + "21", + "N/A" }; var vData = new VisualizationData(data, null); var legend = vData.LegendParameters; - Assert.IsTrue(legend.OrdinalDictionary == null); - Assert.IsTrue(legend.HasNoneColor(out _)); + Assert.IsTrue(legend.OrdinalDictionary != null); + Assert.IsTrue(legend.HasNaNColor(out _)); data = new List() {