Esempio n. 1
0
        public void SetNormalArrayWithOffsetWorks()
        {
            var arr = new Int32Array(6);

            arr.Set(new[] { 3, 6, 7 }, 2);
            AssertContent(arr, new[] { 0, 0, 3, 6, 7, 0 }, "Content");
        }
Esempio n. 2
0
        public void SetNormalArrayWorks()
        {
            var arr = new Int32Array(4);

            arr.Set(new[] { 3, 6, 7 });
            AssertContent(arr, new[] { 3, 6, 7, 0 }, "Content");
        }
		public void SetNormalArrayWithOffsetWorks() {
			var arr = new Int32Array(6);
			arr.Set(new[] { 3, 6, 7 }, 2);
			AssertContent(arr, new[] { 0, 0, 3, 6, 7, 0 }, "Content");
		}
		public void SetNormalArrayWorks() {
			var arr = new Int32Array(4);
			arr.Set(new[] { 3, 6, 7 });
			AssertContent(arr, new[] { 3, 6, 7, 0 }, "Content");
		}