Testing

Testing is a public static class in the SMLimitless Namespace. It is home to temporary testing and benchmarking code, and can be used any time that things need to be tested. As such, the members change constantly, so only permanent members will be listed here.

Time
This method creates a System.Diagnostics.Stopwatch instance, starts it, performs the action of the action parameter, and returns the TimeSpan it took to perform the action. This code was contributed by Stack Overflow user Jon Skeet as an answer to a benchmarking question.

Time
This methods will return the time it took to do an action a certain number of iterations.