4 ms·
To completely specify a program via tests, you've effectively written the program. You've also probably written somewhere around 2x the code the actual program
by falcolas 10y ago
To completely specify a program via tests, you've effectively written the program. You've also probably written somewhere around 2x the code the actual program would require as well.
I'd be more curious to see an AI write tests...
- marcosdumay 10y ago> ou've also probably written somewhere around 2x the code the actual program would require as well. If you go trough the easiest path, you just need to write the program and compare the results with the AI's ;) But if you go on a case by case basis, your work will grow exponentially with the program size, not a mere 2x.