Skip to content

Commit 3a3e521

Browse files
Remove BytesToStringTest from FastStringBuilderTests
The BytesToStringTest method in FastStringBuilderTests.cs has been removed. This method was responsible for testing the BytesToString function of the FastStringBuilder class by generating a byte array, converting it to a string, and performing several assertions to ensure the conversion was successful.
1 parent 0352848 commit 3a3e521

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

source/Unit Tests/dotNetTips.Spargine.Core.Tests/FastStringBuilderTests.cs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,6 @@ public class FastStringBuilderTests
4444
/// </summary>
4545
private const int WordMinLength = 5;
4646

47-
/// <summary>
48-
/// Defines the test method BytesToStringTest.
49-
/// </summary>
50-
[TestMethod]
51-
public void BytesToStringTest()
52-
{
53-
var testData = RandomData.GenerateByteArray(1);
54-
55-
var result = FastStringBuilder.BytesToString(ref testData);
56-
57-
Assert.IsNotNull(result);
58-
59-
Assert.IsTrue(result.Length > 0);
60-
61-
Assert.IsNotNull(FastStringBuilder.BytesToString(null));
62-
}
63-
6447
/// <summary>
6548
/// Defines the test method CombineToStringTest.
6649
/// </summary>

0 commit comments

Comments
 (0)