import assert from "node:assert/strict";
import { test } from 'vitest';

import { classifyUnitComplexity } from "../complexity-classifier.ts";

test("completion and validation units classify as standard or stronger", () => {
	for (const unitType of [
		"complete-slice",
		"complete-milestone",
		"run-uat",
		"validate-milestone",
	]) {
		const result = classifyUnitComplexity(unitType, "M001/S01", process.cwd());
		assert.equal(result.tier, "standard", `${unitType} should not be light`);
	}
});
