diff --git a/SoundSwitch.Tests/VersionTest.cs b/SoundSwitch.Tests/VersionTest.cs new file mode 100644 index 0000000000..5a2b1badc7 --- /dev/null +++ b/SoundSwitch.Tests/VersionTest.cs @@ -0,0 +1,16 @@ +using FluentAssertions; +using NuGet.Versioning; +using NUnit.Framework; + +namespace SoundSwitch.Tests; +[TestFixture] +public class VersionTest +{ + [Test] + public void TestSemanticVersionBetaSmallerThanRelease() + { + var beta = SemanticVersion.Parse("1.0.0-beta.1"); + var release = SemanticVersion.Parse("1.0.0"); + beta.Should().BeLessThan(release); + } +} \ No newline at end of file