Example #1
0
		public virtual void GetAllIdsShouldIncludeArrayIndices()
		{
			NativeArray array = new NativeArray(new string[] { "a", "b" });
			object[] expectedIds = new object[] { 0, 1, "length" };
			object[] actualIds = array.GetAllIds();
			Assert.AssertArrayEquals(expectedIds, actualIds);
		}