Hacker News new | past | comments | ask | show | jobs | submit
But the tests were transformed to the new language, they are not copied as-is.

Software patents would work as you describe, but not copyright.