Show / Hide Table of Contents

Class ExponentialSearchTests

Tests methods in ExponentialSearch class.

Inheritance
System.Object
ExponentialSearchTests
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AlgorithmsAndDataStructuresTests.Algorithms.Search
Assembly: AlgorithmsAndDataStructuresTests.dll
Syntax
[TestClass]
public class ExponentialSearchTests

Methods

| Improve this Doc View Source

Search_DistinctElements()

Tests the correctness of Exponential search algorithm on an array with distinct elements. To visualize step by step how Exponential Search finds a distinct element (int value of 3) in List see: .

Declaration
[TestMethod]
public void Search_DistinctElements()
| Improve this Doc View Source

Search_DuplicateElements()

Tests the correctness of Exponential search algorithm on an array with duplicate elements. To visualize step by step how Exponential Search finds a duplicate element (int value of 90) in List see: .

Declaration
[TestMethod]
public void Search_DuplicateElements()
| Improve this Doc View Source

Search_NotExistingElements()

Tests the correctness of Exponential search algorithm when the key does not exist in the array. To visualize step by step how Exponential Search terminates without finding a missing element (int value of 15) in List see: .

Declaration
[TestMethod]
public void Search_NotExistingElements()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX