mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-14 09:33:22 +01:00
9e8bdde30c
Now implement mocked `HttpMessageHandler`s as recommended: https://stackoverflow.com/a/36427274/3976486
20 lines
393 B
C#
20 lines
393 B
C#
using System;
|
|
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
namespace Tgstation.Server.Common.Extensions.Tests
|
|
{
|
|
/// <summary>
|
|
/// Tests for <see cref="VersionExtensions"/>.
|
|
/// </summary>
|
|
[TestClass]
|
|
public sealed class TestVersionExtensions
|
|
{
|
|
[TestMethod]
|
|
public void TestSemver()
|
|
{
|
|
Assert.AreEqual(new Version(1, 2, 3), new Version(1, 2, 3, 4).Semver());
|
|
}
|
|
}
|
|
}
|