Computation test cases written.