lorem_test.go 466 B

12345678910111213141516171819202122
  1. // Copyright 2012 Derek A. Rhodes. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package lorem
  5. import "testing"
  6. import "log"
  7. func TestAll(t *testing.T) {
  8. for i := 1; i < 14; i++ {
  9. log.Print(word(i))
  10. for j := 1; j < 14; j++ {
  11. log.Print(Word(i, j))
  12. log.Print(Sentence(i, j))
  13. log.Print(Paragraph(i, j))
  14. }
  15. log.Print(Url())
  16. log.Print(Host())
  17. log.Print(Email())
  18. }
  19. }