import { describe, it, expect } from "@normalized:N&&&@ohos/hypium/index&1.0.25";
import { SignAction } from "@normalized:N&&&tencentqianwebview/src/main/ets/model/SignAction&1.0.0";
import { SignResultStatus } from "@normalized:N&&&tencentqianwebview/src/main/ets/model/SignResultStatus&1.0.0";
/**
 * SignAction / SignResultStatus 常量值验证。
 *
 * 与 docs/qianapp-protocol.md §3 已知值表对齐。
 */
export default function signActionTest() {
    describe('SignAction & SignResultStatus', () => {
        it('SignAction_FILL_equalsFill', 0, () => {
            expect(SignAction.FILL).assertEqual('fill');
        });
        it('SignAction_SIGN_equalsSign', 0, () => {
            expect(SignAction.SIGN).assertEqual('sign');
        });
        it('SignAction_REJECT_FILL_equalsRejectFill', 0, () => {
            expect(SignAction.REJECT_FILL).assertEqual('reject_fill');
        });
        it('SignAction_REJECT_SIGN_equalsRejectSign', 0, () => {
            expect(SignAction.REJECT_SIGN).assertEqual('reject_sign');
        });
        it('SignAction_VIEW_equalsView', 0, () => {
            expect(SignAction.VIEW).assertEqual('view');
        });
        it('SignResultStatus_SUCCESS_equalsSuccess', 0, () => {
            expect(SignResultStatus.SUCCESS).assertEqual('success');
        });
        it('SignResultStatus_FAIL_equalsFail', 0, () => {
            expect(SignResultStatus.FAIL).assertEqual('fail');
        });
    });
}
