(b *testing.B)
| 85 | } |
| 86 | |
| 87 | func BenchmarkString(b *testing.B) { |
| 88 | // Create a sample matrix for benchmarking |
| 89 | rows := 100 |
| 90 | columns := 100 |
| 91 | m := matrix.New(rows, columns, 0) // Replace with appropriate values |
| 92 | |
| 93 | for i := 0; i < b.N; i++ { |
| 94 | _ = m.String() |
| 95 | } |
| 96 | } |