public string clearCommentTokens(string text)

Remove comment tokens

Example

clearCommentTokens should remove comment tokens

clearCommentTokens("// text").should.equal("text");
clearCommentTokens("///// text").should.equal("text");
clearCommentTokens("/+++ text").should.equal("text");
clearCommentTokens("/*** text").should.equal("text");
clearCommentTokens("/*** text ***/").should.equal("text");
clearCommentTokens("/+++ text +++/").should.equal("text");

public auto line

discoverTestCases should set the default test names

A module containing the default test discovery logic

Copyright

© 2017 Szabo Bogdan

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Szabo Bogdan

Variables

line
auto

Functions

clearCommentTokens

Classes

UnitTestDiscovery