mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-15 14:46:39 +01:00
27 lines
608 B
C#
27 lines
608 B
C#
|
using NUnit.Framework;
|
|||
|
using TINK.Model;
|
|||
|
using TINK.Model.Map;
|
|||
|
|
|||
|
namespace TestShareeLib.Model.Map
|
|||
|
{
|
|||
|
[TestFixture]
|
|||
|
public class TestMapSpanFactory
|
|||
|
{
|
|||
|
[Test]
|
|||
|
public void TestCreatePositon()
|
|||
|
{
|
|||
|
Assert.That(
|
|||
|
MapSpanFactory.Create(PositionFactory.Create(12, 13), 11).GetType(),
|
|||
|
Is.EqualTo(typeof(MapSpan)));
|
|||
|
}
|
|||
|
|
|||
|
[Test]
|
|||
|
public void TestCreateNullPositon()
|
|||
|
{
|
|||
|
Assert.That(
|
|||
|
MapSpanFactory.Create().GetType(),
|
|||
|
Is.EqualTo(typeof(NullMapSpan)));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|