FileDocCategorySizeDatePackage
TwoSecondIntersectionFinderTest.javaAPI Docmp4parser 1.0-RC-171138Wed Dec 19 20:10:21 GMT 2012com.googlecode.mp4parser.authoring.builder

TwoSecondIntersectionFinderTest

public class TwoSecondIntersectionFinderTest extends Object
Just check it works.

Fields Summary
long[]
samples
Constructors Summary
Methods Summary
public voidtestSampleNumbers()


    
         
        Movie m = MovieCreator.build(Channels.newChannel(TwoSecondIntersectionFinderTest.class.getResourceAsStream("/Beethoven - Bagatelle op.119 no.11 i.m4a")));
        TwoSecondIntersectionFinder intersectionFinder = new TwoSecondIntersectionFinder();
        long[] s = intersectionFinder.sampleNumbers(m.getTracks().get(0), m);
        Assert.assertArrayEquals(samples, s);