/****************************************************************************** ** gorazor ******************************************************************************/ func TestComplexGorazor(t *testing.T) { result := gorazor.Index(testComplexUser, testComplexNav, testComplexTitle) if msg, ok := linesEquals(result, expectedtComplexResult); !ok { t.Error(msg) } }
func BenchmarkComplexGorazor(b *testing.B) { for i := 0; i < b.N; i++ { gorazor.Index(testComplexUser, testComplexNav, testComplexTitle) } }