CTAN Comprehensive TeX Archive Network

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.

Main­tainerUl­rik Vi­eth
Topics sup­port

Com­mu­nity Com­ments

Guest Book Sitemap Contact Contact Author