mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-07-02 11:16:55 +02:00
27 lines
729 B
C#
27 lines
729 B
C#
|
using NUnit.Framework;
|
|||
|
using System.Collections.Generic;
|
|||
|
using TINK.Model;
|
|||
|
using TINK.ViewModel.Map;
|
|||
|
|
|||
|
namespace TestTINKLib.Fixtures.ObjectTests
|
|||
|
{
|
|||
|
[TestFixture]
|
|||
|
public class TestFilterCollection
|
|||
|
{
|
|||
|
[Test]
|
|||
|
public void TestGetGroup()
|
|||
|
{
|
|||
|
var l_oFilterColl = new GroupFilterMapPage( new Dictionary<string, FilterState>
|
|||
|
{
|
|||
|
{ "TINK", FilterState.On },
|
|||
|
{ "Konrad", FilterState.On }
|
|||
|
});
|
|||
|
|
|||
|
var l_oFilterGroup = l_oFilterColl.GetGroup();
|
|||
|
Assert.AreEqual(2, l_oFilterGroup.Count);
|
|||
|
Assert.AreEqual("TINK", l_oFilterGroup[0]);
|
|||
|
Assert.AreEqual("Konrad", l_oFilterGroup[1]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|