AZ logo

Package testeq:
An equality test for use in MetaPost.

This file provides a general equality test macro for objects of any type based on code from Appendix D of The Metafont book, but adapted for Metapost. Unfortunately it is no longer fully general, because Metapost lacks the bitmap-oriented operations like cull and totalweight, which are needed when testing for the equality of two pictures.

A particular useful feature of this package is the patheq macro to test for equality of two paths. This might prove handy when processing data files with the Metapost graph package, that contain data for an unknown number of paths separated by blank lines. In that case one might use patheq to check whether the last path read is actually the same as the first one, having started over from the beginning.

Getting it

This package is not available from either major free distribution, MiKTeX or TeX Live.

You can visit testeq's CTAN directory to browse the source or download the material for installation.

More

Documentation on CTAN -none-
Documentation off CTAN -none known-
Maintainers
Ulrik Vieth
Version 1.05
License We don't know
Related packages -none recorded-
Keywords
MetaFont, Metapost
Characterizations
primary:
Graphics > MetaFont or Metapost

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.