Unstable 1.8.4.0

This commit is contained in:
Markus Isberg
2025-03-12 12:56:27 +00:00
parent a4c3e868e4
commit a4a3427e4e
627 changed files with 29860 additions and 10018 deletions
@@ -1,10 +1,15 @@
#nullable enable
extern alias Client;
using System.Net;
using Barotrauma;
using Xunit;
using Barotrauma.Networking;
using FluentAssertions;
using Endpoint = Client::Barotrauma.Networking.Endpoint;
using LidgrenEndpoint = Client::Barotrauma.Networking.LidgrenEndpoint;
using SteamP2PEndpoint = Client::Barotrauma.Networking.SteamP2PEndpoint;
namespace TestProject;
public class EndpointParseTests
@@ -18,7 +23,7 @@ public class EndpointParseTests
Option<Endpoint>.Some(new LidgrenEndpoint(IPAddress.Loopback, 27015)),
options => options.RespectingRuntimeTypes());
}
[Fact]
public void TestLidgrenEndpointHostName()
{
@@ -28,7 +33,7 @@ public class EndpointParseTests
Option<Endpoint>.Some(new LidgrenEndpoint(IPAddress.Loopback, 27015)),
options => options.RespectingRuntimeTypes());
}
[Fact]
public void TestLidgrenAddress()
{
@@ -38,7 +43,7 @@ public class EndpointParseTests
Option<Address>.Some(new LidgrenAddress(IPAddress.Loopback)),
options => options.RespectingRuntimeTypes());
}
[Fact]
public void TestSteamP2PEndpoint()
{
@@ -48,7 +53,7 @@ public class EndpointParseTests
Option<Endpoint>.Some(new SteamP2PEndpoint(new SteamId(76561198977850505))),
options => options.RespectingRuntimeTypes());
}
[Fact]
public void TestSteamP2PAddress()
{