public void 拷貝SafeDictionary_從Index0開始拷貝_拷貝的結果應該與SafeDictionary相同() { var safeDictionary = new SafeDictionary <int, int>(); var fixture = new Fixture(); safeDictionary.AddMany(fixture.Create <KeyValuePair <int, int> >, 3); var array = new KeyValuePair <int, int> [3]; safeDictionary.CopyTo(array, 0); array.SequenceEqual(safeDictionary).Should().Be(true); }