package com.qmth.distributed.print;

import com.qmth.teachcloud.mark.entity.MarkStudent;
import com.qmth.teachcloud.mark.service.MarkStudentService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * 客观题统分
 */
@SpringBootTest
@RunWith(SpringRunner.class)
public class MarkCalcObjectiveScoreTest {
    @Autowired
    private MarkStudentService markStudentService;


    @Test
    public void calcObjectiveScore() {
        Long studentId = 457618481244798976l;
        MarkStudent markStudent = markStudentService.getById(studentId);
        markStudentService.calculateObjectiveScore(markStudent);
    }

}
