| 123456789101112131415161718192021 |
- const makeId = require("../../util/makeId");
- /**
- * @description 代码作业一次页面功能测试一个测试用例的基本信息
- * @typedef {Object} OneFunctionalSerializerType
- * @property {number | string} id 一个测试用例的id
- * @property {boolean} isPass 是否通过
- * @property {string} message 输出
- */
- /**
- * @description 生成代码作业一次页面功能测试一个测试用例的基本信息
- * @returns {OneFunctionalSerializerType}
- */
- module.exports = () => {
- return {
- id: makeId(),
- isPass: true,
- message: "输出错误,正确输出为3 0 1 2,您的输出为 1 0 2 3"
- };
- };
|