public void shouldReturnSizeWhenBaseHasSize(int expectedSize, int branchSize, String patern) { Trunk trunk = new Trunk(branchSize); int trunkSize = trunk.TrunkBaseLineSize; Assert.That(trunkSize, Is.EqualTo(expectedSize)); String resultPatern = trunk.ToString(); Assert.That(resultPatern, Is.EqualTo(patern)); }
private void BuildTreeObjects(out IList<Branch> branches, out Trunk trunk) { branches = GetBranches(treeSize); trunk = GetTrunk(branches[TreeSize - 1].BranchSize); }