add test::unit for triangle