const assert = require("assert");
const fs = require("fs");
const path = require("path");

const source = fs.readFileSync(
  path.resolve(
    __dirname,
    "../../src/views/ccdiProject/components/detail/PreliminaryCheck.vue"
  ),
  "utf8"
);

assert(source.includes(".preliminary-check-container"), "缺少结果总览容器样式");
assert(source.includes("padding: 0 0 24px;"), "结果总览顶部间距应与其他页签统一");
