mmcloughlin / mathfmt

Document mathematical Go code beautifully
BSD 3-Clause "New" or "Revised" License
198 stars 4 forks source link

testing: literate poly1305 test case #2

Closed mmcloughlin closed 4 years ago

mmcloughlin commented 4 years ago

Since it sparked the idea in the first place, it would be good to have a test case based on @FiloSottile's literate poly1305 implementation.

https://blog.filippo.io/a-literate-go-implementation-of-poly1305/

mmcloughlin commented 4 years ago

https://github.com/golang/crypto/blob/69ecbb4d6d5dab05e49161c6e77ea40a030884e1/poly1305/sum_generic.go