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