Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

render_example_test.gno

0.48 Kb · 27 lines
 1package sapin
 2
 3// ExampleRender pins the realm's Render output as a testable example.
 4func ExampleRender() {
 5	print(Render(""))
 6	// Output:
 7	// ```
 8	//          *
 9	//         ***
10	//        *****
11	//       *******
12	//        *****
13	//       *******
14	//      *********
15	//     ***********
16	//    *************
17	//      *********
18	//     ***********
19	//    *************
20	//   ***************
21	//  *****************
22	// *******************
23	//         |||
24	//         |||
25	//         |||
26	// ```
27}