package com.ruoyi;

import cn.hutool.json.JSONUtil;
import com.ruoyi.service.MatrixService;
import com.ruoyi.web.response.MatrixResponse;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.ArrayList;

@SpringBootTest
public class MatrixTest {

    @Autowired
    private MatrixService matrixService;
    @Test
    public void generateMatrixTest() {
        MatrixResponse matrix = matrixService.getMatrix();
        System.out.println(JSONUtil.toJsonPrettyStr(matrix));
    }

}