Different concentrations of solutes in a solution affect an organism's cells because of diffusion and osmosis. When the concentration of solute is higher inside of the cell than outside of the cell then water diffuses through the cell membrane into the cell. When the concentration of solute is higher outside of the cell than inside of the cell then water diffuses out of the cell membrane into the extracellular space. hope this helps:)
The test is great as they serve as the implied contract abut the code should do and the testing enables us to asset the quality of the correctness of the algorithm and is to be correct with the respect to the specification hence its essential to identify the boundary and proves that the program gives a correct output.