- convertTabsToSpaces
string convertTabsToSpaces(string line)
Undocumented in source. Be warned that the author may not have intended to support it.
- formatCode
string formatCode(string source, size_t focusLine, size_t radius)
Undocumented in source. Be warned that the author may not have intended to support it.
- formatDifferences
string formatDifferences(string expected, string received, bool not)
Returns a string showing the expected and received values. Ends
with a line separator.
- formatFailureMessage
string formatFailureMessage(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
- formatTypeDifferences
string formatTypeDifferences(TypeInfo expected, TypeInfo received, bool not)
Undocumented in source. Be warned that the author may not have intended to support it.
- humanReadableNumbers
string humanReadableNumbers(N[] numbers)
Converts an array of orderable elements into English.
- mergeOverlappingRanges
size_t[2][] mergeOverlappingRanges(size_t[2][] input)
Undocumented in source. Be warned that the author may not have intended to support it.
- prettyPrint
string prettyPrint(T value, bool skipColoring)
Prints the given value in a nice, human readable format. If
receiving a string, it will output the string with bold double
quotes indicating the start and end of the string. The returned
string will never start nor end with a line break.
- prettyPrintComparison
string prettyPrintComparison(real lhs, real rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
- prettyPrintHighlightedArray
string prettyPrintHighlightedArray(T arr, size_t[2][] ranges)
Undocumented in source. Be warned that the author may not have intended to support it.
- prettyPrintInheritanceTree
string prettyPrintInheritanceTree(TypeInfo typeInfo, int indentLevel)
Undocumented in source. Be warned that the author may not have intended to support it.
- prettyPrintTypeInfo
string prettyPrintTypeInfo(TypeInfo typeInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
- truncate
string truncate(string line, int length)
Undocumented in source. Be warned that the author may not have intended to support it.