GitSharp.Core.Util.IntList.size C# (CSharp) Method

size() public method

public size ( ) : int
return int
        public int size()
        {
            return count;
        }

Usage Example

示例#1
0
 public void testEmpty_SpecificCapacity()
 {
     IntList i = new IntList(5);
     Assert.AreEqual(0, i.size());
     try
     {
         i.get(0);
         Assert.Fail("Accepted 0 index on empty list");
     }
     catch (IndexOutOfRangeException)
     {
         Assert.IsTrue(true);
     }
 }
All Usage Examples Of GitSharp.Core.Util.IntList::size