Remotely/Tests/InstallerTests.cs
2020-02-26 16:01:34 -08:00

20 lines
523 B
C#

using Microsoft.VisualStudio.TestTools.UnitTesting;
using Remotely.Agent.Installer.Win.Services;
using System.Linq;
using System.Runtime.InteropServices;
namespace Remotely.Tests
{
[TestClass]
public class InstallerTests
{
[TestMethod]
public void CoreVersionTest()
{
var description = RuntimeInformation.FrameworkDescription;
var version = description.Split().Last();
Assert.AreEqual(InstallerService.CoreRuntimeVersion, version);
}
}
}