Update unit tests for hpami add few extra cases

This commit is contained in:
Slava Bacherikov 2022-02-08 21:09:44 +02:00
parent ea85f539d4
commit e745165cbb

View file

@ -5,6 +5,9 @@ describe("HP AMI BIOS", () => {
expect(hpAMISolver("A7AF422F")).toEqual(["49163252"]); expect(hpAMISolver("A7AF422F")).toEqual(["49163252"]);
expect(hpAMISolver("12345678")).toEqual(["2ae211b4"]); expect(hpAMISolver("12345678")).toEqual(["2ae211b4"]);
expect(hpAMISolver("48A02676")).toEqual(["27545092"]); expect(hpAMISolver("48A02676")).toEqual(["27545092"]);
expect(hpAMISolver("B60BD282")).toEqual(["489b5bf9"]);
expect(hpAMISolver("757EDC82")).toEqual(["edfe2edd"]);
expect(hpAMISolver("7d94422f")).toEqual(["e4eea2c4"]);
}); });
it("Check crc32", () => { it("Check crc32", () => {
let crc = new Crc32(); let crc = new Crc32();