Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove placeholder tests #1183

Merged
merged 6 commits into from
Oct 14, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Common;
Expand All @@ -21,7 +20,7 @@ public void Empty()
Assert.AreEqual(0, actual.Length);
}

[TestInitialize]
[TestMethod]
public void Null()
{
const byte[] value = null;
Expand Down Expand Up @@ -61,24 +60,6 @@ public void Small()
Assert.AreEqual(1, value[4]);
Assert.AreEqual(0, value[5]);
}

[TestMethod]
[Ignore]
public void Perf_Large()
Rob-Hague marked this conversation as resolved.
Show resolved Hide resolved
{
var value = new byte[2048];
new Random().NextBytes(value);

var stopwatch = Stopwatch.StartNew();

for (var i = 0; i < 1000000; i++)
{
Extensions.Reverse(value);
}

stopwatch.Stop();
Console.WriteLine(stopwatch.ElapsedMilliseconds);
}
}
}

Loading