package es.uniovi.asw;

import static org.junit.Assert.*;

import java.util.List;

import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;

import es.uniovi.asw.model.Voter;
import es.uniovi.asw.parser.Parser;
import es.uniovi.asw.parser.RCensusExcel;

public class ValidateTest {

	
	@BeforeClass
	public static void initialize() {
		LoadUsers.main();
	}
	
	@Test
	public void test() {
		List<Voter> chequeados = new RCensusExcel().read("src/test/resources/testCheck.xlsx");
		for(Voter v:chequeados){
			System.out.println(v.getName());
		}
		//assertEquals(1,Parser.voterRepository.findByEmail("nauce@uniovi.es").size());

	}

}

@@ -639,16 +639,25 @@
 size());
+%0A%09%09//nada
 %0A%0A%09%7D%0A%0A%7D%0A

Update ValidateTest.java