This repository has been archived by the owner. It is now read-only.

Dependency not interfered by others #6

Closed
yuest opened this Issue May 25, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@ghost
Contributor

ghost commented May 25, 2012

exports['Dependency not interfered by others (issue #6)'] = (test) ->
  depGraph.add 'Jia', 'Yi'
  depGraph.add 'Jia', 'Bing'
  depGraph.add 'Jia', 'Ding'
  depGraph.add 'Wu', 'Ding'
  test.deepEqual depGraph.getChain('Wu'), ['Ding']
  test.ok 'Jia' not in depGraph.getChain('Wu')
  test.done()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.