Example #1
0
 public void TestAllocThrowsOnApiError()
 {
     Proc.Alloc(int.MaxValue);
 }
Example #2
0
        public void TestAllocFree()
        {
            IntPtr address = Proc.Alloc(1024);

            Proc.Free(address);
        }
Example #3
0
 public void TestAllocThrowsOnZeroCount()
 {
     Proc.Alloc(0);
 }