public void TestExtractIdAndVersion2() { PluginArchiveLoader.ExtractIdAndVersion("Tailviewer.BrokenPlugin.3.2.tvp", out var id, out var version); id.Should().Be(new PluginId("Tailviewer.BrokenPlugin")); version.Should().Be(new Version(3, 2)); }
public void TestExtractIdAndVersion1() { PluginArchiveLoader.ExtractIdAndVersion("SamplePlugin.1.2.3.tvp", out var id, out var version); id.Should().Be(new PluginId("SamplePlugin")); version.Should().Be(new Version(1, 2, 3)); }