import com.emr.dto.ThreeDaysFileDto;
import com.emr.service.StatementService;
import com.emr.vo.ThreeDaysFileVo;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.io.File;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName text
 * @Description 测试类
 * @Author linjj
 * @Date 2024/1/15 9:36
 * @Version 1.0
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"classpath:config/applicationContext.xml"})

public class text {

    @Autowired
    StatementService statementService;

    @Test
    public void text(){
    }

    @Test
    public void text1(){

        int pollingNum = (int) Math.floor((double) 387 / (double) 50);
        for (int i=0;i<=pollingNum;i++){
            System.out.println(i);
        }
    }
}
