24 lines
413 B
Go
24 lines
413 B
Go
![]() |
package config
|
||
|
|
||
|
import (
|
||
|
"SciencesServer/utils"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestMemory(t *testing.T) {
|
||
|
MemoryForIndustryInfo["01"] = &MemoryForIndustry{
|
||
|
Name: "01",
|
||
|
Children: map[string]*MemoryForIndustry{
|
||
|
"001": &MemoryForIndustry{
|
||
|
Name: "001",
|
||
|
Children: nil,
|
||
|
},
|
||
|
"002": &MemoryForIndustry{
|
||
|
Name: "002",
|
||
|
Children: nil,
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
t.Logf(utils.AnyToJSON(MemoryForIndustryInfo))
|
||
|
}
|