InfiniteAlphabetSequence 1.0.6

Package Description

Install-Package InfiniteAlphabetSequence -Version 1.0.6
dotnet add package InfiniteAlphabetSequence --version 1.0.6
<PackageReference Include="InfiniteAlphabetSequence" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add InfiniteAlphabetSequence --version 1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

infinite-alphabet-sequence

Infinite alphabet sequence generator
e.g. A -> B -> C -> ..... -> Z -> AA -> AB.

Getting Started

If you need to get the next alphabet letter infinitely that's what you need.

Installing

Via nuget:

Install-Package InfiniteAlphabetSequence -Version 1.0.5

Unit tests

Tests created to simulate the possibilities.

[TestMethod]
public void WhenStringEmpty_ReturnFirstAlphabetLetter()
{
    var sequence = InfiniteAlphabetSequence.Generate("");
    Assert.AreEqual("A", sequence);
}

[TestMethod]
public void WhenLastAlphabetLetter_StartsFromTheBegining()
{
    var sequence = InfiniteAlphabetSequence.Generate("Z");
    Assert.AreEqual("AA", sequence);
}

[TestMethod]
public void IfSequenceWithOneCharacter_ReturnNextOfTheSequence()
{
    var sequence = InfiniteAlphabetSequence.Generate("G");
    Assert.AreEqual("H", sequence);
}

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

infinite-alphabet-sequence

Infinite alphabet sequence generator
e.g. A -> B -> C -> ..... -> Z -> AA -> AB.

Getting Started

If you need to get the next alphabet letter infinitely that's what you need.

Installing

Via nuget:

Install-Package InfiniteAlphabetSequence -Version 1.0.5

Unit tests

Tests created to simulate the possibilities.

[TestMethod]
public void WhenStringEmpty_ReturnFirstAlphabetLetter()
{
    var sequence = InfiniteAlphabetSequence.Generate("");
    Assert.AreEqual("A", sequence);
}

[TestMethod]
public void WhenLastAlphabetLetter_StartsFromTheBegining()
{
    var sequence = InfiniteAlphabetSequence.Generate("Z");
    Assert.AreEqual("AA", sequence);
}

[TestMethod]
public void IfSequenceWithOneCharacter_ReturnNextOfTheSequence()
{
    var sequence = InfiniteAlphabetSequence.Generate("G");
    Assert.AreEqual("H", sequence);
}

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.6 66 4/15/2020
1.0.5 128 11/21/2019
1.0.4 81 11/21/2019
1.0.3 85 11/21/2019
1.0.2 82 11/21/2019
1.0.0 89 11/20/2019