2023-06-05 00:33:43 +01:00
|
|
|
import { describe, expect, it } from "vitest";
|
2020-10-10 13:41:26 +01:00
|
|
|
|
2022-06-26 23:26:42 +01:00
|
|
|
import { Formatter } from "@export/formatter";
|
2020-10-10 13:41:26 +01:00
|
|
|
import { MathSubSuperScriptProperties } from "./math-sub-super-script-function-properties";
|
|
|
|
|
|
|
|
describe("MathSubSuperScriptProperties", () => {
|
|
|
|
describe("#constructor()", () => {
|
|
|
|
it("should create a MathSubSuperScriptProperties with correct root key", () => {
|
|
|
|
const mathSubSuperScriptProperties = new MathSubSuperScriptProperties();
|
|
|
|
|
|
|
|
const tree = new Formatter().format(mathSubSuperScriptProperties);
|
|
|
|
expect(tree).to.deep.equal({
|
|
|
|
"m:sSubSupPr": {},
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|