25 lines
813 B
C#
25 lines
813 B
C#
using MxGateway.Contracts;
|
|
|
|
namespace MxGateway.Client.Tests;
|
|
|
|
public sealed class MxGatewayClientContractInfoTests
|
|
{
|
|
/// <summary>Verifies that the client's gateway protocol version matches the shared contract definition.</summary>
|
|
[Fact]
|
|
public void GatewayProtocolVersion_MatchesSharedContract()
|
|
{
|
|
Assert.Equal(
|
|
GatewayContractInfo.GatewayProtocolVersion,
|
|
MxGatewayClientContractInfo.GatewayProtocolVersion);
|
|
}
|
|
|
|
/// <summary>Verifies that the client's worker protocol version matches the shared contract definition.</summary>
|
|
[Fact]
|
|
public void WorkerProtocolVersion_MatchesSharedContract()
|
|
{
|
|
Assert.Equal(
|
|
GatewayContractInfo.WorkerProtocolVersion,
|
|
MxGatewayClientContractInfo.WorkerProtocolVersion);
|
|
}
|
|
}
|