mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-06-05 07:16:35 +02:00
27 lines
605 B
C#
27 lines
605 B
C#
using System.Collections.Generic;
|
|
using NUnit.Framework;
|
|
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]);
|
|
}
|
|
}
|
|
}
|