X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/236f657b6dab66f31f4902cecfc03b4673f5bb98..7cf5c72a6d353ed5a7e340562c11e54c21c85e5e:/struct/tests.at diff --git a/struct/tests.at b/struct/tests.at new file mode 100644 index 0000000..3ae7199 --- /dev/null +++ b/struct/tests.at @@ -0,0 +1,57 @@ +### -*-autotest-*- +### +### Test script for data structures +### +### (c) 2009 Straylight/Edgeware +### + +###----- Licensing notice --------------------------------------------------- +### +### This file is part of the mLib utilities library. +### +### mLib is free software; you can redistribute it and/or modify +### it under the terms of the GNU Library General Public License as +### published by the Free Software Foundation; either version 2 of the +### License, or (at your option) any later version. +### +### mLib 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 Library General Public License for more details. +### +### You should have received a copy of the GNU Library General Public +### License along with mLib; if not, write to the Free +### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, +### MA 02111-1307, USA. + +###-------------------------------------------------------------------------- +### Tests. + +## assoc +AT_SETUP([struct: assoc]) +AT_KEYWORDS([struct assoc]) +for seed in 0x58677213 0xdfcc2ff4 ""; do + $PYTHON SRCDIR/t/sym-gtest.py $seed + AT_CHECK([BUILDDIR/t/assoc.t