public void It_Should_Copy_Values() { var dict = new LiquidHash { { "key", LiquidString.Create("test") } }; var x = new KeyValuePair <string, Option <ILiquidValue> > [1]; dict.CopyTo(x, 0); Assert.Single(x); }
public void It_Should_Copy_Values() { var dict = new LiquidHash { { "key", LiquidString.Create("test") } }; var x = new KeyValuePair <string, Option <ILiquidValue> > [1]; dict.CopyTo(x, 0); Assert.That(x.Length, Is.EqualTo(1)); }