This project contains a method HasMatchingBrackets,
public bool HasMatchingBrackets(string checkMe)
which takes a string and checks that every { has a corresponding }. If so, the method returns true. Otherwise, false is returned.
Tech stack:
- C#
- .Net Core 3.1
- MSTest
Project structure:
- JobNimbusLib - Business logic layer with the class SUT which has HasMatchingBrackets.
- JobNimbusLib.Tests - Test project for business logic layer