You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
580 B
24 lines
580 B
7 years ago
|
using System;
|
||
|
using FluentAssertions;
|
||
|
using NUnit.Framework;
|
||
|
using NzbDrone.Mono.EnvironmentInfo;
|
||
|
using NzbDrone.Test.Common;
|
||
|
|
||
|
namespace NzbDrone.Mono.Test.EnvironmentInfo
|
||
|
{
|
||
|
[TestFixture]
|
||
|
[Platform("Mono")]
|
||
|
public class MonoPlatformInfoFixture : TestBase<MonoPlatformInfo>
|
||
|
{
|
||
|
[Test]
|
||
|
public void should_get_framework_version()
|
||
|
{
|
||
|
Subject.Version.Major.Should().BeOneOf(4, 5);
|
||
|
if (Subject.Version.Major == 4)
|
||
|
{
|
||
|
Subject.Version.Minor.Should().BeOneOf(0, 5, 6);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|