#TDD Pig Latin
A translator from English to Pig Latin, written javascript.
Tests run from the command line using node. If you don't have node, you can get it [here](http://nodejs.org/ here).
Run the tests:
| randomByte = function() { | |
| return Math.round(Math.random()*256); | |
| } | |
| randomIp = function() { | |
| var ip = randomByte() +'.' + | |
| randomByte() +'.' + | |
| randomByte() +'.' + | |
| randomByte(); | |
| if (isPrivate(ip)) return randomIp(); |
#TDD Pig Latin
A translator from English to Pig Latin, written javascript.
Tests run from the command line using node. If you don't have node, you can get it [here](http://nodejs.org/ here).
Run the tests: