{
  "fromXYPoint": {
    "static": true,
    "testCases": [
      {
        "id": "CONFORMANCE-ACCOUNT-043",
        "description": "it should create an AccountKeyPublic instance from x and y points",
        "input": {
          "x": "0x022dfe0d7c496d954037ab15afd3352008f6c5bfe972850b7b321e96721f4bf1",
          "y": "0x1f7e6aa508dd50af53e190dcd4a2559aa1c3ef3f78b97b97e2928ac33e038464"
        },
        "expectedResult": {
          "status": "pass",
          "class": "AccountKeyPublic",
          "layer": "caver.account",
          "output": {
            "keyType": 2,
            "publicKey": "0x022dfe0d7c496d954037ab15afd3352008f6c5bfe972850b7b321e96721f4bf11f7e6aa508dd50af53e190dcd4a2559aa1c3ef3f78b97b97e2928ac33e038464"
          }
        }
      },
      {
        "id": "CONFORMANCE-ACCOUNT-044",
        "description": "it should throws an error because given x is invalid (1-byte short)",
        "input": {
          "x": "0x022dfe0d7c496d954037ab15afd3352008f6c5bfe972850b7b321e96721f4b",
          "y": "0x1f7e6aa508dd50af53e190dcd4a2559aa1c3ef3f78b97b97e2928ac33e038464"
        },
        "expectedResult": {
          "status": "fail",
          "errorMessage": "the given public key is not on curve",
          "errorMessageJs": "Invalid public key: 0x00022dfe0d7c496d954037ab15afd3352008f6c5bfe972850b7b321e96721f4b1f7e6aa508dd50af53e190dcd4a2559aa1c3ef3f78b97b97e2928ac33e038464"
        }
      }
    ]
  }
}