public void StaticState_TestingDataReads_CorrectValues()
        {
            // Arrange the static state object to test.
            StaticState s = HardCodedStateCreator.CreateTestStaticStateFromHardCode();

            // Test that it's working correctly.
            HardCodedStateCreator.CheckTestStaticState(s);
        }
        public void DefaultContactPointCalculator_RunOnHardCodedStaticState_ReturnsCorrectGroups()
        {
            StaticState s      = HardCodedStateCreator.CreateTestStaticStateFromHardCode();
            var         reader = s.ContactPointGroupsReader();

            IContactPointCalculator calculator = new DefaultContactPointCalculator();

            CollectionAssert.AreEquivalent(new HashSet <HashSet <int> > {
                new HashSet <int> {
                    1
                },
                new HashSet <int> {
                    3
                }
            }, reader(0));

            CollectionAssert.AreEquivalent(new HashSet <HashSet <int> > {
                new HashSet <int> {
                    5
                },
                new HashSet <int> {
                    0
                }
            }, reader(1));

            CollectionAssert.AreEquivalent(new HashSet <HashSet <int> > {
                new HashSet <int> {
                    1
                },
                new HashSet <int> {
                    5
                }
            }, reader(2));

            CollectionAssert.AreEquivalent(new HashSet <HashSet <int> > {
                new HashSet <int> {
                    6
                }
            }, reader(8));

            CollectionAssert.AreEquivalent(new HashSet <HashSet <int> > {
                new HashSet <int> {
                    5
                }
            }, reader(6));
        }