import java.util.Arrays; ...
Arrays.equals(array1, array2); On 9/21/05, Marvin Humphrey <[EMAIL PROTECTED]> wrote: > I wrote... > > > I don't see any junit tests which address IndexOutput directly. > > I'm going to create one unless someone points out a file or portion > > thereof that I've overlooked. > > It would be a lot easier to check the output of IndexOutput if JUnit > could compare byte arrays. :| > > I can loop through the arrays one byte at a time, performing an > assertEquals for each, I suppose. That seems kludgy to me. What's > standard practice? > > Marvin Humphrey > Rectangular Research > http://www.rectangular.com/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]