Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //generates words to be used with http://www.wordle.net
- //copy the output of the script to http://www.wordle.net/create and enjoy
- //first number decides on the weight of words in the same line
- // in the example above "unit tests" will be printed with font 5 times bigger than "Ant"
- def words = [
- [5, ["unit tests",]],
- [4, ["TDD", "BDD"]],
- [3, ["TestNG", "JUnit", "Mockito", "EasyMock", "JMock"]],
- [2, ["Fest", "Hamcrest", "ReportNG", "Cobertura", "Clover"]],
- [1, ["Ant", "Maven", "Gradle", "Intellij IDEA", "Eclipse"]]
- ]
- for (line in words) {
- for (j in 1..line[1].size) {
- for (i in 1..line[0]) {
- print line[1][j-1].replace(" ", " ")
- print ","
- }
- }
- println ""
- }
Add Comment
Please, Sign In to add comment