Beispiel #1
0
        public void EqualsTest()
        {
            string basePath = "C:\\Development Projects\\ENN\\TestSuite\\TestFiles\\";

            Dictionary <string, IUserObjectFactory> factory = new Dictionary <string, IUserObjectFactory>();

            factory.Add("standard", new StandLibFactory());
            factory.Add("TestBinary", new TestUserBinary.TestBinary());

            NetworkSettings settings = Settings.Load(basePath + "testSettings.nns");

            NetworkTopology target = Topology.Load(
                basePath + "testTopology.nnt", ref factory, ref settings);
            bool expected = true;
            bool actual;

            actual = target.Equals(target);
            Assert.AreEqual(expected, actual);
        }