Package org.encog.app.quant.ninja

Examples of org.encog.app.quant.ninja.NinjaFileConvert


    }

    public void testConvert() throws IOException
    {
        generateTestFileHeadings(true);
        NinjaFileConvert norm = new NinjaFileConvert();
        norm.analyze(INPUT_NAME, true, CSVFormat.ENGLISH);
        norm.process(OUTPUT_NAME);

        BufferedReader tr = new BufferedReader(new FileReader(OUTPUT_NAME));

        Assert.assertEquals("20100101 000000;10;12;8;9;1000",tr.readLine());
        Assert.assertEquals("20100102 000000;9;17;7;15;1000", tr.readLine());
View Full Code Here


    }

    public void testConvert() throws IOException
    {
        generateTestFileHeadings(true);
        NinjaFileConvert norm = new NinjaFileConvert();
        norm.analyze(INPUT_NAME, true, CSVFormat.ENGLISH);
        norm.process(OUTPUT_NAME);

        BufferedReader tr = new BufferedReader(new FileReader(OUTPUT_NAME));

        Assert.assertEquals("20100101 000000;10;12;8;9;1000",tr.readLine());
        Assert.assertEquals("20100102 000000;9;17;7;15;1000", tr.readLine());
View Full Code Here

TOP

Related Classes of org.encog.app.quant.ninja.NinjaFileConvert

Copyright © 2018 www.massapicom. 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.