mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-24 21:56:29 +02:00
Contact page shows operator specific info
This commit is contained in:
parent
e436e83c1d
commit
a58c33f005
51 changed files with 948 additions and 221 deletions
|
@ -10,17 +10,20 @@ namespace TestTINKLib.Fixtures.ObjectTests.Station
|
|||
[Test]
|
||||
public void TestConstruct()
|
||||
{
|
||||
var l_oNull = new NullStation();
|
||||
var nullStation = new NullStation();
|
||||
|
||||
// Was -1 before swiching type of id from int to string when switching from COPRI version v4.0 to v4.1
|
||||
Assert.That(
|
||||
l_oNull.Id,
|
||||
nullStation.Id,
|
||||
Is.Null);
|
||||
|
||||
Assert.AreEqual(0, l_oNull.Group.ToList().Count);
|
||||
Assert.AreEqual(string.Empty, l_oNull.StationName);
|
||||
Assert.IsNaN(l_oNull.Position.Latitude);
|
||||
Assert.IsNaN(l_oNull.Position.Longitude);
|
||||
Assert.AreEqual(0, nullStation.Group.ToList().Count);
|
||||
Assert.AreEqual(string.Empty, nullStation.StationName);
|
||||
Assert.IsNaN(nullStation.Position.Latitude);
|
||||
Assert.IsNaN(nullStation.Position.Longitude);
|
||||
Assert.That(
|
||||
nullStation.OperatorData,
|
||||
Is.Not.Null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue