Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

testeq – An equality test for use in

This file pro­vides a gen­eral equal­ity test macro for ob­jects of any type based on code from Ap­pendix D of The book, but adapted for . Un­for­tu­nately it is no longer fully gen­eral, be­cause lacks the bitmap-ori­ented op­er­a­tions like cull and to­tal­weight, which are needed when test­ing for the equal­ity of two pic­tures.

A par­tic­u­lar use­ful fea­ture of this pack­age is the patheq macro to test for equal­ity of two paths. This might prove handy when pro­cess­ing data files with the graph pack­age, that con­tain data for an un­known num­ber of paths sep­a­rated by blank lines. In that case one might use patheq to check whether the last path read is ac­tu­ally the same as the first one, hav­ing started over from the be­gin­ning.

Sources/graphics/metapost/contrib/macros/misc/testeq.mp
Ver­sion1.05
Li­censeUn­known Sta­tus, No In­for­ma­tion Avail­able
Main­tainerUl­rik Vi­eth
Topics sup­port tools and macros for pro­gram­ming
Guest Book Sitemap Contact 2014-04-24 22:43 CEST