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() {