Package Test.Lines

Source Code of Test.Lines.NumberLines

package Test.Lines;

import Methods.Lines.Lines;
import Package.Files.ReaderFile;
import java.io.FileNotFoundException;
import java.io.IOException;
import static org.junit.Assert.*;
import org.junit.Test;

public class NumberLines {
   
    public NumberLines(){
    }
   
    @Test
    public void NumberLines() throws FileNotFoundException, IOException{
        ReaderFile reader = new ReaderFile("src/Class/Classes.java");
        Lines numlines = new Lines(reader);
        assertEquals(numlines.getCount(), 75);
    }
   
}
TOP

Related Classes of Test.Lines.NumberLines

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.