mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-15 22:56:37 +01:00
29 lines
689 B
C#
29 lines
689 B
C#
using NUnit.Framework;
|
|
using TINK.Model.Map;
|
|
|
|
namespace TestShareeLib.Model.Map
|
|
{
|
|
[TestFixture]
|
|
internal class TestNullMapSpan
|
|
{
|
|
[Test]
|
|
public void TestCtor()
|
|
{
|
|
var mapSpan = MapSpanFactory.Create();
|
|
|
|
Assert.That(mapSpan.GetType(), Is.EqualTo(typeof(NullMapSpan)), "Object under test is not of expected type.");
|
|
|
|
Assert.That(
|
|
mapSpan.IsValid,
|
|
Is.False);
|
|
|
|
Assert.That(
|
|
mapSpan.Radius,
|
|
Is.EqualTo(double.NaN));
|
|
|
|
Assert.That(
|
|
mapSpan.Center.Longitude,
|
|
Is.EqualTo(double.NaN));
|
|
}
|
|
}
|
|
}
|