public void Clear_BasicSuccess() { var managed = new[] { 10, 8, 30, 20 }; var shared = new SharedArray <int>(managed); shared.Clear(); for (int i = 0; i < managed.Length; i++) { Assert.Zero(managed[i]); } }