public static void TestIdxOutBounds() { var array = new Eina.Array <int>(); array.Add(4); Test.AssertRaises <ArgumentOutOfRangeException>(() => array.At(1)); Test.AssertRaises <ArgumentOutOfRangeException>(() => array.At(-1)); Test.AssertNotRaises <ArgumentOutOfRangeException> (() => array.At(array.IndexOf(4))); }