Remove method of Heap throws IndexOutOfRangeException

public void RemoveThrowsIndexOutOfRangeException4001281575269() { Heap<int> heap; bool b; heap = new Heap<int>(); b = heap.Remove(0); }

Id #11793 | Release: None | Updated: Aug 20 2010 at 4:14 AM by sthumma | Created: Aug 20 2010 at 4:14 AM by sthumma

AddBefore of DoublyLinkedList throws NullReferenceException

1. public void AddBeforeThrowsNullReferenceException6181281577058() { DoublyLinkedList<int> doublyLinkedList; doublyLinkedList = new DoublyLinkedList<int>(); ...

Id #11792 | Release: None | Updated: Aug 20 2010 at 4:16 AM by sthumma | Created: Aug 20 2010 at 4:13 AM by sthumma

AddAfter of DoublyLinkedList throws NullReferenceException

public void AddAfter101281577093() { DoublyLinkedList<int> doublyLinkedList; doublyLinkedList = new DoublyLinkedList<int>(); doublyLinkedList.AddLast(0);...

Id #11791 | Release: None | Updated: Aug 20 2010 at 4:12 AM by sthumma | Created: Aug 20 2010 at 4:12 AM by sthumma

CopyTo of BinarySearchTree throws ArgumentException

public void CopyToThrowsArgumentException3051281576371() { BinarySearchTree<int> binarySearchTree; binarySearchTree = new BinarySearchTree<int>(); binary...

Id #11790 | Release: None | Updated: Aug 20 2010 at 4:10 AM by sthumma | Created: Aug 20 2010 at 4:10 AM by sthumma

NullReferenceExceptions in BinarySearchTree

Following test cases throw NullReferenceExceptions BinarySearchTree. 1. public void RemoveThrowsNullReferenceException4301281576193() { BinarySearchTree<int> binarySearchTree...

Id #11789 | Release: None | Updated: Aug 20 2010 at 4:05 AM by sthumma | Created: Aug 20 2010 at 4:05 AM by sthumma

FormatException thrown by public methods in Algorithms namespace

1. public void ToBinaryThrowsFormatException1771281578009() { int i; i = Numbers.ToBinary(0); } 2. public void ToOctalThrowsFormatException1771281578040() { ...

Id #11788 | Release: None | Updated: Aug 20 2010 at 4:01 AM by sthumma | Created: Aug 20 2010 at 4:01 AM by sthumma

IndexOutOfRangeException thrown by public methods in Algorithms namespace

Following test cases throw IndexOutOfRangeException. 1. public void RadixSortThrowsIndexOutOfRangeException4131281576033() { IList<string> iList; string[] ss = new string...

Id #11787 | Release: None | Updated: Aug 20 2010 at 4:00 AM by sthumma | Created: Aug 20 2010 at 4:00 AM by sthumma

Overflow exceptions thrown in many classes from Algorithms namespace

Invoking public methods in Numbers class throws overflow exceptions due to not handling of specific scenarios as follows: 1. Number.Fibonacci(int.MaxValue) 2. Numbers.GreatestCommonDenominator(-1,...

Id #11786 | Release: None | Updated: Aug 20 2010 at 3:49 AM by sthumma | Created: Aug 20 2010 at 3:49 AM by sthumma

Return value not as expected. SinglyLinkedList class, Remove method

When the SinglyLinkedList<string> contains {“”,null} and item to remove is “\0”, Remove method returns true, when the expected return value is false.

Id #8858 | Release: None | Updated: Sep 27 2009 at 7:29 PM by mrmarri | Created: Sep 27 2009 at 7:29 PM by mrmarri

Return value not as expected. Heap class, Remove method

When the heap size < 4 and contains no item of value 0, the Remove method still returns true, when the expected return value is false [Test] public void testMethod() { Heap<int> actual = new Heap<i...

Id #8857 | Release: None | Updated: Sep 27 2009 at 7:27 PM by mrmarri | Created: Sep 27 2009 at 7:27 PM by mrmarri