All pastes #810684 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-12-10 04:19 UTC
rendered paste body
Method:
	public void prune(Fink other)
	{
		
		if (random.nextInt( 2 )== 0)
		{
		this.lastPruned = true;
		other.prunedBy(this);
		}
		else
			this.lastPruned = false;
	}
Test call:
			setUp();
			tinoTest.prune(otherFink);
			assertTrue( "I pruned other", tinoTest.lastPruned() == false);
			}