feat(Go-StudyExample):包方法重构
This commit is contained in:
@@ -6,13 +6,16 @@
|
||||
|
||||
package problem
|
||||
|
||||
import "fmt"
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
const (
|
||||
SIZE = 4
|
||||
)
|
||||
|
||||
func MatrixRotationTest() {
|
||||
func TestMatrixRotationTest(t *testing.T) {
|
||||
//矩阵旋转.....
|
||||
e := [SIZE][SIZE]int{{0, 1, 2, 3}, {4, 5, 6, 7}, {8, 9, 10, 11}, {12, 13, 14, 15}}
|
||||
MatrixRotation(e)
|
||||
Reference in New Issue
Block a user