Browse Source

minor fix

pull/1687/head
Anton Firszov 5 years ago
parent
commit
19f3559b92
  1. 1
      tests/ImageSharp.Benchmarks/LoadResizeSave/LoadResizeSaveStressBenchmarks.cs
  2. 2
      tests/ImageSharp.Tests.ProfilingSandbox/LoadResizeSaveParallelMemoryStress.cs

1
tests/ImageSharp.Benchmarks/LoadResizeSave/LoadResizeSaveStressBenchmarks.cs

@ -6,6 +6,7 @@ using BenchmarkDotNet.Attributes;
namespace SixLabors.ImageSharp.Benchmarks.LoadResizeSave
{
// See README.md for instructions about initialization.
[MemoryDiagnoser]
[ShortRunJob]
public class LoadResizeSaveStressBenchmarks

2
tests/ImageSharp.Tests.ProfilingSandbox/LoadResizeSaveParallelMemoryStress.cs

@ -35,7 +35,7 @@ namespace SixLabors.ImageSharp.Tests.ProfilingSandbox
");
ConsoleKey key = Console.ReadKey().Key;
if (key < ConsoleKey.D1 || key > ConsoleKey.D7)
if (key < ConsoleKey.D1 || key > ConsoleKey.D6)
{
Console.WriteLine("Unrecognized command.");
return;

Loading…
Cancel
Save