Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add a failing test #3

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

No description provided.

Owner

TrevorBurnham commented Nov 3, 2011

Many thanks. I stripped the test down to just the key parts and did some renaming to get

depGraph.add 'Head', 'Neck'
depGraph.add 'Head', 'Heart'
depGraph.add 'Heart', 'Neck'
depGraph.add 'Neck', 'Shoulders'
test.deepEqual depGraph.getChain('Head'), ['Shoulders', 'Neck', 'Heart']
test.done()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment