Index: tests/Tesselations/Convex/cholesterol/pre/cholesterol.xyz
===================================================================
--- tests/Tesselations/Convex/cholesterol/pre/cholesterol.xyz	(revision 33ee9960e3c188eaa1d7490c6b14994fbd779863)
+++ tests/Tesselations/Convex/cholesterol/pre/cholesterol.xyz	(revision 33ee9960e3c188eaa1d7490c6b14994fbd779863)
@@ -0,0 +1,76 @@
+74
+NCI NSC 8798 5:6-Cholesten-3-ol
+C    0.5233   -2.9918    0.4529
+C   -0.5691   -1.9223    0.3925
+C   -0.3504   -1.0089   -0.8425
+C   -1.9207   -2.5721    0.1108
+C   -0.4881   -1.0286    1.6162
+C    1.1055   -0.5783   -0.8354
+C   -0.7624   -1.9351   -1.9917
+C   -3.0507   -1.7160    0.6863
+C   -2.0300   -2.6378   -1.4329
+C    0.9499   -0.4944    1.6888
+C    1.3301    0.2716    0.4281
+C    1.3697    0.3126   -2.0561
+C   -3.0696   -0.3571   -0.0164
+C   -4.3894   -2.4231    0.4654
+C    2.8009    0.6600    0.5172
+C    2.7188    0.9560   -1.9356
+C   -4.2243    0.4842    0.5311
+C    2.9310    1.8358    1.4876
+C    3.3535    1.0837   -0.8167
+C    3.6417   -0.4977    1.0504
+C   -4.2432    1.8431   -0.1716
+C    4.7486    1.6873   -0.8101
+C    5.0694   -0.3980    0.5148
+C   -5.3979    2.6844    0.3759
+C    5.5016    1.0566    0.3701
+C   -5.4168    4.0434   -0.3268
+C   -6.7216    1.9604    0.1218
+O    6.9077    1.1106    0.1214
+H    0.3612   -3.6280    1.3230
+H    0.4884   -3.5983   -0.4521
+H    1.4985   -2.5112    0.5308
+H   -1.0035   -0.1376   -0.7920
+H   -1.9534   -3.5752    0.5362
+H   -1.1883   -0.1990    1.5176
+H   -0.7165   -1.6046    2.5129
+H    1.7627   -1.4479   -0.8349
+H   -1.0030   -1.3584   -2.8848
+H    0.0217   -2.6629   -2.2008
+H   -2.8885   -1.5706    1.7543
+H   -2.0579   -3.6765   -1.7622
+H   -2.9259   -2.1146   -1.7672
+H    1.0353    0.1785    2.5420
+H    1.6325   -1.3323    1.8306
+H    0.7271    1.1770    0.3594
+H    1.3374   -0.2942   -2.9610
+H    0.6036    1.0859   -2.1126
+H   -2.1265    0.1587    0.1647
+H   -3.2034   -0.5041   -1.0881
+H   -5.1809   -1.8679    0.9687
+H   -4.6025   -2.4721   -0.6025
+H   -4.3385   -3.4329    0.8725
+H    3.1910    1.3217   -2.8354
+H   -5.1673   -0.0316    0.3501
+H   -4.0905    0.6312    1.6028
+H    2.8131    1.4776    2.5103
+H    3.9137    2.2936    1.3739
+H    2.1590    2.5738    1.2698
+H    3.6606   -0.4593    2.1396
+H    3.2007   -1.4419    0.7311
+H   -3.3002    2.3589    0.0094
+H   -4.3770    1.6962   -1.2433
+H    5.2593    1.4547   -1.7445
+H    4.6863    2.7674   -0.6775
+H    5.7460   -0.9031    1.2040
+H    5.1212   -0.8867   -0.4582
+H   -5.2641    2.8314    1.4476
+H    5.2727    1.6068    1.2828
+H   -6.2394    4.6427    0.0632
+H   -4.4738    4.5591   -0.1458
+H   -5.5506    3.8964   -1.3985
+H   -6.7081    0.9923    0.6224
+H   -7.5442    2.5597    0.5118
+H   -6.8554    1.8134   -0.9499
+H    7.1391    2.0447    0.0264
Index: tests/Tesselations/Convex/cholesterol/testsuite-cholesterol.at
===================================================================
--- tests/Tesselations/Convex/cholesterol/testsuite-cholesterol.at	(revision 33ee9960e3c188eaa1d7490c6b14994fbd779863)
+++ tests/Tesselations/Convex/cholesterol/testsuite-cholesterol.at	(revision 33ee9960e3c188eaa1d7490c6b14994fbd779863)
@@ -0,0 +1,40 @@
+#
+#    MoleCuilder - creates and alters molecular systems
+#    Copyright (C) 2008-2012 University of Bonn
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation, either version 3 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+### cholesterol
+
+AT_SETUP([Convex Tesselations - cholesterol])
+AT_KEYWORDS([tesselation convex-envelope])
+
+mol=cholesterol
+
+file=${mol}.xyz
+AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/Tesselations/Convex/${mol}/pre/$file $file], 0)
+AT_CHECK([chmod u+w $file], 0)
+
+for RADIUS in  2.5 5 25; do
+	output=ConvexEnvelope-${mol}-${RADIUS}.dat
+	AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --verbose 1 --convex-envelope ${RADIUS} --convex-file $output], 0, [stdout], [stderr])
+	AT_CHECK([grep -E "^[0-9]* [0-9]* [0-9]*$" ${abs_top_srcdir}/tests/Tesselations/Convex/${mol}/post/$output | sort -n >reference-triangles.dat], 0, [ignore], [ignore])
+	AT_CHECK([grep -E "^[0-9]* [0-9]* [0-9]*$" $output | sort -n >new-triangles.dat], 0, [ignore], [ignore])
+	AT_CHECK([diff reference-triangles.dat new-triangles.dat], 0, [ignore], [ignore])
+done
+
+AT_CLEANUP
+
+
+
