aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/BasicTests.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-11-01 11:30:21 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-11-01 11:30:21 +0100
commit516dfa48adbcbec0b2dc55dd33e1f96b89e2672a (patch)
treef7324defc7fe77a4e5acf141b36431808ce221f0 /Tests/BasicTests.cs
parent96e1c971f30b8141c5245d341a26fc92b972cfe1 (diff)
Use Dictionary to store color names
Diffstat (limited to 'Tests/BasicTests.cs')
-rw-r--r--Tests/BasicTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs
index 9340fe88..8d0a8026 100644
--- a/Tests/BasicTests.cs
+++ b/Tests/BasicTests.cs
@@ -98,7 +98,7 @@ namespace Tests
}
get { return List2; }
}
- IList<Color> testList = Color.ColorDic.ToList();
+ IList<Color> testList = Color.ColorDic.Values.ToList();
public IList<Color> TestList {
set{
testList = value;
@@ -131,7 +131,7 @@ namespace Tests
void OnClear (object sender, MouseButtonEventArgs e) => TestList = null;
- void OnLoadList (object sender, MouseButtonEventArgs e) => TestList = Color.ColorDic.ToList();
+ void OnLoadList (object sender, MouseButtonEventArgs e) => TestList = Color.ColorDic.Values.ToList();
protected override void OnLoad (EventArgs e)
{