Skip to content

Commit

Permalink
Remove placeholder tests (#1183)
Browse files Browse the repository at this point in the history
* Remove placeholder tests

* Move Reverse perf test to benchmarks project

---------

Co-authored-by: Wojciech Nagórski <[email protected]>
  • Loading branch information
Rob-Hague and WojciechNagorski authored Oct 14, 2023
1 parent 91d1ed2 commit 0e9b518
Show file tree
Hide file tree
Showing 121 changed files with 34 additions and 7,848 deletions.
27 changes: 27 additions & 0 deletions src/Renci.SshNet.Benchmarks/Common/ExtensionsBenchmarks.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
using BenchmarkDotNet.Attributes;

using Renci.SshNet.Common;

namespace Renci.SshNet.Benchmarks.Common
{
public class ExtensionsBenchmarks
{
private byte[]? _data;

[Params(1000, 10000)]
public int N;

[GlobalSetup]
public void Setup()
{
_data = new byte[N];
new Random(42).NextBytes(_data);
}

[Benchmark]
public byte[] Reverse()
{
return _data.Reverse();
}
}
}
29 changes: 0 additions & 29 deletions src/Renci.SshNet.Tests/Classes/CipherInfoTest.cs

This file was deleted.

136 changes: 0 additions & 136 deletions src/Renci.SshNet.Tests/Classes/Common/AsyncResultTest.cs

This file was deleted.

173 changes: 0 additions & 173 deletions src/Renci.SshNet.Tests/Classes/Common/DerDataTest.cs

This file was deleted.

Loading

0 comments on commit 0e9b518

Please sign in to comment.