Solidity get interface id and ERC165

To get interface id, use

type(ITest).interfaceId

Remember interfaceId = xor of all selectors (methods) name and param type, don't care to return type

For example:

=> bytes4: 0x00000000// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;