Beispiel #1
0
 public void NativeSortedMapTest()
 {
     using NativeSortedMap <int, char> map = new NativeSortedMap <int, char>(4);
     Assert.IsTrue(map.IsEmpty);
     Assert.IsTrue(map.IsValid);
     Assert.AreEqual(0, map.Length);
     Assert.AreEqual(4, map.Capacity);
 }
Beispiel #2
0
 internal Enumerator(ref NativeSortedMap <TKey, TValue> map)
 {
     _entries = map._buffer;
     _count   = map._count;
     _index   = -1;
 }