Namespaces fixed

This commit is contained in:
Felix Weiß
2023-06-23 15:45:14 +02:00
parent 88ad175145
commit f5f1e3bea9
15 changed files with 63 additions and 87 deletions

View File

@@ -1,10 +1,7 @@
using Xunit;
using MewtocolNet;
using MewtocolNet.Registers;
using Xunit.Abstractions;
using MewtocolNet.Links;
using System.Collections;
using Xunit;
using Xunit.Abstractions;
namespace MewtocolTests {
@@ -12,12 +9,12 @@ namespace MewtocolTests {
private readonly ITestOutputHelper output;
public TestHelperExtensions (ITestOutputHelper output) {
public TestHelperExtensions(ITestOutputHelper output) {
this.output = output;
}
[Fact(DisplayName = nameof(MewtocolHelpers.ToBitString))]
public void ToBitStringGeneration () {
public void ToBitStringGeneration() {
var bitarr = new BitArray(16);
bitarr[2] = true;
@@ -31,7 +28,7 @@ namespace MewtocolTests {
}
[Fact(DisplayName = nameof(MewtocolHelpers.ToHexString))]
public void ToHexStringGeneration () {
public void ToHexStringGeneration() {
var bytes = new byte[6] {
0x10,
@@ -47,7 +44,7 @@ namespace MewtocolTests {
}
[Fact(DisplayName = nameof(MewtocolHelpers.ToHexASCIIBytes))]
public void ToHexASCIIBytesGeneration () {
public void ToHexASCIIBytesGeneration() {
string test = "Hello, world!";
@@ -70,7 +67,7 @@ namespace MewtocolTests {
}
[Fact(DisplayName = nameof(MewtocolHelpers.BuildBCCFrame))]
public void BuildBCCFrameGeneration () {
public void BuildBCCFrameGeneration() {
string test = "%01#RCSX0000";
string expect = "%01#RCSX00001D";
@@ -80,7 +77,7 @@ namespace MewtocolTests {
}
[Fact(DisplayName = nameof(MewtocolHelpers.ParseDTByteString))]
public void ParseDTByteStringGeneration () {
public void ParseDTByteStringGeneration() {
var testList = new List<string>() {
"1112",
@@ -97,7 +94,7 @@ namespace MewtocolTests {
}
[Fact(DisplayName = nameof(MewtocolHelpers.ParseRCSingleBit))]
public void ParseRCSingleBitGeneration () {
public void ParseRCSingleBitGeneration() {
Assert.True($"%01$RC1".BuildBCCFrame().ParseRCSingleBit());
Assert.False($"%01$RC0".BuildBCCFrame().ParseRCSingleBit());