Unit Testing Triangle