pnegri/uuid-js — pull request #2 by ctavan (2011-11-12 12:10:42+00:00)
Title: Some basic unit-tests

Hej Patrick,

I've started to write some tests. However they only cover the basic interface so far, so I don't really test, whether the generated uuid's (especially the v1 ones) actually make sense. I guess I have to dive a lot deeper into the subject for that.

Also not all methods are covered yet, but I think it's a start and better than no tests.

I've also linted the main code a little bit, where however it's mostly styling stuff that I've changed to be closer to the node.js core code formatting. If you don't like these style changes, just kick them out.

I might continue writing some more tests during the next few days and I'd be glad about some feedbacks and especially about you opinion on which parts of the lib need the most care?

I also might write some benchmark to test preformance against other js-based uuid-generators.

Cheers,
Christoph