Adds PrettyPrint, PrettyPrintWithSeparator and EscapeForPrinting.

This commit is contained in:
2023-05-06 10:54:54 -07:00
parent 859e5761d4
commit fbfe4772e0
4 changed files with 786 additions and 0 deletions

15
BUILD
View File

@@ -20,3 +20,18 @@ cc_test(
],
)
cc_library(
name = "pretty_print",
srcs = ["pretty_print.cpp"],
hdrs = ["pretty_print.h"],
includes = ["pretty_print.h"],
)
cc_test(
name = "pretty_print_test",
srcs = ["pretty_print_test.cpp"],
deps = [
":pretty_print",
"@tinytest",
],
)