From a5d0b474f55e5a65383d9cfb2abe9e7f8ad403ce Mon Sep 17 00:00:00 2001 From: Dillon Date: Fri, 5 May 2023 22:12:13 -0700 Subject: [PATCH] Put the plots in a subfolder so they can be more easily ignored --- Tests/Test.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tests/Test.cs b/Tests/Test.cs index bbc9568c..a439aeb1 100644 --- a/Tests/Test.cs +++ b/Tests/Test.cs @@ -173,7 +173,8 @@ public void PlotAll(string Title, Dictionary> Outputs) i.Value.Select((k, n) => new KeyValuePair(n, k)).ToArray()) { Name = i.Key.ToString() })); - p.Save(Title + ".bmp"); + System.IO.Directory.CreateDirectory("Plots"); + p.Save("Plots\\" + Title + ".bmp"); } } } \ No newline at end of file