Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void testList() {
- def conn1 = Channel.one2one()
- def conn2 = Channel.one2one()
- def setsProducer = new GenerateSetsOfThree ( outChannel: conn1.out() )
- def L2S = new ListToStream ( inChannel: conn1.in(), outChannel: conn2.out() )
- def setsConsumer = new CreateSetsOfEightTest ( inChannel: conn2.in(), length: 8 )
- def testList = [ setsProducer, L2S, setsConsumer ]
- new PAR(testList).run()
- assertTrue(setsConsumer.testList.size() == setsConsumer.length)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement