示例#1
0
        public void Test()
        {
            var container = new OrderedMultiDictionary <string, float>();

            container.Add("hoge", 42f);
            Assert.AreEqual(42f, container["hoge"][0]);

            Assert.AreEqual(0, container["fuga"].Count);

            container.Add("hoge", 97f);

            Assert.False(container.Remove("piyo"));
            Assert.True(container.Remove("hoge"));
        }