Class ILinksExtensions

Namespace
Platform.Data.Doublets.Tests
Assembly
Platform.Data.Doublets.dll

Represents the links extensions.

public static class ILinksExtensions
Inheritance
ILinksExtensions
Inherited Members

Methods

Runs the random creations using the specified links.

public static void RunRandomCreations<TLink>(this ILinks<TLink> links, ulong amountOfCreations) where TLink : IUnsignedNumber<TLink>

Parameters

links ILinks<TLink>

The links.

amountOfCreations ulong

The amount of creations.

Type Parameters

TLink

The link.

Runs the random deletions using the specified links.

public static void RunRandomDeletions<TLink>(this ILinks<TLink> links, TLink amountOfDeletions) where TLink : IUnsignedNumber<TLink>, IComparisonOperators<TLink, TLink, bool>

Parameters

links ILinks<TLink>

The links.

amountOfDeletions TLink

The amount of deletions.

Type Parameters

TLink

The link.

Runs the random searches using the specified links.

public static void RunRandomSearches<TLink>(this ILinks<TLink> links, ulong amountOfSearches) where TLink : IUnsignedNumber<TLink>

Parameters

links ILinks<TLink>

The links.

amountOfSearches ulong

The amount of searches.

Type Parameters

TLink

The link.

Tests the crud operations using the specified links.

public static void TestCRUDOperations<T>(this ILinks<T> links) where T : IUnsignedNumber<T>

Parameters

links ILinks<T>

The links.

Type Parameters

T

The .

public static void TestMultipleCreationsAndDeletions<TLinkAddress>(this ILinks<TLinkAddress> links, int numberOfOperations) where TLinkAddress : IUnsignedNumber<TLinkAddress>

Parameters

links ILinks<TLinkAddress>
numberOfOperations int

Type Parameters

TLinkAddress

Tests the multiple random creations and deletions using the specified links.

public static void TestMultipleRandomCreationsAndDeletions<TLink>(this ILinks<TLink> links, int maximumOperationsPerCycle) where TLink : IUnsignedNumber<TLink>

Parameters

links ILinks<TLink>

The links.

maximumOperationsPerCycle int

The maximum operations per cycle.

Type Parameters

TLink

The link.

Tests the raw numbers crud operations using the specified links.

public static void TestRawNumbersCRUDOperations<T>(this ILinks<T> links) where T : IUnsignedNumber<T>

Parameters

links ILinks<T>

The links.

Type Parameters

T

The .