31 references to DictionaryOfStringToInteger
Microsoft.AspNetCore.JsonPatch.Tests (31)
IntegrationTests\DictionaryIntegrationTest.cs (31)
17model.DictionaryOfStringToInteger["one"] = 1;
18model.DictionaryOfStringToInteger["two"] = 2;
31model.DictionaryOfStringToInteger["one"] = 1;
32model.DictionaryOfStringToInteger["two"] = 2;
40Assert.Equal(3, model.DictionaryOfStringToInteger.Count);
41Assert.Equal(1, model.DictionaryOfStringToInteger["one"]);
42Assert.Equal(2, model.DictionaryOfStringToInteger["two"]);
43Assert.Equal(3, model.DictionaryOfStringToInteger["three"]);
51model.DictionaryOfStringToInteger["one"] = 1;
52model.DictionaryOfStringToInteger["two"] = 2;
60Assert.Single(model.DictionaryOfStringToInteger);
61Assert.Equal(1, model.DictionaryOfStringToInteger["one"]);
69model.DictionaryOfStringToInteger["one"] = 1;
70model.DictionaryOfStringToInteger["two"] = 2;
78Assert.Single(model.DictionaryOfStringToInteger);
79Assert.Equal(1, model.DictionaryOfStringToInteger["two"]);
87model.DictionaryOfStringToInteger["one"] = 1;
88model.DictionaryOfStringToInteger["two"] = 2;
96Assert.Equal(2, model.DictionaryOfStringToInteger.Count);
97Assert.Equal(1, model.DictionaryOfStringToInteger["one"]);
98Assert.Equal(20, model.DictionaryOfStringToInteger["two"]);
106model.DictionaryOfStringToInteger["one"] = 1;
107model.DictionaryOfStringToInteger["two"] = 2;
115Assert.Equal(2, model.DictionaryOfStringToInteger.Count);
116Assert.Equal(1, model.DictionaryOfStringToInteger["one"]);
117Assert.Equal(1, model.DictionaryOfStringToInteger["two"]);
303model.DictionaryOfStringToInteger[key1] = value1;
304model.DictionaryOfStringToInteger[key2] = value2;
312Assert.Equal(2, model.DictionaryOfStringToInteger.Count);
313var actualValue1 = model.DictionaryOfStringToInteger[key1];
314var actualValue2 = model.DictionaryOfStringToInteger[key2];