Exemplo n.º 1
0
        internal static CampusCache GetMapNode1Node2CampusCache()
        {
            Dictionary <string, Dictionary <string, float> > testNodes = new Dictionary <string, Dictionary <string, float> >();

            testNodes.Add("node1", new Dictionary <string, float>());
            testNodes["node1"].Add("node2", 20);

            CampusCache campusCache = new CampusCache();

            campusCache.SetCampusMap("map", new CampusMapBLL(new CampusMap()
            {
                nodes = testNodes
            }));
            return(campusCache);
        }