test file for c polygon generation