mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
20 lines
523 B
C#
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);
|
|
}
|
|
}
|
|
}
|