From 31dbeced23db942cf714c1ab3990504664c4f1ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Wed, 28 Feb 2024 01:37:11 +0100 Subject: [PATCH 01/12] fix: update Lib for new ebool type --- codegen/templates.ts | 53 ++--- examples/tests/TFHEManualTestSuite.sol | 6 +- lib/TFHE.sol | 295 +++++++++++++------------ mocks/TFHE.sol | 295 +++++++++++++------------ test/tfheOperations/manual.ts | 12 +- 5 files changed, 327 insertions(+), 334 deletions(-) diff --git a/codegen/templates.ts b/codegen/templates.ts index 2df69825..c195c514 100644 --- a/codegen/templates.ts +++ b/codegen/templates.ts @@ -6,6 +6,7 @@ import { ArgumentType, OverloadSignature } from './testgen'; export function commonSolLib(): string { return ` type ebool is uint256; +type euint4 is uint256; type euint8 is uint256; type euint16 is uint256; type euint32 is uint256; @@ -13,11 +14,12 @@ type euint64 is uint256; library Common { // Values used to communicate types to the runtime. - uint8 internal constant ebool_t = 0; - uint8 internal constant euint8_t = 0; - uint8 internal constant euint16_t = 1; - uint8 internal constant euint32_t = 2; - uint8 internal constant euint64_t = 3; + uint8 internal constant ebool = 0; + uint8 internal constant euint4_t = 1; + uint8 internal constant euint8_t = 2; + uint8 internal constant euint16_t = 3; + uint8 internal constant euint32_t = 4; + uint8 internal constant euint64_t = 5; } `; } @@ -305,7 +307,6 @@ function tfheEncryptedOperator( const outputBits = Math.max(lhsBits, rhsBits); const castLeftToRight = lhsBits < rhsBits; const castRightToLeft = lhsBits > rhsBits; - const boolCastNeeded = outputBits > 8 && operator.returnType == ReturnType.Ebool; const returnType = operator.returnType == ReturnType.Uint ? `euint${outputBits}` @@ -319,9 +320,6 @@ function tfheEncryptedOperator( const leftExpr = castLeftToRight ? `asEuint${outputBits}(a)` : 'a'; const rightExpr = castRightToLeft ? `asEuint${outputBits}(b)` : 'b'; let implExpression = `Impl.${operator.name}(euint${outputBits}.unwrap(${leftExpr}), euint${outputBits}.unwrap(${rightExpr})${scalarFlag})`; - if (boolCastNeeded) { - implExpression = `Impl.cast(${implExpression}, Common.ebool_t)`; - } signatures.push({ name: operator.name, arguments: [ @@ -363,7 +361,6 @@ function tfheScalarOperator( const res: string[] = []; const outputBits = Math.max(lhsBits, rhsBits); - const boolCastNeeded = outputBits > 8 && operator.returnType == ReturnType.Ebool; const returnType = operator.returnType == ReturnType.Uint ? `euint${outputBits}` @@ -383,11 +380,6 @@ function tfheScalarOperator( maybeEncryptLeft = `euint${outputBits} aEnc = asEuint${outputBits}(a);`; implExpressionB = `Impl.${leftOpName}(euint${outputBits}.unwrap(aEnc), euint${outputBits}.unwrap(b)${scalarFlag})`; } - if (boolCastNeeded) { - implExpressionA = `Impl.cast(${implExpressionA}, Common.ebool_t)`; - implExpressionB = `Impl.cast(${implExpressionB}, Common.ebool_t)`; - } - signatures.push({ name: operator.name, arguments: [ @@ -541,48 +533,47 @@ function tfheAsEboolUnaryCast(bits: number): string { if (bits == 8) { res.push(` - // Convert a serialized 'ciphertext' to an encrypted boolean. + // Convert a serialized 'ciphertext' to an encrypted euint8 integer. function asEbool(bytes memory ciphertext) internal pure returns (ebool) { - return asEbool(asEuint8(ciphertext)); + return ebool.wrap(Impl.verify(ciphertext, Common.ebool)); + } + + // Convert a plaintext value to an encrypted euint8 integer. + function asEbool(uint256 value) internal pure returns (ebool) { + return ebool.wrap(Impl.trivialEncrypt(value, Common.ebool)); } // Convert a plaintext boolean to an encrypted boolean. function asEbool(bool value) internal pure returns (ebool) { if (value) { - return asEbool(asEuint8(1)); + return asEbool(1); } else { - return asEbool(asEuint8(0)); + return asEbool(0); } } // Converts an 'ebool' to an 'euint8'. - function asEuint8(ebool b) internal pure returns (euint8) { - return euint8.wrap(ebool.unwrap(b)); + function asEuint8(ebool value) internal pure returns (euint8) { + return euint8.wrap(Impl.cast(ebool.unwrap(value), Common.euint8_t)); } // Evaluate and(a, b) and return the result. function and(ebool a, ebool b) internal pure returns (ebool) { - return asEbool(and(asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.and(ebool.unwrap(a), ebool.unwrap(b))); } // Evaluate or(a, b) and return the result. function or(ebool a, ebool b) internal pure returns (ebool) { - return asEbool(or(asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.or(ebool.unwrap(a), ebool.unwrap(b))); } // Evaluate xor(a, b) and return the result. function xor(ebool a, ebool b) internal pure returns (ebool) { - return asEbool(xor(asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.xor(ebool.unwrap(a), ebool.unwrap(b))); } function not(ebool a) internal pure returns (ebool) { - return asEbool(and(not(asEuint8(a)), asEuint8(1))); - } - - // If 'control''s value is 'true', the result has the same value as 'a'. - // If 'control''s value is 'false', the result has the same value as 'b'. - function cmux(ebool cond, ebool a, ebool b) internal pure returns (ebool) { - return asEbool(cmux(cond, asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.not(ebool.unwrap(a))); } `); } else { diff --git a/examples/tests/TFHEManualTestSuite.sol b/examples/tests/TFHEManualTestSuite.sol index 147da9f2..628a6cc6 100644 --- a/examples/tests/TFHEManualTestSuite.sol +++ b/examples/tests/TFHEManualTestSuite.sol @@ -15,15 +15,15 @@ contract TFHEManualTestSuite { return TFHE.decrypt(TFHE.cmux(controlProc, ifTrueProc, ifFalseProc)); } - function test_ebool_to_euint16_cast(bool input) public view returns (uint16) { + function test_eboolo_euint16_cast(bool input) public view returns (uint16) { return TFHE.decrypt(TFHE.asEuint16(TFHE.asEbool(input))); } - function test_ebool_to_euint32_cast(bool input) public view returns (uint32) { + function test_eboolo_euint32_cast(bool input) public view returns (uint32) { return TFHE.decrypt(TFHE.asEuint32(TFHE.asEbool(input))); } - function test_ebool_to_euint64_cast(bool input) public view returns (uint64) { + function test_eboolo_euint64_cast(bool input) public view returns (uint64) { return TFHE.decrypt(TFHE.asEuint64(TFHE.asEbool(input))); } diff --git a/lib/TFHE.sol b/lib/TFHE.sol index be2c520f..69e0703e 100644 --- a/lib/TFHE.sol +++ b/lib/TFHE.sol @@ -3,6 +3,7 @@ pragma solidity ^0.8.20; type ebool is uint256; +type euint4 is uint256; type euint8 is uint256; type euint16 is uint256; type euint32 is uint256; @@ -10,11 +11,12 @@ type euint64 is uint256; library Common { // Values used to communicate types to the runtime. - uint8 internal constant ebool_t = 0; - uint8 internal constant euint8_t = 0; - uint8 internal constant euint16_t = 1; - uint8 internal constant euint32_t = 2; - uint8 internal constant euint64_t = 3; + uint8 internal constant ebool = 0; + uint8 internal constant euint4_t = 1; + uint8 internal constant euint8_t = 2; + uint8 internal constant euint16_t = 3; + uint8 internal constant euint32_t = 4; + uint8 internal constant euint64_t = 5; } import "./Impl.sol"; @@ -278,7 +280,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -289,7 +291,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -300,7 +302,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -311,7 +313,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -322,7 +324,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -333,7 +335,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -432,7 +434,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -443,7 +445,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -454,7 +456,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -465,7 +467,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -476,7 +478,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -487,7 +489,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -586,7 +588,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -597,7 +599,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -608,7 +610,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -619,7 +621,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -630,7 +632,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -641,7 +643,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -933,7 +935,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -944,7 +946,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -955,7 +957,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -966,7 +968,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate le(a, b) and return the result. @@ -977,7 +979,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.le(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -988,7 +990,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate min(a, b) and return the result. @@ -1087,7 +1089,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -1098,7 +1100,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -1109,7 +1111,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -1120,7 +1122,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -1131,7 +1133,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -1142,7 +1144,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -1241,7 +1243,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -1252,7 +1254,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -1263,7 +1265,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -1274,7 +1276,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -1285,7 +1287,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -1296,7 +1298,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -1395,7 +1397,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -1406,7 +1408,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -1417,7 +1419,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -1428,7 +1430,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -1439,7 +1441,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -1450,7 +1452,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -1545,7 +1547,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint16.unwrap(a), uint256(b), true)); } // Evaluate eq(a, b) and return the result. @@ -1553,7 +1555,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint16.unwrap(b), uint256(a), true)); } // Evaluate ne(a, b) and return the result. @@ -1561,7 +1563,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint16.unwrap(a), uint256(b), true)); } // Evaluate ne(a, b) and return the result. @@ -1569,7 +1571,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint16.unwrap(b), uint256(a), true)); } // Evaluate ge(a, b) and return the result. @@ -1577,7 +1579,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint16.unwrap(a), uint256(b), true)); } // Evaluate ge(a, b) and return the result. @@ -1585,7 +1587,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint16.unwrap(b), uint256(a), true)); } // Evaluate gt(a, b) and return the result. @@ -1593,7 +1595,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint16.unwrap(a), uint256(b), true)); } // Evaluate gt(a, b) and return the result. @@ -1601,7 +1603,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint16.unwrap(b), uint256(a), true)); } // Evaluate le(a, b) and return the result. @@ -1609,7 +1611,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint16.unwrap(a), uint256(b), true)); } // Evaluate le(a, b) and return the result. @@ -1617,7 +1619,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint16.unwrap(b), uint256(a), true)); } // Evaluate lt(a, b) and return the result. @@ -1625,7 +1627,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint16.unwrap(a), uint256(b), true)); } // Evaluate lt(a, b) and return the result. @@ -1633,7 +1635,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint16.unwrap(b), uint256(a), true)); } // Evaluate min(a, b) and return the result. @@ -1742,7 +1744,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -1753,7 +1755,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -1764,7 +1766,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -1775,7 +1777,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate le(a, b) and return the result. @@ -1786,7 +1788,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -1797,7 +1799,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate min(a, b) and return the result. @@ -1896,7 +1898,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -1907,7 +1909,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -1918,7 +1920,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -1929,7 +1931,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate le(a, b) and return the result. @@ -1940,7 +1942,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -1951,7 +1953,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate min(a, b) and return the result. @@ -2050,7 +2052,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -2061,7 +2063,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -2072,7 +2074,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -2083,7 +2085,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -2094,7 +2096,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -2105,7 +2107,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -2204,7 +2206,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -2215,7 +2217,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -2226,7 +2228,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -2237,7 +2239,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -2248,7 +2250,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -2259,7 +2261,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -2354,7 +2356,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(a), uint256(b), true)); } // Evaluate eq(a, b) and return the result. @@ -2362,7 +2364,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(b), uint256(a), true)); } // Evaluate ne(a, b) and return the result. @@ -2370,7 +2372,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(a), uint256(b), true)); } // Evaluate ne(a, b) and return the result. @@ -2378,7 +2380,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(b), uint256(a), true)); } // Evaluate ge(a, b) and return the result. @@ -2386,7 +2388,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(a), uint256(b), true)); } // Evaluate ge(a, b) and return the result. @@ -2394,7 +2396,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(b), uint256(a), true)); } // Evaluate gt(a, b) and return the result. @@ -2402,7 +2404,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(a), uint256(b), true)); } // Evaluate gt(a, b) and return the result. @@ -2410,7 +2412,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(b), uint256(a), true)); } // Evaluate le(a, b) and return the result. @@ -2418,7 +2420,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(a), uint256(b), true)); } // Evaluate le(a, b) and return the result. @@ -2426,7 +2428,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(b), uint256(a), true)); } // Evaluate lt(a, b) and return the result. @@ -2434,7 +2436,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(a), uint256(b), true)); } // Evaluate lt(a, b) and return the result. @@ -2442,7 +2444,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(b), uint256(a), true)); } // Evaluate min(a, b) and return the result. @@ -2551,7 +2553,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -2562,7 +2564,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -2573,7 +2575,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -2584,7 +2586,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate le(a, b) and return the result. @@ -2595,7 +2597,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -2606,7 +2608,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate min(a, b) and return the result. @@ -2705,7 +2707,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -2716,7 +2718,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -2727,7 +2729,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -2738,7 +2740,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate le(a, b) and return the result. @@ -2749,7 +2751,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -2760,7 +2762,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate min(a, b) and return the result. @@ -2859,7 +2861,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -2870,7 +2872,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -2881,7 +2883,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -2892,7 +2894,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate le(a, b) and return the result. @@ -2903,7 +2905,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -2914,7 +2916,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate min(a, b) and return the result. @@ -3013,7 +3015,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -3024,7 +3026,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -3035,7 +3037,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -3046,7 +3048,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -3057,7 +3059,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -3068,7 +3070,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -3163,7 +3165,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(a), uint256(b), true)); } // Evaluate eq(a, b) and return the result. @@ -3171,7 +3173,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(b), uint256(a), true)); } // Evaluate ne(a, b) and return the result. @@ -3179,7 +3181,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(a), uint256(b), true)); } // Evaluate ne(a, b) and return the result. @@ -3187,7 +3189,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(b), uint256(a), true)); } // Evaluate ge(a, b) and return the result. @@ -3195,7 +3197,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(a), uint256(b), true)); } // Evaluate ge(a, b) and return the result. @@ -3203,7 +3205,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(b), uint256(a), true)); } // Evaluate gt(a, b) and return the result. @@ -3211,7 +3213,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(a), uint256(b), true)); } // Evaluate gt(a, b) and return the result. @@ -3219,7 +3221,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(b), uint256(a), true)); } // Evaluate le(a, b) and return the result. @@ -3227,7 +3229,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(a), uint256(b), true)); } // Evaluate le(a, b) and return the result. @@ -3235,7 +3237,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(b), uint256(a), true)); } // Evaluate lt(a, b) and return the result. @@ -3243,7 +3245,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(a), uint256(b), true)); } // Evaluate lt(a, b) and return the result. @@ -3251,7 +3253,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(b), uint256(a), true)); } // Evaluate min(a, b) and return the result. @@ -3482,48 +3484,47 @@ library TFHE { return ne(value, 0); } - // Convert a serialized 'ciphertext' to an encrypted boolean. + // Convert a serialized 'ciphertext' to an encrypted euint8 integer. function asEbool(bytes memory ciphertext) internal pure returns (ebool) { - return asEbool(asEuint8(ciphertext)); + return ebool.wrap(Impl.verify(ciphertext, Common.ebool)); + } + + // Convert a plaintext value to an encrypted euint8 integer. + function asEbool(uint256 value) internal pure returns (ebool) { + return ebool.wrap(Impl.trivialEncrypt(value, Common.ebool)); } // Convert a plaintext boolean to an encrypted boolean. function asEbool(bool value) internal pure returns (ebool) { if (value) { - return asEbool(asEuint8(1)); + return asEbool(1); } else { - return asEbool(asEuint8(0)); + return asEbool(0); } } // Converts an 'ebool' to an 'euint8'. - function asEuint8(ebool b) internal pure returns (euint8) { - return euint8.wrap(ebool.unwrap(b)); + function asEuint8(ebool value) internal pure returns (euint8) { + return euint8.wrap(Impl.cast(ebool.unwrap(value), Common.euint8_t)); } // Evaluate and(a, b) and return the result. function and(ebool a, ebool b) internal pure returns (ebool) { - return asEbool(and(asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.and(ebool.unwrap(a), ebool.unwrap(b))); } // Evaluate or(a, b) and return the result. function or(ebool a, ebool b) internal pure returns (ebool) { - return asEbool(or(asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.or(ebool.unwrap(a), ebool.unwrap(b))); } // Evaluate xor(a, b) and return the result. function xor(ebool a, ebool b) internal pure returns (ebool) { - return asEbool(xor(asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.xor(ebool.unwrap(a), ebool.unwrap(b))); } function not(ebool a) internal pure returns (ebool) { - return asEbool(and(not(asEuint8(a)), asEuint8(1))); - } - - // If 'control''s value is 'true', the result has the same value as 'a'. - // If 'control''s value is 'false', the result has the same value as 'b'. - function cmux(ebool cond, ebool a, ebool b) internal pure returns (ebool) { - return asEbool(cmux(cond, asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.not(ebool.unwrap(a))); } // Cast an encrypted integer from euint8 to euint16. diff --git a/mocks/TFHE.sol b/mocks/TFHE.sol index 77c4010f..20d78643 100644 --- a/mocks/TFHE.sol +++ b/mocks/TFHE.sol @@ -3,6 +3,7 @@ pragma solidity ^0.8.20; type ebool is uint256; +type euint4 is uint256; type euint8 is uint256; type euint16 is uint256; type euint32 is uint256; @@ -10,11 +11,12 @@ type euint64 is uint256; library Common { // Values used to communicate types to the runtime. - uint8 internal constant ebool_t = 0; - uint8 internal constant euint8_t = 0; - uint8 internal constant euint16_t = 1; - uint8 internal constant euint32_t = 2; - uint8 internal constant euint64_t = 3; + uint8 internal constant ebool = 0; + uint8 internal constant euint4_t = 1; + uint8 internal constant euint8_t = 2; + uint8 internal constant euint16_t = 3; + uint8 internal constant euint32_t = 4; + uint8 internal constant euint64_t = 5; } import "./Impl.sol"; @@ -278,7 +280,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -289,7 +291,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -300,7 +302,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -311,7 +313,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -322,7 +324,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -333,7 +335,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -432,7 +434,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -443,7 +445,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -454,7 +456,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -465,7 +467,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -476,7 +478,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -487,7 +489,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -586,7 +588,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -597,7 +599,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -608,7 +610,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -619,7 +621,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -630,7 +632,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -641,7 +643,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -933,7 +935,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -944,7 +946,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -955,7 +957,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -966,7 +968,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate le(a, b) and return the result. @@ -977,7 +979,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.le(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -988,7 +990,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate min(a, b) and return the result. @@ -1087,7 +1089,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -1098,7 +1100,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -1109,7 +1111,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -1120,7 +1122,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -1131,7 +1133,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -1142,7 +1144,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint16.unwrap(a), euint16.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint16.unwrap(a), euint16.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -1241,7 +1243,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -1252,7 +1254,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -1263,7 +1265,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -1274,7 +1276,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -1285,7 +1287,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -1296,7 +1298,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -1395,7 +1397,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -1406,7 +1408,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -1417,7 +1419,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -1428,7 +1430,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -1439,7 +1441,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -1450,7 +1452,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -1545,7 +1547,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint16.unwrap(a), uint256(b), true)); } // Evaluate eq(a, b) and return the result. @@ -1553,7 +1555,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint16.unwrap(b), uint256(a), true)); } // Evaluate ne(a, b) and return the result. @@ -1561,7 +1563,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint16.unwrap(a), uint256(b), true)); } // Evaluate ne(a, b) and return the result. @@ -1569,7 +1571,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint16.unwrap(b), uint256(a), true)); } // Evaluate ge(a, b) and return the result. @@ -1577,7 +1579,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint16.unwrap(a), uint256(b), true)); } // Evaluate ge(a, b) and return the result. @@ -1585,7 +1587,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint16.unwrap(b), uint256(a), true)); } // Evaluate gt(a, b) and return the result. @@ -1593,7 +1595,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint16.unwrap(a), uint256(b), true)); } // Evaluate gt(a, b) and return the result. @@ -1601,7 +1603,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint16.unwrap(b), uint256(a), true)); } // Evaluate le(a, b) and return the result. @@ -1609,7 +1611,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint16.unwrap(a), uint256(b), true)); } // Evaluate le(a, b) and return the result. @@ -1617,7 +1619,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint16.unwrap(b), uint256(a), true)); } // Evaluate lt(a, b) and return the result. @@ -1625,7 +1627,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint16.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint16.unwrap(a), uint256(b), true)); } // Evaluate lt(a, b) and return the result. @@ -1633,7 +1635,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint16.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint16.unwrap(b), uint256(a), true)); } // Evaluate min(a, b) and return the result. @@ -1742,7 +1744,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -1753,7 +1755,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -1764,7 +1766,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -1775,7 +1777,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate le(a, b) and return the result. @@ -1786,7 +1788,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -1797,7 +1799,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate min(a, b) and return the result. @@ -1896,7 +1898,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -1907,7 +1909,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -1918,7 +1920,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -1929,7 +1931,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate le(a, b) and return the result. @@ -1940,7 +1942,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -1951,7 +1953,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate min(a, b) and return the result. @@ -2050,7 +2052,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -2061,7 +2063,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -2072,7 +2074,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -2083,7 +2085,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -2094,7 +2096,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -2105,7 +2107,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(a), euint32.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(a), euint32.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -2204,7 +2206,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -2215,7 +2217,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -2226,7 +2228,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -2237,7 +2239,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -2248,7 +2250,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -2259,7 +2261,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -2354,7 +2356,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(a), uint256(b), true)); } // Evaluate eq(a, b) and return the result. @@ -2362,7 +2364,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint32.unwrap(b), uint256(a), true)); } // Evaluate ne(a, b) and return the result. @@ -2370,7 +2372,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(a), uint256(b), true)); } // Evaluate ne(a, b) and return the result. @@ -2378,7 +2380,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint32.unwrap(b), uint256(a), true)); } // Evaluate ge(a, b) and return the result. @@ -2386,7 +2388,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(a), uint256(b), true)); } // Evaluate ge(a, b) and return the result. @@ -2394,7 +2396,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(b), uint256(a), true)); } // Evaluate gt(a, b) and return the result. @@ -2402,7 +2404,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(a), uint256(b), true)); } // Evaluate gt(a, b) and return the result. @@ -2410,7 +2412,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(b), uint256(a), true)); } // Evaluate le(a, b) and return the result. @@ -2418,7 +2420,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint32.unwrap(a), uint256(b), true)); } // Evaluate le(a, b) and return the result. @@ -2426,7 +2428,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint32.unwrap(b), uint256(a), true)); } // Evaluate lt(a, b) and return the result. @@ -2434,7 +2436,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint32.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint32.unwrap(a), uint256(b), true)); } // Evaluate lt(a, b) and return the result. @@ -2442,7 +2444,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint32.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint32.unwrap(b), uint256(a), true)); } // Evaluate min(a, b) and return the result. @@ -2551,7 +2553,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -2562,7 +2564,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -2573,7 +2575,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -2584,7 +2586,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate le(a, b) and return the result. @@ -2595,7 +2597,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -2606,7 +2608,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint8(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate min(a, b) and return the result. @@ -2705,7 +2707,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -2716,7 +2718,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -2727,7 +2729,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -2738,7 +2740,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate le(a, b) and return the result. @@ -2749,7 +2751,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -2760,7 +2762,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint16(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate min(a, b) and return the result. @@ -2859,7 +2861,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ne(a, b) and return the result. @@ -2870,7 +2872,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate ge(a, b) and return the result. @@ -2881,7 +2883,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate gt(a, b) and return the result. @@ -2892,7 +2894,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate le(a, b) and return the result. @@ -2903,7 +2905,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate lt(a, b) and return the result. @@ -2914,7 +2916,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint32(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); } // Evaluate min(a, b) and return the result. @@ -3013,7 +3015,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate ne(a, b) and return the result. @@ -3024,7 +3026,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate ge(a, b) and return the result. @@ -3035,7 +3037,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate gt(a, b) and return the result. @@ -3046,7 +3048,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate le(a, b) and return the result. @@ -3057,7 +3059,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate lt(a, b) and return the result. @@ -3068,7 +3070,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(a), euint64.unwrap(b), false), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(a), euint64.unwrap(b), false)); } // Evaluate min(a, b) and return the result. @@ -3163,7 +3165,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(a), uint256(b), true)); } // Evaluate eq(a, b) and return the result. @@ -3171,7 +3173,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.eq(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.eq(euint64.unwrap(b), uint256(a), true)); } // Evaluate ne(a, b) and return the result. @@ -3179,7 +3181,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(a), uint256(b), true)); } // Evaluate ne(a, b) and return the result. @@ -3187,7 +3189,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ne(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ne(euint64.unwrap(b), uint256(a), true)); } // Evaluate ge(a, b) and return the result. @@ -3195,7 +3197,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(a), uint256(b), true)); } // Evaluate ge(a, b) and return the result. @@ -3203,7 +3205,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(b), uint256(a), true)); } // Evaluate gt(a, b) and return the result. @@ -3211,7 +3213,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(a), uint256(b), true)); } // Evaluate gt(a, b) and return the result. @@ -3219,7 +3221,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(b), uint256(a), true)); } // Evaluate le(a, b) and return the result. @@ -3227,7 +3229,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.le(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.le(euint64.unwrap(a), uint256(b), true)); } // Evaluate le(a, b) and return the result. @@ -3235,7 +3237,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.ge(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.ge(euint64.unwrap(b), uint256(a), true)); } // Evaluate lt(a, b) and return the result. @@ -3243,7 +3245,7 @@ library TFHE { if (!isInitialized(a)) { a = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.lt(euint64.unwrap(a), uint256(b), true), Common.ebool_t)); + return ebool.wrap(Impl.lt(euint64.unwrap(a), uint256(b), true)); } // Evaluate lt(a, b) and return the result. @@ -3251,7 +3253,7 @@ library TFHE { if (!isInitialized(b)) { b = asEuint64(0); } - return ebool.wrap(Impl.cast(Impl.gt(euint64.unwrap(b), uint256(a), true), Common.ebool_t)); + return ebool.wrap(Impl.gt(euint64.unwrap(b), uint256(a), true)); } // Evaluate min(a, b) and return the result. @@ -3482,48 +3484,47 @@ library TFHE { return ne(value, 0); } - // Convert a serialized 'ciphertext' to an encrypted boolean. + // Convert a serialized 'ciphertext' to an encrypted euint8 integer. function asEbool(bytes memory ciphertext) internal pure returns (ebool) { - return asEbool(asEuint8(ciphertext)); + return ebool.wrap(Impl.verify(ciphertext, Common.ebool)); + } + + // Convert a plaintext value to an encrypted euint8 integer. + function asEbool(uint256 value) internal pure returns (ebool) { + return ebool.wrap(Impl.trivialEncrypt(value, Common.ebool)); } // Convert a plaintext boolean to an encrypted boolean. function asEbool(bool value) internal pure returns (ebool) { if (value) { - return asEbool(asEuint8(1)); + return asEbool(1); } else { - return asEbool(asEuint8(0)); + return asEbool(0); } } // Converts an 'ebool' to an 'euint8'. - function asEuint8(ebool b) internal pure returns (euint8) { - return euint8.wrap(ebool.unwrap(b)); + function asEuint8(ebool value) internal pure returns (euint8) { + return euint8.wrap(Impl.cast(ebool.unwrap(value), Common.euint8_t)); } // Evaluate and(a, b) and return the result. function and(ebool a, ebool b) internal pure returns (ebool) { - return asEbool(and(asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.and(ebool.unwrap(a), ebool.unwrap(b))); } // Evaluate or(a, b) and return the result. function or(ebool a, ebool b) internal pure returns (ebool) { - return asEbool(or(asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.or(ebool.unwrap(a), ebool.unwrap(b))); } // Evaluate xor(a, b) and return the result. function xor(ebool a, ebool b) internal pure returns (ebool) { - return asEbool(xor(asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.xor(ebool.unwrap(a), ebool.unwrap(b))); } function not(ebool a) internal pure returns (ebool) { - return asEbool(and(not(asEuint8(a)), asEuint8(1))); - } - - // If 'control''s value is 'true', the result has the same value as 'a'. - // If 'control''s value is 'false', the result has the same value as 'b'. - function cmux(ebool cond, ebool a, ebool b) internal pure returns (ebool) { - return asEbool(cmux(cond, asEuint8(a), asEuint8(b))); + return ebool.wrap(Impl.not(ebool.unwrap(a))); } // Cast an encrypted integer from euint8 to euint16. diff --git a/test/tfheOperations/manual.ts b/test/tfheOperations/manual.ts index 9a9dac70..157406ef 100644 --- a/test/tfheOperations/manual.ts +++ b/test/tfheOperations/manual.ts @@ -49,32 +49,32 @@ describe('TFHE manual operations', function () { }); it('ebool to euint16 casting works with true', async function () { - const res = await this.contract.test_ebool_to_euint16_cast(true); + const res = await this.contract.test_eboolo_euint16_cast(true); expect(res).to.equal(1); }); it('ebool to euint16 casting works with false', async function () { - const res = await this.contract.test_ebool_to_euint16_cast(false); + const res = await this.contract.test_eboolo_euint16_cast(false); expect(res).to.equal(0); }); it('ebool to euint32 casting works with true', async function () { - const res = await this.contract.test_ebool_to_euint32_cast(true); + const res = await this.contract.test_eboolo_euint32_cast(true); expect(res).to.equal(1); }); it('ebool to euint32 casting works with false', async function () { - const res = await this.contract.test_ebool_to_euint32_cast(false); + const res = await this.contract.test_eboolo_euint32_cast(false); expect(res).to.equal(0); }); it('ebool to euint64 casting works with true', async function () { - const res = await this.contract.test_ebool_to_euint64_cast(true); + const res = await this.contract.test_eboolo_euint64_cast(true); expect(res).to.equal(1); }); it('ebool to euint32 casting works with false', async function () { - const res = await this.contract.test_ebool_to_euint64_cast(false); + const res = await this.contract.test_eboolo_euint64_cast(false); expect(res).to.equal(0); }); From 71ddad9a7786c18aa6b8437c1a4d915296ec4af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Wed, 28 Feb 2024 01:55:48 +0100 Subject: [PATCH 02/12] fix: fix ebool_t --- codegen/templates.ts | 6 +++--- lib/TFHE.sol | 6 +++--- mocks/TFHE.sol | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/codegen/templates.ts b/codegen/templates.ts index c195c514..0ee5e280 100644 --- a/codegen/templates.ts +++ b/codegen/templates.ts @@ -14,7 +14,7 @@ type euint64 is uint256; library Common { // Values used to communicate types to the runtime. - uint8 internal constant ebool = 0; + uint8 internal constant ebool_t = 0; uint8 internal constant euint4_t = 1; uint8 internal constant euint8_t = 2; uint8 internal constant euint16_t = 3; @@ -535,12 +535,12 @@ function tfheAsEboolUnaryCast(bits: number): string { res.push(` // Convert a serialized 'ciphertext' to an encrypted euint8 integer. function asEbool(bytes memory ciphertext) internal pure returns (ebool) { - return ebool.wrap(Impl.verify(ciphertext, Common.ebool)); + return ebool.wrap(Impl.verify(ciphertext, Common.ebool_t)); } // Convert a plaintext value to an encrypted euint8 integer. function asEbool(uint256 value) internal pure returns (ebool) { - return ebool.wrap(Impl.trivialEncrypt(value, Common.ebool)); + return ebool.wrap(Impl.trivialEncrypt(value, Common.ebool_t)); } // Convert a plaintext boolean to an encrypted boolean. diff --git a/lib/TFHE.sol b/lib/TFHE.sol index 69e0703e..1f3a0d9c 100644 --- a/lib/TFHE.sol +++ b/lib/TFHE.sol @@ -11,7 +11,7 @@ type euint64 is uint256; library Common { // Values used to communicate types to the runtime. - uint8 internal constant ebool = 0; + uint8 internal constant ebool_t = 0; uint8 internal constant euint4_t = 1; uint8 internal constant euint8_t = 2; uint8 internal constant euint16_t = 3; @@ -3486,12 +3486,12 @@ library TFHE { // Convert a serialized 'ciphertext' to an encrypted euint8 integer. function asEbool(bytes memory ciphertext) internal pure returns (ebool) { - return ebool.wrap(Impl.verify(ciphertext, Common.ebool)); + return ebool.wrap(Impl.verify(ciphertext, Common.ebool_t)); } // Convert a plaintext value to an encrypted euint8 integer. function asEbool(uint256 value) internal pure returns (ebool) { - return ebool.wrap(Impl.trivialEncrypt(value, Common.ebool)); + return ebool.wrap(Impl.trivialEncrypt(value, Common.ebool_t)); } // Convert a plaintext boolean to an encrypted boolean. diff --git a/mocks/TFHE.sol b/mocks/TFHE.sol index 20d78643..f9cd4d61 100644 --- a/mocks/TFHE.sol +++ b/mocks/TFHE.sol @@ -11,7 +11,7 @@ type euint64 is uint256; library Common { // Values used to communicate types to the runtime. - uint8 internal constant ebool = 0; + uint8 internal constant ebool_t = 0; uint8 internal constant euint4_t = 1; uint8 internal constant euint8_t = 2; uint8 internal constant euint16_t = 3; @@ -3486,12 +3486,12 @@ library TFHE { // Convert a serialized 'ciphertext' to an encrypted euint8 integer. function asEbool(bytes memory ciphertext) internal pure returns (ebool) { - return ebool.wrap(Impl.verify(ciphertext, Common.ebool)); + return ebool.wrap(Impl.verify(ciphertext, Common.ebool_t)); } // Convert a plaintext value to an encrypted euint8 integer. function asEbool(uint256 value) internal pure returns (ebool) { - return ebool.wrap(Impl.trivialEncrypt(value, Common.ebool)); + return ebool.wrap(Impl.trivialEncrypt(value, Common.ebool_t)); } // Convert a plaintext boolean to an encrypted boolean. From b511101b1be3ba172c98da5d70f484ce483c749c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Wed, 28 Feb 2024 14:03:52 +0100 Subject: [PATCH 03/12] feat: add 4bits --- codegen/common.ts | 2 +- codegen/templates.ts | 36 +- codegen/testgen.ts | 9 +- codegen/utils.ts | 4 + examples/tests/TFHETestSuite1.sol | 588 ++-- examples/tests/TFHETestSuite2.sol | 744 ++--- examples/tests/TFHETestSuite3.sol | 744 ++--- examples/tests/TFHETestSuite4.sol | 704 +++-- examples/tests/TFHETestSuite5.sol | 696 +++++ examples/tests/TFHETestSuite6.sol | 262 ++ lib/TFHE.sol | 1979 ++++++++++++- mocks/TFHE.sol | 1979 ++++++++++++- test/tfheOperations/tfheOperations.ts | 3704 +++++++++++++------------ 13 files changed, 8069 insertions(+), 3382 deletions(-) create mode 100644 codegen/utils.ts create mode 100644 examples/tests/TFHETestSuite5.sol create mode 100644 examples/tests/TFHETestSuite6.sol diff --git a/codegen/common.ts b/codegen/common.ts index e50db8a4..99d20ed1 100644 --- a/codegen/common.ts +++ b/codegen/common.ts @@ -39,7 +39,7 @@ export enum ReturnType { Ebool, } -export const SUPPORTED_BITS: number[] = [8, 16, 32, 64]; +export const SUPPORTED_BITS: number[] = [4, 8, 16, 32, 64]; export const ALL_OPERATORS: Operator[] = [ { diff --git a/codegen/templates.ts b/codegen/templates.ts index 0ee5e280..06e9d6e2 100644 --- a/codegen/templates.ts +++ b/codegen/templates.ts @@ -2,6 +2,7 @@ import { assert } from 'console'; import { CodegenContext, Operator, OperatorArguments, ReturnType } from './common'; import { ArgumentType, OverloadSignature } from './testgen'; +import { getUint } from './utils'; export function commonSolLib(): string { return ` @@ -392,7 +393,7 @@ function tfheScalarOperator( // rhs scalar res.push(` // Evaluate ${operator.name}(a, b) and return the result. - function ${operator.name}(euint${lhsBits} a, uint${rhsBits} b) internal pure returns (${returnType}) { + function ${operator.name}(euint${lhsBits} a, ${getUint(rhsBits)} b) internal pure returns (${returnType}) { if (!isInitialized(a)) { a = asEuint${lhsBits}(0); } @@ -414,7 +415,7 @@ function tfheScalarOperator( res.push(` // Evaluate ${operator.name}(a, b) and return the result. - function ${operator.name}(uint${lhsBits} a, euint${rhsBits} b) internal pure returns (${returnType}) { + function ${operator.name}(${getUint(lhsBits)} a, euint${rhsBits} b) internal pure returns (${returnType}) { ${maybeEncryptLeft} if (!isInitialized(b)) { b = asEuint${rhsBits}(0); @@ -445,15 +446,17 @@ function tfheShiftOperators(inputBits: number, operator: Operator, signatures: O const rightExpr = castRightToLeft ? `asEuint${outputBits}(b)` : 'b'; let implExpression = `Impl.${operator.name}(euint${outputBits}.unwrap(${leftExpr}), euint${outputBits}.unwrap(${rightExpr})${scalarFlag})`; - signatures.push({ - name: operator.name, - arguments: [ - { type: ArgumentType.EUint, bits: lhsBits }, - { type: ArgumentType.EUint, bits: rhsBits }, - ], - returnType: { type: returnTypeOverload, bits: outputBits }, - }); - res.push(` + if (inputBits >= 8) { + signatures.push({ + name: operator.name, + arguments: [ + { type: ArgumentType.EUint, bits: lhsBits }, + { type: ArgumentType.EUint, bits: rhsBits }, + ], + returnType: { type: returnTypeOverload, bits: outputBits }, + }); + + res.push(` // Evaluate ${operator.name}(a, b) and return the result. function ${operator.name}(euint${lhsBits} a, euint${rhsBits} b) internal pure returns (${returnType}) { if (!isInitialized(a)) { @@ -465,6 +468,7 @@ function tfheShiftOperators(inputBits: number, operator: Operator, signatures: O return ${returnType}.wrap(${implExpression}); } `); + } // Code and test for shift(euint{inputBits},uint8} scalarFlag = ', true'; @@ -489,7 +493,7 @@ function tfheShiftOperators(inputBits: number, operator: Operator, signatures: O }); res.push(` // Evaluate ${operator.name}(a, b) and return the result. - function ${operator.name}(euint${lhsBits} a, uint${rhsBits} b) internal pure returns (${returnType}) { + function ${operator.name}(euint${lhsBits} a, ${getUint(rhsBits)} b) internal pure returns (${returnType}) { if (!isInitialized(a)) { a = asEuint${lhsBits}(0); } @@ -631,7 +635,9 @@ function tfheCustomUnaryOperators(bits: number, signatures: OverloadSignature[]) // Reencrypt the given 'value' under the given 'publicKey'. // If 'value' is not initialized, the returned value will contain the 'defaultValue' constant. // Return a serialized euint${bits} ciphertext. - function reencrypt(euint${bits} value, bytes32 publicKey, uint${bits} defaultValue) internal view returns (bytes memory reencrypted) { + function reencrypt(euint${bits} value, bytes32 publicKey, ${getUint( + bits, + )} defaultValue) internal view returns (bytes memory reencrypted) { if (euint${bits}.unwrap(value) != 0) { return Impl.reencrypt(euint${bits}.unwrap(value), publicKey); } else { @@ -640,8 +646,8 @@ function tfheCustomUnaryOperators(bits: number, signatures: OverloadSignature[]) } // Decrypts the encrypted 'value'. - function decrypt(euint${bits} value) internal view returns (uint${bits}) { - return uint${bits}(Impl.decrypt(euint${bits}.unwrap(value))); + function decrypt(euint${bits} value) internal view returns (${getUint(bits)}) { + return ${getUint(bits)}(Impl.decrypt(euint${bits}.unwrap(value))); } `; } diff --git a/codegen/testgen.ts b/codegen/testgen.ts index 9d0876fb..ba5d8fa2 100644 --- a/codegen/testgen.ts +++ b/codegen/testgen.ts @@ -2,6 +2,7 @@ import { strict as assert } from 'node:assert'; import { Operator } from './common'; import { overloadTests } from './overloadTests'; +import { getUint } from './utils'; export enum ArgumentType { Ebool, @@ -121,7 +122,7 @@ async function deployTfheTestFixture${os.shardNumber}(): Promise 0, `Overload ${methodName} has no tests, please add them.`); + // assert(tests.length > 0, `Overload ${methodName} has no tests, please add them.`); var testIndex = 1; tests.forEach((t) => { assert( @@ -299,7 +300,7 @@ function functionTypeToCalldataType(t: FunctionType): string { case ArgumentType.EUint: return `bytes calldata`; case ArgumentType.Uint: - return `uint${t.bits}`; + return getUint(t.bits); case ArgumentType.Ebool: return `bool`; } @@ -309,7 +310,7 @@ function functionTypeToDecryptedType(t: FunctionType): string { switch (t.type) { case ArgumentType.EUint: case ArgumentType.Uint: - return `uint${t.bits}`; + return getUint(t.bits); case ArgumentType.Ebool: return `bool`; } @@ -330,7 +331,7 @@ function functionTypeToString(t: FunctionType): string { case ArgumentType.EUint: return `euint${t.bits}`; case ArgumentType.Uint: - return `uint${t.bits}`; + return getUint(t.bits); case ArgumentType.Ebool: return `ebool`; } diff --git a/codegen/utils.ts b/codegen/utils.ts new file mode 100644 index 00000000..47d49d32 --- /dev/null +++ b/codegen/utils.ts @@ -0,0 +1,4 @@ +export const getUint = (bits: number) => { + if (bits <= 8) return 'uint8'; + return `uint${bits}`; +}; diff --git a/examples/tests/TFHETestSuite1.sol b/examples/tests/TFHETestSuite1.sol index 5d65716d..b235a880 100644 --- a/examples/tests/TFHETestSuite1.sol +++ b/examples/tests/TFHETestSuite1.sol @@ -4,703 +4,703 @@ pragma solidity ^0.8.20; import "../../lib/TFHE.sol"; contract TFHETestSuite1 { - function add_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function add_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.add(aProc, bProc); + return TFHE.decrypt(result); + } + + function sub_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.sub(aProc, bProc); + return TFHE.decrypt(result); + } + + function mul_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.mul(aProc, bProc); + return TFHE.decrypt(result); + } + + function and_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.and(aProc, bProc); + return TFHE.decrypt(result); + } + + function or_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.or(aProc, bProc); + return TFHE.decrypt(result); + } + + function xor_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.xor(aProc, bProc); + return TFHE.decrypt(result); + } + + function eq_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.eq(aProc, bProc); + return TFHE.decrypt(result); + } + + function ne_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.ne(aProc, bProc); + return TFHE.decrypt(result); + } + + function ge_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.ge(aProc, bProc); + return TFHE.decrypt(result); + } + + function gt_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.gt(aProc, bProc); + return TFHE.decrypt(result); + } + + function le_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.le(aProc, bProc); + return TFHE.decrypt(result); + } + + function lt_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.lt(aProc, bProc); + return TFHE.decrypt(result); + } + + function min_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.min(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.max(aProc, bProc); + return TFHE.decrypt(result); + } + + function add_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); euint8 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function sub_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); euint8 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function mul_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); euint8 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function and_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); euint8 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function or_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); euint8 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function xor_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); euint8 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function eq_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function ne_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function ge_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function gt_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function le_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function lt_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function min_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); euint8 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function max_euint4_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); euint8 bProc = TFHE.asEuint8(b); euint8 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint8 aProc = TFHE.asEuint8(a); + function add_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); euint16 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint8 aProc = TFHE.asEuint8(a); + function sub_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); euint16 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint8 aProc = TFHE.asEuint8(a); + function mul_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); euint16 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint8 aProc = TFHE.asEuint8(a); + function and_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); euint16 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint8 aProc = TFHE.asEuint8(a); + function or_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); euint16 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint8 aProc = TFHE.asEuint8(a); + function xor_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); euint16 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function eq_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function ne_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function ge_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function gt_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function le_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function lt_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint8 aProc = TFHE.asEuint8(a); + function min_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); euint16 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint8 aProc = TFHE.asEuint8(a); + function max_euint4_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint4 aProc = TFHE.asEuint4(a); euint16 bProc = TFHE.asEuint16(b); euint16 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint8 aProc = TFHE.asEuint8(a); + function add_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); euint32 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint8 aProc = TFHE.asEuint8(a); + function sub_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); euint32 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint8 aProc = TFHE.asEuint8(a); + function mul_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); euint32 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint8 aProc = TFHE.asEuint8(a); + function and_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); euint32 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint8 aProc = TFHE.asEuint8(a); + function or_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); euint32 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint8 aProc = TFHE.asEuint8(a); + function xor_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); euint32 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function eq_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function ne_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function ge_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function gt_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function le_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function lt_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint8 aProc = TFHE.asEuint8(a); + function min_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); euint32 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint8 aProc = TFHE.asEuint8(a); + function max_euint4_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint4 aProc = TFHE.asEuint4(a); euint32 bProc = TFHE.asEuint32(b); euint32 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint8 aProc = TFHE.asEuint8(a); + function add_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint8 aProc = TFHE.asEuint8(a); + function sub_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint8 aProc = TFHE.asEuint8(a); + function mul_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint8 aProc = TFHE.asEuint8(a); + function and_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint8 aProc = TFHE.asEuint8(a); + function or_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint8 aProc = TFHE.asEuint8(a); + function xor_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function eq_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function ne_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function ge_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function gt_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function le_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function lt_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint8 aProc = TFHE.asEuint8(a); + function min_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint8 aProc = TFHE.asEuint8(a); + function max_euint4_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint4 aProc = TFHE.asEuint4(a); euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function add_euint4_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; - euint8 result = TFHE.add(aProc, bProc); + euint4 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function add_uint8_euint8(uint8 a, bytes calldata b) public view returns (uint8) { + function add_uint8_euint4(uint8 a, bytes calldata b) public view returns (uint8) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); - euint8 result = TFHE.add(aProc, bProc); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function sub_euint4_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; - euint8 result = TFHE.sub(aProc, bProc); + euint4 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function sub_uint8_euint8(uint8 a, bytes calldata b) public view returns (uint8) { + function sub_uint8_euint4(uint8 a, bytes calldata b) public view returns (uint8) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); - euint8 result = TFHE.sub(aProc, bProc); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function mul_euint4_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; - euint8 result = TFHE.mul(aProc, bProc); + euint4 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function mul_uint8_euint8(uint8 a, bytes calldata b) public view returns (uint8) { + function mul_uint8_euint4(uint8 a, bytes calldata b) public view returns (uint8) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); - euint8 result = TFHE.mul(aProc, bProc); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function div_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function div_euint4_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; - euint8 result = TFHE.div(aProc, bProc); + euint4 result = TFHE.div(aProc, bProc); return TFHE.decrypt(result); } - function rem_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function rem_euint4_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; - euint8 result = TFHE.rem(aProc, bProc); + euint4 result = TFHE.rem(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function eq_euint4_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function eq_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + function eq_uint8_euint4(uint8 a, bytes calldata b) public view returns (bool) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function ne_euint4_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ne_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + function ne_uint8_euint4(uint8 a, bytes calldata b) public view returns (bool) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function ge_euint4_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function ge_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + function ge_uint8_euint4(uint8 a, bytes calldata b) public view returns (bool) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function gt_euint4_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function gt_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + function gt_uint8_euint4(uint8 a, bytes calldata b) public view returns (bool) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function le_euint4_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function le_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + function le_uint8_euint4(uint8 a, bytes calldata b) public view returns (bool) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { - euint8 aProc = TFHE.asEuint8(a); + function lt_euint4_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function lt_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + function lt_uint8_euint4(uint8 a, bytes calldata b) public view returns (bool) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function min_euint4_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; - euint8 result = TFHE.min(aProc, bProc); + euint4 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function min_uint8_euint8(uint8 a, bytes calldata b) public view returns (uint8) { + function min_uint8_euint4(uint8 a, bytes calldata b) public view returns (uint8) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); - euint8 result = TFHE.min(aProc, bProc); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); + function max_euint4_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); uint8 bProc = b; - euint8 result = TFHE.max(aProc, bProc); + euint4 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function max_uint8_euint8(uint8 a, bytes calldata b) public view returns (uint8) { + function max_uint8_euint4(uint8 a, bytes calldata b) public view returns (uint8) { uint8 aProc = a; - euint8 bProc = TFHE.asEuint8(b); - euint8 result = TFHE.max(aProc, bProc); - return TFHE.decrypt(result); - } - - function add_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - euint16 result = TFHE.add(aProc, bProc); - return TFHE.decrypt(result); - } - - function sub_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - euint16 result = TFHE.sub(aProc, bProc); - return TFHE.decrypt(result); - } - - function mul_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - euint16 result = TFHE.mul(aProc, bProc); - return TFHE.decrypt(result); - } - - function and_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - euint16 result = TFHE.and(aProc, bProc); - return TFHE.decrypt(result); - } - - function or_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - euint16 result = TFHE.or(aProc, bProc); - return TFHE.decrypt(result); - } - - function xor_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - euint16 result = TFHE.xor(aProc, bProc); - return TFHE.decrypt(result); - } - - function eq_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.eq(aProc, bProc); - return TFHE.decrypt(result); - } - - function ne_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.ne(aProc, bProc); - return TFHE.decrypt(result); - } - - function ge_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.ge(aProc, bProc); - return TFHE.decrypt(result); - } - - function gt_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.gt(aProc, bProc); - return TFHE.decrypt(result); - } - - function le_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.le(aProc, bProc); - return TFHE.decrypt(result); - } - - function lt_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.lt(aProc, bProc); - return TFHE.decrypt(result); - } - - function min_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - euint16 result = TFHE.min(aProc, bProc); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function max_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - euint16 result = TFHE.max(aProc, bProc); - return TFHE.decrypt(result); - } - - function add_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.add(aProc, bProc); + function add_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); + euint8 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.sub(aProc, bProc); + function sub_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); + euint8 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.mul(aProc, bProc); + function mul_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); + euint8 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.and(aProc, bProc); + function and_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); + euint8 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.or(aProc, bProc); + function or_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); + euint8 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.xor(aProc, bProc); + function xor_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); + euint8 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } } diff --git a/examples/tests/TFHETestSuite2.sol b/examples/tests/TFHETestSuite2.sol index 1aafd8f2..fdcbafe0 100644 --- a/examples/tests/TFHETestSuite2.sol +++ b/examples/tests/TFHETestSuite2.sol @@ -4,702 +4,702 @@ pragma solidity ^0.8.20; import "../../lib/TFHE.sol"; contract TFHETestSuite2 { - function eq_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); + function eq_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); + function ne_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); + function ge_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); + function gt_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); + function le_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); + function lt_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.min(aProc, bProc); + function min_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); + euint8 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.max(aProc, bProc); + function max_euint8_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint4 bProc = TFHE.asEuint4(b); + euint8 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.add(aProc, bProc); + function add_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.sub(aProc, bProc); + function sub_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.mul(aProc, bProc); + function mul_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.and(aProc, bProc); + function and_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.or(aProc, bProc); + function or_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.xor(aProc, bProc); + function xor_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); + function eq_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); + function ne_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); + function ge_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); + function gt_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); + function le_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); + function lt_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.min(aProc, bProc); + function min_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint16 aProc = TFHE.asEuint16(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.max(aProc, bProc); + function max_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.add(aProc, bProc); + function add_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.sub(aProc, bProc); + function sub_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.mul(aProc, bProc); + function mul_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.and(aProc, bProc); + function and_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.or(aProc, bProc); + function or_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.xor(aProc, bProc); + function xor_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); + function eq_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); + function ne_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); + function ge_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); + function gt_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); + function le_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); + function lt_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.min(aProc, bProc); + function min_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint16 aProc = TFHE.asEuint16(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.max(aProc, bProc); + function max_euint8_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint8 aProc = TFHE.asEuint8(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - euint16 result = TFHE.add(aProc, bProc); + function add_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function add_uint16_euint16(uint16 a, bytes calldata b) public view returns (uint16) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.add(aProc, bProc); + function sub_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - euint16 result = TFHE.sub(aProc, bProc); + function mul_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function sub_uint16_euint16(uint16 a, bytes calldata b) public view returns (uint16) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.sub(aProc, bProc); + function and_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - euint16 result = TFHE.mul(aProc, bProc); + function or_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function mul_uint16_euint16(uint16 a, bytes calldata b) public view returns (uint16) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.mul(aProc, bProc); + function xor_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function div_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - euint16 result = TFHE.div(aProc, bProc); + function eq_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function rem_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - euint16 result = TFHE.rem(aProc, bProc); + function ne_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - ebool result = TFHE.eq(aProc, bProc); + function ge_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function eq_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.eq(aProc, bProc); + function gt_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - ebool result = TFHE.ne(aProc, bProc); + function le_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function ne_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.ne(aProc, bProc); + function lt_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - ebool result = TFHE.ge(aProc, bProc); + function min_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function ge_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.ge(aProc, bProc); + function max_euint8_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint8 aProc = TFHE.asEuint8(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - ebool result = TFHE.gt(aProc, bProc); + function add_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function gt_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.gt(aProc, bProc); + function sub_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function le_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - ebool result = TFHE.le(aProc, bProc); + function mul_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function le_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.le(aProc, bProc); + function and_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - ebool result = TFHE.lt(aProc, bProc); + function or_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function lt_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.lt(aProc, bProc); + function xor_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function min_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - euint16 result = TFHE.min(aProc, bProc); + function eq_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function min_uint16_euint16(uint16 a, bytes calldata b) public view returns (uint16) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.min(aProc, bProc); + function ne_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function max_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - uint16 bProc = b; - euint16 result = TFHE.max(aProc, bProc); + function ge_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function max_uint16_euint16(uint16 a, bytes calldata b) public view returns (uint16) { - uint16 aProc = a; - euint16 bProc = TFHE.asEuint16(b); - euint16 result = TFHE.max(aProc, bProc); + function gt_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function add_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - euint32 result = TFHE.add(aProc, bProc); + function le_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - euint32 result = TFHE.sub(aProc, bProc); + function lt_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - euint32 result = TFHE.mul(aProc, bProc); + function min_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function and_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - euint32 result = TFHE.and(aProc, bProc); + function max_euint8_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint8 aProc = TFHE.asEuint8(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function or_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - euint32 result = TFHE.or(aProc, bProc); + function add_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + euint8 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); + function add_uint8_euint8(uint8 a, bytes calldata b) public view returns (uint8) { + uint8 aProc = a; euint8 bProc = TFHE.asEuint8(b); - euint32 result = TFHE.xor(aProc, bProc); + euint8 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.eq(aProc, bProc); + function sub_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + euint8 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); + function sub_uint8_euint8(uint8 a, bytes calldata b) public view returns (uint8) { + uint8 aProc = a; euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.ne(aProc, bProc); + euint8 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.ge(aProc, bProc); + function mul_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + euint8 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); + function mul_uint8_euint8(uint8 a, bytes calldata b) public view returns (uint8) { + uint8 aProc = a; euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.gt(aProc, bProc); + euint8 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function le_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.le(aProc, bProc); + function div_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + euint8 result = TFHE.div(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - ebool result = TFHE.lt(aProc, bProc); + function rem_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + euint8 result = TFHE.rem(aProc, bProc); return TFHE.decrypt(result); } - function min_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - euint32 result = TFHE.min(aProc, bProc); + function eq_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function max_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); + function eq_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + uint8 aProc = a; euint8 bProc = TFHE.asEuint8(b); - euint32 result = TFHE.max(aProc, bProc); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function add_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - euint32 result = TFHE.add(aProc, bProc); + function ne_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - euint32 result = TFHE.sub(aProc, bProc); + function ne_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + uint8 aProc = a; + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - euint32 result = TFHE.mul(aProc, bProc); + function ge_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function and_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - euint32 result = TFHE.and(aProc, bProc); + function ge_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + uint8 aProc = a; + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function or_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - euint32 result = TFHE.or(aProc, bProc); + function gt_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - euint32 result = TFHE.xor(aProc, bProc); + function gt_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + uint8 aProc = a; + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.eq(aProc, bProc); + function le_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.ne(aProc, bProc); + function le_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + uint8 aProc = a; + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.ge(aProc, bProc); + function lt_euint8_uint8(bytes calldata a, uint8 b) public view returns (bool) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.gt(aProc, bProc); + function lt_uint8_euint8(uint8 a, bytes calldata b) public view returns (bool) { + uint8 aProc = a; + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.le(aProc, bProc); + function min_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + euint8 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.lt(aProc, bProc); + function min_uint8_euint8(uint8 a, bytes calldata b) public view returns (uint8) { + uint8 aProc = a; + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function min_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - euint32 result = TFHE.min(aProc, bProc); + function max_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + euint8 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function max_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint16 bProc = TFHE.asEuint16(b); - euint32 result = TFHE.max(aProc, bProc); + function max_uint8_euint8(uint8 a, bytes calldata b) public view returns (uint8) { + uint8 aProc = a; + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.add(aProc, bProc); + function add_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); + euint16 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.sub(aProc, bProc); + function sub_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); + euint16 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.mul(aProc, bProc); + function mul_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); + euint16 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.and(aProc, bProc); + function and_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); + euint16 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.or(aProc, bProc); + function or_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); + euint16 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.xor(aProc, bProc); + function xor_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); + euint16 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); + function eq_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); + function ne_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); + function ge_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); + function gt_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); + function le_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); + function lt_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } diff --git a/examples/tests/TFHETestSuite3.sol b/examples/tests/TFHETestSuite3.sol index 9321f6fa..23d40d0d 100644 --- a/examples/tests/TFHETestSuite3.sol +++ b/examples/tests/TFHETestSuite3.sol @@ -4,703 +4,703 @@ pragma solidity ^0.8.20; import "../../lib/TFHE.sol"; contract TFHETestSuite3 { - function min_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.min(aProc, bProc); + function min_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); + euint16 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.max(aProc, bProc); + function max_euint16_euint4(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint4 bProc = TFHE.asEuint4(b); + euint16 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.add(aProc, bProc); + function add_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); + euint16 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.sub(aProc, bProc); + function sub_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); + euint16 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.mul(aProc, bProc); + function mul_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); + euint16 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.and(aProc, bProc); + function and_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); + euint16 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.or(aProc, bProc); + function or_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); + euint16 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.xor(aProc, bProc); + function xor_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); + euint16 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); + function eq_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); + function ne_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); + function ge_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); + function gt_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); + function le_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); + function lt_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.min(aProc, bProc); + function min_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); + euint16 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint32 aProc = TFHE.asEuint32(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.max(aProc, bProc); + function max_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); + euint16 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - euint32 result = TFHE.add(aProc, bProc); + function add_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function add_uint32_euint32(uint32 a, bytes calldata b) public view returns (uint32) { - uint32 aProc = a; - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.add(aProc, bProc); + function sub_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - euint32 result = TFHE.sub(aProc, bProc); + function mul_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function sub_uint32_euint32(uint32 a, bytes calldata b) public view returns (uint32) { - uint32 aProc = a; - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.sub(aProc, bProc); + function and_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - euint32 result = TFHE.mul(aProc, bProc); + function or_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function mul_uint32_euint32(uint32 a, bytes calldata b) public view returns (uint32) { - uint32 aProc = a; - euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.mul(aProc, bProc); + function xor_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function div_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - euint32 result = TFHE.div(aProc, bProc); + function eq_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function rem_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - euint32 result = TFHE.rem(aProc, bProc); + function ne_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - ebool result = TFHE.eq(aProc, bProc); + function ge_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function eq_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { - uint32 aProc = a; - euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.eq(aProc, bProc); + function gt_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - ebool result = TFHE.ne(aProc, bProc); + function le_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.le(aProc, bProc); + return TFHE.decrypt(result); + } + + function lt_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function ne_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { - uint32 aProc = a; + function min_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.min(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.max(aProc, bProc); + return TFHE.decrypt(result); + } + + function add_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint16 aProc = TFHE.asEuint16(a); euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.ne(aProc, bProc); + euint32 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - ebool result = TFHE.ge(aProc, bProc); + function sub_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint16 aProc = TFHE.asEuint16(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function ge_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { - uint32 aProc = a; + function mul_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint16 aProc = TFHE.asEuint16(a); euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.ge(aProc, bProc); + euint32 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - ebool result = TFHE.gt(aProc, bProc); + function and_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint16 aProc = TFHE.asEuint16(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function gt_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { - uint32 aProc = a; + function or_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint16 aProc = TFHE.asEuint16(a); euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.gt(aProc, bProc); + euint32 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function le_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - ebool result = TFHE.le(aProc, bProc); + function xor_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint16 aProc = TFHE.asEuint16(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function le_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { - uint32 aProc = a; + function eq_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.le(aProc, bProc); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - ebool result = TFHE.lt(aProc, bProc); + function ne_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function lt_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { - uint32 aProc = a; + function ge_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.lt(aProc, bProc); + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function min_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - euint32 result = TFHE.min(aProc, bProc); + function gt_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function min_uint32_euint32(uint32 a, bytes calldata b) public view returns (uint32) { - uint32 aProc = a; + function le_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); euint32 bProc = TFHE.asEuint32(b); - euint32 result = TFHE.min(aProc, bProc); + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function max_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { - euint32 aProc = TFHE.asEuint32(a); - uint32 bProc = b; - euint32 result = TFHE.max(aProc, bProc); + function lt_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.lt(aProc, bProc); + return TFHE.decrypt(result); + } + + function min_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint16 aProc = TFHE.asEuint16(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_uint32_euint32(uint32 a, bytes calldata b) public view returns (uint32) { - uint32 aProc = a; + function max_euint16_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint16 aProc = TFHE.asEuint16(a); euint32 bProc = TFHE.asEuint32(b); euint32 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function add_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function sub_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function mul_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function and_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function or_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function xor_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function eq_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function ne_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function ge_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function gt_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function le_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function lt_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function min_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); + function max_euint16_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint16 aProc = TFHE.asEuint16(a); + euint64 bProc = TFHE.asEuint64(b); euint64 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint16 bProc = TFHE.asEuint16(b); - euint64 result = TFHE.add(aProc, bProc); + function add_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + euint16 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); + function add_uint16_euint16(uint16 a, bytes calldata b) public view returns (uint16) { + uint16 aProc = a; euint16 bProc = TFHE.asEuint16(b); - euint64 result = TFHE.sub(aProc, bProc); + euint16 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint16 bProc = TFHE.asEuint16(b); - euint64 result = TFHE.mul(aProc, bProc); + function sub_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + euint16 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function and_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); + function sub_uint16_euint16(uint16 a, bytes calldata b) public view returns (uint16) { + uint16 aProc = a; euint16 bProc = TFHE.asEuint16(b); - euint64 result = TFHE.and(aProc, bProc); + euint16 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function or_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint16 bProc = TFHE.asEuint16(b); - euint64 result = TFHE.or(aProc, bProc); + function mul_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + euint16 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); + function mul_uint16_euint16(uint16 a, bytes calldata b) public view returns (uint16) { + uint16 aProc = a; euint16 bProc = TFHE.asEuint16(b); - euint64 result = TFHE.xor(aProc, bProc); + euint16 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.eq(aProc, bProc); + function div_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + euint16 result = TFHE.div(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.ne(aProc, bProc); + function rem_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + euint16 result = TFHE.rem(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.ge(aProc, bProc); + function eq_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); + function eq_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { + uint16 aProc = a; euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.gt(aProc, bProc); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function le_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.le(aProc, bProc); + function ne_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); + function ne_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { + uint16 aProc = a; euint16 bProc = TFHE.asEuint16(b); - ebool result = TFHE.lt(aProc, bProc); + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function min_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint16 bProc = TFHE.asEuint16(b); - euint64 result = TFHE.min(aProc, bProc); + function ge_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function max_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); + function ge_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { + uint16 aProc = a; euint16 bProc = TFHE.asEuint16(b); - euint64 result = TFHE.max(aProc, bProc); - return TFHE.decrypt(result); - } - - function add_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - euint64 result = TFHE.add(aProc, bProc); - return TFHE.decrypt(result); - } - - function sub_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - euint64 result = TFHE.sub(aProc, bProc); - return TFHE.decrypt(result); - } - - function mul_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - euint64 result = TFHE.mul(aProc, bProc); - return TFHE.decrypt(result); - } - - function and_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - euint64 result = TFHE.and(aProc, bProc); + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function or_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - euint64 result = TFHE.or(aProc, bProc); + function gt_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - euint64 result = TFHE.xor(aProc, bProc); + function gt_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { + uint16 aProc = a; + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.eq(aProc, bProc); + function le_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.ne(aProc, bProc); + function le_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { + uint16 aProc = a; + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.ge(aProc, bProc); + function lt_euint16_uint16(bytes calldata a, uint16 b) public view returns (bool) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.gt(aProc, bProc); + function lt_uint16_euint16(uint16 a, bytes calldata b) public view returns (bool) { + uint16 aProc = a; + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.le(aProc, bProc); + function min_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + euint16 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - ebool result = TFHE.lt(aProc, bProc); + function min_uint16_euint16(uint16 a, bytes calldata b) public view returns (uint16) { + uint16 aProc = a; + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function min_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - euint64 result = TFHE.min(aProc, bProc); + function max_euint16_uint16(bytes calldata a, uint16 b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + uint16 bProc = b; + euint16 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function max_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint32 bProc = TFHE.asEuint32(b); - euint64 result = TFHE.max(aProc, bProc); + function max_uint16_euint16(uint16 a, bytes calldata b) public view returns (uint16) { + uint16 aProc = a; + euint16 bProc = TFHE.asEuint16(b); + euint16 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.add(aProc, bProc); + function add_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); + euint32 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.sub(aProc, bProc); + function sub_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); + euint32 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function mul_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.mul(aProc, bProc); + function mul_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); + euint32 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function and_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.and(aProc, bProc); + function and_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); + euint32 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function or_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.or(aProc, bProc); + function or_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); + euint32 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function xor_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.xor(aProc, bProc); + function xor_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); + euint32 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); + function eq_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); + function ne_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); + function ge_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); + function gt_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function le_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); + function le_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); + function lt_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function min_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.min(aProc, bProc); + function min_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); + euint32 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function max_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.max(aProc, bProc); + function max_euint32_euint4(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint4 bProc = TFHE.asEuint4(b); + euint32 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function add_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - euint64 result = TFHE.add(aProc, bProc); + function add_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + euint32 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function add_uint64_euint64(uint64 a, bytes calldata b) public view returns (uint64) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.add(aProc, bProc); + function sub_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + euint32 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function sub_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - euint64 result = TFHE.sub(aProc, bProc); + function mul_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + euint32 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function sub_uint64_euint64(uint64 a, bytes calldata b) public view returns (uint64) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.sub(aProc, bProc); + function and_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + euint32 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } } diff --git a/examples/tests/TFHETestSuite4.sol b/examples/tests/TFHETestSuite4.sol index afdbb1af..5232a689 100644 --- a/examples/tests/TFHETestSuite4.sol +++ b/examples/tests/TFHETestSuite4.sol @@ -4,519 +4,703 @@ pragma solidity ^0.8.20; import "../../lib/TFHE.sol"; contract TFHETestSuite4 { - function mul_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - euint64 result = TFHE.mul(aProc, bProc); + function or_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + euint32 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function mul_uint64_euint64(uint64 a, bytes calldata b) public view returns (uint64) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.mul(aProc, bProc); + function xor_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + euint32 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function div_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - euint64 result = TFHE.div(aProc, bProc); + function eq_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function rem_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - euint64 result = TFHE.rem(aProc, bProc); + function ne_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function eq_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - ebool result = TFHE.eq(aProc, bProc); + function ge_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function eq_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - ebool result = TFHE.eq(aProc, bProc); + function gt_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function ne_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - ebool result = TFHE.ne(aProc, bProc); + function le_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function ne_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - ebool result = TFHE.ne(aProc, bProc); + function lt_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function ge_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - ebool result = TFHE.ge(aProc, bProc); + function min_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + euint32 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function ge_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - ebool result = TFHE.ge(aProc, bProc); + function max_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + euint32 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function gt_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - ebool result = TFHE.gt(aProc, bProc); + function add_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + euint32 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function gt_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - ebool result = TFHE.gt(aProc, bProc); + function sub_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + euint32 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function le_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - ebool result = TFHE.le(aProc, bProc); + function mul_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + euint32 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function le_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - ebool result = TFHE.le(aProc, bProc); + function and_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + euint32 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function lt_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - ebool result = TFHE.lt(aProc, bProc); + function or_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + euint32 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function lt_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - ebool result = TFHE.lt(aProc, bProc); + function xor_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + euint32 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function min_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - euint64 result = TFHE.min(aProc, bProc); + function eq_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function min_uint64_euint64(uint64 a, bytes calldata b) public view returns (uint64) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.min(aProc, bProc); + function ne_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function max_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - uint64 bProc = b; - euint64 result = TFHE.max(aProc, bProc); + function ge_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function max_uint64_euint64(uint64 a, bytes calldata b) public view returns (uint64) { - uint64 aProc = a; - euint64 bProc = TFHE.asEuint64(b); - euint64 result = TFHE.max(aProc, bProc); + function gt_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function shl_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 bProc = TFHE.asEuint8(b); - euint8 result = TFHE.shl(aProc, bProc); + function le_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function shl_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - uint8 bProc = b; - euint8 result = TFHE.shl(aProc, bProc); + function lt_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function shr_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 bProc = TFHE.asEuint8(b); - euint8 result = TFHE.shr(aProc, bProc); + function min_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + euint32 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function shr_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - uint8 bProc = b; - euint8 result = TFHE.shr(aProc, bProc); + function max_euint32_euint16(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint16 bProc = TFHE.asEuint16(b); + euint32 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function shl_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - euint16 result = TFHE.shl(aProc, bProc); + function add_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function shl_euint16_uint8(bytes calldata a, uint8 b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - uint8 bProc = b; - euint16 result = TFHE.shl(aProc, bProc); + function sub_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function shr_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint8 bProc = TFHE.asEuint8(b); - euint16 result = TFHE.shr(aProc, bProc); + function mul_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function shr_euint16_uint8(bytes calldata a, uint8 b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - uint8 bProc = b; - euint16 result = TFHE.shr(aProc, bProc); + function and_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function shl_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + function or_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - euint32 result = TFHE.shl(aProc, bProc); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function shl_euint32_uint8(bytes calldata a, uint8 b) public view returns (uint32) { + function xor_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { euint32 aProc = TFHE.asEuint32(a); - uint8 bProc = b; - euint32 result = TFHE.shl(aProc, bProc); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function shr_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + function eq_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { euint32 aProc = TFHE.asEuint32(a); - euint8 bProc = TFHE.asEuint8(b); - euint32 result = TFHE.shr(aProc, bProc); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function shr_euint32_uint8(bytes calldata a, uint8 b) public view returns (uint32) { + function ne_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { euint32 aProc = TFHE.asEuint32(a); - uint8 bProc = b; - euint32 result = TFHE.shr(aProc, bProc); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function shl_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); - euint64 result = TFHE.shl(aProc, bProc); + function ge_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function shl_euint64_uint8(bytes calldata a, uint8 b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - uint8 bProc = b; - euint64 result = TFHE.shl(aProc, bProc); + function gt_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function shr_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint8 bProc = TFHE.asEuint8(b); - euint64 result = TFHE.shr(aProc, bProc); + function le_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function shr_euint64_uint8(bytes calldata a, uint8 b) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - uint8 bProc = b; - euint64 result = TFHE.shr(aProc, bProc); + function lt_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function neg_euint8(bytes calldata a) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 result = TFHE.neg(aProc); + function min_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function not_euint8(bytes calldata a) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 result = TFHE.not(aProc); + function max_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function neg_euint16(bytes calldata a) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 result = TFHE.neg(aProc); + function add_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function not_euint16(bytes calldata a) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 result = TFHE.not(aProc); + function sub_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function neg_euint32(bytes calldata a) public view returns (uint32) { + function mul_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { euint32 aProc = TFHE.asEuint32(a); - euint32 result = TFHE.neg(aProc); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function not_euint32(bytes calldata a) public view returns (uint32) { + function and_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { euint32 aProc = TFHE.asEuint32(a); - euint32 result = TFHE.not(aProc); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function neg_euint64(bytes calldata a) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint64 result = TFHE.neg(aProc); + function or_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function not_euint64(bytes calldata a) public view returns (uint64) { - euint64 aProc = TFHE.asEuint64(a); - euint64 result = TFHE.not(aProc); + function xor_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.xor(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_add_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 bProc = TFHE.asEuint8(b); - euint8 result = aProc + bProc; + function eq_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_sub_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 bProc = TFHE.asEuint8(b); - euint8 result = aProc - bProc; + function ne_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_mul_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 bProc = TFHE.asEuint8(b); - euint8 result = aProc * bProc; + function ge_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_and_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 bProc = TFHE.asEuint8(b); - euint8 result = aProc & bProc; + function gt_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_or_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 bProc = TFHE.asEuint8(b); - euint8 result = aProc | bProc; + function le_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_xor_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 bProc = TFHE.asEuint8(b); - euint8 result = aProc ^ bProc; + function lt_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function unary_op_neg_euint8(bytes calldata a) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 result = -aProc; + function min_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function unary_op_not_euint8(bytes calldata a) public view returns (uint8) { - euint8 aProc = TFHE.asEuint8(a); - euint8 result = ~aProc; + function max_euint32_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint32 aProc = TFHE.asEuint32(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_add_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = aProc + bProc; + function add_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + euint32 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_sub_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = aProc - bProc; + function add_uint32_euint32(uint32 a, bytes calldata b) public view returns (uint32) { + uint32 aProc = a; + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_mul_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = aProc * bProc; + function sub_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + euint32 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_and_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = aProc & bProc; + function sub_uint32_euint32(uint32 a, bytes calldata b) public view returns (uint32) { + uint32 aProc = a; + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_or_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = aProc | bProc; + function mul_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + euint32 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_xor_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 bProc = TFHE.asEuint16(b); - euint16 result = aProc ^ bProc; + function mul_uint32_euint32(uint32 a, bytes calldata b) public view returns (uint32) { + uint32 aProc = a; + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function unary_op_neg_euint16(bytes calldata a) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 result = -aProc; + function div_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + euint32 result = TFHE.div(aProc, bProc); return TFHE.decrypt(result); } - function unary_op_not_euint16(bytes calldata a) public view returns (uint16) { - euint16 aProc = TFHE.asEuint16(a); - euint16 result = ~aProc; + function rem_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + euint32 result = TFHE.rem(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_add_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + function eq_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + ebool result = TFHE.eq(aProc, bProc); + return TFHE.decrypt(result); + } + + function eq_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { + uint32 aProc = a; euint32 bProc = TFHE.asEuint32(b); - euint32 result = aProc + bProc; + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_sub_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + function ne_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + ebool result = TFHE.ne(aProc, bProc); + return TFHE.decrypt(result); + } + + function ne_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { + uint32 aProc = a; euint32 bProc = TFHE.asEuint32(b); - euint32 result = aProc - bProc; + ebool result = TFHE.ne(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_mul_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + function ge_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + ebool result = TFHE.ge(aProc, bProc); + return TFHE.decrypt(result); + } + + function ge_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { + uint32 aProc = a; euint32 bProc = TFHE.asEuint32(b); - euint32 result = aProc * bProc; + ebool result = TFHE.ge(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_and_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + function gt_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + ebool result = TFHE.gt(aProc, bProc); + return TFHE.decrypt(result); + } + + function gt_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { + uint32 aProc = a; euint32 bProc = TFHE.asEuint32(b); - euint32 result = aProc & bProc; + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_or_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + function le_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + ebool result = TFHE.le(aProc, bProc); + return TFHE.decrypt(result); + } + + function le_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { + uint32 aProc = a; euint32 bProc = TFHE.asEuint32(b); - euint32 result = aProc | bProc; + ebool result = TFHE.le(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_xor_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + function lt_euint32_uint32(bytes calldata a, uint32 b) public view returns (bool) { euint32 aProc = TFHE.asEuint32(a); + uint32 bProc = b; + ebool result = TFHE.lt(aProc, bProc); + return TFHE.decrypt(result); + } + + function lt_uint32_euint32(uint32 a, bytes calldata b) public view returns (bool) { + uint32 aProc = a; euint32 bProc = TFHE.asEuint32(b); - euint32 result = aProc ^ bProc; + ebool result = TFHE.lt(aProc, bProc); return TFHE.decrypt(result); } - function unary_op_neg_euint32(bytes calldata a) public view returns (uint32) { + function min_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { euint32 aProc = TFHE.asEuint32(a); - euint32 result = -aProc; + uint32 bProc = b; + euint32 result = TFHE.min(aProc, bProc); return TFHE.decrypt(result); } - function unary_op_not_euint32(bytes calldata a) public view returns (uint32) { + function min_uint32_euint32(uint32 a, bytes calldata b) public view returns (uint32) { + uint32 aProc = a; + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.min(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_euint32_uint32(bytes calldata a, uint32 b) public view returns (uint32) { euint32 aProc = TFHE.asEuint32(a); - euint32 result = ~aProc; + uint32 bProc = b; + euint32 result = TFHE.max(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_uint32_euint32(uint32 a, bytes calldata b) public view returns (uint32) { + uint32 aProc = a; + euint32 bProc = TFHE.asEuint32(b); + euint32 result = TFHE.max(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_add_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + function add_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (uint64) { euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = aProc + bProc; + euint4 bProc = TFHE.asEuint4(b); + euint64 result = TFHE.add(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_sub_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + function sub_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (uint64) { euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = aProc - bProc; + euint4 bProc = TFHE.asEuint4(b); + euint64 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_mul_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + function mul_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (uint64) { euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = aProc * bProc; + euint4 bProc = TFHE.asEuint4(b); + euint64 result = TFHE.mul(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_and_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + function and_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (uint64) { euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = aProc & bProc; + euint4 bProc = TFHE.asEuint4(b); + euint64 result = TFHE.and(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_or_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + function or_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (uint64) { euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = aProc | bProc; + euint4 bProc = TFHE.asEuint4(b); + euint64 result = TFHE.or(aProc, bProc); return TFHE.decrypt(result); } - function bin_op_xor_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + function xor_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (uint64) { euint64 aProc = TFHE.asEuint64(a); - euint64 bProc = TFHE.asEuint64(b); - euint64 result = aProc ^ bProc; + euint4 bProc = TFHE.asEuint4(b); + euint64 result = TFHE.xor(aProc, bProc); + return TFHE.decrypt(result); + } + + function eq_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.eq(aProc, bProc); return TFHE.decrypt(result); } - function unary_op_neg_euint64(bytes calldata a) public view returns (uint64) { + function ne_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { euint64 aProc = TFHE.asEuint64(a); - euint64 result = -aProc; + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.ne(aProc, bProc); + return TFHE.decrypt(result); + } + + function ge_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.ge(aProc, bProc); + return TFHE.decrypt(result); + } + + function gt_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.gt(aProc, bProc); + return TFHE.decrypt(result); + } + + function le_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.le(aProc, bProc); + return TFHE.decrypt(result); + } + + function lt_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint4 bProc = TFHE.asEuint4(b); + ebool result = TFHE.lt(aProc, bProc); + return TFHE.decrypt(result); + } + + function min_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint4 bProc = TFHE.asEuint4(b); + euint64 result = TFHE.min(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_euint64_euint4(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint4 bProc = TFHE.asEuint4(b); + euint64 result = TFHE.max(aProc, bProc); + return TFHE.decrypt(result); + } + + function add_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + euint64 result = TFHE.add(aProc, bProc); + return TFHE.decrypt(result); + } + + function sub_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + euint64 result = TFHE.sub(aProc, bProc); return TFHE.decrypt(result); } - function unary_op_not_euint64(bytes calldata a) public view returns (uint64) { + function mul_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { euint64 aProc = TFHE.asEuint64(a); - euint64 result = ~aProc; + euint8 bProc = TFHE.asEuint8(b); + euint64 result = TFHE.mul(aProc, bProc); + return TFHE.decrypt(result); + } + + function and_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + euint64 result = TFHE.and(aProc, bProc); + return TFHE.decrypt(result); + } + + function or_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + euint64 result = TFHE.or(aProc, bProc); + return TFHE.decrypt(result); + } + + function xor_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + euint64 result = TFHE.xor(aProc, bProc); + return TFHE.decrypt(result); + } + + function eq_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.eq(aProc, bProc); + return TFHE.decrypt(result); + } + + function ne_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.ne(aProc, bProc); + return TFHE.decrypt(result); + } + + function ge_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.ge(aProc, bProc); + return TFHE.decrypt(result); + } + + function gt_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.gt(aProc, bProc); return TFHE.decrypt(result); } } diff --git a/examples/tests/TFHETestSuite5.sol b/examples/tests/TFHETestSuite5.sol new file mode 100644 index 00000000..c6873c92 --- /dev/null +++ b/examples/tests/TFHETestSuite5.sol @@ -0,0 +1,696 @@ +// SPDX-License-Identifier: BSD-3-Clause-Clear +pragma solidity ^0.8.20; + +import "../../lib/TFHE.sol"; + +contract TFHETestSuite5 { + function le_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.le(aProc, bProc); + return TFHE.decrypt(result); + } + + function lt_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + ebool result = TFHE.lt(aProc, bProc); + return TFHE.decrypt(result); + } + + function min_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + euint64 result = TFHE.min(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + euint64 result = TFHE.max(aProc, bProc); + return TFHE.decrypt(result); + } + + function add_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + euint64 result = TFHE.add(aProc, bProc); + return TFHE.decrypt(result); + } + + function sub_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + euint64 result = TFHE.sub(aProc, bProc); + return TFHE.decrypt(result); + } + + function mul_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + euint64 result = TFHE.mul(aProc, bProc); + return TFHE.decrypt(result); + } + + function and_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + euint64 result = TFHE.and(aProc, bProc); + return TFHE.decrypt(result); + } + + function or_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + euint64 result = TFHE.or(aProc, bProc); + return TFHE.decrypt(result); + } + + function xor_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + euint64 result = TFHE.xor(aProc, bProc); + return TFHE.decrypt(result); + } + + function eq_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.eq(aProc, bProc); + return TFHE.decrypt(result); + } + + function ne_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.ne(aProc, bProc); + return TFHE.decrypt(result); + } + + function ge_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.ge(aProc, bProc); + return TFHE.decrypt(result); + } + + function gt_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.gt(aProc, bProc); + return TFHE.decrypt(result); + } + + function le_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.le(aProc, bProc); + return TFHE.decrypt(result); + } + + function lt_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + ebool result = TFHE.lt(aProc, bProc); + return TFHE.decrypt(result); + } + + function min_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + euint64 result = TFHE.min(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_euint64_euint16(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint16 bProc = TFHE.asEuint16(b); + euint64 result = TFHE.max(aProc, bProc); + return TFHE.decrypt(result); + } + + function add_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + euint64 result = TFHE.add(aProc, bProc); + return TFHE.decrypt(result); + } + + function sub_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + euint64 result = TFHE.sub(aProc, bProc); + return TFHE.decrypt(result); + } + + function mul_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + euint64 result = TFHE.mul(aProc, bProc); + return TFHE.decrypt(result); + } + + function and_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + euint64 result = TFHE.and(aProc, bProc); + return TFHE.decrypt(result); + } + + function or_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + euint64 result = TFHE.or(aProc, bProc); + return TFHE.decrypt(result); + } + + function xor_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + euint64 result = TFHE.xor(aProc, bProc); + return TFHE.decrypt(result); + } + + function eq_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.eq(aProc, bProc); + return TFHE.decrypt(result); + } + + function ne_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.ne(aProc, bProc); + return TFHE.decrypt(result); + } + + function ge_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.ge(aProc, bProc); + return TFHE.decrypt(result); + } + + function gt_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.gt(aProc, bProc); + return TFHE.decrypt(result); + } + + function le_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.le(aProc, bProc); + return TFHE.decrypt(result); + } + + function lt_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + ebool result = TFHE.lt(aProc, bProc); + return TFHE.decrypt(result); + } + + function min_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + euint64 result = TFHE.min(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_euint64_euint32(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint32 bProc = TFHE.asEuint32(b); + euint64 result = TFHE.max(aProc, bProc); + return TFHE.decrypt(result); + } + + function add_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.add(aProc, bProc); + return TFHE.decrypt(result); + } + + function sub_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.sub(aProc, bProc); + return TFHE.decrypt(result); + } + + function mul_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.mul(aProc, bProc); + return TFHE.decrypt(result); + } + + function and_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.and(aProc, bProc); + return TFHE.decrypt(result); + } + + function or_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.or(aProc, bProc); + return TFHE.decrypt(result); + } + + function xor_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.xor(aProc, bProc); + return TFHE.decrypt(result); + } + + function eq_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.eq(aProc, bProc); + return TFHE.decrypt(result); + } + + function ne_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.ne(aProc, bProc); + return TFHE.decrypt(result); + } + + function ge_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.ge(aProc, bProc); + return TFHE.decrypt(result); + } + + function gt_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.gt(aProc, bProc); + return TFHE.decrypt(result); + } + + function le_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.le(aProc, bProc); + return TFHE.decrypt(result); + } + + function lt_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.lt(aProc, bProc); + return TFHE.decrypt(result); + } + + function min_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.min(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.max(aProc, bProc); + return TFHE.decrypt(result); + } + + function add_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + euint64 result = TFHE.add(aProc, bProc); + return TFHE.decrypt(result); + } + + function add_uint64_euint64(uint64 a, bytes calldata b) public view returns (uint64) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.add(aProc, bProc); + return TFHE.decrypt(result); + } + + function sub_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + euint64 result = TFHE.sub(aProc, bProc); + return TFHE.decrypt(result); + } + + function sub_uint64_euint64(uint64 a, bytes calldata b) public view returns (uint64) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.sub(aProc, bProc); + return TFHE.decrypt(result); + } + + function mul_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + euint64 result = TFHE.mul(aProc, bProc); + return TFHE.decrypt(result); + } + + function mul_uint64_euint64(uint64 a, bytes calldata b) public view returns (uint64) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.mul(aProc, bProc); + return TFHE.decrypt(result); + } + + function div_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + euint64 result = TFHE.div(aProc, bProc); + return TFHE.decrypt(result); + } + + function rem_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + euint64 result = TFHE.rem(aProc, bProc); + return TFHE.decrypt(result); + } + + function eq_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + ebool result = TFHE.eq(aProc, bProc); + return TFHE.decrypt(result); + } + + function eq_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.eq(aProc, bProc); + return TFHE.decrypt(result); + } + + function ne_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + ebool result = TFHE.ne(aProc, bProc); + return TFHE.decrypt(result); + } + + function ne_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.ne(aProc, bProc); + return TFHE.decrypt(result); + } + + function ge_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + ebool result = TFHE.ge(aProc, bProc); + return TFHE.decrypt(result); + } + + function ge_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.ge(aProc, bProc); + return TFHE.decrypt(result); + } + + function gt_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + ebool result = TFHE.gt(aProc, bProc); + return TFHE.decrypt(result); + } + + function gt_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.gt(aProc, bProc); + return TFHE.decrypt(result); + } + + function le_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + ebool result = TFHE.le(aProc, bProc); + return TFHE.decrypt(result); + } + + function le_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.le(aProc, bProc); + return TFHE.decrypt(result); + } + + function lt_euint64_uint64(bytes calldata a, uint64 b) public view returns (bool) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + ebool result = TFHE.lt(aProc, bProc); + return TFHE.decrypt(result); + } + + function lt_uint64_euint64(uint64 a, bytes calldata b) public view returns (bool) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + ebool result = TFHE.lt(aProc, bProc); + return TFHE.decrypt(result); + } + + function min_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + euint64 result = TFHE.min(aProc, bProc); + return TFHE.decrypt(result); + } + + function min_uint64_euint64(uint64 a, bytes calldata b) public view returns (uint64) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.min(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_euint64_uint64(bytes calldata a, uint64 b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + uint64 bProc = b; + euint64 result = TFHE.max(aProc, bProc); + return TFHE.decrypt(result); + } + + function max_uint64_euint64(uint64 a, bytes calldata b) public view returns (uint64) { + uint64 aProc = a; + euint64 bProc = TFHE.asEuint64(b); + euint64 result = TFHE.max(aProc, bProc); + return TFHE.decrypt(result); + } + + function shl_euint4_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + uint8 bProc = b; + euint4 result = TFHE.shl(aProc, bProc); + return TFHE.decrypt(result); + } + + function shr_euint4_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + uint8 bProc = b; + euint4 result = TFHE.shr(aProc, bProc); + return TFHE.decrypt(result); + } + + function shl_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.shl(aProc, bProc); + return TFHE.decrypt(result); + } + + function shl_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + euint8 result = TFHE.shl(aProc, bProc); + return TFHE.decrypt(result); + } + + function shr_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = TFHE.shr(aProc, bProc); + return TFHE.decrypt(result); + } + + function shr_euint8_uint8(bytes calldata a, uint8 b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + uint8 bProc = b; + euint8 result = TFHE.shr(aProc, bProc); + return TFHE.decrypt(result); + } + + function shl_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); + euint16 result = TFHE.shl(aProc, bProc); + return TFHE.decrypt(result); + } + + function shl_euint16_uint8(bytes calldata a, uint8 b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + uint8 bProc = b; + euint16 result = TFHE.shl(aProc, bProc); + return TFHE.decrypt(result); + } + + function shr_euint16_euint8(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint8 bProc = TFHE.asEuint8(b); + euint16 result = TFHE.shr(aProc, bProc); + return TFHE.decrypt(result); + } + + function shr_euint16_uint8(bytes calldata a, uint8 b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + uint8 bProc = b; + euint16 result = TFHE.shr(aProc, bProc); + return TFHE.decrypt(result); + } + + function shl_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + euint32 result = TFHE.shl(aProc, bProc); + return TFHE.decrypt(result); + } + + function shl_euint32_uint8(bytes calldata a, uint8 b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + uint8 bProc = b; + euint32 result = TFHE.shl(aProc, bProc); + return TFHE.decrypt(result); + } + + function shr_euint32_euint8(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint8 bProc = TFHE.asEuint8(b); + euint32 result = TFHE.shr(aProc, bProc); + return TFHE.decrypt(result); + } + + function shr_euint32_uint8(bytes calldata a, uint8 b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + uint8 bProc = b; + euint32 result = TFHE.shr(aProc, bProc); + return TFHE.decrypt(result); + } + + function shl_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + euint64 result = TFHE.shl(aProc, bProc); + return TFHE.decrypt(result); + } + + function shl_euint64_uint8(bytes calldata a, uint8 b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + uint8 bProc = b; + euint64 result = TFHE.shl(aProc, bProc); + return TFHE.decrypt(result); + } + + function shr_euint64_euint8(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint8 bProc = TFHE.asEuint8(b); + euint64 result = TFHE.shr(aProc, bProc); + return TFHE.decrypt(result); + } + + function shr_euint64_uint8(bytes calldata a, uint8 b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + uint8 bProc = b; + euint64 result = TFHE.shr(aProc, bProc); + return TFHE.decrypt(result); + } + + function neg_euint4(bytes calldata a) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 result = TFHE.neg(aProc); + return TFHE.decrypt(result); + } + + function not_euint4(bytes calldata a) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 result = TFHE.not(aProc); + return TFHE.decrypt(result); + } + + function neg_euint8(bytes calldata a) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 result = TFHE.neg(aProc); + return TFHE.decrypt(result); + } + + function not_euint8(bytes calldata a) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 result = TFHE.not(aProc); + return TFHE.decrypt(result); + } + + function neg_euint16(bytes calldata a) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 result = TFHE.neg(aProc); + return TFHE.decrypt(result); + } + + function not_euint16(bytes calldata a) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 result = TFHE.not(aProc); + return TFHE.decrypt(result); + } + + function neg_euint32(bytes calldata a) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 result = TFHE.neg(aProc); + return TFHE.decrypt(result); + } + + function not_euint32(bytes calldata a) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 result = TFHE.not(aProc); + return TFHE.decrypt(result); + } + + function neg_euint64(bytes calldata a) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 result = TFHE.neg(aProc); + return TFHE.decrypt(result); + } + + function not_euint64(bytes calldata a) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 result = TFHE.not(aProc); + return TFHE.decrypt(result); + } + + function bin_op_add_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = aProc + bProc; + return TFHE.decrypt(result); + } + + function bin_op_sub_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = aProc - bProc; + return TFHE.decrypt(result); + } +} diff --git a/examples/tests/TFHETestSuite6.sol b/examples/tests/TFHETestSuite6.sol new file mode 100644 index 00000000..00b531fd --- /dev/null +++ b/examples/tests/TFHETestSuite6.sol @@ -0,0 +1,262 @@ +// SPDX-License-Identifier: BSD-3-Clause-Clear +pragma solidity ^0.8.20; + +import "../../lib/TFHE.sol"; + +contract TFHETestSuite6 { + function bin_op_mul_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = aProc * bProc; + return TFHE.decrypt(result); + } + + function bin_op_and_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = aProc & bProc; + return TFHE.decrypt(result); + } + + function bin_op_or_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = aProc | bProc; + return TFHE.decrypt(result); + } + + function bin_op_xor_euint4_euint4(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 bProc = TFHE.asEuint4(b); + euint4 result = aProc ^ bProc; + return TFHE.decrypt(result); + } + + function unary_op_neg_euint4(bytes calldata a) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 result = -aProc; + return TFHE.decrypt(result); + } + + function unary_op_not_euint4(bytes calldata a) public view returns (uint8) { + euint4 aProc = TFHE.asEuint4(a); + euint4 result = ~aProc; + return TFHE.decrypt(result); + } + + function bin_op_add_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = aProc + bProc; + return TFHE.decrypt(result); + } + + function bin_op_sub_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = aProc - bProc; + return TFHE.decrypt(result); + } + + function bin_op_mul_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = aProc * bProc; + return TFHE.decrypt(result); + } + + function bin_op_and_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = aProc & bProc; + return TFHE.decrypt(result); + } + + function bin_op_or_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = aProc | bProc; + return TFHE.decrypt(result); + } + + function bin_op_xor_euint8_euint8(bytes calldata a, bytes calldata b) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 bProc = TFHE.asEuint8(b); + euint8 result = aProc ^ bProc; + return TFHE.decrypt(result); + } + + function unary_op_neg_euint8(bytes calldata a) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 result = -aProc; + return TFHE.decrypt(result); + } + + function unary_op_not_euint8(bytes calldata a) public view returns (uint8) { + euint8 aProc = TFHE.asEuint8(a); + euint8 result = ~aProc; + return TFHE.decrypt(result); + } + + function bin_op_add_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = aProc + bProc; + return TFHE.decrypt(result); + } + + function bin_op_sub_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = aProc - bProc; + return TFHE.decrypt(result); + } + + function bin_op_mul_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = aProc * bProc; + return TFHE.decrypt(result); + } + + function bin_op_and_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = aProc & bProc; + return TFHE.decrypt(result); + } + + function bin_op_or_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = aProc | bProc; + return TFHE.decrypt(result); + } + + function bin_op_xor_euint16_euint16(bytes calldata a, bytes calldata b) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 bProc = TFHE.asEuint16(b); + euint16 result = aProc ^ bProc; + return TFHE.decrypt(result); + } + + function unary_op_neg_euint16(bytes calldata a) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 result = -aProc; + return TFHE.decrypt(result); + } + + function unary_op_not_euint16(bytes calldata a) public view returns (uint16) { + euint16 aProc = TFHE.asEuint16(a); + euint16 result = ~aProc; + return TFHE.decrypt(result); + } + + function bin_op_add_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = aProc + bProc; + return TFHE.decrypt(result); + } + + function bin_op_sub_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = aProc - bProc; + return TFHE.decrypt(result); + } + + function bin_op_mul_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = aProc * bProc; + return TFHE.decrypt(result); + } + + function bin_op_and_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = aProc & bProc; + return TFHE.decrypt(result); + } + + function bin_op_or_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = aProc | bProc; + return TFHE.decrypt(result); + } + + function bin_op_xor_euint32_euint32(bytes calldata a, bytes calldata b) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 bProc = TFHE.asEuint32(b); + euint32 result = aProc ^ bProc; + return TFHE.decrypt(result); + } + + function unary_op_neg_euint32(bytes calldata a) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 result = -aProc; + return TFHE.decrypt(result); + } + + function unary_op_not_euint32(bytes calldata a) public view returns (uint32) { + euint32 aProc = TFHE.asEuint32(a); + euint32 result = ~aProc; + return TFHE.decrypt(result); + } + + function bin_op_add_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = aProc + bProc; + return TFHE.decrypt(result); + } + + function bin_op_sub_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = aProc - bProc; + return TFHE.decrypt(result); + } + + function bin_op_mul_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = aProc * bProc; + return TFHE.decrypt(result); + } + + function bin_op_and_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = aProc & bProc; + return TFHE.decrypt(result); + } + + function bin_op_or_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = aProc | bProc; + return TFHE.decrypt(result); + } + + function bin_op_xor_euint64_euint64(bytes calldata a, bytes calldata b) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 bProc = TFHE.asEuint64(b); + euint64 result = aProc ^ bProc; + return TFHE.decrypt(result); + } + + function unary_op_neg_euint64(bytes calldata a) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 result = -aProc; + return TFHE.decrypt(result); + } + + function unary_op_not_euint64(bytes calldata a) public view returns (uint64) { + euint64 aProc = TFHE.asEuint64(a); + euint64 result = ~aProc; + return TFHE.decrypt(result); + } +} diff --git a/lib/TFHE.sol b/lib/TFHE.sol index 1f3a0d9c..0c59b7ac 100644 --- a/lib/TFHE.sol +++ b/lib/TFHE.sol @@ -22,6 +22,7 @@ library Common { import "./Impl.sol"; library TFHE { + euint4 constant NIL4 = euint4.wrap(0); euint8 constant NIL8 = euint8.wrap(0); euint16 constant NIL16 = euint16.wrap(0); euint32 constant NIL32 = euint32.wrap(0); @@ -32,24 +33,1146 @@ library TFHE { return ebool.unwrap(v) != 0; } + // Return true if the enrypted integer is initialized and false otherwise. + function isInitialized(euint4 v) internal pure returns (bool) { + return euint4.unwrap(v) != 0; + } + // Return true if the enrypted integer is initialized and false otherwise. function isInitialized(euint8 v) internal pure returns (bool) { return euint8.unwrap(v) != 0; } - // Return true if the enrypted integer is initialized and false otherwise. - function isInitialized(euint16 v) internal pure returns (bool) { - return euint16.unwrap(v) != 0; + // Return true if the enrypted integer is initialized and false otherwise. + function isInitialized(euint16 v) internal pure returns (bool) { + return euint16.unwrap(v) != 0; + } + + // Return true if the enrypted integer is initialized and false otherwise. + function isInitialized(euint32 v) internal pure returns (bool) { + return euint32.unwrap(v) != 0; + } + + // Return true if the enrypted integer is initialized and false otherwise. + function isInitialized(euint64 v) internal pure returns (bool) { + return euint64.unwrap(v) != 0; + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.add(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.sub(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.mul(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.and(euint4.unwrap(a), euint4.unwrap(b))); + } + + // Evaluate or(a, b) and return the result. + function or(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.or(euint4.unwrap(a), euint4.unwrap(b))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.xor(euint4.unwrap(a), euint4.unwrap(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.le(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.lt(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.min(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.max(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.add(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.sub(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.mul(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.and(euint8.unwrap(asEuint8(a)), euint8.unwrap(b))); + } + + // Evaluate or(a, b) and return the result. + function or(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.or(euint8.unwrap(asEuint8(a)), euint8.unwrap(b))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.xor(euint8.unwrap(asEuint8(a)), euint8.unwrap(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.eq(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.ne(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.ge(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.gt(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.le(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.lt(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.min(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.max(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.add(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.sub(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.mul(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.and(euint16.unwrap(asEuint16(a)), euint16.unwrap(b))); + } + + // Evaluate or(a, b) and return the result. + function or(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.or(euint16.unwrap(asEuint16(a)), euint16.unwrap(b))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.xor(euint16.unwrap(asEuint16(a)), euint16.unwrap(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.eq(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.ne(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.ge(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.gt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.le(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.lt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.min(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.max(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.add(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.sub(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.mul(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.and(euint32.unwrap(asEuint32(a)), euint32.unwrap(b))); + } + + // Evaluate or(a, b) and return the result. + function or(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.or(euint32.unwrap(asEuint32(a)), euint32.unwrap(b))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.xor(euint32.unwrap(asEuint32(a)), euint32.unwrap(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.eq(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.ne(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.ge(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.gt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.le(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.lt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.min(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.max(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.add(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.sub(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.mul(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.and(euint64.unwrap(asEuint64(a)), euint64.unwrap(b))); + } + + // Evaluate or(a, b) and return the result. + function or(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.or(euint64.unwrap(asEuint64(a)), euint64.unwrap(b))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.xor(euint64.unwrap(asEuint64(a)), euint64.unwrap(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.min(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.max(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.add(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate add(a, b) and return the result. + function add(uint8 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.add(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.sub(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate sub(a, b) and return the result. + function sub(uint8 a, euint4 b) internal pure returns (euint4) { + euint4 aEnc = asEuint4(a); + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.sub(euint4.unwrap(aEnc), euint4.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.mul(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate mul(a, b) and return the result. + function mul(uint8 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.mul(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate div(a, b) and return the result. + function div(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.div(euint4.unwrap(a), uint256(b))); + } + + // Evaluate rem(a, b) and return the result. + function rem(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.rem(euint4.unwrap(a), uint256(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate eq(a, b) and return the result. + function eq(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate ne(a, b) and return the result. + function ne(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate ge(a, b) and return the result. + function ge(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.le(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate gt(a, b) and return the result. + function gt(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.lt(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.le(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate le(a, b) and return the result. + function le(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.lt(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate lt(a, b) and return the result. + function lt(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.min(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate min(a, b) and return the result. + function min(uint8 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.min(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.max(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate max(a, b) and return the result. + function max(uint8 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.max(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate add(a, b) and return the result. + function add(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.add(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.sub(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.mul(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.and(euint8.unwrap(a), euint8.unwrap(asEuint8(b)))); + } + + // Evaluate or(a, b) and return the result. + function or(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.or(euint8.unwrap(a), euint8.unwrap(asEuint8(b)))); } - // Return true if the enrypted integer is initialized and false otherwise. - function isInitialized(euint32 v) internal pure returns (bool) { - return euint32.unwrap(v) != 0; + // Evaluate xor(a, b) and return the result. + function xor(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.xor(euint8.unwrap(a), euint8.unwrap(asEuint8(b)))); } - // Return true if the enrypted integer is initialized and false otherwise. - function isInitialized(euint64 v) internal pure returns (bool) { - return euint64.unwrap(v) != 0; + // Evaluate eq(a, b) and return the result. + function eq(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.le(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.lt(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.min(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.max(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); } // Evaluate add(a, b) and return the result. @@ -710,155 +1833,309 @@ library TFHE { } // Evaluate mul(a, b) and return the result. - function mul(uint8 a, euint8 b) internal pure returns (euint8) { + function mul(uint8 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.mul(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate div(a, b) and return the result. + function div(euint8 a, uint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return euint8.wrap(Impl.div(euint8.unwrap(a), uint256(b))); + } + + // Evaluate rem(a, b) and return the result. + function rem(euint8 a, uint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return euint8.wrap(Impl.rem(euint8.unwrap(a), uint256(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.eq(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate eq(a, b) and return the result. + function eq(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.eq(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.ne(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate ne(a, b) and return the result. + function ne(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.ne(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.ge(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate ge(a, b) and return the result. + function ge(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.le(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.gt(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate gt(a, b) and return the result. + function gt(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.lt(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate le(a, b) and return the result. + function le(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.le(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate le(a, b) and return the result. + function le(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.ge(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.lt(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate lt(a, b) and return the result. + function lt(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.gt(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate min(a, b) and return the result. + function min(euint8 a, uint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return euint8.wrap(Impl.min(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate min(a, b) and return the result. + function min(uint8 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.min(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate max(a, b) and return the result. + function max(euint8 a, uint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return euint8.wrap(Impl.max(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate max(a, b) and return the result. + function max(uint8 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.max(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate add(a, b) and return the result. + function add(euint16 a, euint4 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint16(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint16.wrap(Impl.add(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint16 a, euint4 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint16(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint16.wrap(Impl.sub(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint16 a, euint4 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint16(0); + } if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return euint8.wrap(Impl.mul(euint8.unwrap(b), uint256(a), true)); + return euint16.wrap(Impl.mul(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } - // Evaluate div(a, b) and return the result. - function div(euint8 a, uint8 b) internal pure returns (euint8) { + // Evaluate and(a, b) and return the result. + function and(euint16 a, euint4 b) internal pure returns (euint16) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return euint8.wrap(Impl.div(euint8.unwrap(a), uint256(b))); + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint16.wrap(Impl.and(euint16.unwrap(a), euint16.unwrap(asEuint16(b)))); } - // Evaluate rem(a, b) and return the result. - function rem(euint8 a, uint8 b) internal pure returns (euint8) { + // Evaluate or(a, b) and return the result. + function or(euint16 a, euint4 b) internal pure returns (euint16) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return euint8.wrap(Impl.rem(euint8.unwrap(a), uint256(b))); + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint16.wrap(Impl.or(euint16.unwrap(a), euint16.unwrap(asEuint16(b)))); } - // Evaluate eq(a, b) and return the result. - function eq(euint8 a, uint8 b) internal pure returns (ebool) { + // Evaluate xor(a, b) and return the result. + function xor(euint16 a, euint4 b) internal pure returns (euint16) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.eq(euint8.unwrap(a), uint256(b), true)); + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint16.wrap(Impl.xor(euint16.unwrap(a), euint16.unwrap(asEuint16(b)))); } // Evaluate eq(a, b) and return the result. - function eq(uint8 a, euint8 b) internal pure returns (ebool) { + function eq(euint16 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint16(0); + } if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.eq(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.eq(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate ne(a, b) and return the result. - function ne(euint8 a, uint8 b) internal pure returns (ebool) { + function ne(euint16 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.ne(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate ne(a, b) and return the result. - function ne(uint8 a, euint8 b) internal pure returns (ebool) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.ne(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.ne(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate ge(a, b) and return the result. - function ge(euint8 a, uint8 b) internal pure returns (ebool) { + function ge(euint16 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.ge(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate ge(a, b) and return the result. - function ge(uint8 a, euint8 b) internal pure returns (ebool) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.le(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.ge(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate gt(a, b) and return the result. - function gt(euint8 a, uint8 b) internal pure returns (ebool) { + function gt(euint16 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.gt(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate gt(a, b) and return the result. - function gt(uint8 a, euint8 b) internal pure returns (ebool) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.lt(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.gt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate le(a, b) and return the result. - function le(euint8 a, uint8 b) internal pure returns (ebool) { + function le(euint16 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.le(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate le(a, b) and return the result. - function le(uint8 a, euint8 b) internal pure returns (ebool) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.ge(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.le(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate lt(a, b) and return the result. - function lt(euint8 a, uint8 b) internal pure returns (ebool) { + function lt(euint16 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.lt(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate lt(a, b) and return the result. - function lt(uint8 a, euint8 b) internal pure returns (ebool) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.gt(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.lt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate min(a, b) and return the result. - function min(euint8 a, uint8 b) internal pure returns (euint8) { + function min(euint16 a, euint4 b) internal pure returns (euint16) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return euint8.wrap(Impl.min(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate min(a, b) and return the result. - function min(uint8 a, euint8 b) internal pure returns (euint8) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return euint8.wrap(Impl.min(euint8.unwrap(b), uint256(a), true)); + return euint16.wrap(Impl.min(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate max(a, b) and return the result. - function max(euint8 a, uint8 b) internal pure returns (euint8) { + function max(euint16 a, euint4 b) internal pure returns (euint16) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return euint8.wrap(Impl.max(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate max(a, b) and return the result. - function max(uint8 a, euint8 b) internal pure returns (euint8) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return euint8.wrap(Impl.max(euint8.unwrap(b), uint256(a), true)); + return euint16.wrap(Impl.max(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate add(a, b) and return the result. @@ -1622,52 +2899,206 @@ library TFHE { return ebool.wrap(Impl.ge(euint16.unwrap(b), uint256(a), true)); } - // Evaluate lt(a, b) and return the result. - function lt(euint16 a, uint16 b) internal pure returns (ebool) { + // Evaluate lt(a, b) and return the result. + function lt(euint16 a, uint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint16(0); + } + return ebool.wrap(Impl.lt(euint16.unwrap(a), uint256(b), true)); + } + + // Evaluate lt(a, b) and return the result. + function lt(uint16 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.gt(euint16.unwrap(b), uint256(a), true)); + } + + // Evaluate min(a, b) and return the result. + function min(euint16 a, uint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint16(0); + } + return euint16.wrap(Impl.min(euint16.unwrap(a), uint256(b), true)); + } + + // Evaluate min(a, b) and return the result. + function min(uint16 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.min(euint16.unwrap(b), uint256(a), true)); + } + + // Evaluate max(a, b) and return the result. + function max(euint16 a, uint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint16(0); + } + return euint16.wrap(Impl.max(euint16.unwrap(a), uint256(b), true)); + } + + // Evaluate max(a, b) and return the result. + function max(uint16 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.max(euint16.unwrap(b), uint256(a), true)); + } + + // Evaluate add(a, b) and return the result. + function add(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.add(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.sub(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.mul(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.and(euint32.unwrap(a), euint32.unwrap(asEuint32(b)))); + } + + // Evaluate or(a, b) and return the result. + function or(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.or(euint32.unwrap(a), euint32.unwrap(asEuint32(b)))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.xor(euint32.unwrap(a), euint32.unwrap(asEuint32(b)))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint32 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint32 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint32 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint32 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint32 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint16(0); + a = asEuint32(0); } - return ebool.wrap(Impl.lt(euint16.unwrap(a), uint256(b), true)); + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.le(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate lt(a, b) and return the result. - function lt(uint16 a, euint16 b) internal pure returns (ebool) { + function lt(euint32 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint32(0); + } if (!isInitialized(b)) { - b = asEuint16(0); + b = asEuint4(0); } - return ebool.wrap(Impl.gt(euint16.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.lt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate min(a, b) and return the result. - function min(euint16 a, uint16 b) internal pure returns (euint16) { + function min(euint32 a, euint4 b) internal pure returns (euint32) { if (!isInitialized(a)) { - a = asEuint16(0); + a = asEuint32(0); } - return euint16.wrap(Impl.min(euint16.unwrap(a), uint256(b), true)); - } - - // Evaluate min(a, b) and return the result. - function min(uint16 a, euint16 b) internal pure returns (euint16) { if (!isInitialized(b)) { - b = asEuint16(0); + b = asEuint4(0); } - return euint16.wrap(Impl.min(euint16.unwrap(b), uint256(a), true)); + return euint32.wrap(Impl.min(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate max(a, b) and return the result. - function max(euint16 a, uint16 b) internal pure returns (euint16) { + function max(euint32 a, euint4 b) internal pure returns (euint32) { if (!isInitialized(a)) { - a = asEuint16(0); + a = asEuint32(0); } - return euint16.wrap(Impl.max(euint16.unwrap(a), uint256(b), true)); - } - - // Evaluate max(a, b) and return the result. - function max(uint16 a, euint16 b) internal pure returns (euint16) { if (!isInitialized(b)) { - b = asEuint16(0); + b = asEuint4(0); } - return euint16.wrap(Impl.max(euint16.unwrap(b), uint256(a), true)); + return euint32.wrap(Impl.max(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate add(a, b) and return the result. @@ -2479,6 +3910,160 @@ library TFHE { return euint32.wrap(Impl.max(euint32.unwrap(b), uint256(a), true)); } + // Evaluate add(a, b) and return the result. + function add(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.add(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.sub(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.mul(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.and(euint64.unwrap(a), euint64.unwrap(asEuint64(b)))); + } + + // Evaluate or(a, b) and return the result. + function or(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.or(euint64.unwrap(a), euint64.unwrap(asEuint64(b)))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.xor(euint64.unwrap(a), euint64.unwrap(asEuint64(b)))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.min(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.max(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + // Evaluate add(a, b) and return the result. function add(euint64 a, euint8 b) internal pure returns (euint64) { if (!isInitialized(a)) { @@ -3288,6 +4873,22 @@ library TFHE { return euint64.wrap(Impl.max(euint64.unwrap(b), uint256(a), true)); } + // Evaluate shl(a, b) and return the result. + function shl(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.shl(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate shr(a, b) and return the result. + function shr(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.shr(euint4.unwrap(a), uint256(b), true)); + } + // Evaluate shl(a, b) and return the result. function shl(euint8 a, euint8 b) internal pure returns (euint8) { if (!isInitialized(a)) { @@ -3440,6 +5041,12 @@ library TFHE { return euint64.wrap(Impl.shr(euint64.unwrap(a), uint256(b), true)); } + // If 'control''s value is 'true', the result has the same value as 'a'. + // If 'control''s value is 'false', the result has the same value as 'b'. + function cmux(ebool control, euint4 a, euint4 b) internal pure returns (euint4) { + return euint4.wrap(Impl.cmux(ebool.unwrap(control), euint4.unwrap(a), euint4.unwrap(b))); + } + // If 'control''s value is 'true', the result has the same value as 'a'. // If 'control''s value is 'false', the result has the same value as 'b'. function cmux(ebool control, euint8 a, euint8 b) internal pure returns (euint8) { @@ -3464,6 +5071,41 @@ library TFHE { return euint64.wrap(Impl.cmux(ebool.unwrap(control), euint64.unwrap(a), euint64.unwrap(b))); } + // Cast an encrypted integer from euint8 to euint4. + function asEuint4(euint8 value) internal pure returns (euint4) { + return euint4.wrap(Impl.cast(euint8.unwrap(value), Common.euint4_t)); + } + + // Cast an encrypted integer from euint16 to euint4. + function asEuint4(euint16 value) internal pure returns (euint4) { + return euint4.wrap(Impl.cast(euint16.unwrap(value), Common.euint4_t)); + } + + // Cast an encrypted integer from euint32 to euint4. + function asEuint4(euint32 value) internal pure returns (euint4) { + return euint4.wrap(Impl.cast(euint32.unwrap(value), Common.euint4_t)); + } + + // Cast an encrypted integer from euint64 to euint4. + function asEuint4(euint64 value) internal pure returns (euint4) { + return euint4.wrap(Impl.cast(euint64.unwrap(value), Common.euint4_t)); + } + + // Cast an encrypted integer from euint4 to ebool. + function asEbool(euint4 value) internal pure returns (ebool) { + return ne(value, 0); + } + + // Converts an 'ebool' to an 'euint4'. + function asEuint4(ebool b) internal pure returns (euint4) { + return euint4.wrap(Impl.cast(ebool.unwrap(b), Common.euint4_t)); + } + + // Cast an encrypted integer from euint4 to euint8. + function asEuint8(euint4 value) internal pure returns (euint8) { + return euint8.wrap(Impl.cast(euint4.unwrap(value), Common.euint8_t)); + } + // Cast an encrypted integer from euint16 to euint8. function asEuint8(euint16 value) internal pure returns (euint8) { return euint8.wrap(Impl.cast(euint16.unwrap(value), Common.euint8_t)); @@ -3527,6 +5169,11 @@ library TFHE { return ebool.wrap(Impl.not(ebool.unwrap(a))); } + // Cast an encrypted integer from euint4 to euint16. + function asEuint16(euint4 value) internal pure returns (euint16) { + return euint16.wrap(Impl.cast(euint4.unwrap(value), Common.euint16_t)); + } + // Cast an encrypted integer from euint8 to euint16. function asEuint16(euint8 value) internal pure returns (euint16) { return euint16.wrap(Impl.cast(euint8.unwrap(value), Common.euint16_t)); @@ -3552,6 +5199,11 @@ library TFHE { return euint16.wrap(Impl.cast(ebool.unwrap(b), Common.euint16_t)); } + // Cast an encrypted integer from euint4 to euint32. + function asEuint32(euint4 value) internal pure returns (euint32) { + return euint32.wrap(Impl.cast(euint4.unwrap(value), Common.euint32_t)); + } + // Cast an encrypted integer from euint8 to euint32. function asEuint32(euint8 value) internal pure returns (euint32) { return euint32.wrap(Impl.cast(euint8.unwrap(value), Common.euint32_t)); @@ -3577,6 +5229,11 @@ library TFHE { return euint32.wrap(Impl.cast(ebool.unwrap(b), Common.euint32_t)); } + // Cast an encrypted integer from euint4 to euint64. + function asEuint64(euint4 value) internal pure returns (euint64) { + return euint64.wrap(Impl.cast(euint4.unwrap(value), Common.euint64_t)); + } + // Cast an encrypted integer from euint8 to euint64. function asEuint64(euint8 value) internal pure returns (euint64) { return euint64.wrap(Impl.cast(euint8.unwrap(value), Common.euint64_t)); @@ -3602,6 +5259,14 @@ library TFHE { return euint64.wrap(Impl.cast(ebool.unwrap(b), Common.euint64_t)); } + function neg(euint4 value) internal pure returns (euint4) { + return euint4.wrap(Impl.neg(euint4.unwrap(value))); + } + + function not(euint4 value) internal pure returns (euint4) { + return euint4.wrap(Impl.not(euint4.unwrap(value))); + } + function neg(euint8 value) internal pure returns (euint8) { return euint8.wrap(Impl.neg(euint8.unwrap(value))); } @@ -3634,6 +5299,42 @@ library TFHE { return euint64.wrap(Impl.not(euint64.unwrap(value))); } + // Convert a serialized 'ciphertext' to an encrypted euint4 integer. + function asEuint4(bytes memory ciphertext) internal pure returns (euint4) { + return euint4.wrap(Impl.verify(ciphertext, Common.euint4_t)); + } + + // Convert a plaintext value to an encrypted euint4 integer. + function asEuint4(uint256 value) internal pure returns (euint4) { + return euint4.wrap(Impl.trivialEncrypt(value, Common.euint4_t)); + } + + // Reencrypt the given 'value' under the given 'publicKey'. + // Return a serialized euint4 ciphertext. + function reencrypt(euint4 value, bytes32 publicKey) internal view returns (bytes memory reencrypted) { + return Impl.reencrypt(euint4.unwrap(value), publicKey); + } + + // Reencrypt the given 'value' under the given 'publicKey'. + // If 'value' is not initialized, the returned value will contain the 'defaultValue' constant. + // Return a serialized euint4 ciphertext. + function reencrypt( + euint4 value, + bytes32 publicKey, + uint8 defaultValue + ) internal view returns (bytes memory reencrypted) { + if (euint4.unwrap(value) != 0) { + return Impl.reencrypt(euint4.unwrap(value), publicKey); + } else { + return Impl.reencrypt(euint4.unwrap(asEuint4(defaultValue)), publicKey); + } + } + + // Decrypts the encrypted 'value'. + function decrypt(euint4 value) internal view returns (uint8) { + return uint8(Impl.decrypt(euint4.unwrap(value))); + } + // Convert a serialized 'ciphertext' to an encrypted euint8 integer. function asEuint8(bytes memory ciphertext) internal pure returns (euint8) { return euint8.wrap(Impl.verify(ciphertext, Common.euint8_t)); @@ -3873,6 +5574,54 @@ library TFHE { } } +using {tfheBinaryOperatorAdd4 as +} for euint4 global; + +function tfheBinaryOperatorAdd4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.add(lhs, rhs); +} + +using {tfheBinaryOperatorSub4 as -} for euint4 global; + +function tfheBinaryOperatorSub4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.sub(lhs, rhs); +} + +using {tfheBinaryOperatorMul4 as *} for euint4 global; + +function tfheBinaryOperatorMul4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.mul(lhs, rhs); +} + +using {tfheBinaryOperatorAnd4 as &} for euint4 global; + +function tfheBinaryOperatorAnd4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.and(lhs, rhs); +} + +using {tfheBinaryOperatorOr4 as |} for euint4 global; + +function tfheBinaryOperatorOr4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.or(lhs, rhs); +} + +using {tfheBinaryOperatorXor4 as ^} for euint4 global; + +function tfheBinaryOperatorXor4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.xor(lhs, rhs); +} + +using {tfheUnaryOperatorNeg4 as -} for euint4 global; + +function tfheUnaryOperatorNeg4(euint4 input) pure returns (euint4) { + return TFHE.neg(input); +} + +using {tfheUnaryOperatorNot4 as ~} for euint4 global; + +function tfheUnaryOperatorNot4(euint4 input) pure returns (euint4) { + return TFHE.not(input); +} + using {tfheBinaryOperatorAdd8 as +} for euint8 global; function tfheBinaryOperatorAdd8(euint8 lhs, euint8 rhs) pure returns (euint8) { diff --git a/mocks/TFHE.sol b/mocks/TFHE.sol index f9cd4d61..a440e072 100644 --- a/mocks/TFHE.sol +++ b/mocks/TFHE.sol @@ -22,6 +22,7 @@ library Common { import "./Impl.sol"; library TFHE { + euint4 constant NIL4 = euint4.wrap(0); euint8 constant NIL8 = euint8.wrap(0); euint16 constant NIL16 = euint16.wrap(0); euint32 constant NIL32 = euint32.wrap(0); @@ -32,24 +33,1146 @@ library TFHE { return true; } + // Return true if the enrypted integer is initialized and false otherwise. + function isInitialized(euint4 /*v*/) internal pure returns (bool) { + return true; + } + // Return true if the enrypted integer is initialized and false otherwise. function isInitialized(euint8 /*v*/) internal pure returns (bool) { return true; } - // Return true if the enrypted integer is initialized and false otherwise. - function isInitialized(euint16 /*v*/) internal pure returns (bool) { - return true; + // Return true if the enrypted integer is initialized and false otherwise. + function isInitialized(euint16 /*v*/) internal pure returns (bool) { + return true; + } + + // Return true if the enrypted integer is initialized and false otherwise. + function isInitialized(euint32 /*v*/) internal pure returns (bool) { + return true; + } + + // Return true if the enrypted integer is initialized and false otherwise. + function isInitialized(euint64 /*v*/) internal pure returns (bool) { + return true; + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.add(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.sub(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.mul(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.and(euint4.unwrap(a), euint4.unwrap(b))); + } + + // Evaluate or(a, b) and return the result. + function or(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.or(euint4.unwrap(a), euint4.unwrap(b))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.xor(euint4.unwrap(a), euint4.unwrap(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.le(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.lt(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.min(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.max(euint4.unwrap(a), euint4.unwrap(b), false)); + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.add(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.sub(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.mul(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.and(euint8.unwrap(asEuint8(a)), euint8.unwrap(b))); + } + + // Evaluate or(a, b) and return the result. + function or(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.or(euint8.unwrap(asEuint8(a)), euint8.unwrap(b))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.xor(euint8.unwrap(asEuint8(a)), euint8.unwrap(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.eq(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.ne(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.ge(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.gt(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.le(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.lt(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.min(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.max(euint8.unwrap(asEuint8(a)), euint8.unwrap(b), false)); + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.add(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.sub(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.mul(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.and(euint16.unwrap(asEuint16(a)), euint16.unwrap(b))); + } + + // Evaluate or(a, b) and return the result. + function or(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.or(euint16.unwrap(asEuint16(a)), euint16.unwrap(b))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.xor(euint16.unwrap(asEuint16(a)), euint16.unwrap(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.eq(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.ne(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.ge(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.gt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.le(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.lt(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.min(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.max(euint16.unwrap(asEuint16(a)), euint16.unwrap(b), false)); + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.add(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.sub(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.mul(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.and(euint32.unwrap(asEuint32(a)), euint32.unwrap(b))); + } + + // Evaluate or(a, b) and return the result. + function or(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.or(euint32.unwrap(asEuint32(a)), euint32.unwrap(b))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.xor(euint32.unwrap(asEuint32(a)), euint32.unwrap(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.eq(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.ne(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.ge(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.gt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.le(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, euint32 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return ebool.wrap(Impl.lt(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.min(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, euint32 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint32(0); + } + return euint32.wrap(Impl.max(euint32.unwrap(asEuint32(a)), euint32.unwrap(b), false)); + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.add(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.sub(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.mul(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.and(euint64.unwrap(asEuint64(a)), euint64.unwrap(b))); + } + + // Evaluate or(a, b) and return the result. + function or(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.or(euint64.unwrap(asEuint64(a)), euint64.unwrap(b))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.xor(euint64.unwrap(asEuint64(a)), euint64.unwrap(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.eq(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.ne(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.ge(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.gt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.le(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, euint64 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return ebool.wrap(Impl.lt(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.min(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, euint64 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + if (!isInitialized(b)) { + b = asEuint64(0); + } + return euint64.wrap(Impl.max(euint64.unwrap(asEuint64(a)), euint64.unwrap(b), false)); + } + + // Evaluate add(a, b) and return the result. + function add(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.add(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate add(a, b) and return the result. + function add(uint8 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.add(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.sub(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate sub(a, b) and return the result. + function sub(uint8 a, euint4 b) internal pure returns (euint4) { + euint4 aEnc = asEuint4(a); + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.sub(euint4.unwrap(aEnc), euint4.unwrap(b), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.mul(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate mul(a, b) and return the result. + function mul(uint8 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.mul(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate div(a, b) and return the result. + function div(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.div(euint4.unwrap(a), uint256(b))); + } + + // Evaluate rem(a, b) and return the result. + function rem(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.rem(euint4.unwrap(a), uint256(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate eq(a, b) and return the result. + function eq(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate ne(a, b) and return the result. + function ne(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate ge(a, b) and return the result. + function ge(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.le(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate gt(a, b) and return the result. + function gt(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.lt(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate le(a, b) and return the result. + function le(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.le(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate le(a, b) and return the result. + function le(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint4 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return ebool.wrap(Impl.lt(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate lt(a, b) and return the result. + function lt(uint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate min(a, b) and return the result. + function min(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.min(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate min(a, b) and return the result. + function min(uint8 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.min(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate max(a, b) and return the result. + function max(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.max(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate max(a, b) and return the result. + function max(uint8 a, euint4 b) internal pure returns (euint4) { + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint4.wrap(Impl.max(euint4.unwrap(b), uint256(a), true)); + } + + // Evaluate add(a, b) and return the result. + function add(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.add(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.sub(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.mul(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.and(euint8.unwrap(a), euint8.unwrap(asEuint8(b)))); + } + + // Evaluate or(a, b) and return the result. + function or(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.or(euint8.unwrap(a), euint8.unwrap(asEuint8(b)))); } - // Return true if the enrypted integer is initialized and false otherwise. - function isInitialized(euint32 /*v*/) internal pure returns (bool) { - return true; + // Evaluate xor(a, b) and return the result. + function xor(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.xor(euint8.unwrap(a), euint8.unwrap(asEuint8(b)))); } - // Return true if the enrypted integer is initialized and false otherwise. - function isInitialized(euint64 /*v*/) internal pure returns (bool) { - return true; + // Evaluate eq(a, b) and return the result. + function eq(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.le(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint8 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.lt(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.min(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint8 a, euint4 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint8.wrap(Impl.max(euint8.unwrap(a), euint8.unwrap(asEuint8(b)), false)); } // Evaluate add(a, b) and return the result. @@ -710,155 +1833,309 @@ library TFHE { } // Evaluate mul(a, b) and return the result. - function mul(uint8 a, euint8 b) internal pure returns (euint8) { + function mul(uint8 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.mul(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate div(a, b) and return the result. + function div(euint8 a, uint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return euint8.wrap(Impl.div(euint8.unwrap(a), uint256(b))); + } + + // Evaluate rem(a, b) and return the result. + function rem(euint8 a, uint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return euint8.wrap(Impl.rem(euint8.unwrap(a), uint256(b))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.eq(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate eq(a, b) and return the result. + function eq(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.eq(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.ne(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate ne(a, b) and return the result. + function ne(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.ne(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.ge(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate ge(a, b) and return the result. + function ge(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.le(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.gt(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate gt(a, b) and return the result. + function gt(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.lt(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate le(a, b) and return the result. + function le(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.le(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate le(a, b) and return the result. + function le(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.ge(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint8 a, uint8 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return ebool.wrap(Impl.lt(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate lt(a, b) and return the result. + function lt(uint8 a, euint8 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return ebool.wrap(Impl.gt(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate min(a, b) and return the result. + function min(euint8 a, uint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return euint8.wrap(Impl.min(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate min(a, b) and return the result. + function min(uint8 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.min(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate max(a, b) and return the result. + function max(euint8 a, uint8 b) internal pure returns (euint8) { + if (!isInitialized(a)) { + a = asEuint8(0); + } + return euint8.wrap(Impl.max(euint8.unwrap(a), uint256(b), true)); + } + + // Evaluate max(a, b) and return the result. + function max(uint8 a, euint8 b) internal pure returns (euint8) { + if (!isInitialized(b)) { + b = asEuint8(0); + } + return euint8.wrap(Impl.max(euint8.unwrap(b), uint256(a), true)); + } + + // Evaluate add(a, b) and return the result. + function add(euint16 a, euint4 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint16(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint16.wrap(Impl.add(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint16 a, euint4 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint16(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint16.wrap(Impl.sub(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint16 a, euint4 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint16(0); + } if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return euint8.wrap(Impl.mul(euint8.unwrap(b), uint256(a), true)); + return euint16.wrap(Impl.mul(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } - // Evaluate div(a, b) and return the result. - function div(euint8 a, uint8 b) internal pure returns (euint8) { + // Evaluate and(a, b) and return the result. + function and(euint16 a, euint4 b) internal pure returns (euint16) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return euint8.wrap(Impl.div(euint8.unwrap(a), uint256(b))); + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint16.wrap(Impl.and(euint16.unwrap(a), euint16.unwrap(asEuint16(b)))); } - // Evaluate rem(a, b) and return the result. - function rem(euint8 a, uint8 b) internal pure returns (euint8) { + // Evaluate or(a, b) and return the result. + function or(euint16 a, euint4 b) internal pure returns (euint16) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return euint8.wrap(Impl.rem(euint8.unwrap(a), uint256(b))); + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint16.wrap(Impl.or(euint16.unwrap(a), euint16.unwrap(asEuint16(b)))); } - // Evaluate eq(a, b) and return the result. - function eq(euint8 a, uint8 b) internal pure returns (ebool) { + // Evaluate xor(a, b) and return the result. + function xor(euint16 a, euint4 b) internal pure returns (euint16) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.eq(euint8.unwrap(a), uint256(b), true)); + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint16.wrap(Impl.xor(euint16.unwrap(a), euint16.unwrap(asEuint16(b)))); } // Evaluate eq(a, b) and return the result. - function eq(uint8 a, euint8 b) internal pure returns (ebool) { + function eq(euint16 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint16(0); + } if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.eq(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.eq(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate ne(a, b) and return the result. - function ne(euint8 a, uint8 b) internal pure returns (ebool) { + function ne(euint16 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.ne(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate ne(a, b) and return the result. - function ne(uint8 a, euint8 b) internal pure returns (ebool) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.ne(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.ne(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate ge(a, b) and return the result. - function ge(euint8 a, uint8 b) internal pure returns (ebool) { + function ge(euint16 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.ge(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate ge(a, b) and return the result. - function ge(uint8 a, euint8 b) internal pure returns (ebool) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.le(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.ge(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate gt(a, b) and return the result. - function gt(euint8 a, uint8 b) internal pure returns (ebool) { + function gt(euint16 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.gt(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate gt(a, b) and return the result. - function gt(uint8 a, euint8 b) internal pure returns (ebool) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.lt(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.gt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate le(a, b) and return the result. - function le(euint8 a, uint8 b) internal pure returns (ebool) { + function le(euint16 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.le(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate le(a, b) and return the result. - function le(uint8 a, euint8 b) internal pure returns (ebool) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.ge(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.le(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate lt(a, b) and return the result. - function lt(euint8 a, uint8 b) internal pure returns (ebool) { + function lt(euint16 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return ebool.wrap(Impl.lt(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate lt(a, b) and return the result. - function lt(uint8 a, euint8 b) internal pure returns (ebool) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return ebool.wrap(Impl.gt(euint8.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.lt(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate min(a, b) and return the result. - function min(euint8 a, uint8 b) internal pure returns (euint8) { + function min(euint16 a, euint4 b) internal pure returns (euint16) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return euint8.wrap(Impl.min(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate min(a, b) and return the result. - function min(uint8 a, euint8 b) internal pure returns (euint8) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return euint8.wrap(Impl.min(euint8.unwrap(b), uint256(a), true)); + return euint16.wrap(Impl.min(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate max(a, b) and return the result. - function max(euint8 a, uint8 b) internal pure returns (euint8) { + function max(euint16 a, euint4 b) internal pure returns (euint16) { if (!isInitialized(a)) { - a = asEuint8(0); + a = asEuint16(0); } - return euint8.wrap(Impl.max(euint8.unwrap(a), uint256(b), true)); - } - - // Evaluate max(a, b) and return the result. - function max(uint8 a, euint8 b) internal pure returns (euint8) { if (!isInitialized(b)) { - b = asEuint8(0); + b = asEuint4(0); } - return euint8.wrap(Impl.max(euint8.unwrap(b), uint256(a), true)); + return euint16.wrap(Impl.max(euint16.unwrap(a), euint16.unwrap(asEuint16(b)), false)); } // Evaluate add(a, b) and return the result. @@ -1622,52 +2899,206 @@ library TFHE { return ebool.wrap(Impl.ge(euint16.unwrap(b), uint256(a), true)); } - // Evaluate lt(a, b) and return the result. - function lt(euint16 a, uint16 b) internal pure returns (ebool) { + // Evaluate lt(a, b) and return the result. + function lt(euint16 a, uint16 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint16(0); + } + return ebool.wrap(Impl.lt(euint16.unwrap(a), uint256(b), true)); + } + + // Evaluate lt(a, b) and return the result. + function lt(uint16 a, euint16 b) internal pure returns (ebool) { + if (!isInitialized(b)) { + b = asEuint16(0); + } + return ebool.wrap(Impl.gt(euint16.unwrap(b), uint256(a), true)); + } + + // Evaluate min(a, b) and return the result. + function min(euint16 a, uint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint16(0); + } + return euint16.wrap(Impl.min(euint16.unwrap(a), uint256(b), true)); + } + + // Evaluate min(a, b) and return the result. + function min(uint16 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.min(euint16.unwrap(b), uint256(a), true)); + } + + // Evaluate max(a, b) and return the result. + function max(euint16 a, uint16 b) internal pure returns (euint16) { + if (!isInitialized(a)) { + a = asEuint16(0); + } + return euint16.wrap(Impl.max(euint16.unwrap(a), uint256(b), true)); + } + + // Evaluate max(a, b) and return the result. + function max(uint16 a, euint16 b) internal pure returns (euint16) { + if (!isInitialized(b)) { + b = asEuint16(0); + } + return euint16.wrap(Impl.max(euint16.unwrap(b), uint256(a), true)); + } + + // Evaluate add(a, b) and return the result. + function add(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.add(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.sub(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.mul(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.and(euint32.unwrap(a), euint32.unwrap(asEuint32(b)))); + } + + // Evaluate or(a, b) and return the result. + function or(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.or(euint32.unwrap(a), euint32.unwrap(asEuint32(b)))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint32 a, euint4 b) internal pure returns (euint32) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint32.wrap(Impl.xor(euint32.unwrap(a), euint32.unwrap(asEuint32(b)))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint32 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint32 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint32 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint32 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint32(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint32 a, euint4 b) internal pure returns (ebool) { if (!isInitialized(a)) { - a = asEuint16(0); + a = asEuint32(0); } - return ebool.wrap(Impl.lt(euint16.unwrap(a), uint256(b), true)); + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.le(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate lt(a, b) and return the result. - function lt(uint16 a, euint16 b) internal pure returns (ebool) { + function lt(euint32 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint32(0); + } if (!isInitialized(b)) { - b = asEuint16(0); + b = asEuint4(0); } - return ebool.wrap(Impl.gt(euint16.unwrap(b), uint256(a), true)); + return ebool.wrap(Impl.lt(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate min(a, b) and return the result. - function min(euint16 a, uint16 b) internal pure returns (euint16) { + function min(euint32 a, euint4 b) internal pure returns (euint32) { if (!isInitialized(a)) { - a = asEuint16(0); + a = asEuint32(0); } - return euint16.wrap(Impl.min(euint16.unwrap(a), uint256(b), true)); - } - - // Evaluate min(a, b) and return the result. - function min(uint16 a, euint16 b) internal pure returns (euint16) { if (!isInitialized(b)) { - b = asEuint16(0); + b = asEuint4(0); } - return euint16.wrap(Impl.min(euint16.unwrap(b), uint256(a), true)); + return euint32.wrap(Impl.min(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate max(a, b) and return the result. - function max(euint16 a, uint16 b) internal pure returns (euint16) { + function max(euint32 a, euint4 b) internal pure returns (euint32) { if (!isInitialized(a)) { - a = asEuint16(0); + a = asEuint32(0); } - return euint16.wrap(Impl.max(euint16.unwrap(a), uint256(b), true)); - } - - // Evaluate max(a, b) and return the result. - function max(uint16 a, euint16 b) internal pure returns (euint16) { if (!isInitialized(b)) { - b = asEuint16(0); + b = asEuint4(0); } - return euint16.wrap(Impl.max(euint16.unwrap(b), uint256(a), true)); + return euint32.wrap(Impl.max(euint32.unwrap(a), euint32.unwrap(asEuint32(b)), false)); } // Evaluate add(a, b) and return the result. @@ -2479,6 +3910,160 @@ library TFHE { return euint32.wrap(Impl.max(euint32.unwrap(b), uint256(a), true)); } + // Evaluate add(a, b) and return the result. + function add(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.add(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate sub(a, b) and return the result. + function sub(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.sub(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate mul(a, b) and return the result. + function mul(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.mul(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate and(a, b) and return the result. + function and(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.and(euint64.unwrap(a), euint64.unwrap(asEuint64(b)))); + } + + // Evaluate or(a, b) and return the result. + function or(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.or(euint64.unwrap(a), euint64.unwrap(asEuint64(b)))); + } + + // Evaluate xor(a, b) and return the result. + function xor(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.xor(euint64.unwrap(a), euint64.unwrap(asEuint64(b)))); + } + + // Evaluate eq(a, b) and return the result. + function eq(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.eq(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate ne(a, b) and return the result. + function ne(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ne(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate ge(a, b) and return the result. + function ge(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.ge(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate gt(a, b) and return the result. + function gt(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.gt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate le(a, b) and return the result. + function le(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.le(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate lt(a, b) and return the result. + function lt(euint64 a, euint4 b) internal pure returns (ebool) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return ebool.wrap(Impl.lt(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate min(a, b) and return the result. + function min(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.min(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + + // Evaluate max(a, b) and return the result. + function max(euint64 a, euint4 b) internal pure returns (euint64) { + if (!isInitialized(a)) { + a = asEuint64(0); + } + if (!isInitialized(b)) { + b = asEuint4(0); + } + return euint64.wrap(Impl.max(euint64.unwrap(a), euint64.unwrap(asEuint64(b)), false)); + } + // Evaluate add(a, b) and return the result. function add(euint64 a, euint8 b) internal pure returns (euint64) { if (!isInitialized(a)) { @@ -3288,6 +4873,22 @@ library TFHE { return euint64.wrap(Impl.max(euint64.unwrap(b), uint256(a), true)); } + // Evaluate shl(a, b) and return the result. + function shl(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.shl(euint4.unwrap(a), uint256(b), true)); + } + + // Evaluate shr(a, b) and return the result. + function shr(euint4 a, uint8 b) internal pure returns (euint4) { + if (!isInitialized(a)) { + a = asEuint4(0); + } + return euint4.wrap(Impl.shr(euint4.unwrap(a), uint256(b), true)); + } + // Evaluate shl(a, b) and return the result. function shl(euint8 a, euint8 b) internal pure returns (euint8) { if (!isInitialized(a)) { @@ -3440,6 +5041,12 @@ library TFHE { return euint64.wrap(Impl.shr(euint64.unwrap(a), uint256(b), true)); } + // If 'control''s value is 'true', the result has the same value as 'a'. + // If 'control''s value is 'false', the result has the same value as 'b'. + function cmux(ebool control, euint4 a, euint4 b) internal pure returns (euint4) { + return euint4.wrap(Impl.cmux(ebool.unwrap(control), euint4.unwrap(a), euint4.unwrap(b))); + } + // If 'control''s value is 'true', the result has the same value as 'a'. // If 'control''s value is 'false', the result has the same value as 'b'. function cmux(ebool control, euint8 a, euint8 b) internal pure returns (euint8) { @@ -3464,6 +5071,41 @@ library TFHE { return euint64.wrap(Impl.cmux(ebool.unwrap(control), euint64.unwrap(a), euint64.unwrap(b))); } + // Cast an encrypted integer from euint8 to euint4. + function asEuint4(euint8 value) internal pure returns (euint4) { + return euint4.wrap(Impl.cast(euint8.unwrap(value), Common.euint4_t)); + } + + // Cast an encrypted integer from euint16 to euint4. + function asEuint4(euint16 value) internal pure returns (euint4) { + return euint4.wrap(Impl.cast(euint16.unwrap(value), Common.euint4_t)); + } + + // Cast an encrypted integer from euint32 to euint4. + function asEuint4(euint32 value) internal pure returns (euint4) { + return euint4.wrap(Impl.cast(euint32.unwrap(value), Common.euint4_t)); + } + + // Cast an encrypted integer from euint64 to euint4. + function asEuint4(euint64 value) internal pure returns (euint4) { + return euint4.wrap(Impl.cast(euint64.unwrap(value), Common.euint4_t)); + } + + // Cast an encrypted integer from euint4 to ebool. + function asEbool(euint4 value) internal pure returns (ebool) { + return ne(value, 0); + } + + // Converts an 'ebool' to an 'euint4'. + function asEuint4(ebool b) internal pure returns (euint4) { + return euint4.wrap(Impl.cast(ebool.unwrap(b), Common.euint4_t)); + } + + // Cast an encrypted integer from euint4 to euint8. + function asEuint8(euint4 value) internal pure returns (euint8) { + return euint8.wrap(Impl.cast(euint4.unwrap(value), Common.euint8_t)); + } + // Cast an encrypted integer from euint16 to euint8. function asEuint8(euint16 value) internal pure returns (euint8) { return euint8.wrap(Impl.cast(euint16.unwrap(value), Common.euint8_t)); @@ -3527,6 +5169,11 @@ library TFHE { return ebool.wrap(Impl.not(ebool.unwrap(a))); } + // Cast an encrypted integer from euint4 to euint16. + function asEuint16(euint4 value) internal pure returns (euint16) { + return euint16.wrap(Impl.cast(euint4.unwrap(value), Common.euint16_t)); + } + // Cast an encrypted integer from euint8 to euint16. function asEuint16(euint8 value) internal pure returns (euint16) { return euint16.wrap(Impl.cast(euint8.unwrap(value), Common.euint16_t)); @@ -3552,6 +5199,11 @@ library TFHE { return euint16.wrap(Impl.cast(ebool.unwrap(b), Common.euint16_t)); } + // Cast an encrypted integer from euint4 to euint32. + function asEuint32(euint4 value) internal pure returns (euint32) { + return euint32.wrap(Impl.cast(euint4.unwrap(value), Common.euint32_t)); + } + // Cast an encrypted integer from euint8 to euint32. function asEuint32(euint8 value) internal pure returns (euint32) { return euint32.wrap(Impl.cast(euint8.unwrap(value), Common.euint32_t)); @@ -3577,6 +5229,11 @@ library TFHE { return euint32.wrap(Impl.cast(ebool.unwrap(b), Common.euint32_t)); } + // Cast an encrypted integer from euint4 to euint64. + function asEuint64(euint4 value) internal pure returns (euint64) { + return euint64.wrap(Impl.cast(euint4.unwrap(value), Common.euint64_t)); + } + // Cast an encrypted integer from euint8 to euint64. function asEuint64(euint8 value) internal pure returns (euint64) { return euint64.wrap(Impl.cast(euint8.unwrap(value), Common.euint64_t)); @@ -3602,6 +5259,14 @@ library TFHE { return euint64.wrap(Impl.cast(ebool.unwrap(b), Common.euint64_t)); } + function neg(euint4 value) internal pure returns (euint4) { + return euint4.wrap(Impl.neg(euint4.unwrap(value))); + } + + function not(euint4 value) internal pure returns (euint4) { + return euint4.wrap(Impl.not(euint4.unwrap(value))); + } + function neg(euint8 value) internal pure returns (euint8) { return euint8.wrap(Impl.neg(euint8.unwrap(value))); } @@ -3634,6 +5299,42 @@ library TFHE { return euint64.wrap(Impl.not(euint64.unwrap(value))); } + // Convert a serialized 'ciphertext' to an encrypted euint4 integer. + function asEuint4(bytes memory ciphertext) internal pure returns (euint4) { + return euint4.wrap(Impl.verify(ciphertext, Common.euint4_t)); + } + + // Convert a plaintext value to an encrypted euint4 integer. + function asEuint4(uint256 value) internal pure returns (euint4) { + return euint4.wrap(Impl.trivialEncrypt(value, Common.euint4_t)); + } + + // Reencrypt the given 'value' under the given 'publicKey'. + // Return a serialized euint4 ciphertext. + function reencrypt(euint4 value, bytes32 publicKey) internal view returns (bytes memory reencrypted) { + return Impl.reencrypt(euint4.unwrap(value), publicKey); + } + + // Reencrypt the given 'value' under the given 'publicKey'. + // If 'value' is not initialized, the returned value will contain the 'defaultValue' constant. + // Return a serialized euint4 ciphertext. + function reencrypt( + euint4 value, + bytes32 publicKey, + uint8 defaultValue + ) internal view returns (bytes memory reencrypted) { + if (euint4.unwrap(value) != 0) { + return Impl.reencrypt(euint4.unwrap(value), publicKey); + } else { + return Impl.reencrypt(euint4.unwrap(asEuint4(defaultValue)), publicKey); + } + } + + // Decrypts the encrypted 'value'. + function decrypt(euint4 value) internal view returns (uint8) { + return uint8(Impl.decrypt(euint4.unwrap(value))); + } + // Convert a serialized 'ciphertext' to an encrypted euint8 integer. function asEuint8(bytes memory ciphertext) internal pure returns (euint8) { return euint8.wrap(Impl.verify(ciphertext, Common.euint8_t)); @@ -3873,6 +5574,54 @@ library TFHE { } } +using {tfheBinaryOperatorAdd4 as +} for euint4 global; + +function tfheBinaryOperatorAdd4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.add(lhs, rhs); +} + +using {tfheBinaryOperatorSub4 as -} for euint4 global; + +function tfheBinaryOperatorSub4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.sub(lhs, rhs); +} + +using {tfheBinaryOperatorMul4 as *} for euint4 global; + +function tfheBinaryOperatorMul4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.mul(lhs, rhs); +} + +using {tfheBinaryOperatorAnd4 as &} for euint4 global; + +function tfheBinaryOperatorAnd4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.and(lhs, rhs); +} + +using {tfheBinaryOperatorOr4 as |} for euint4 global; + +function tfheBinaryOperatorOr4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.or(lhs, rhs); +} + +using {tfheBinaryOperatorXor4 as ^} for euint4 global; + +function tfheBinaryOperatorXor4(euint4 lhs, euint4 rhs) pure returns (euint4) { + return TFHE.xor(lhs, rhs); +} + +using {tfheUnaryOperatorNeg4 as -} for euint4 global; + +function tfheUnaryOperatorNeg4(euint4 input) pure returns (euint4) { + return TFHE.neg(input); +} + +using {tfheUnaryOperatorNot4 as ~} for euint4 global; + +function tfheUnaryOperatorNot4(euint4 input) pure returns (euint4) { + return TFHE.not(input); +} + using {tfheBinaryOperatorAdd8 as +} for euint8 global; function tfheBinaryOperatorAdd8(euint8 lhs, euint8 rhs) pure returns (euint8) { diff --git a/test/tfheOperations/tfheOperations.ts b/test/tfheOperations/tfheOperations.ts index 0c73a0e4..7b9b39f9 100644 --- a/test/tfheOperations/tfheOperations.ts +++ b/test/tfheOperations/tfheOperations.ts @@ -5,6 +5,8 @@ import type { TFHETestSuite1 } from '../../types/contracts/tests/TFHETestSuite1' import type { TFHETestSuite2 } from '../../types/contracts/tests/TFHETestSuite2'; import type { TFHETestSuite3 } from '../../types/contracts/tests/TFHETestSuite3'; import type { TFHETestSuite4 } from '../../types/contracts/tests/TFHETestSuite4'; +import type { TFHETestSuite5 } from '../../types/contracts/tests/TFHETestSuite5'; +import type { TFHETestSuite6 } from '../../types/contracts/tests/TFHETestSuite6'; import { createInstances } from '../instance'; import { getSigners, initSigners } from '../signers'; @@ -52,6 +54,28 @@ async function deployTfheTestFixture4(): Promise { return contract; } +async function deployTfheTestFixture5(): Promise { + const signers = await getSigners(); + const admin = signers.alice; + + const contractFactory = await ethers.getContractFactory('TFHETestSuite5'); + const contract = await contractFactory.connect(admin).deploy(); + await contract.waitForDeployment(); + + return contract; +} + +async function deployTfheTestFixture6(): Promise { + const signers = await getSigners(); + const admin = signers.alice; + + const contractFactory = await ethers.getContractFactory('TFHETestSuite6'); + const contract = await contractFactory.connect(admin).deploy(); + await contract.waitForDeployment(); + + return contract; +} + describe('TFHE operations', function () { before(async function () { await initSigners(1); @@ -80,5465 +104,5477 @@ describe('TFHE operations', function () { this.contract4 = contract4; const instances4 = await createInstances(this.contract4Address, ethers, this.signers); this.instances4 = instances4; + + const contract5 = await deployTfheTestFixture5(); + this.contract5Address = await contract5.getAddress(); + this.contract5 = contract5; + const instances5 = await createInstances(this.contract5Address, ethers, this.signers); + this.instances5 = instances5; + + const contract6 = await deployTfheTestFixture6(); + this.contract6Address = await contract6.getAddress(); + this.contract6 = contract6; + const instances6 = await createInstances(this.contract6Address, ethers, this.signers); + this.instances6 = instances6; }); it('test operator "add" overload (euint8, euint8) => euint8 test 1 (3, 4)', async function () { - const res = await this.contract1.add_euint8_euint8( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt8(4), + const res = await this.contract2.add_euint8_euint8( + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt8(4), ); expect(res).to.equal(7); }); it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract1.sub_euint8_euint8( - this.instances1.alice.encrypt8(4), - this.instances1.alice.encrypt8(3), + const res = await this.contract2.sub_euint8_euint8( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(3), ); expect(res).to.equal(1); }); it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (3, 4)', async function () { - const res = await this.contract1.mul_euint8_euint8( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt8(4), + const res = await this.contract2.mul_euint8_euint8( + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt8(4), ); expect(res).to.equal(12); }); it('test operator "and" overload (euint8, euint8) => euint8 test 1 (255, 15)', async function () { - const res = await this.contract1.and_euint8_euint8( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt8(15), + const res = await this.contract2.and_euint8_euint8( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt8(15), ); expect(res).to.equal(15); }); it('test operator "or" overload (euint8, euint8) => euint8 test 1 (112, 15)', async function () { - const res = await this.contract1.or_euint8_euint8( - this.instances1.alice.encrypt8(112), - this.instances1.alice.encrypt8(15), + const res = await this.contract2.or_euint8_euint8( + this.instances2.alice.encrypt8(112), + this.instances2.alice.encrypt8(15), ); expect(res).to.equal(127); }); it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (119, 119)', async function () { - const res = await this.contract1.xor_euint8_euint8( - this.instances1.alice.encrypt8(119), - this.instances1.alice.encrypt8(119), + const res = await this.contract2.xor_euint8_euint8( + this.instances2.alice.encrypt8(119), + this.instances2.alice.encrypt8(119), ); expect(res).to.equal(0); }); it('test operator "xor" overload (euint8, euint8) => euint8 test 2 (12, 34)', async function () { - const res = await this.contract1.xor_euint8_euint8( - this.instances1.alice.encrypt8(12), - this.instances1.alice.encrypt8(34), + const res = await this.contract2.xor_euint8_euint8( + this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt8(34), ); expect(res).to.equal(46); }); it('test operator "eq" overload (euint8, euint8) => ebool test 1 (12, 49)', async function () { - const res = await this.contract1.eq_euint8_euint8( - this.instances1.alice.encrypt8(12), - this.instances1.alice.encrypt8(49), + const res = await this.contract2.eq_euint8_euint8( + this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt8(49), ); expect(res).to.equal(false); }); it('test operator "eq" overload (euint8, euint8) => ebool test 2 (7, 7)', async function () { - const res = await this.contract1.eq_euint8_euint8( - this.instances1.alice.encrypt8(7), - this.instances1.alice.encrypt8(7), + const res = await this.contract2.eq_euint8_euint8( + this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt8(7), ); expect(res).to.equal(true); }); it('test operator "ne" overload (euint8, euint8) => ebool test 1 (1, 2)', async function () { - const res = await this.contract1.ne_euint8_euint8( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt8(2), + const res = await this.contract2.ne_euint8_euint8( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(2), ); expect(res).to.equal(true); }); it('test operator "ne" overload (euint8, euint8) => ebool test 2 (2, 2)', async function () { - const res = await this.contract1.ne_euint8_euint8( - this.instances1.alice.encrypt8(2), - this.instances1.alice.encrypt8(2), + const res = await this.contract2.ne_euint8_euint8( + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(2), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint8, euint8) => ebool test 1 (10, 10)', async function () { - const res = await this.contract1.ge_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(10), + const res = await this.contract2.ge_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint8) => ebool test 2 (10, 9)', async function () { - const res = await this.contract1.ge_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(9), + const res = await this.contract2.ge_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(9), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint8) => ebool test 3 (10, 11)', async function () { - const res = await this.contract1.ge_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(11), + const res = await this.contract2.ge_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(11), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, euint8) => ebool test 1 (10, 10)', async function () { - const res = await this.contract1.gt_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(10), + const res = await this.contract2.gt_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, euint8) => ebool test 2 (10, 9)', async function () { - const res = await this.contract1.gt_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(9), + const res = await this.contract2.gt_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(9), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint8, euint8) => ebool test 3 (10, 11)', async function () { - const res = await this.contract1.gt_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(11), + const res = await this.contract2.gt_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(11), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint8, euint8) => ebool test 1 (10, 10)', async function () { - const res = await this.contract1.le_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(10), + const res = await this.contract2.le_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, euint8) => ebool test 2 (10, 9)', async function () { - const res = await this.contract1.le_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(9), + const res = await this.contract2.le_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(9), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint8, euint8) => ebool test 3 (10, 11)', async function () { - const res = await this.contract1.le_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(11), + const res = await this.contract2.le_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(11), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint8, euint8) => ebool test 1 (10, 10)', async function () { - const res = await this.contract1.lt_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(10), + const res = await this.contract2.lt_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, euint8) => ebool test 2 (10, 9)', async function () { - const res = await this.contract1.lt_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(9), + const res = await this.contract2.lt_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(9), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, euint8) => ebool test 3 (10, 11)', async function () { - const res = await this.contract1.lt_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(11), + const res = await this.contract2.lt_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(11), ); expect(res).to.equal(true); }); it('test operator "min" overload (euint8, euint8) => euint8 test 1 (10, 10)', async function () { - const res = await this.contract1.min_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(10), + const res = await this.contract2.min_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(10); }); it('test operator "min" overload (euint8, euint8) => euint8 test 2 (12, 10)', async function () { - const res = await this.contract1.min_euint8_euint8( - this.instances1.alice.encrypt8(12), - this.instances1.alice.encrypt8(10), + const res = await this.contract2.min_euint8_euint8( + this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(10); }); it('test operator "min" overload (euint8, euint8) => euint8 test 3 (9, 12)', async function () { - const res = await this.contract1.min_euint8_euint8( - this.instances1.alice.encrypt8(9), - this.instances1.alice.encrypt8(12), + const res = await this.contract2.min_euint8_euint8( + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(12), ); expect(res).to.equal(9); }); it('test operator "max" overload (euint8, euint8) => euint8 test 1 (10, 10)', async function () { - const res = await this.contract1.max_euint8_euint8( - this.instances1.alice.encrypt8(10), - this.instances1.alice.encrypt8(10), + const res = await this.contract2.max_euint8_euint8( + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(10); }); it('test operator "max" overload (euint8, euint8) => euint8 test 2 (12, 10)', async function () { - const res = await this.contract1.max_euint8_euint8( - this.instances1.alice.encrypt8(12), - this.instances1.alice.encrypt8(10), + const res = await this.contract2.max_euint8_euint8( + this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(12); }); it('test operator "max" overload (euint8, euint8) => euint8 test 3 (9, 12)', async function () { - const res = await this.contract1.max_euint8_euint8( - this.instances1.alice.encrypt8(9), - this.instances1.alice.encrypt8(12), + const res = await this.contract2.max_euint8_euint8( + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(12), ); expect(res).to.equal(12); }); it('test operator "add" overload (euint8, euint16) => euint16 test 1 (3, 65280)', async function () { - const res = await this.contract1.add_euint8_euint16( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt16(65280), + const res = await this.contract2.add_euint8_euint16( + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt16(65280), ); expect(res).to.equal(65283); }); it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (3, 4096)', async function () { - const res = await this.contract1.sub_euint8_euint16( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt16(4096), + const res = await this.contract2.sub_euint8_euint16( + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt16(4096), ); expect(res).to.equal(61443); }); it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (3, 4096)', async function () { - const res = await this.contract1.mul_euint8_euint16( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt16(4096), + const res = await this.contract2.mul_euint8_euint16( + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt16(4096), ); expect(res).to.equal(12288); }); it('test operator "and" overload (euint8, euint16) => euint16 test 1 (3, 4096)', async function () { - const res = await this.contract1.and_euint8_euint16( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt16(4096), + const res = await this.contract2.and_euint8_euint16( + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt16(4096), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint8, euint16) => euint16 test 2 (3, 4097)', async function () { - const res = await this.contract1.and_euint8_euint16( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt16(4097), + const res = await this.contract2.and_euint8_euint16( + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt16(4097), ); expect(res).to.equal(1); }); it('test operator "or" overload (euint8, euint16) => euint16 test 1 (3, 4096)', async function () { - const res = await this.contract1.or_euint8_euint16( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt16(4096), + const res = await this.contract2.or_euint8_euint16( + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt16(4096), ); expect(res).to.equal(4099); }); it('test operator "or" overload (euint8, euint16) => euint16 test 2 (3, 4097)', async function () { - const res = await this.contract1.or_euint8_euint16( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt16(4097), + const res = await this.contract2.or_euint8_euint16( + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt16(4097), ); expect(res).to.equal(4099); }); it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (255, 65535)', async function () { - const res = await this.contract1.xor_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(65535), + const res = await this.contract2.xor_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(65535), ); expect(res).to.equal(65280); }); it('test operator "xor" overload (euint8, euint16) => euint16 test 2 (255, 65280)', async function () { - const res = await this.contract1.xor_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(65280), + const res = await this.contract2.xor_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(65280), ); expect(res).to.equal(65535); }); it('test operator "eq" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract1.eq_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(255), + const res = await this.contract2.eq_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(255), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract1.eq_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(511), + const res = await this.contract2.eq_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(511), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract1.ne_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(255), + const res = await this.contract2.ne_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(255), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract1.ne_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(511), + const res = await this.contract2.ne_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(511), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract1.ge_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(255), + const res = await this.contract2.ge_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(255), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract1.ge_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(511), + const res = await this.contract2.ge_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(511), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint8, euint16) => ebool test 3 (255, 127)', async function () { - const res = await this.contract1.ge_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(127), + const res = await this.contract2.ge_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(127), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract1.gt_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(255), + const res = await this.contract2.gt_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(255), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract1.gt_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(511), + const res = await this.contract2.gt_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(511), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, euint16) => ebool test 3 (255, 127)', async function () { - const res = await this.contract1.gt_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(127), + const res = await this.contract2.gt_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(127), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract1.le_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(255), + const res = await this.contract2.le_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(255), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract1.le_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(511), + const res = await this.contract2.le_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(511), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, euint16) => ebool test 3 (255, 127)', async function () { - const res = await this.contract1.le_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(127), + const res = await this.contract2.le_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(127), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract1.lt_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(255), + const res = await this.contract2.lt_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(255), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract1.lt_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(511), + const res = await this.contract2.lt_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(511), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint8, euint16) => ebool test 3 (255, 127)', async function () { - const res = await this.contract1.lt_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(127), + const res = await this.contract2.lt_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(127), ); expect(res).to.equal(false); }); it('test operator "min" overload (euint8, euint16) => euint16 test 1 (255, 255)', async function () { - const res = await this.contract1.min_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(255), + const res = await this.contract2.min_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(255), ); expect(res).to.equal(255); }); it('test operator "min" overload (euint8, euint16) => euint16 test 2 (255, 511)', async function () { - const res = await this.contract1.min_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(511), + const res = await this.contract2.min_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(511), ); expect(res).to.equal(255); }); it('test operator "min" overload (euint8, euint16) => euint16 test 3 (255, 127)', async function () { - const res = await this.contract1.min_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(127), + const res = await this.contract2.min_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(127), ); expect(res).to.equal(127); }); it('test operator "max" overload (euint8, euint16) => euint16 test 1 (255, 255)', async function () { - const res = await this.contract1.max_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(255), + const res = await this.contract2.max_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(255), ); expect(res).to.equal(255); }); it('test operator "max" overload (euint8, euint16) => euint16 test 2 (255, 511)', async function () { - const res = await this.contract1.max_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(511), + const res = await this.contract2.max_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(511), ); expect(res).to.equal(511); }); it('test operator "max" overload (euint8, euint16) => euint16 test 3 (255, 127)', async function () { - const res = await this.contract1.max_euint8_euint16( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt16(127), + const res = await this.contract2.max_euint8_euint16( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt16(127), ); expect(res).to.equal(255); }); it('test operator "add" overload (euint8, euint32) => euint32 test 1 (255, 4294902015)', async function () { - const res = await this.contract1.add_euint8_euint32( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt32(4294902015), + const res = await this.contract2.add_euint8_euint32( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt32(4294902015), ); expect(res).to.equal(4294902270); }); it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (255, 4294902015)', async function () { - const res = await this.contract1.sub_euint8_euint32( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt32(4294902015), + const res = await this.contract2.sub_euint8_euint32( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt32(4294902015), ); expect(res).to.equal(65536); }); it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (255, 16)', async function () { - const res = await this.contract1.sub_euint8_euint32( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt32(16), + const res = await this.contract2.sub_euint8_euint32( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt32(16), ); expect(res).to.equal(239); }); it('test operator "mul" overload (euint8, euint32) => euint32 test 1 (16, 65536)', async function () { - const res = await this.contract1.mul_euint8_euint32( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt32(65536), + const res = await this.contract2.mul_euint8_euint32( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt32(65536), ); expect(res).to.equal(1048576); }); it('test operator "and" overload (euint8, euint32) => euint32 test 1 (16, 65536)', async function () { - const res = await this.contract1.and_euint8_euint32( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt32(65536), + const res = await this.contract2.and_euint8_euint32( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt32(65536), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint8, euint32) => euint32 test 2 (17, 65552)', async function () { - const res = await this.contract1.and_euint8_euint32( - this.instances1.alice.encrypt8(17), - this.instances1.alice.encrypt32(65552), + const res = await this.contract2.and_euint8_euint32( + this.instances2.alice.encrypt8(17), + this.instances2.alice.encrypt32(65552), ); expect(res).to.equal(16); }); it('test operator "or" overload (euint8, euint32) => euint32 test 1 (16, 65536)', async function () { - const res = await this.contract1.or_euint8_euint32( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt32(65536), + const res = await this.contract2.or_euint8_euint32( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt32(65536), ); expect(res).to.equal(65552); }); it('test operator "or" overload (euint8, euint32) => euint32 test 2 (17, 65552)', async function () { - const res = await this.contract1.or_euint8_euint32( - this.instances1.alice.encrypt8(17), - this.instances1.alice.encrypt32(65552), + const res = await this.contract2.or_euint8_euint32( + this.instances2.alice.encrypt8(17), + this.instances2.alice.encrypt32(65552), ); expect(res).to.equal(65553); }); it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (16, 65536)', async function () { - const res = await this.contract1.xor_euint8_euint32( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt32(65536), + const res = await this.contract2.xor_euint8_euint32( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt32(65536), ); expect(res).to.equal(65552); }); it('test operator "xor" overload (euint8, euint32) => euint32 test 2 (17, 65552)', async function () { - const res = await this.contract1.xor_euint8_euint32( - this.instances1.alice.encrypt8(17), - this.instances1.alice.encrypt32(65552), + const res = await this.contract2.xor_euint8_euint32( + this.instances2.alice.encrypt8(17), + this.instances2.alice.encrypt32(65552), ); expect(res).to.equal(65537); }); it('test operator "eq" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.eq_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.eq_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.eq_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(65537), + const res = await this.contract2.eq_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(65537), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.ne_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.ne_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.ne_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(65537), + const res = await this.contract2.ne_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(65537), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.ge_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.ge_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.ge_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(65537), + const res = await this.contract2.ge_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(65537), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint8, euint32) => ebool test 3 (16, 1)', async function () { - const res = await this.contract1.ge_euint8_euint32( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.ge_euint8_euint32( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.gt_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.gt_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.gt_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(65537), + const res = await this.contract2.gt_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(65537), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, euint32) => ebool test 3 (16, 1)', async function () { - const res = await this.contract1.gt_euint8_euint32( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.gt_euint8_euint32( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.le_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.le_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.le_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(65537), + const res = await this.contract2.le_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(65537), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, euint32) => ebool test 3 (16, 1)', async function () { - const res = await this.contract1.le_euint8_euint32( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.le_euint8_euint32( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.lt_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.lt_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.lt_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(65537), + const res = await this.contract2.lt_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(65537), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint8, euint32) => ebool test 3 (16, 1)', async function () { - const res = await this.contract1.lt_euint8_euint32( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.lt_euint8_euint32( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(false); }); it('test operator "min" overload (euint8, euint32) => euint32 test 1 (1, 1)', async function () { - const res = await this.contract1.min_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.min_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(1); }); it('test operator "min" overload (euint8, euint32) => euint32 test 2 (1, 65537)', async function () { - const res = await this.contract1.min_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(65537), + const res = await this.contract2.min_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(65537), ); expect(res).to.equal(1); }); it('test operator "min" overload (euint8, euint32) => euint32 test 3 (16, 4)', async function () { - const res = await this.contract1.min_euint8_euint32( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt32(4), + const res = await this.contract2.min_euint8_euint32( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt32(4), ); expect(res).to.equal(4); }); it('test operator "max" overload (euint8, euint32) => euint32 test 1 (1, 1)', async function () { - const res = await this.contract1.max_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(1), + const res = await this.contract2.max_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(1); }); it('test operator "max" overload (euint8, euint32) => euint32 test 2 (1, 65537)', async function () { - const res = await this.contract1.max_euint8_euint32( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt32(65537), + const res = await this.contract2.max_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(65537), ); expect(res).to.equal(65537); }); it('test operator "max" overload (euint8, euint32) => euint32 test 3 (16, 4)', async function () { - const res = await this.contract1.max_euint8_euint32( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt32(4), + const res = await this.contract2.max_euint8_euint32( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt32(4), ); expect(res).to.equal(16); }); it('test operator "add" overload (euint8, euint64) => euint64 test 1 (255, 4294902015)', async function () { - const res = await this.contract1.add_euint8_euint64( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt64(4294902015), + const res = await this.contract2.add_euint8_euint64( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt64(4294902015), ); expect(res).to.equal(4294902270); }); it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (255, 4294902015)', async function () { - const res = await this.contract1.sub_euint8_euint64( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt64(4294902015), + const res = await this.contract2.sub_euint8_euint64( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt64(4294902015), ); expect(res).to.equal(18446744069414649856n); }); it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (255, 16)', async function () { - const res = await this.contract1.sub_euint8_euint64( - this.instances1.alice.encrypt8(255), - this.instances1.alice.encrypt64(16), + const res = await this.contract2.sub_euint8_euint64( + this.instances2.alice.encrypt8(255), + this.instances2.alice.encrypt64(16), ); expect(res).to.equal(239); }); it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (16, 65536)', async function () { - const res = await this.contract1.mul_euint8_euint64( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt64(65536), + const res = await this.contract2.mul_euint8_euint64( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt64(65536), ); expect(res).to.equal(1048576); }); it('test operator "and" overload (euint8, euint64) => euint64 test 1 (16, 65536)', async function () { - const res = await this.contract1.and_euint8_euint64( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt64(65536), + const res = await this.contract2.and_euint8_euint64( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt64(65536), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint8, euint64) => euint64 test 2 (17, 65552)', async function () { - const res = await this.contract1.and_euint8_euint64( - this.instances1.alice.encrypt8(17), - this.instances1.alice.encrypt64(65552), + const res = await this.contract2.and_euint8_euint64( + this.instances2.alice.encrypt8(17), + this.instances2.alice.encrypt64(65552), ); expect(res).to.equal(16); }); it('test operator "or" overload (euint8, euint64) => euint64 test 1 (16, 65536)', async function () { - const res = await this.contract1.or_euint8_euint64( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt64(65536), + const res = await this.contract2.or_euint8_euint64( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt64(65536), ); expect(res).to.equal(65552); }); it('test operator "or" overload (euint8, euint64) => euint64 test 2 (17, 65552)', async function () { - const res = await this.contract1.or_euint8_euint64( - this.instances1.alice.encrypt8(17), - this.instances1.alice.encrypt64(65552), + const res = await this.contract2.or_euint8_euint64( + this.instances2.alice.encrypt8(17), + this.instances2.alice.encrypt64(65552), ); expect(res).to.equal(65553); }); it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (16, 65536)', async function () { - const res = await this.contract1.xor_euint8_euint64( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt64(65536), + const res = await this.contract2.xor_euint8_euint64( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt64(65536), ); expect(res).to.equal(65552); }); it('test operator "xor" overload (euint8, euint64) => euint64 test 2 (17, 65552)', async function () { - const res = await this.contract1.xor_euint8_euint64( - this.instances1.alice.encrypt8(17), - this.instances1.alice.encrypt64(65552), + const res = await this.contract2.xor_euint8_euint64( + this.instances2.alice.encrypt8(17), + this.instances2.alice.encrypt64(65552), ); expect(res).to.equal(65537); }); it('test operator "eq" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.eq_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.eq_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.eq_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(65537), + const res = await this.contract2.eq_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(65537), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.ne_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.ne_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.ne_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(65537), + const res = await this.contract2.ne_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(65537), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.ge_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.ge_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.ge_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(65537), + const res = await this.contract2.ge_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(65537), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint8, euint64) => ebool test 3 (16, 1)', async function () { - const res = await this.contract1.ge_euint8_euint64( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.ge_euint8_euint64( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.gt_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.gt_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.gt_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(65537), + const res = await this.contract2.gt_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(65537), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, euint64) => ebool test 3 (16, 1)', async function () { - const res = await this.contract1.gt_euint8_euint64( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.gt_euint8_euint64( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.le_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.le_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.le_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(65537), + const res = await this.contract2.le_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(65537), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, euint64) => ebool test 3 (16, 1)', async function () { - const res = await this.contract1.le_euint8_euint64( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.le_euint8_euint64( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.lt_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.lt_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract1.lt_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(65537), + const res = await this.contract2.lt_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(65537), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint8, euint64) => ebool test 3 (16, 1)', async function () { - const res = await this.contract1.lt_euint8_euint64( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.lt_euint8_euint64( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(false); }); it('test operator "min" overload (euint8, euint64) => euint64 test 1 (1, 1)', async function () { - const res = await this.contract1.min_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.min_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(1); }); it('test operator "min" overload (euint8, euint64) => euint64 test 2 (1, 65537)', async function () { - const res = await this.contract1.min_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(65537), + const res = await this.contract2.min_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(65537), ); expect(res).to.equal(1); }); it('test operator "min" overload (euint8, euint64) => euint64 test 3 (16, 4)', async function () { - const res = await this.contract1.min_euint8_euint64( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt64(4), + const res = await this.contract2.min_euint8_euint64( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt64(4), ); expect(res).to.equal(4); }); it('test operator "max" overload (euint8, euint64) => euint64 test 1 (1, 1)', async function () { - const res = await this.contract1.max_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(1), + const res = await this.contract2.max_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(1), ); expect(res).to.equal(1); }); it('test operator "max" overload (euint8, euint64) => euint64 test 2 (1, 65537)', async function () { - const res = await this.contract1.max_euint8_euint64( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt64(65537), + const res = await this.contract2.max_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(65537), ); expect(res).to.equal(65537); }); it('test operator "max" overload (euint8, euint64) => euint64 test 3 (16, 4)', async function () { - const res = await this.contract1.max_euint8_euint64( - this.instances1.alice.encrypt8(16), - this.instances1.alice.encrypt64(4), + const res = await this.contract2.max_euint8_euint64( + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt64(4), ); expect(res).to.equal(16); }); it('test operator "add" overload (euint8, uint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract1.add_euint8_uint8(this.instances1.alice.encrypt8(4), 3); + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(4), 3); expect(res).to.equal(7); }); it('test operator "add" overload (uint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract1.add_uint8_euint8(4, this.instances1.alice.encrypt8(3)); + const res = await this.contract2.add_uint8_euint8(4, this.instances2.alice.encrypt8(3)); expect(res).to.equal(7); }); it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract1.sub_euint8_uint8(this.instances1.alice.encrypt8(4), 3); + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(4), 3); expect(res).to.equal(1); }); it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (3, 4)', async function () { - const res = await this.contract1.sub_euint8_uint8(this.instances1.alice.encrypt8(3), 4); + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(3), 4); expect(res).to.equal(255); }); it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract1.sub_uint8_euint8(4, this.instances1.alice.encrypt8(3)); + const res = await this.contract2.sub_uint8_euint8(4, this.instances2.alice.encrypt8(3)); expect(res).to.equal(1); }); it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (3, 4)', async function () { - const res = await this.contract1.sub_uint8_euint8(3, this.instances1.alice.encrypt8(4)); + const res = await this.contract2.sub_uint8_euint8(3, this.instances2.alice.encrypt8(4)); expect(res).to.equal(255); }); it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract1.mul_euint8_uint8(this.instances1.alice.encrypt8(4), 3); + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(4), 3); expect(res).to.equal(12); }); it('test operator "mul" overload (euint8, uint8) => euint8 test 2 (3, 4)', async function () { - const res = await this.contract1.mul_euint8_uint8(this.instances1.alice.encrypt8(3), 4); + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(3), 4); expect(res).to.equal(12); }); it('test operator "mul" overload (euint8, uint8) => euint8 test 3 (8, 2)', async function () { - const res = await this.contract1.mul_euint8_uint8(this.instances1.alice.encrypt8(8), 2); + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(8), 2); expect(res).to.equal(16); }); it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract1.mul_uint8_euint8(4, this.instances1.alice.encrypt8(3)); + const res = await this.contract2.mul_uint8_euint8(4, this.instances2.alice.encrypt8(3)); expect(res).to.equal(12); }); it('test operator "mul" overload (uint8, euint8) => euint8 test 2 (3, 4)', async function () { - const res = await this.contract1.mul_uint8_euint8(3, this.instances1.alice.encrypt8(4)); + const res = await this.contract2.mul_uint8_euint8(3, this.instances2.alice.encrypt8(4)); expect(res).to.equal(12); }); it('test operator "mul" overload (uint8, euint8) => euint8 test 3 (8, 2)', async function () { - const res = await this.contract1.mul_uint8_euint8(8, this.instances1.alice.encrypt8(2)); + const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(2)); expect(res).to.equal(16); }); it('test operator "div" overload (euint8, uint8) => euint8 test 1 (16, 2)', async function () { - const res = await this.contract1.div_euint8_uint8(this.instances1.alice.encrypt8(16), 2); + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(16), 2); expect(res).to.equal(8); }); it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (8, 3)', async function () { - const res = await this.contract1.rem_euint8_uint8(this.instances1.alice.encrypt8(8), 3); + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(8), 3); expect(res).to.equal(2); }); it('test operator "eq" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.eq_euint8_uint8(this.instances1.alice.encrypt8(16), 16); + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(16), 16); expect(res).to.equal(true); }); it('test operator "eq" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.eq_euint8_uint8(this.instances1.alice.encrypt8(16), 2); + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(16), 2); expect(res).to.equal(false); }); it('test operator "eq" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.eq_uint8_euint8(16, this.instances1.alice.encrypt8(16)); + const res = await this.contract2.eq_uint8_euint8(16, this.instances2.alice.encrypt8(16)); expect(res).to.equal(true); }); it('test operator "eq" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.eq_uint8_euint8(16, this.instances1.alice.encrypt8(2)); + const res = await this.contract2.eq_uint8_euint8(16, this.instances2.alice.encrypt8(2)); expect(res).to.equal(false); }); it('test operator "ne" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.ne_euint8_uint8(this.instances1.alice.encrypt8(16), 16); + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(16), 16); expect(res).to.equal(false); }); it('test operator "ne" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.ne_euint8_uint8(this.instances1.alice.encrypt8(16), 2); + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(16), 2); expect(res).to.equal(true); }); it('test operator "ne" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.ne_uint8_euint8(16, this.instances1.alice.encrypt8(16)); + const res = await this.contract2.ne_uint8_euint8(16, this.instances2.alice.encrypt8(16)); expect(res).to.equal(false); }); it('test operator "ne" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.ne_uint8_euint8(16, this.instances1.alice.encrypt8(2)); + const res = await this.contract2.ne_uint8_euint8(16, this.instances2.alice.encrypt8(2)); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.ge_euint8_uint8(this.instances1.alice.encrypt8(16), 16); + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(16), 16); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.ge_euint8_uint8(this.instances1.alice.encrypt8(16), 2); + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(16), 2); expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, uint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract1.ge_euint8_uint8(this.instances1.alice.encrypt8(16), 17); + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(16), 17); expect(res).to.equal(false); }); it('test operator "ge" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.ge_uint8_euint8(16, this.instances1.alice.encrypt8(16)); + const res = await this.contract2.ge_uint8_euint8(16, this.instances2.alice.encrypt8(16)); expect(res).to.equal(true); }); it('test operator "ge" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.ge_uint8_euint8(16, this.instances1.alice.encrypt8(2)); + const res = await this.contract2.ge_uint8_euint8(16, this.instances2.alice.encrypt8(2)); expect(res).to.equal(true); }); it('test operator "ge" overload (uint8, euint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract1.ge_uint8_euint8(16, this.instances1.alice.encrypt8(17)); + const res = await this.contract2.ge_uint8_euint8(16, this.instances2.alice.encrypt8(17)); expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.gt_euint8_uint8(this.instances1.alice.encrypt8(16), 16); + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(16), 16); expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.gt_euint8_uint8(this.instances1.alice.encrypt8(16), 2); + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(16), 2); expect(res).to.equal(true); }); it('test operator "gt" overload (euint8, uint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract1.gt_euint8_uint8(this.instances1.alice.encrypt8(16), 17); + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(16), 17); expect(res).to.equal(false); }); it('test operator "gt" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.gt_uint8_euint8(16, this.instances1.alice.encrypt8(16)); + const res = await this.contract2.gt_uint8_euint8(16, this.instances2.alice.encrypt8(16)); expect(res).to.equal(false); }); it('test operator "gt" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.gt_uint8_euint8(16, this.instances1.alice.encrypt8(2)); + const res = await this.contract2.gt_uint8_euint8(16, this.instances2.alice.encrypt8(2)); expect(res).to.equal(true); }); it('test operator "gt" overload (uint8, euint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract1.gt_uint8_euint8(16, this.instances1.alice.encrypt8(17)); + const res = await this.contract2.gt_uint8_euint8(16, this.instances2.alice.encrypt8(17)); expect(res).to.equal(false); }); it('test operator "le" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.le_euint8_uint8(this.instances1.alice.encrypt8(16), 16); + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(16), 16); expect(res).to.equal(true); }); it('test operator "le" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.le_euint8_uint8(this.instances1.alice.encrypt8(16), 2); + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(16), 2); expect(res).to.equal(false); }); it('test operator "le" overload (euint8, uint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract1.le_euint8_uint8(this.instances1.alice.encrypt8(16), 17); + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(16), 17); expect(res).to.equal(true); }); it('test operator "le" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.le_uint8_euint8(16, this.instances1.alice.encrypt8(16)); + const res = await this.contract2.le_uint8_euint8(16, this.instances2.alice.encrypt8(16)); expect(res).to.equal(true); }); it('test operator "le" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.le_uint8_euint8(16, this.instances1.alice.encrypt8(2)); + const res = await this.contract2.le_uint8_euint8(16, this.instances2.alice.encrypt8(2)); expect(res).to.equal(false); }); it('test operator "le" overload (uint8, euint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract1.le_uint8_euint8(16, this.instances1.alice.encrypt8(17)); + const res = await this.contract2.le_uint8_euint8(16, this.instances2.alice.encrypt8(17)); expect(res).to.equal(true); }); it('test operator "lt" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.lt_euint8_uint8(this.instances1.alice.encrypt8(16), 16); + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(16), 16); expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.lt_euint8_uint8(this.instances1.alice.encrypt8(16), 2); + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(16), 2); expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, uint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract1.lt_euint8_uint8(this.instances1.alice.encrypt8(16), 17); + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(16), 17); expect(res).to.equal(true); }); it('test operator "lt" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.lt_uint8_euint8(16, this.instances1.alice.encrypt8(16)); + const res = await this.contract2.lt_uint8_euint8(16, this.instances2.alice.encrypt8(16)); expect(res).to.equal(false); }); it('test operator "lt" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract1.lt_uint8_euint8(16, this.instances1.alice.encrypt8(2)); + const res = await this.contract2.lt_uint8_euint8(16, this.instances2.alice.encrypt8(2)); expect(res).to.equal(false); }); it('test operator "lt" overload (uint8, euint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract1.lt_uint8_euint8(16, this.instances1.alice.encrypt8(17)); + const res = await this.contract2.lt_uint8_euint8(16, this.instances2.alice.encrypt8(17)); expect(res).to.equal(true); }); it('test operator "min" overload (euint8, uint8) => euint8 test 1 (16, 16)', async function () { - const res = await this.contract1.min_euint8_uint8(this.instances1.alice.encrypt8(16), 16); + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(16), 16); expect(res).to.equal(16); }); it('test operator "min" overload (euint8, uint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract1.min_euint8_uint8(this.instances1.alice.encrypt8(16), 2); + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(16), 2); expect(res).to.equal(2); }); it('test operator "min" overload (euint8, uint8) => euint8 test 3 (16, 17)', async function () { - const res = await this.contract1.min_euint8_uint8(this.instances1.alice.encrypt8(16), 17); + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(16), 17); expect(res).to.equal(16); }); it('test operator "min" overload (uint8, euint8) => euint8 test 1 (16, 16)', async function () { - const res = await this.contract1.min_uint8_euint8(16, this.instances1.alice.encrypt8(16)); + const res = await this.contract2.min_uint8_euint8(16, this.instances2.alice.encrypt8(16)); expect(res).to.equal(16); }); it('test operator "min" overload (uint8, euint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract1.min_uint8_euint8(16, this.instances1.alice.encrypt8(2)); + const res = await this.contract2.min_uint8_euint8(16, this.instances2.alice.encrypt8(2)); expect(res).to.equal(2); }); it('test operator "min" overload (uint8, euint8) => euint8 test 3 (16, 17)', async function () { - const res = await this.contract1.min_uint8_euint8(16, this.instances1.alice.encrypt8(17)); + const res = await this.contract2.min_uint8_euint8(16, this.instances2.alice.encrypt8(17)); expect(res).to.equal(16); }); it('test operator "max" overload (euint8, uint8) => euint8 test 1 (16, 16)', async function () { - const res = await this.contract1.max_euint8_uint8(this.instances1.alice.encrypt8(16), 16); + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(16), 16); expect(res).to.equal(16); }); it('test operator "max" overload (euint8, uint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract1.max_euint8_uint8(this.instances1.alice.encrypt8(16), 2); + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(16), 2); expect(res).to.equal(16); }); it('test operator "max" overload (euint8, uint8) => euint8 test 3 (16, 17)', async function () { - const res = await this.contract1.max_euint8_uint8(this.instances1.alice.encrypt8(16), 17); + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(16), 17); expect(res).to.equal(17); }); it('test operator "max" overload (uint8, euint8) => euint8 test 1 (16, 16)', async function () { - const res = await this.contract1.max_uint8_euint8(16, this.instances1.alice.encrypt8(16)); + const res = await this.contract2.max_uint8_euint8(16, this.instances2.alice.encrypt8(16)); expect(res).to.equal(16); }); it('test operator "max" overload (uint8, euint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract1.max_uint8_euint8(16, this.instances1.alice.encrypt8(2)); + const res = await this.contract2.max_uint8_euint8(16, this.instances2.alice.encrypt8(2)); expect(res).to.equal(16); }); it('test operator "max" overload (uint8, euint8) => euint8 test 3 (16, 17)', async function () { - const res = await this.contract1.max_uint8_euint8(16, this.instances1.alice.encrypt8(17)); + const res = await this.contract2.max_uint8_euint8(16, this.instances2.alice.encrypt8(17)); expect(res).to.equal(17); }); it('test operator "add" overload (euint16, euint8) => euint16 test 1 (4096, 16)', async function () { - const res = await this.contract1.add_euint16_euint8( - this.instances1.alice.encrypt16(4096), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.add_euint16_euint8( + this.instances3.alice.encrypt16(4096), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(4112); }); it('test operator "add" overload (euint16, euint8) => euint16 test 2 (4112, 16)', async function () { - const res = await this.contract1.add_euint16_euint8( - this.instances1.alice.encrypt16(4112), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.add_euint16_euint8( + this.instances3.alice.encrypt16(4112), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(4128); }); it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (4096, 16)', async function () { - const res = await this.contract1.sub_euint16_euint8( - this.instances1.alice.encrypt16(4096), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.sub_euint16_euint8( + this.instances3.alice.encrypt16(4096), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(4080); }); it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (4112, 16)', async function () { - const res = await this.contract1.sub_euint16_euint8( - this.instances1.alice.encrypt16(4112), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.sub_euint16_euint8( + this.instances3.alice.encrypt16(4112), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(4096); }); it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (4096, 4)', async function () { - const res = await this.contract1.mul_euint16_euint8( - this.instances1.alice.encrypt16(4096), - this.instances1.alice.encrypt8(4), + const res = await this.contract3.mul_euint16_euint8( + this.instances3.alice.encrypt16(4096), + this.instances3.alice.encrypt8(4), ); expect(res).to.equal(16384); }); it('test operator "and" overload (euint16, euint8) => euint16 test 1 (4096, 4)', async function () { - const res = await this.contract1.and_euint16_euint8( - this.instances1.alice.encrypt16(4096), - this.instances1.alice.encrypt8(4), + const res = await this.contract3.and_euint16_euint8( + this.instances3.alice.encrypt16(4096), + this.instances3.alice.encrypt8(4), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint16, euint8) => euint16 test 2 (4336, 240)', async function () { - const res = await this.contract1.and_euint16_euint8( - this.instances1.alice.encrypt16(4336), - this.instances1.alice.encrypt8(240), + const res = await this.contract3.and_euint16_euint8( + this.instances3.alice.encrypt16(4336), + this.instances3.alice.encrypt8(240), ); expect(res).to.equal(240); }); it('test operator "or" overload (euint16, euint8) => euint16 test 1 (4096, 4)', async function () { - const res = await this.contract1.or_euint16_euint8( - this.instances1.alice.encrypt16(4096), - this.instances1.alice.encrypt8(4), + const res = await this.contract3.or_euint16_euint8( + this.instances3.alice.encrypt16(4096), + this.instances3.alice.encrypt8(4), ); expect(res).to.equal(4100); }); it('test operator "or" overload (euint16, euint8) => euint16 test 2 (4336, 240)', async function () { - const res = await this.contract1.or_euint16_euint8( - this.instances1.alice.encrypt16(4336), - this.instances1.alice.encrypt8(240), + const res = await this.contract3.or_euint16_euint8( + this.instances3.alice.encrypt16(4336), + this.instances3.alice.encrypt8(240), ); expect(res).to.equal(4336); }); it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (4096, 4)', async function () { - const res = await this.contract1.xor_euint16_euint8( - this.instances1.alice.encrypt16(4096), - this.instances1.alice.encrypt8(4), + const res = await this.contract3.xor_euint16_euint8( + this.instances3.alice.encrypt16(4096), + this.instances3.alice.encrypt8(4), ); expect(res).to.equal(4100); }); it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (4336, 242)', async function () { - const res = await this.contract1.xor_euint16_euint8( - this.instances1.alice.encrypt16(4336), - this.instances1.alice.encrypt8(242), + const res = await this.contract3.xor_euint16_euint8( + this.instances3.alice.encrypt16(4336), + this.instances3.alice.encrypt8(242), ); expect(res).to.equal(4098); }); it('test operator "eq" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.eq_euint16_euint8( - this.instances1.alice.encrypt16(16), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.eq_euint16_euint8( + this.instances3.alice.encrypt16(16), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract1.eq_euint16_euint8( - this.instances1.alice.encrypt16(272), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.eq_euint16_euint8( + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.ne_euint16_euint8( - this.instances1.alice.encrypt16(16), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.ne_euint16_euint8( + this.instances3.alice.encrypt16(16), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract1.ne_euint16_euint8( - this.instances1.alice.encrypt16(272), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.ne_euint16_euint8( + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.ge_euint16_euint8( - this.instances1.alice.encrypt16(16), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.ge_euint16_euint8( + this.instances3.alice.encrypt16(16), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract1.ge_euint16_euint8( - this.instances1.alice.encrypt16(272), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.ge_euint16_euint8( + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, euint8) => ebool test 3 (15, 16)', async function () { - const res = await this.contract1.ge_euint16_euint8( - this.instances1.alice.encrypt16(15), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.ge_euint16_euint8( + this.instances3.alice.encrypt16(15), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.gt_euint16_euint8( - this.instances1.alice.encrypt16(16), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.gt_euint16_euint8( + this.instances3.alice.encrypt16(16), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract1.gt_euint16_euint8( - this.instances1.alice.encrypt16(272), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.gt_euint16_euint8( + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint16, euint8) => ebool test 3 (15, 16)', async function () { - const res = await this.contract1.gt_euint16_euint8( - this.instances1.alice.encrypt16(15), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.gt_euint16_euint8( + this.instances3.alice.encrypt16(15), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.le_euint16_euint8( - this.instances1.alice.encrypt16(16), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.le_euint16_euint8( + this.instances3.alice.encrypt16(16), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract1.le_euint16_euint8( - this.instances1.alice.encrypt16(272), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.le_euint16_euint8( + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint16, euint8) => ebool test 3 (15, 16)', async function () { - const res = await this.contract1.le_euint16_euint8( - this.instances1.alice.encrypt16(15), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.le_euint16_euint8( + this.instances3.alice.encrypt16(15), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract1.lt_euint16_euint8( - this.instances1.alice.encrypt16(16), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.lt_euint16_euint8( + this.instances3.alice.encrypt16(16), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract1.lt_euint16_euint8( - this.instances1.alice.encrypt16(272), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.lt_euint16_euint8( + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint16, euint8) => ebool test 3 (15, 16)', async function () { - const res = await this.contract1.lt_euint16_euint8( - this.instances1.alice.encrypt16(15), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.lt_euint16_euint8( + this.instances3.alice.encrypt16(15), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(true); }); it('test operator "min" overload (euint16, euint8) => euint16 test 1 (16, 16)', async function () { - const res = await this.contract1.min_euint16_euint8( - this.instances1.alice.encrypt16(16), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.min_euint16_euint8( + this.instances3.alice.encrypt16(16), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(16); }); it('test operator "min" overload (euint16, euint8) => euint16 test 2 (272, 16)', async function () { - const res = await this.contract1.min_euint16_euint8( - this.instances1.alice.encrypt16(272), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.min_euint16_euint8( + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(16); }); it('test operator "min" overload (euint16, euint8) => euint16 test 3 (15, 16)', async function () { - const res = await this.contract1.min_euint16_euint8( - this.instances1.alice.encrypt16(15), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.min_euint16_euint8( + this.instances3.alice.encrypt16(15), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(15); }); it('test operator "max" overload (euint16, euint8) => euint16 test 1 (16, 16)', async function () { - const res = await this.contract1.max_euint16_euint8( - this.instances1.alice.encrypt16(16), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.max_euint16_euint8( + this.instances3.alice.encrypt16(16), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(16); }); it('test operator "max" overload (euint16, euint8) => euint16 test 2 (272, 16)', async function () { - const res = await this.contract1.max_euint16_euint8( - this.instances1.alice.encrypt16(272), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.max_euint16_euint8( + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(272); }); it('test operator "max" overload (euint16, euint8) => euint16 test 3 (15, 16)', async function () { - const res = await this.contract1.max_euint16_euint8( - this.instances1.alice.encrypt16(15), - this.instances1.alice.encrypt8(16), + const res = await this.contract3.max_euint16_euint8( + this.instances3.alice.encrypt16(15), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(16); }); it('test operator "add" overload (euint16, euint16) => euint16 test 1 (258, 513)', async function () { - const res = await this.contract1.add_euint16_euint16( - this.instances1.alice.encrypt16(258), - this.instances1.alice.encrypt16(513), + const res = await this.contract3.add_euint16_euint16( + this.instances3.alice.encrypt16(258), + this.instances3.alice.encrypt16(513), ); expect(res).to.equal(771); }); it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (1027, 258)', async function () { - const res = await this.contract1.sub_euint16_euint16( - this.instances1.alice.encrypt16(1027), - this.instances1.alice.encrypt16(258), + const res = await this.contract3.sub_euint16_euint16( + this.instances3.alice.encrypt16(1027), + this.instances3.alice.encrypt16(258), ); expect(res).to.equal(769); }); it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract1.mul_euint16_euint16( - this.instances1.alice.encrypt16(512), - this.instances1.alice.encrypt16(2), + const res = await this.contract3.mul_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(1024); }); it('test operator "and" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract1.and_euint16_euint16( - this.instances1.alice.encrypt16(512), - this.instances1.alice.encrypt16(2), + const res = await this.contract3.and_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint16, euint16) => euint16 test 2 (528, 18)', async function () { - const res = await this.contract1.and_euint16_euint16( - this.instances1.alice.encrypt16(528), - this.instances1.alice.encrypt16(18), + const res = await this.contract3.and_euint16_euint16( + this.instances3.alice.encrypt16(528), + this.instances3.alice.encrypt16(18), ); expect(res).to.equal(16); }); it('test operator "or" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract1.or_euint16_euint16( - this.instances1.alice.encrypt16(512), - this.instances1.alice.encrypt16(2), + const res = await this.contract3.or_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(514); }); it('test operator "or" overload (euint16, euint16) => euint16 test 2 (528, 18)', async function () { - const res = await this.contract1.or_euint16_euint16( - this.instances1.alice.encrypt16(528), - this.instances1.alice.encrypt16(18), + const res = await this.contract3.or_euint16_euint16( + this.instances3.alice.encrypt16(528), + this.instances3.alice.encrypt16(18), ); expect(res).to.equal(530); }); it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract1.xor_euint16_euint16( - this.instances1.alice.encrypt16(512), - this.instances1.alice.encrypt16(2), + const res = await this.contract3.xor_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(514); }); it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (528, 18)', async function () { - const res = await this.contract1.xor_euint16_euint16( - this.instances1.alice.encrypt16(528), - this.instances1.alice.encrypt16(18), + const res = await this.contract3.xor_euint16_euint16( + this.instances3.alice.encrypt16(528), + this.instances3.alice.encrypt16(18), ); expect(res).to.equal(514); }); it('test operator "eq" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract2.eq_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(2), + const res = await this.contract3.eq_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(false); }); it('test operator "eq" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract2.eq_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(512), + const res = await this.contract3.eq_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(512), ); expect(res).to.equal(true); }); it('test operator "ne" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract2.ne_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(2), + const res = await this.contract3.ne_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(true); }); it('test operator "ne" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract2.ne_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(512), + const res = await this.contract3.ne_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(512), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract2.ge_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(2), + const res = await this.contract3.ge_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract2.ge_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(512), + const res = await this.contract3.ge_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(512), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, euint16) => ebool test 3 (512, 513)', async function () { - const res = await this.contract2.ge_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(513), + const res = await this.contract3.ge_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(513), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract2.gt_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(2), + const res = await this.contract3.gt_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract2.gt_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(512), + const res = await this.contract3.gt_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(512), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, euint16) => ebool test 3 (512, 513)', async function () { - const res = await this.contract2.gt_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(513), + const res = await this.contract3.gt_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(513), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract2.le_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(2), + const res = await this.contract3.le_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract2.le_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(512), + const res = await this.contract3.le_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(512), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint16, euint16) => ebool test 3 (512, 513)', async function () { - const res = await this.contract2.le_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(513), + const res = await this.contract3.le_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(513), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract2.lt_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(2), + const res = await this.contract3.lt_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract2.lt_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(512), + const res = await this.contract3.lt_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(512), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint16, euint16) => ebool test 3 (512, 513)', async function () { - const res = await this.contract2.lt_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(513), + const res = await this.contract3.lt_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(513), ); expect(res).to.equal(true); }); it('test operator "min" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract2.min_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(2), + const res = await this.contract3.min_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(2); }); it('test operator "min" overload (euint16, euint16) => euint16 test 2 (512, 512)', async function () { - const res = await this.contract2.min_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(512), + const res = await this.contract3.min_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(512), ); expect(res).to.equal(512); }); it('test operator "min" overload (euint16, euint16) => euint16 test 3 (512, 513)', async function () { - const res = await this.contract2.min_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(513), + const res = await this.contract3.min_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(513), ); expect(res).to.equal(512); }); it('test operator "max" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract2.max_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(2), + const res = await this.contract3.max_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(512); }); it('test operator "max" overload (euint16, euint16) => euint16 test 2 (512, 512)', async function () { - const res = await this.contract2.max_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(512), + const res = await this.contract3.max_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(512), ); expect(res).to.equal(512); }); it('test operator "max" overload (euint16, euint16) => euint16 test 3 (512, 513)', async function () { - const res = await this.contract2.max_euint16_euint16( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt16(513), + const res = await this.contract3.max_euint16_euint16( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt16(513), ); expect(res).to.equal(513); }); it('test operator "add" overload (euint16, euint32) => euint32 test 1 (514, 131074)', async function () { - const res = await this.contract2.add_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(131074), + const res = await this.contract3.add_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(131074), ); expect(res).to.equal(131588); }); it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (514, 2)', async function () { - const res = await this.contract2.sub_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(2), + const res = await this.contract3.sub_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(2), ); expect(res).to.equal(512); }); it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (514, 65536)', async function () { - const res = await this.contract2.sub_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(65536), + const res = await this.contract3.sub_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(65536), ); expect(res).to.equal(4294902274); }); it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (512, 65536)', async function () { - const res = await this.contract2.mul_euint16_euint32( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt32(65536), + const res = await this.contract3.mul_euint16_euint32( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt32(65536), ); expect(res).to.equal(33554432); }); it('test operator "and" overload (euint16, euint32) => euint32 test 1 (514, 65536)', async function () { - const res = await this.contract2.and_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(65536), + const res = await this.contract3.and_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(65536), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint16, euint32) => euint32 test 2 (514, 65538)', async function () { - const res = await this.contract2.and_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(65538), + const res = await this.contract3.and_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(65538), ); expect(res).to.equal(2); }); it('test operator "or" overload (euint16, euint32) => euint32 test 1 (514, 65536)', async function () { - const res = await this.contract2.or_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(65536), + const res = await this.contract3.or_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(65536), ); expect(res).to.equal(66050); }); it('test operator "or" overload (euint16, euint32) => euint32 test 2 (514, 65538)', async function () { - const res = await this.contract2.or_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(65538), + const res = await this.contract3.or_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(65538), ); expect(res).to.equal(66050); }); it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (514, 65536)', async function () { - const res = await this.contract2.xor_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(65536), + const res = await this.contract3.xor_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(65536), ); expect(res).to.equal(66050); }); it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (514, 65538)', async function () { - const res = await this.contract2.xor_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(65538), + const res = await this.contract3.xor_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(65538), ); expect(res).to.equal(66048); }); it('test operator "eq" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.eq_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(66050), + const res = await this.contract3.eq_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(66050), ); expect(res).to.equal(false); }); it('test operator "eq" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.eq_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(514), + const res = await this.contract3.eq_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(514), ); expect(res).to.equal(true); }); it('test operator "ne" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.ne_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(66050), + const res = await this.contract3.ne_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(66050), ); expect(res).to.equal(true); }); it('test operator "ne" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.ne_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(514), + const res = await this.contract3.ne_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(514), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.ge_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(66050), + const res = await this.contract3.ge_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(66050), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.ge_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(514), + const res = await this.contract3.ge_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(514), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, euint32) => ebool test 3 (514, 513)', async function () { - const res = await this.contract2.ge_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(513), + const res = await this.contract3.ge_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(513), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.gt_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(66050), + const res = await this.contract3.gt_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(66050), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.gt_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(514), + const res = await this.contract3.gt_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(514), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, euint32) => ebool test 3 (514, 513)', async function () { - const res = await this.contract2.gt_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(513), + const res = await this.contract3.gt_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(513), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.le_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(66050), + const res = await this.contract3.le_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(66050), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.le_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(514), + const res = await this.contract3.le_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(514), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint16, euint32) => ebool test 3 (514, 513)', async function () { - const res = await this.contract2.le_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(513), + const res = await this.contract3.le_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(513), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.lt_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(66050), + const res = await this.contract3.lt_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(66050), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.lt_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(514), + const res = await this.contract3.lt_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(514), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint16, euint32) => ebool test 3 (514, 513)', async function () { - const res = await this.contract2.lt_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(513), + const res = await this.contract3.lt_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(513), ); expect(res).to.equal(false); }); it('test operator "min" overload (euint16, euint32) => euint32 test 1 (514, 66050)', async function () { - const res = await this.contract2.min_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(66050), + const res = await this.contract3.min_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(66050), ); expect(res).to.equal(514); }); it('test operator "min" overload (euint16, euint32) => euint32 test 2 (514, 514)', async function () { - const res = await this.contract2.min_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(514), + const res = await this.contract3.min_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(514), ); expect(res).to.equal(514); }); it('test operator "min" overload (euint16, euint32) => euint32 test 3 (514, 513)', async function () { - const res = await this.contract2.min_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(513), + const res = await this.contract3.min_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(513), ); expect(res).to.equal(513); }); it('test operator "max" overload (euint16, euint32) => euint32 test 1 (514, 66050)', async function () { - const res = await this.contract2.max_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(66050), + const res = await this.contract3.max_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(66050), ); expect(res).to.equal(66050); }); it('test operator "max" overload (euint16, euint32) => euint32 test 2 (514, 514)', async function () { - const res = await this.contract2.max_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(514), + const res = await this.contract3.max_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(514), ); expect(res).to.equal(514); }); it('test operator "max" overload (euint16, euint32) => euint32 test 3 (514, 513)', async function () { - const res = await this.contract2.max_euint16_euint32( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt32(513), + const res = await this.contract3.max_euint16_euint32( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt32(513), ); expect(res).to.equal(514); }); it('test operator "add" overload (euint16, euint64) => euint64 test 1 (514, 131074)', async function () { - const res = await this.contract2.add_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(131074), + const res = await this.contract3.add_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(131074), ); expect(res).to.equal(131588); }); it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (514, 2)', async function () { - const res = await this.contract2.sub_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(2), + const res = await this.contract3.sub_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(2), ); expect(res).to.equal(512); }); it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (514, 65536)', async function () { - const res = await this.contract2.sub_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(65536), + const res = await this.contract3.sub_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(65536), ); expect(res).to.equal(18446744073709486594n); }); it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (512, 65536)', async function () { - const res = await this.contract2.mul_euint16_euint64( - this.instances2.alice.encrypt16(512), - this.instances2.alice.encrypt64(65536), + const res = await this.contract3.mul_euint16_euint64( + this.instances3.alice.encrypt16(512), + this.instances3.alice.encrypt64(65536), ); expect(res).to.equal(33554432); }); it('test operator "and" overload (euint16, euint64) => euint64 test 1 (514, 65536)', async function () { - const res = await this.contract2.and_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(65536), + const res = await this.contract3.and_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(65536), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint16, euint64) => euint64 test 2 (514, 65538)', async function () { - const res = await this.contract2.and_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(65538), + const res = await this.contract3.and_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(65538), ); expect(res).to.equal(2); }); it('test operator "or" overload (euint16, euint64) => euint64 test 1 (514, 65536)', async function () { - const res = await this.contract2.or_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(65536), + const res = await this.contract3.or_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(65536), ); expect(res).to.equal(66050); }); it('test operator "or" overload (euint16, euint64) => euint64 test 2 (514, 65538)', async function () { - const res = await this.contract2.or_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(65538), + const res = await this.contract3.or_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(65538), ); expect(res).to.equal(66050); }); it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (514, 65536)', async function () { - const res = await this.contract2.xor_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(65536), + const res = await this.contract3.xor_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(65536), ); expect(res).to.equal(66050); }); it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (514, 65538)', async function () { - const res = await this.contract2.xor_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(65538), + const res = await this.contract3.xor_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(65538), ); expect(res).to.equal(66048); }); it('test operator "eq" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.eq_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(66050), + const res = await this.contract3.eq_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(66050), ); expect(res).to.equal(false); }); it('test operator "eq" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.eq_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(514), + const res = await this.contract3.eq_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(514), ); expect(res).to.equal(true); }); it('test operator "ne" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.ne_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(66050), + const res = await this.contract3.ne_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(66050), ); expect(res).to.equal(true); }); it('test operator "ne" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.ne_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(514), + const res = await this.contract3.ne_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(514), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.ge_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(66050), + const res = await this.contract3.ge_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(66050), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.ge_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(514), + const res = await this.contract3.ge_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(514), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, euint64) => ebool test 3 (514, 513)', async function () { - const res = await this.contract2.ge_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(513), + const res = await this.contract3.ge_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(513), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.gt_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(66050), + const res = await this.contract3.gt_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(66050), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.gt_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(514), + const res = await this.contract3.gt_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(514), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, euint64) => ebool test 3 (514, 513)', async function () { - const res = await this.contract2.gt_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(513), + const res = await this.contract3.gt_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(513), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.le_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(66050), + const res = await this.contract3.le_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(66050), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.le_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(514), + const res = await this.contract3.le_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(514), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint16, euint64) => ebool test 3 (514, 513)', async function () { - const res = await this.contract2.le_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(513), + const res = await this.contract3.le_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(513), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract2.lt_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(66050), + const res = await this.contract3.lt_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(66050), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract2.lt_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(514), + const res = await this.contract3.lt_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(514), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint16, euint64) => ebool test 3 (514, 513)', async function () { - const res = await this.contract2.lt_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(513), + const res = await this.contract3.lt_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(513), ); expect(res).to.equal(false); }); it('test operator "min" overload (euint16, euint64) => euint64 test 1 (514, 66050)', async function () { - const res = await this.contract2.min_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(66050), + const res = await this.contract3.min_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(66050), ); expect(res).to.equal(514); }); it('test operator "min" overload (euint16, euint64) => euint64 test 2 (514, 514)', async function () { - const res = await this.contract2.min_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(514), + const res = await this.contract3.min_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(514), ); expect(res).to.equal(514); }); it('test operator "min" overload (euint16, euint64) => euint64 test 3 (514, 513)', async function () { - const res = await this.contract2.min_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(513), + const res = await this.contract3.min_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(513), ); expect(res).to.equal(513); }); it('test operator "max" overload (euint16, euint64) => euint64 test 1 (514, 66050)', async function () { - const res = await this.contract2.max_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(66050), + const res = await this.contract3.max_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(66050), ); expect(res).to.equal(66050); }); it('test operator "max" overload (euint16, euint64) => euint64 test 2 (514, 514)', async function () { - const res = await this.contract2.max_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(514), + const res = await this.contract3.max_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(514), ); expect(res).to.equal(514); }); it('test operator "max" overload (euint16, euint64) => euint64 test 3 (514, 513)', async function () { - const res = await this.contract2.max_euint16_euint64( - this.instances2.alice.encrypt16(514), - this.instances2.alice.encrypt64(513), + const res = await this.contract3.max_euint16_euint64( + this.instances3.alice.encrypt16(514), + this.instances3.alice.encrypt64(513), ); expect(res).to.equal(514); }); it('test operator "add" overload (euint16, uint16) => euint16 test 1 (514, 546)', async function () { - const res = await this.contract2.add_euint16_uint16(this.instances2.alice.encrypt16(514), 546); + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(514), 546); expect(res).to.equal(1060); }); it('test operator "add" overload (uint16, euint16) => euint16 test 1 (514, 546)', async function () { - const res = await this.contract2.add_uint16_euint16(514, this.instances2.alice.encrypt16(546)); + const res = await this.contract3.add_uint16_euint16(514, this.instances3.alice.encrypt16(546)); expect(res).to.equal(1060); }); it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (514, 513)', async function () { - const res = await this.contract2.sub_euint16_uint16(this.instances2.alice.encrypt16(514), 513); + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(514), 513); expect(res).to.equal(1); }); it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (514, 513)', async function () { - const res = await this.contract2.sub_uint16_euint16(514, this.instances2.alice.encrypt16(513)); + const res = await this.contract3.sub_uint16_euint16(514, this.instances3.alice.encrypt16(513)); expect(res).to.equal(1); }); it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (514, 3)', async function () { - const res = await this.contract2.mul_euint16_uint16(this.instances2.alice.encrypt16(514), 3); + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(514), 3); expect(res).to.equal(1542); }); it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (514, 3)', async function () { - const res = await this.contract2.mul_uint16_euint16(514, this.instances2.alice.encrypt16(3)); + const res = await this.contract3.mul_uint16_euint16(514, this.instances3.alice.encrypt16(3)); expect(res).to.equal(1542); }); it('test operator "div" overload (euint16, uint16) => euint16 test 1 (1542, 3)', async function () { - const res = await this.contract2.div_euint16_uint16(this.instances2.alice.encrypt16(1542), 3); + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(1542), 3); expect(res).to.equal(514); }); it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (1544, 3)', async function () { - const res = await this.contract2.rem_euint16_uint16(this.instances2.alice.encrypt16(1544), 3); + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(1544), 3); expect(res).to.equal(2); }); it('test operator "eq" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.eq_euint16_uint16(this.instances2.alice.encrypt16(1542), 1542); + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); expect(res).to.equal(true); }); it('test operator "eq" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.eq_euint16_uint16(this.instances2.alice.encrypt16(1542), 1541); + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); expect(res).to.equal(false); }); it('test operator "eq" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.eq_uint16_euint16(1542, this.instances2.alice.encrypt16(1542)); + const res = await this.contract3.eq_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); expect(res).to.equal(true); }); it('test operator "eq" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.eq_uint16_euint16(1542, this.instances2.alice.encrypt16(1541)); + const res = await this.contract3.eq_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); expect(res).to.equal(false); }); it('test operator "ne" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.ne_euint16_uint16(this.instances2.alice.encrypt16(1542), 1542); + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); expect(res).to.equal(false); }); it('test operator "ne" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.ne_euint16_uint16(this.instances2.alice.encrypt16(1542), 1541); + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); expect(res).to.equal(true); }); it('test operator "ne" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.ne_uint16_euint16(1542, this.instances2.alice.encrypt16(1542)); + const res = await this.contract3.ne_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); expect(res).to.equal(false); }); it('test operator "ne" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.ne_uint16_euint16(1542, this.instances2.alice.encrypt16(1541)); + const res = await this.contract3.ne_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.ge_euint16_uint16(this.instances2.alice.encrypt16(1542), 1542); + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.ge_euint16_uint16(this.instances2.alice.encrypt16(1542), 1541); + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, uint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract2.ge_euint16_uint16(this.instances2.alice.encrypt16(1542), 1543); + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); expect(res).to.equal(false); }); it('test operator "ge" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.ge_uint16_euint16(1542, this.instances2.alice.encrypt16(1542)); + const res = await this.contract3.ge_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); expect(res).to.equal(true); }); it('test operator "ge" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.ge_uint16_euint16(1542, this.instances2.alice.encrypt16(1541)); + const res = await this.contract3.ge_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); expect(res).to.equal(true); }); it('test operator "ge" overload (uint16, euint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract2.ge_uint16_euint16(1542, this.instances2.alice.encrypt16(1543)); + const res = await this.contract3.ge_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.gt_euint16_uint16(this.instances2.alice.encrypt16(1542), 1542); + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.gt_euint16_uint16(this.instances2.alice.encrypt16(1542), 1541); + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); expect(res).to.equal(true); }); it('test operator "gt" overload (euint16, uint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract2.gt_euint16_uint16(this.instances2.alice.encrypt16(1542), 1543); + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); expect(res).to.equal(false); }); it('test operator "gt" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.gt_uint16_euint16(1542, this.instances2.alice.encrypt16(1542)); + const res = await this.contract3.gt_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); expect(res).to.equal(false); }); it('test operator "gt" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.gt_uint16_euint16(1542, this.instances2.alice.encrypt16(1541)); + const res = await this.contract3.gt_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); expect(res).to.equal(true); }); it('test operator "gt" overload (uint16, euint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract2.gt_uint16_euint16(1542, this.instances2.alice.encrypt16(1543)); + const res = await this.contract3.gt_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); expect(res).to.equal(false); }); it('test operator "le" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.le_euint16_uint16(this.instances2.alice.encrypt16(1542), 1542); + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); expect(res).to.equal(true); }); it('test operator "le" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.le_euint16_uint16(this.instances2.alice.encrypt16(1542), 1541); + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); expect(res).to.equal(false); }); it('test operator "le" overload (euint16, uint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract2.le_euint16_uint16(this.instances2.alice.encrypt16(1542), 1543); + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); expect(res).to.equal(true); }); it('test operator "le" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.le_uint16_euint16(1542, this.instances2.alice.encrypt16(1542)); + const res = await this.contract3.le_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); expect(res).to.equal(true); }); it('test operator "le" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.le_uint16_euint16(1542, this.instances2.alice.encrypt16(1541)); + const res = await this.contract3.le_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); expect(res).to.equal(false); }); it('test operator "le" overload (uint16, euint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract2.le_uint16_euint16(1542, this.instances2.alice.encrypt16(1543)); + const res = await this.contract3.le_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); expect(res).to.equal(true); }); it('test operator "lt" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.lt_euint16_uint16(this.instances2.alice.encrypt16(1542), 1542); + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); expect(res).to.equal(false); }); it('test operator "lt" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.lt_euint16_uint16(this.instances2.alice.encrypt16(1542), 1541); + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); expect(res).to.equal(false); }); it('test operator "lt" overload (euint16, uint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract2.lt_euint16_uint16(this.instances2.alice.encrypt16(1542), 1543); + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); expect(res).to.equal(true); }); it('test operator "lt" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract2.lt_uint16_euint16(1542, this.instances2.alice.encrypt16(1542)); + const res = await this.contract3.lt_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); expect(res).to.equal(false); }); it('test operator "lt" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract2.lt_uint16_euint16(1542, this.instances2.alice.encrypt16(1541)); + const res = await this.contract3.lt_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); expect(res).to.equal(false); }); it('test operator "lt" overload (uint16, euint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract2.lt_uint16_euint16(1542, this.instances2.alice.encrypt16(1543)); + const res = await this.contract3.lt_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); expect(res).to.equal(true); }); it('test operator "min" overload (euint16, uint16) => euint16 test 1 (1542, 1542)', async function () { - const res = await this.contract2.min_euint16_uint16(this.instances2.alice.encrypt16(1542), 1542); + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); expect(res).to.equal(1542); }); it('test operator "min" overload (euint16, uint16) => euint16 test 2 (1542, 1541)', async function () { - const res = await this.contract2.min_euint16_uint16(this.instances2.alice.encrypt16(1542), 1541); + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); expect(res).to.equal(1541); }); it('test operator "min" overload (euint16, uint16) => euint16 test 3 (1542, 1543)', async function () { - const res = await this.contract2.min_euint16_uint16(this.instances2.alice.encrypt16(1542), 1543); + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); expect(res).to.equal(1542); }); it('test operator "min" overload (uint16, euint16) => euint16 test 1 (1542, 1542)', async function () { - const res = await this.contract2.min_uint16_euint16(1542, this.instances2.alice.encrypt16(1542)); + const res = await this.contract3.min_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); expect(res).to.equal(1542); }); it('test operator "min" overload (uint16, euint16) => euint16 test 2 (1542, 1541)', async function () { - const res = await this.contract2.min_uint16_euint16(1542, this.instances2.alice.encrypt16(1541)); + const res = await this.contract3.min_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); expect(res).to.equal(1541); }); it('test operator "min" overload (uint16, euint16) => euint16 test 3 (1542, 1543)', async function () { - const res = await this.contract2.min_uint16_euint16(1542, this.instances2.alice.encrypt16(1543)); + const res = await this.contract3.min_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); expect(res).to.equal(1542); }); it('test operator "max" overload (euint16, uint16) => euint16 test 1 (1542, 1542)', async function () { - const res = await this.contract2.max_euint16_uint16(this.instances2.alice.encrypt16(1542), 1542); + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); expect(res).to.equal(1542); }); it('test operator "max" overload (euint16, uint16) => euint16 test 2 (1542, 1541)', async function () { - const res = await this.contract2.max_euint16_uint16(this.instances2.alice.encrypt16(1542), 1541); + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); expect(res).to.equal(1542); }); it('test operator "max" overload (euint16, uint16) => euint16 test 3 (1542, 1543)', async function () { - const res = await this.contract2.max_euint16_uint16(this.instances2.alice.encrypt16(1542), 1543); + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); expect(res).to.equal(1543); }); it('test operator "max" overload (uint16, euint16) => euint16 test 1 (1542, 1542)', async function () { - const res = await this.contract2.max_uint16_euint16(1542, this.instances2.alice.encrypt16(1542)); + const res = await this.contract3.max_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); expect(res).to.equal(1542); }); it('test operator "max" overload (uint16, euint16) => euint16 test 2 (1542, 1541)', async function () { - const res = await this.contract2.max_uint16_euint16(1542, this.instances2.alice.encrypt16(1541)); + const res = await this.contract3.max_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); expect(res).to.equal(1542); }); it('test operator "max" overload (uint16, euint16) => euint16 test 3 (1542, 1543)', async function () { - const res = await this.contract2.max_uint16_euint16(1542, this.instances2.alice.encrypt16(1543)); + const res = await this.contract3.max_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); expect(res).to.equal(1543); }); it('test operator "add" overload (euint32, euint8) => euint32 test 1 (50331648, 3)', async function () { - const res = await this.contract2.add_euint32_euint8( - this.instances2.alice.encrypt32(50331648), - this.instances2.alice.encrypt8(3), + const res = await this.contract3.add_euint32_euint8( + this.instances3.alice.encrypt32(50331648), + this.instances3.alice.encrypt8(3), ); expect(res).to.equal(50331651); }); it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (50331648, 3)', async function () { - const res = await this.contract2.sub_euint32_euint8( - this.instances2.alice.encrypt32(50331648), - this.instances2.alice.encrypt8(3), + const res = await this.contract3.sub_euint32_euint8( + this.instances3.alice.encrypt32(50331648), + this.instances3.alice.encrypt8(3), ); expect(res).to.equal(50331645); }); it('test operator "mul" overload (euint32, euint8) => euint32 test 1 (50331648, 3)', async function () { - const res = await this.contract2.mul_euint32_euint8( - this.instances2.alice.encrypt32(50331648), - this.instances2.alice.encrypt8(3), + const res = await this.contract3.mul_euint32_euint8( + this.instances3.alice.encrypt32(50331648), + this.instances3.alice.encrypt8(3), ); expect(res).to.equal(150994944); }); it('test operator "and" overload (euint32, euint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract2.and_euint32_euint8( - this.instances2.alice.encrypt32(50397184), - this.instances2.alice.encrypt8(3), + const res = await this.contract3.and_euint32_euint8( + this.instances3.alice.encrypt32(50397184), + this.instances3.alice.encrypt8(3), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint32, euint8) => euint32 test 2 (50397187, 3)', async function () { - const res = await this.contract2.and_euint32_euint8( - this.instances2.alice.encrypt32(50397187), - this.instances2.alice.encrypt8(3), + const res = await this.contract3.and_euint32_euint8( + this.instances3.alice.encrypt32(50397187), + this.instances3.alice.encrypt8(3), ); expect(res).to.equal(3); }); it('test operator "or" overload (euint32, euint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract2.or_euint32_euint8( - this.instances2.alice.encrypt32(50397184), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.or_euint32_euint8( + this.instances4.alice.encrypt32(50397184), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50397187); }); it('test operator "or" overload (euint32, euint8) => euint32 test 2 (50397187, 3)', async function () { - const res = await this.contract2.or_euint32_euint8( - this.instances2.alice.encrypt32(50397187), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.or_euint32_euint8( + this.instances4.alice.encrypt32(50397187), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50397187); }); it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract2.xor_euint32_euint8( - this.instances2.alice.encrypt32(50397184), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.xor_euint32_euint8( + this.instances4.alice.encrypt32(50397184), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50397187); }); it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (50397187, 3)', async function () { - const res = await this.contract2.xor_euint32_euint8( - this.instances2.alice.encrypt32(50397187), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.xor_euint32_euint8( + this.instances4.alice.encrypt32(50397187), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50397184); }); it('test operator "eq" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract2.eq_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.eq_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract2.eq_euint32_euint8( - this.instances2.alice.encrypt32(50331651), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.eq_euint32_euint8( + this.instances4.alice.encrypt32(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract2.ne_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.ne_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract2.ne_euint32_euint8( - this.instances2.alice.encrypt32(50331651), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.ne_euint32_euint8( + this.instances4.alice.encrypt32(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract2.ge_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.ge_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract2.ge_euint32_euint8( - this.instances2.alice.encrypt32(50331651), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.ge_euint32_euint8( + this.instances4.alice.encrypt32(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract2.ge_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(4), + const res = await this.contract4.ge_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract2.gt_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.gt_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract2.gt_euint32_euint8( - this.instances2.alice.encrypt32(50331651), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.gt_euint32_euint8( + this.instances4.alice.encrypt32(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint32, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract2.gt_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(4), + const res = await this.contract4.gt_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract2.le_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.le_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract2.le_euint32_euint8( - this.instances2.alice.encrypt32(50331651), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.le_euint32_euint8( + this.instances4.alice.encrypt32(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint32, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract2.le_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(4), + const res = await this.contract4.le_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract2.lt_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.lt_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract2.lt_euint32_euint8( - this.instances2.alice.encrypt32(50331651), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.lt_euint32_euint8( + this.instances4.alice.encrypt32(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint32, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract2.lt_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(4), + const res = await this.contract4.lt_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(true); }); it('test operator "min" overload (euint32, euint8) => euint32 test 1 (3, 3)', async function () { - const res = await this.contract2.min_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.min_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(3); }); it('test operator "min" overload (euint32, euint8) => euint32 test 2 (50331651, 3)', async function () { - const res = await this.contract2.min_euint32_euint8( - this.instances2.alice.encrypt32(50331651), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.min_euint32_euint8( + this.instances4.alice.encrypt32(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(3); }); it('test operator "min" overload (euint32, euint8) => euint32 test 3 (3, 4)', async function () { - const res = await this.contract2.min_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(4), + const res = await this.contract4.min_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(3); }); it('test operator "max" overload (euint32, euint8) => euint32 test 1 (3, 3)', async function () { - const res = await this.contract2.max_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.max_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(3); }); it('test operator "max" overload (euint32, euint8) => euint32 test 2 (50331651, 3)', async function () { - const res = await this.contract2.max_euint32_euint8( - this.instances2.alice.encrypt32(50331651), - this.instances2.alice.encrypt8(3), + const res = await this.contract4.max_euint32_euint8( + this.instances4.alice.encrypt32(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50331651); }); it('test operator "max" overload (euint32, euint8) => euint32 test 3 (3, 4)', async function () { - const res = await this.contract2.max_euint32_euint8( - this.instances2.alice.encrypt32(3), - this.instances2.alice.encrypt8(4), + const res = await this.contract4.max_euint32_euint8( + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(4); }); it('test operator "add" overload (euint32, euint16) => euint32 test 1 (50335779, 4099)', async function () { - const res = await this.contract2.add_euint32_euint16( - this.instances2.alice.encrypt32(50335779), - this.instances2.alice.encrypt16(4099), + const res = await this.contract4.add_euint32_euint16( + this.instances4.alice.encrypt32(50335779), + this.instances4.alice.encrypt16(4099), ); expect(res).to.equal(50339878); }); it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (50335779, 4099)', async function () { - const res = await this.contract2.sub_euint32_euint16( - this.instances2.alice.encrypt32(50335779), - this.instances2.alice.encrypt16(4099), + const res = await this.contract4.sub_euint32_euint16( + this.instances4.alice.encrypt32(50335779), + this.instances4.alice.encrypt16(4099), ); expect(res).to.equal(50331680); }); it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (50335779, 3)', async function () { - const res = await this.contract2.mul_euint32_euint16( - this.instances2.alice.encrypt32(50335779), - this.instances2.alice.encrypt16(3), + const res = await this.contract4.mul_euint32_euint16( + this.instances4.alice.encrypt32(50335779), + this.instances4.alice.encrypt16(3), ); expect(res).to.equal(151007337); }); it('test operator "and" overload (euint32, euint16) => euint32 test 1 (50335776, 3)', async function () { - const res = await this.contract2.and_euint32_euint16( - this.instances2.alice.encrypt32(50335776), - this.instances2.alice.encrypt16(3), + const res = await this.contract4.and_euint32_euint16( + this.instances4.alice.encrypt32(50335776), + this.instances4.alice.encrypt16(3), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint32, euint16) => euint32 test 2 (50335779, 4099)', async function () { - const res = await this.contract2.and_euint32_euint16( - this.instances2.alice.encrypt32(50335779), - this.instances2.alice.encrypt16(4099), + const res = await this.contract4.and_euint32_euint16( + this.instances4.alice.encrypt32(50335779), + this.instances4.alice.encrypt16(4099), ); expect(res).to.equal(4099); }); it('test operator "or" overload (euint32, euint16) => euint32 test 1 (50331680, 4099)', async function () { - const res = await this.contract2.or_euint32_euint16( - this.instances2.alice.encrypt32(50331680), - this.instances2.alice.encrypt16(4099), + const res = await this.contract4.or_euint32_euint16( + this.instances4.alice.encrypt32(50331680), + this.instances4.alice.encrypt16(4099), ); expect(res).to.equal(50335779); }); it('test operator "or" overload (euint32, euint16) => euint32 test 2 (50331683, 4099)', async function () { - const res = await this.contract2.or_euint32_euint16( - this.instances2.alice.encrypt32(50331683), - this.instances2.alice.encrypt16(4099), + const res = await this.contract4.or_euint32_euint16( + this.instances4.alice.encrypt32(50331683), + this.instances4.alice.encrypt16(4099), ); expect(res).to.equal(50335779); }); it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (50331683, 4099)', async function () { - const res = await this.contract2.xor_euint32_euint16( - this.instances2.alice.encrypt32(50331683), - this.instances2.alice.encrypt16(4099), + const res = await this.contract4.xor_euint32_euint16( + this.instances4.alice.encrypt32(50331683), + this.instances4.alice.encrypt16(4099), ); expect(res).to.equal(50335776); }); it('test operator "eq" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract2.eq_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.eq_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract2.eq_euint32_euint16( - this.instances2.alice.encrypt32(16781312), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.eq_euint32_euint16( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract2.ne_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.ne_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract2.ne_euint32_euint16( - this.instances2.alice.encrypt32(16781312), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.ne_euint32_euint16( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract2.ge_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.ge_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract2.ge_euint32_euint16( - this.instances2.alice.encrypt32(16781312), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.ge_euint32_euint16( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract2.ge_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4097), + const res = await this.contract4.ge_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4097), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract2.gt_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.gt_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract2.gt_euint32_euint16( - this.instances2.alice.encrypt32(16781312), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.gt_euint32_euint16( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint32, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract2.gt_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4097), + const res = await this.contract4.gt_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4097), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract2.le_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.le_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract2.le_euint32_euint16( - this.instances2.alice.encrypt32(16781312), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.le_euint32_euint16( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint32, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract2.le_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4097), + const res = await this.contract4.le_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4097), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract2.lt_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.lt_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract2.lt_euint32_euint16( - this.instances2.alice.encrypt32(16781312), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.lt_euint32_euint16( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint32, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract2.lt_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4097), + const res = await this.contract4.lt_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4097), ); expect(res).to.equal(true); }); it('test operator "min" overload (euint32, euint16) => euint32 test 1 (4096, 4096)', async function () { - const res = await this.contract2.min_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.min_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(4096); }); it('test operator "min" overload (euint32, euint16) => euint32 test 2 (16781312, 4096)', async function () { - const res = await this.contract2.min_euint32_euint16( - this.instances2.alice.encrypt32(16781312), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.min_euint32_euint16( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(4096); }); it('test operator "min" overload (euint32, euint16) => euint32 test 3 (4096, 4097)', async function () { - const res = await this.contract2.min_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4097), + const res = await this.contract4.min_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4097), ); expect(res).to.equal(4096); }); it('test operator "max" overload (euint32, euint16) => euint32 test 1 (4096, 4096)', async function () { - const res = await this.contract2.max_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.max_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(4096); }); it('test operator "max" overload (euint32, euint16) => euint32 test 2 (16781312, 4096)', async function () { - const res = await this.contract2.max_euint32_euint16( - this.instances2.alice.encrypt32(16781312), - this.instances2.alice.encrypt16(4096), + const res = await this.contract4.max_euint32_euint16( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt16(4096), ); expect(res).to.equal(16781312); }); it('test operator "max" overload (euint32, euint16) => euint32 test 3 (4096, 4097)', async function () { - const res = await this.contract2.max_euint32_euint16( - this.instances2.alice.encrypt32(4096), - this.instances2.alice.encrypt16(4097), + const res = await this.contract4.max_euint32_euint16( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt16(4097), ); expect(res).to.equal(4097); }); it('test operator "add" overload (euint32, euint32) => euint32 test 1 (3280896, 1118208)', async function () { - const res = await this.contract2.add_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(1118208), + const res = await this.contract4.add_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(1118208), ); expect(res).to.equal(4399104); }); it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (3280896, 1118208)', async function () { - const res = await this.contract2.sub_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(1118208), + const res = await this.contract4.sub_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(1118208), ); expect(res).to.equal(2162688); }); it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (3280896, 32)', async function () { - const res = await this.contract2.mul_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(32), + const res = await this.contract4.mul_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(32), ); expect(res).to.equal(104988672); }); it('test operator "and" overload (euint32, euint32) => euint32 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract2.and_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(1409286144), + const res = await this.contract4.and_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(1409286144), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint32, euint32) => euint32 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract2.and_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(1409482752), + const res = await this.contract4.and_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(1409482752), ); expect(res).to.equal(131072); }); it('test operator "or" overload (euint32, euint32) => euint32 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract2.or_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(1409286144), + const res = await this.contract4.or_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(1409286144), ); expect(res).to.equal(1412567040); }); it('test operator "or" overload (euint32, euint32) => euint32 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract2.or_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(1409482752), + const res = await this.contract4.or_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(1409482752), ); expect(res).to.equal(1412632576); }); it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract2.xor_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(1409286144), + const res = await this.contract4.xor_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(1409286144), ); expect(res).to.equal(1412567040); }); it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract2.xor_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(1409482752), + const res = await this.contract4.xor_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(1409482752), ); expect(res).to.equal(1412501504); }); it('test operator "eq" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract2.eq_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280896), + const res = await this.contract4.eq_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280896), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract2.eq_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280897), + const res = await this.contract4.eq_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280897), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract2.ne_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280896), + const res = await this.contract4.ne_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280896), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract2.ne_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280897), + const res = await this.contract4.ne_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280897), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract2.ge_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280896), + const res = await this.contract4.ge_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280896), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract2.ge_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280897), + const res = await this.contract4.ge_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280897), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint32, euint32) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract2.ge_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280895), + const res = await this.contract4.ge_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280895), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract2.gt_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280896), + const res = await this.contract4.gt_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280896), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract2.gt_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280897), + const res = await this.contract4.gt_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280897), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint32, euint32) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract2.gt_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280895), + const res = await this.contract4.gt_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280895), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract2.le_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280896), + const res = await this.contract4.le_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280896), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract2.le_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280897), + const res = await this.contract4.le_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280897), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint32, euint32) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract2.le_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280895), + const res = await this.contract4.le_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280895), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract2.lt_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280896), + const res = await this.contract4.lt_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280896), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract2.lt_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280897), + const res = await this.contract4.lt_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280897), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint32, euint32) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract2.lt_euint32_euint32( - this.instances2.alice.encrypt32(3280896), - this.instances2.alice.encrypt32(3280895), + const res = await this.contract4.lt_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280895), ); expect(res).to.equal(false); }); it('test operator "min" overload (euint32, euint32) => euint32 test 1 (3280896, 3280896)', async function () { - const res = await this.contract3.min_euint32_euint32( - this.instances3.alice.encrypt32(3280896), - this.instances3.alice.encrypt32(3280896), + const res = await this.contract4.min_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280896), ); expect(res).to.equal(3280896); }); it('test operator "min" overload (euint32, euint32) => euint32 test 2 (3280896, 3280897)', async function () { - const res = await this.contract3.min_euint32_euint32( - this.instances3.alice.encrypt32(3280896), - this.instances3.alice.encrypt32(3280897), + const res = await this.contract4.min_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280897), ); expect(res).to.equal(3280896); }); it('test operator "min" overload (euint32, euint32) => euint32 test 3 (3280896, 3280895)', async function () { - const res = await this.contract3.min_euint32_euint32( - this.instances3.alice.encrypt32(3280896), - this.instances3.alice.encrypt32(3280895), + const res = await this.contract4.min_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280895), ); expect(res).to.equal(3280895); }); it('test operator "max" overload (euint32, euint32) => euint32 test 1 (3280896, 3280896)', async function () { - const res = await this.contract3.max_euint32_euint32( - this.instances3.alice.encrypt32(3280896), - this.instances3.alice.encrypt32(3280896), + const res = await this.contract4.max_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280896), ); expect(res).to.equal(3280896); }); it('test operator "max" overload (euint32, euint32) => euint32 test 2 (3280896, 3280897)', async function () { - const res = await this.contract3.max_euint32_euint32( - this.instances3.alice.encrypt32(3280896), - this.instances3.alice.encrypt32(3280897), + const res = await this.contract4.max_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280897), ); expect(res).to.equal(3280897); }); it('test operator "max" overload (euint32, euint32) => euint32 test 3 (3280896, 3280895)', async function () { - const res = await this.contract3.max_euint32_euint32( - this.instances3.alice.encrypt32(3280896), - this.instances3.alice.encrypt32(3280895), + const res = await this.contract4.max_euint32_euint32( + this.instances4.alice.encrypt32(3280896), + this.instances4.alice.encrypt32(3280895), ); expect(res).to.equal(3280896); }); it('test operator "add" overload (euint32, euint64) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract3.add_euint32_euint64( - this.instances3.alice.encrypt32(50335779), - this.instances3.alice.encrypt64(4099), + const res = await this.contract4.add_euint32_euint64( + this.instances4.alice.encrypt32(50335779), + this.instances4.alice.encrypt64(4099), ); expect(res).to.equal(50339878); }); it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract3.sub_euint32_euint64( - this.instances3.alice.encrypt32(50335779), - this.instances3.alice.encrypt64(4099), + const res = await this.contract4.sub_euint32_euint64( + this.instances4.alice.encrypt32(50335779), + this.instances4.alice.encrypt64(4099), ); expect(res).to.equal(50331680); }); it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (50335779, 3)', async function () { - const res = await this.contract3.mul_euint32_euint64( - this.instances3.alice.encrypt32(50335779), - this.instances3.alice.encrypt64(3), + const res = await this.contract4.mul_euint32_euint64( + this.instances4.alice.encrypt32(50335779), + this.instances4.alice.encrypt64(3), ); expect(res).to.equal(151007337); }); it('test operator "and" overload (euint32, euint64) => euint64 test 1 (50335776, 3)', async function () { - const res = await this.contract3.and_euint32_euint64( - this.instances3.alice.encrypt32(50335776), - this.instances3.alice.encrypt64(3), + const res = await this.contract4.and_euint32_euint64( + this.instances4.alice.encrypt32(50335776), + this.instances4.alice.encrypt64(3), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint32, euint64) => euint64 test 2 (50335779, 4099)', async function () { - const res = await this.contract3.and_euint32_euint64( - this.instances3.alice.encrypt32(50335779), - this.instances3.alice.encrypt64(4099), + const res = await this.contract4.and_euint32_euint64( + this.instances4.alice.encrypt32(50335779), + this.instances4.alice.encrypt64(4099), ); expect(res).to.equal(4099); }); it('test operator "or" overload (euint32, euint64) => euint64 test 1 (50331680, 4099)', async function () { - const res = await this.contract3.or_euint32_euint64( - this.instances3.alice.encrypt32(50331680), - this.instances3.alice.encrypt64(4099), + const res = await this.contract4.or_euint32_euint64( + this.instances4.alice.encrypt32(50331680), + this.instances4.alice.encrypt64(4099), ); expect(res).to.equal(50335779); }); it('test operator "or" overload (euint32, euint64) => euint64 test 2 (50331683, 4099)', async function () { - const res = await this.contract3.or_euint32_euint64( - this.instances3.alice.encrypt32(50331683), - this.instances3.alice.encrypt64(4099), + const res = await this.contract4.or_euint32_euint64( + this.instances4.alice.encrypt32(50331683), + this.instances4.alice.encrypt64(4099), ); expect(res).to.equal(50335779); }); it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (50331683, 4099)', async function () { - const res = await this.contract3.xor_euint32_euint64( - this.instances3.alice.encrypt32(50331683), - this.instances3.alice.encrypt64(4099), + const res = await this.contract4.xor_euint32_euint64( + this.instances4.alice.encrypt32(50331683), + this.instances4.alice.encrypt64(4099), ); expect(res).to.equal(50335776); }); it('test operator "eq" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.eq_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.eq_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.eq_euint32_euint64( - this.instances3.alice.encrypt32(16781312), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.eq_euint32_euint64( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.ne_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.ne_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.ne_euint32_euint64( - this.instances3.alice.encrypt32(16781312), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.ne_euint32_euint64( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.ge_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.ge_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.ge_euint32_euint64( - this.instances3.alice.encrypt32(16781312), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.ge_euint32_euint64( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, euint64) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.ge_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4097), + const res = await this.contract4.ge_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4097), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.gt_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.gt_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.gt_euint32_euint64( - this.instances3.alice.encrypt32(16781312), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.gt_euint32_euint64( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint32, euint64) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.gt_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4097), + const res = await this.contract4.gt_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4097), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.le_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.le_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.le_euint32_euint64( - this.instances3.alice.encrypt32(16781312), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.le_euint32_euint64( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint32, euint64) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.le_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4097), + const res = await this.contract4.le_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4097), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.lt_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.lt_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.lt_euint32_euint64( - this.instances3.alice.encrypt32(16781312), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.lt_euint32_euint64( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint32, euint64) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.lt_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4097), + const res = await this.contract4.lt_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4097), ); expect(res).to.equal(true); }); it('test operator "min" overload (euint32, euint64) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract3.min_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.min_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(4096); }); it('test operator "min" overload (euint32, euint64) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract3.min_euint32_euint64( - this.instances3.alice.encrypt32(16781312), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.min_euint32_euint64( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(4096); }); it('test operator "min" overload (euint32, euint64) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract3.min_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4097), + const res = await this.contract4.min_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4097), ); expect(res).to.equal(4096); }); it('test operator "max" overload (euint32, euint64) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract3.max_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.max_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(4096); }); it('test operator "max" overload (euint32, euint64) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract3.max_euint32_euint64( - this.instances3.alice.encrypt32(16781312), - this.instances3.alice.encrypt64(4096), + const res = await this.contract4.max_euint32_euint64( + this.instances4.alice.encrypt32(16781312), + this.instances4.alice.encrypt64(4096), ); expect(res).to.equal(16781312); }); it('test operator "max" overload (euint32, euint64) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract3.max_euint32_euint64( - this.instances3.alice.encrypt32(4096), - this.instances3.alice.encrypt64(4097), + const res = await this.contract4.max_euint32_euint64( + this.instances4.alice.encrypt32(4096), + this.instances4.alice.encrypt64(4097), ); expect(res).to.equal(4097); }); it('test operator "add" overload (euint32, uint32) => euint32 test 1 (3416064, 3280896)', async function () { - const res = await this.contract3.add_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3280896); + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3280896); expect(res).to.equal(6696960); }); it('test operator "add" overload (uint32, euint32) => euint32 test 1 (3416064, 3280896)', async function () { - const res = await this.contract3.add_uint32_euint32(3416064, this.instances3.alice.encrypt32(3280896)); + const res = await this.contract4.add_uint32_euint32(3416064, this.instances4.alice.encrypt32(3280896)); expect(res).to.equal(6696960); }); it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (3416064, 3280896)', async function () { - const res = await this.contract3.sub_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3280896); + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3280896); expect(res).to.equal(135168); }); it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (3416064, 3280896)', async function () { - const res = await this.contract3.sub_uint32_euint32(3416064, this.instances3.alice.encrypt32(3280896)); + const res = await this.contract4.sub_uint32_euint32(3416064, this.instances4.alice.encrypt32(3280896)); expect(res).to.equal(135168); }); it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (3416064, 256)', async function () { - const res = await this.contract3.mul_euint32_uint32(this.instances3.alice.encrypt32(3416064), 256); + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(3416064), 256); expect(res).to.equal(874512384); }); it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (3416064, 256)', async function () { - const res = await this.contract3.mul_uint32_euint32(3416064, this.instances3.alice.encrypt32(256)); + const res = await this.contract4.mul_uint32_euint32(3416064, this.instances4.alice.encrypt32(256)); expect(res).to.equal(874512384); }); it('test operator "div" overload (euint32, uint32) => euint32 test 1 (3416064, 256)', async function () { - const res = await this.contract3.div_euint32_uint32(this.instances3.alice.encrypt32(3416064), 256); + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(3416064), 256); expect(res).to.equal(13344); }); it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (3416121, 256)', async function () { - const res = await this.contract3.rem_euint32_uint32(this.instances3.alice.encrypt32(3416121), 256); + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(3416121), 256); expect(res).to.equal(57); }); it('test operator "eq" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.eq_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416064); + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); expect(res).to.equal(true); }); it('test operator "eq" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.eq_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416065); + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); expect(res).to.equal(false); }); it('test operator "eq" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.eq_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416064)); + const res = await this.contract4.eq_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); expect(res).to.equal(true); }); it('test operator "eq" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.eq_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416065)); + const res = await this.contract4.eq_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); expect(res).to.equal(false); }); it('test operator "ne" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.ne_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416064); + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); expect(res).to.equal(false); }); it('test operator "ne" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.ne_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416065); + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); expect(res).to.equal(true); }); it('test operator "ne" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.ne_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416064)); + const res = await this.contract4.ne_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); expect(res).to.equal(false); }); it('test operator "ne" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.ne_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416065)); + const res = await this.contract4.ne_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.ge_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416064); + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); expect(res).to.equal(true); }); it('test operator "ge" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.ge_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416065); + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); expect(res).to.equal(false); }); it('test operator "ge" overload (euint32, uint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.ge_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416063); + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); expect(res).to.equal(true); }); it('test operator "ge" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.ge_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416064)); + const res = await this.contract4.ge_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); expect(res).to.equal(true); }); it('test operator "ge" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.ge_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416065)); + const res = await this.contract4.ge_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); expect(res).to.equal(false); }); it('test operator "ge" overload (uint32, euint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.ge_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416063)); + const res = await this.contract4.ge_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); expect(res).to.equal(true); }); it('test operator "gt" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.gt_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416064); + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); expect(res).to.equal(false); }); it('test operator "gt" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.gt_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416065); + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); expect(res).to.equal(false); }); it('test operator "gt" overload (euint32, uint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.gt_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416063); + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); expect(res).to.equal(true); }); it('test operator "gt" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.gt_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416064)); + const res = await this.contract4.gt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); expect(res).to.equal(false); }); it('test operator "gt" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.gt_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416065)); + const res = await this.contract4.gt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); expect(res).to.equal(false); }); it('test operator "gt" overload (uint32, euint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.gt_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416063)); + const res = await this.contract4.gt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); expect(res).to.equal(true); }); it('test operator "le" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.le_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416064); + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); expect(res).to.equal(true); }); it('test operator "le" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.le_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416065); + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); expect(res).to.equal(true); }); it('test operator "le" overload (euint32, uint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.le_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416063); + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); expect(res).to.equal(false); }); it('test operator "le" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.le_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416064)); + const res = await this.contract4.le_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); expect(res).to.equal(true); }); it('test operator "le" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.le_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416065)); + const res = await this.contract4.le_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); expect(res).to.equal(true); }); it('test operator "le" overload (uint32, euint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.le_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416063)); + const res = await this.contract4.le_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); expect(res).to.equal(false); }); it('test operator "lt" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.lt_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416064); + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); expect(res).to.equal(false); }); it('test operator "lt" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.lt_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416065); + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); expect(res).to.equal(true); }); it('test operator "lt" overload (euint32, uint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.lt_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416063); + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); expect(res).to.equal(false); }); it('test operator "lt" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.lt_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416064)); + const res = await this.contract4.lt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); expect(res).to.equal(false); }); it('test operator "lt" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.lt_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416065)); + const res = await this.contract4.lt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); expect(res).to.equal(true); }); it('test operator "lt" overload (uint32, euint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.lt_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416063)); + const res = await this.contract4.lt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); expect(res).to.equal(false); }); it('test operator "min" overload (euint32, uint32) => euint32 test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.min_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416064); + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); expect(res).to.equal(3416064); }); it('test operator "min" overload (euint32, uint32) => euint32 test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.min_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416065); + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); expect(res).to.equal(3416064); }); it('test operator "min" overload (euint32, uint32) => euint32 test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.min_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416063); + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); expect(res).to.equal(3416063); }); it('test operator "min" overload (uint32, euint32) => euint32 test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.min_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416064)); + const res = await this.contract4.min_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); expect(res).to.equal(3416064); }); it('test operator "min" overload (uint32, euint32) => euint32 test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.min_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416065)); + const res = await this.contract4.min_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); expect(res).to.equal(3416064); }); it('test operator "min" overload (uint32, euint32) => euint32 test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.min_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416063)); + const res = await this.contract4.min_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); expect(res).to.equal(3416063); }); it('test operator "max" overload (euint32, uint32) => euint32 test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.max_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416064); + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); expect(res).to.equal(3416064); }); it('test operator "max" overload (euint32, uint32) => euint32 test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.max_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416065); + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); expect(res).to.equal(3416065); }); it('test operator "max" overload (euint32, uint32) => euint32 test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.max_euint32_uint32(this.instances3.alice.encrypt32(3416064), 3416063); + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); expect(res).to.equal(3416064); }); it('test operator "max" overload (uint32, euint32) => euint32 test 1 (3416064, 3416064)', async function () { - const res = await this.contract3.max_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416064)); + const res = await this.contract4.max_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); expect(res).to.equal(3416064); }); it('test operator "max" overload (uint32, euint32) => euint32 test 2 (3416064, 3416065)', async function () { - const res = await this.contract3.max_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416065)); + const res = await this.contract4.max_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); expect(res).to.equal(3416065); }); it('test operator "max" overload (uint32, euint32) => euint32 test 3 (3416064, 3416063)', async function () { - const res = await this.contract3.max_uint32_euint32(3416064, this.instances3.alice.encrypt32(3416063)); + const res = await this.contract4.max_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); expect(res).to.equal(3416064); }); it('test operator "add" overload (euint64, euint8) => euint64 test 1 (50331648, 3)', async function () { - const res = await this.contract3.add_euint64_euint8( - this.instances3.alice.encrypt64(50331648), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.add_euint64_euint8( + this.instances4.alice.encrypt64(50331648), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50331651); }); it('test operator "sub" overload (euint64, euint8) => euint64 test 1 (50331648, 3)', async function () { - const res = await this.contract3.sub_euint64_euint8( - this.instances3.alice.encrypt64(50331648), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.sub_euint64_euint8( + this.instances4.alice.encrypt64(50331648), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50331645); }); it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (50331648, 3)', async function () { - const res = await this.contract3.mul_euint64_euint8( - this.instances3.alice.encrypt64(50331648), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.mul_euint64_euint8( + this.instances4.alice.encrypt64(50331648), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(150994944); }); it('test operator "and" overload (euint64, euint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract3.and_euint64_euint8( - this.instances3.alice.encrypt64(50397184), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.and_euint64_euint8( + this.instances4.alice.encrypt64(50397184), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint64, euint8) => euint64 test 2 (50397187, 3)', async function () { - const res = await this.contract3.and_euint64_euint8( - this.instances3.alice.encrypt64(50397187), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.and_euint64_euint8( + this.instances4.alice.encrypt64(50397187), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(3); }); it('test operator "or" overload (euint64, euint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract3.or_euint64_euint8( - this.instances3.alice.encrypt64(50397184), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.or_euint64_euint8( + this.instances4.alice.encrypt64(50397184), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50397187); }); it('test operator "or" overload (euint64, euint8) => euint64 test 2 (50397187, 3)', async function () { - const res = await this.contract3.or_euint64_euint8( - this.instances3.alice.encrypt64(50397187), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.or_euint64_euint8( + this.instances4.alice.encrypt64(50397187), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50397187); }); it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract3.xor_euint64_euint8( - this.instances3.alice.encrypt64(50397184), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.xor_euint64_euint8( + this.instances4.alice.encrypt64(50397184), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50397187); }); it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (50397187, 3)', async function () { - const res = await this.contract3.xor_euint64_euint8( - this.instances3.alice.encrypt64(50397187), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.xor_euint64_euint8( + this.instances4.alice.encrypt64(50397187), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(50397184); }); it('test operator "eq" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract3.eq_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.eq_euint64_euint8( + this.instances4.alice.encrypt64(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract3.eq_euint64_euint8( - this.instances3.alice.encrypt64(50331651), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.eq_euint64_euint8( + this.instances4.alice.encrypt64(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract3.ne_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.ne_euint64_euint8( + this.instances4.alice.encrypt64(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract3.ne_euint64_euint8( - this.instances3.alice.encrypt64(50331651), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.ne_euint64_euint8( + this.instances4.alice.encrypt64(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract3.ge_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.ge_euint64_euint8( + this.instances4.alice.encrypt64(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract3.ge_euint64_euint8( - this.instances3.alice.encrypt64(50331651), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.ge_euint64_euint8( + this.instances4.alice.encrypt64(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract3.ge_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(4), + const res = await this.contract4.ge_euint64_euint8( + this.instances4.alice.encrypt64(3), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract3.gt_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.gt_euint64_euint8( + this.instances4.alice.encrypt64(3), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract3.gt_euint64_euint8( - this.instances3.alice.encrypt64(50331651), - this.instances3.alice.encrypt8(3), + const res = await this.contract4.gt_euint64_euint8( + this.instances4.alice.encrypt64(50331651), + this.instances4.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint64, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract3.gt_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(4), + const res = await this.contract4.gt_euint64_euint8( + this.instances4.alice.encrypt64(3), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract3.le_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(3), + const res = await this.contract5.le_euint64_euint8( + this.instances5.alice.encrypt64(3), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract3.le_euint64_euint8( - this.instances3.alice.encrypt64(50331651), - this.instances3.alice.encrypt8(3), + const res = await this.contract5.le_euint64_euint8( + this.instances5.alice.encrypt64(50331651), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint64, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract3.le_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(4), + const res = await this.contract5.le_euint64_euint8( + this.instances5.alice.encrypt64(3), + this.instances5.alice.encrypt8(4), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract3.lt_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(3), + const res = await this.contract5.lt_euint64_euint8( + this.instances5.alice.encrypt64(3), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract3.lt_euint64_euint8( - this.instances3.alice.encrypt64(50331651), - this.instances3.alice.encrypt8(3), + const res = await this.contract5.lt_euint64_euint8( + this.instances5.alice.encrypt64(50331651), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint64, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract3.lt_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(4), + const res = await this.contract5.lt_euint64_euint8( + this.instances5.alice.encrypt64(3), + this.instances5.alice.encrypt8(4), ); expect(res).to.equal(true); }); it('test operator "min" overload (euint64, euint8) => euint64 test 1 (3, 3)', async function () { - const res = await this.contract3.min_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(3), + const res = await this.contract5.min_euint64_euint8( + this.instances5.alice.encrypt64(3), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(3); }); it('test operator "min" overload (euint64, euint8) => euint64 test 2 (50331651, 3)', async function () { - const res = await this.contract3.min_euint64_euint8( - this.instances3.alice.encrypt64(50331651), - this.instances3.alice.encrypt8(3), + const res = await this.contract5.min_euint64_euint8( + this.instances5.alice.encrypt64(50331651), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(3); }); it('test operator "min" overload (euint64, euint8) => euint64 test 3 (3, 4)', async function () { - const res = await this.contract3.min_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(4), + const res = await this.contract5.min_euint64_euint8( + this.instances5.alice.encrypt64(3), + this.instances5.alice.encrypt8(4), ); expect(res).to.equal(3); }); it('test operator "max" overload (euint64, euint8) => euint64 test 1 (2, 3)', async function () { - const res = await this.contract3.max_euint64_euint8( - this.instances3.alice.encrypt64(2), - this.instances3.alice.encrypt8(3), + const res = await this.contract5.max_euint64_euint8( + this.instances5.alice.encrypt64(2), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(3); }); it('test operator "max" overload (euint64, euint8) => euint64 test 2 (50331651, 3)', async function () { - const res = await this.contract3.max_euint64_euint8( - this.instances3.alice.encrypt64(50331651), - this.instances3.alice.encrypt8(3), + const res = await this.contract5.max_euint64_euint8( + this.instances5.alice.encrypt64(50331651), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(50331651); }); it('test operator "max" overload (euint64, euint8) => euint64 test 3 (3, 4)', async function () { - const res = await this.contract3.max_euint64_euint8( - this.instances3.alice.encrypt64(3), - this.instances3.alice.encrypt8(4), + const res = await this.contract5.max_euint64_euint8( + this.instances5.alice.encrypt64(3), + this.instances5.alice.encrypt8(4), ); expect(res).to.equal(4); }); it('test operator "add" overload (euint64, euint16) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract3.add_euint64_euint16( - this.instances3.alice.encrypt64(50335779), - this.instances3.alice.encrypt16(4099), + const res = await this.contract5.add_euint64_euint16( + this.instances5.alice.encrypt64(50335779), + this.instances5.alice.encrypt16(4099), ); expect(res).to.equal(50339878); }); it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract3.sub_euint64_euint16( - this.instances3.alice.encrypt64(50335779), - this.instances3.alice.encrypt16(4099), + const res = await this.contract5.sub_euint64_euint16( + this.instances5.alice.encrypt64(50335779), + this.instances5.alice.encrypt16(4099), ); expect(res).to.equal(50331680); }); it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (50335779, 3)', async function () { - const res = await this.contract3.mul_euint64_euint16( - this.instances3.alice.encrypt64(50335779), - this.instances3.alice.encrypt16(3), + const res = await this.contract5.mul_euint64_euint16( + this.instances5.alice.encrypt64(50335779), + this.instances5.alice.encrypt16(3), ); expect(res).to.equal(151007337); }); it('test operator "and" overload (euint64, euint16) => euint64 test 1 (50335776, 3)', async function () { - const res = await this.contract3.and_euint64_euint16( - this.instances3.alice.encrypt64(50335776), - this.instances3.alice.encrypt16(3), + const res = await this.contract5.and_euint64_euint16( + this.instances5.alice.encrypt64(50335776), + this.instances5.alice.encrypt16(3), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint64, euint16) => euint64 test 2 (50335779, 4099)', async function () { - const res = await this.contract3.and_euint64_euint16( - this.instances3.alice.encrypt64(50335779), - this.instances3.alice.encrypt16(4099), + const res = await this.contract5.and_euint64_euint16( + this.instances5.alice.encrypt64(50335779), + this.instances5.alice.encrypt16(4099), ); expect(res).to.equal(4099); }); it('test operator "or" overload (euint64, euint16) => euint64 test 1 (50331680, 4099)', async function () { - const res = await this.contract3.or_euint64_euint16( - this.instances3.alice.encrypt64(50331680), - this.instances3.alice.encrypt16(4099), + const res = await this.contract5.or_euint64_euint16( + this.instances5.alice.encrypt64(50331680), + this.instances5.alice.encrypt16(4099), ); expect(res).to.equal(50335779); }); it('test operator "or" overload (euint64, euint16) => euint64 test 2 (50331683, 4099)', async function () { - const res = await this.contract3.or_euint64_euint16( - this.instances3.alice.encrypt64(50331683), - this.instances3.alice.encrypt16(4099), + const res = await this.contract5.or_euint64_euint16( + this.instances5.alice.encrypt64(50331683), + this.instances5.alice.encrypt16(4099), ); expect(res).to.equal(50335779); }); it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (50331683, 4099)', async function () { - const res = await this.contract3.xor_euint64_euint16( - this.instances3.alice.encrypt64(50331683), - this.instances3.alice.encrypt16(4099), + const res = await this.contract5.xor_euint64_euint16( + this.instances5.alice.encrypt64(50331683), + this.instances5.alice.encrypt16(4099), ); expect(res).to.equal(50335776); }); it('test operator "eq" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.eq_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.eq_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.eq_euint64_euint16( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.eq_euint64_euint16( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.ne_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.ne_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.ne_euint64_euint16( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.ne_euint64_euint16( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.ge_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.ge_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.ge_euint64_euint16( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.ge_euint64_euint16( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.ge_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4097), + const res = await this.contract5.ge_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4097), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.gt_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.gt_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.gt_euint64_euint16( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.gt_euint64_euint16( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint64, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.gt_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4097), + const res = await this.contract5.gt_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4097), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.le_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.le_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.le_euint64_euint16( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.le_euint64_euint16( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint64, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.le_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4097), + const res = await this.contract5.le_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4097), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.lt_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.lt_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.lt_euint64_euint16( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.lt_euint64_euint16( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint64, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.lt_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4097), + const res = await this.contract5.lt_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4097), ); expect(res).to.equal(true); }); it('test operator "min" overload (euint64, euint16) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract3.min_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.min_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(4096); }); it('test operator "min" overload (euint64, euint16) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract3.min_euint64_euint16( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.min_euint64_euint16( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(4096); }); it('test operator "min" overload (euint64, euint16) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract3.min_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4097), + const res = await this.contract5.min_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4097), ); expect(res).to.equal(4096); }); it('test operator "max" overload (euint64, euint16) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract3.max_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.max_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(4096); }); it('test operator "max" overload (euint64, euint16) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract3.max_euint64_euint16( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt16(4096), + const res = await this.contract5.max_euint64_euint16( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt16(4096), ); expect(res).to.equal(16781312); }); it('test operator "max" overload (euint64, euint16) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract3.max_euint64_euint16( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt16(4097), + const res = await this.contract5.max_euint64_euint16( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt16(4097), ); expect(res).to.equal(4097); }); it('test operator "add" overload (euint64, euint32) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract3.add_euint64_euint32( - this.instances3.alice.encrypt64(50335779), - this.instances3.alice.encrypt32(4099), + const res = await this.contract5.add_euint64_euint32( + this.instances5.alice.encrypt64(50335779), + this.instances5.alice.encrypt32(4099), ); expect(res).to.equal(50339878); }); it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract3.sub_euint64_euint32( - this.instances3.alice.encrypt64(50335779), - this.instances3.alice.encrypt32(4099), + const res = await this.contract5.sub_euint64_euint32( + this.instances5.alice.encrypt64(50335779), + this.instances5.alice.encrypt32(4099), ); expect(res).to.equal(50331680); }); it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (50335779, 3)', async function () { - const res = await this.contract3.mul_euint64_euint32( - this.instances3.alice.encrypt64(50335779), - this.instances3.alice.encrypt32(3), + const res = await this.contract5.mul_euint64_euint32( + this.instances5.alice.encrypt64(50335779), + this.instances5.alice.encrypt32(3), ); expect(res).to.equal(151007337); }); it('test operator "and" overload (euint64, euint32) => euint64 test 1 (50335776, 3)', async function () { - const res = await this.contract3.and_euint64_euint32( - this.instances3.alice.encrypt64(50335776), - this.instances3.alice.encrypt32(3), + const res = await this.contract5.and_euint64_euint32( + this.instances5.alice.encrypt64(50335776), + this.instances5.alice.encrypt32(3), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint64, euint32) => euint64 test 2 (50335779, 4099)', async function () { - const res = await this.contract3.and_euint64_euint32( - this.instances3.alice.encrypt64(50335779), - this.instances3.alice.encrypt32(4099), + const res = await this.contract5.and_euint64_euint32( + this.instances5.alice.encrypt64(50335779), + this.instances5.alice.encrypt32(4099), ); expect(res).to.equal(4099); }); it('test operator "or" overload (euint64, euint32) => euint64 test 1 (50331680, 4099)', async function () { - const res = await this.contract3.or_euint64_euint32( - this.instances3.alice.encrypt64(50331680), - this.instances3.alice.encrypt32(4099), + const res = await this.contract5.or_euint64_euint32( + this.instances5.alice.encrypt64(50331680), + this.instances5.alice.encrypt32(4099), ); expect(res).to.equal(50335779); }); it('test operator "or" overload (euint64, euint32) => euint64 test 2 (50331683, 4099)', async function () { - const res = await this.contract3.or_euint64_euint32( - this.instances3.alice.encrypt64(50331683), - this.instances3.alice.encrypt32(4099), + const res = await this.contract5.or_euint64_euint32( + this.instances5.alice.encrypt64(50331683), + this.instances5.alice.encrypt32(4099), ); expect(res).to.equal(50335779); }); it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (50331683, 4099)', async function () { - const res = await this.contract3.xor_euint64_euint32( - this.instances3.alice.encrypt64(50331683), - this.instances3.alice.encrypt32(4099), + const res = await this.contract5.xor_euint64_euint32( + this.instances5.alice.encrypt64(50331683), + this.instances5.alice.encrypt32(4099), ); expect(res).to.equal(50335776); }); it('test operator "eq" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.eq_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.eq_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.eq_euint64_euint32( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.eq_euint64_euint32( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.ne_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.ne_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.ne_euint64_euint32( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.ne_euint64_euint32( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.ge_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.ge_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.ge_euint64_euint32( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.ge_euint64_euint32( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint32) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.ge_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4097), + const res = await this.contract5.ge_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4097), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.gt_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.gt_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.gt_euint64_euint32( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.gt_euint64_euint32( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint64, euint32) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.gt_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4097), + const res = await this.contract5.gt_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4097), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.le_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.le_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.le_euint64_euint32( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.le_euint64_euint32( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(false); }); it('test operator "le" overload (euint64, euint32) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.le_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4097), + const res = await this.contract5.le_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4097), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract3.lt_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.lt_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract3.lt_euint64_euint32( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.lt_euint64_euint32( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint64, euint32) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract3.lt_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4097), + const res = await this.contract5.lt_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4097), ); expect(res).to.equal(true); }); it('test operator "min" overload (euint64, euint32) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract3.min_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.min_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(4096); }); it('test operator "min" overload (euint64, euint32) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract3.min_euint64_euint32( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.min_euint64_euint32( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(4096); }); it('test operator "min" overload (euint64, euint32) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract3.min_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4097), + const res = await this.contract5.min_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4097), ); expect(res).to.equal(4096); }); it('test operator "max" overload (euint64, euint32) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract3.max_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.max_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(4096); }); it('test operator "max" overload (euint64, euint32) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract3.max_euint64_euint32( - this.instances3.alice.encrypt64(16781312), - this.instances3.alice.encrypt32(4096), + const res = await this.contract5.max_euint64_euint32( + this.instances5.alice.encrypt64(16781312), + this.instances5.alice.encrypt32(4096), ); expect(res).to.equal(16781312); }); it('test operator "max" overload (euint64, euint32) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract3.max_euint64_euint32( - this.instances3.alice.encrypt64(4096), - this.instances3.alice.encrypt32(4097), + const res = await this.contract5.max_euint64_euint32( + this.instances5.alice.encrypt64(4096), + this.instances5.alice.encrypt32(4097), ); expect(res).to.equal(4097); }); it('test operator "add" overload (euint64, euint64) => euint64 test 1 (3280896, 1118208)', async function () { - const res = await this.contract3.add_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(1118208), + const res = await this.contract5.add_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(1118208), ); expect(res).to.equal(4399104); }); it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (3280896, 1118208)', async function () { - const res = await this.contract3.sub_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(1118208), + const res = await this.contract5.sub_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(1118208), ); expect(res).to.equal(2162688); }); it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (3280896, 32)', async function () { - const res = await this.contract3.mul_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(32), + const res = await this.contract5.mul_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(32), ); expect(res).to.equal(104988672); }); it('test operator "and" overload (euint64, euint64) => euint64 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract3.and_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(1409286144), + const res = await this.contract5.and_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(1409286144), ); expect(res).to.equal(0); }); it('test operator "and" overload (euint64, euint64) => euint64 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract3.and_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(1409482752), + const res = await this.contract5.and_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(1409482752), ); expect(res).to.equal(131072); }); it('test operator "or" overload (euint64, euint64) => euint64 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract3.or_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(1409286144), + const res = await this.contract5.or_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(1409286144), ); expect(res).to.equal(1412567040); }); it('test operator "or" overload (euint64, euint64) => euint64 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract3.or_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(1409482752), + const res = await this.contract5.or_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(1409482752), ); expect(res).to.equal(1412632576); }); it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract3.xor_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(1409286144), + const res = await this.contract5.xor_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(1409286144), ); expect(res).to.equal(1412567040); }); it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract3.xor_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(1409482752), + const res = await this.contract5.xor_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(1409482752), ); expect(res).to.equal(1412501504); }); it('test operator "eq" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract3.eq_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280896), + const res = await this.contract5.eq_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280896), ); expect(res).to.equal(true); }); it('test operator "eq" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract3.eq_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280897), + const res = await this.contract5.eq_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280897), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract3.ne_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280896), + const res = await this.contract5.ne_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280896), ); expect(res).to.equal(false); }); it('test operator "ne" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract3.ne_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280897), + const res = await this.contract5.ne_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280897), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract3.ge_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280896), + const res = await this.contract5.ge_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280896), ); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract3.ge_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280897), + const res = await this.contract5.ge_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280897), ); expect(res).to.equal(false); }); it('test operator "ge" overload (euint64, euint64) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract3.ge_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280895), + const res = await this.contract5.ge_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280895), ); expect(res).to.equal(true); }); it('test operator "gt" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract3.gt_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280896), + const res = await this.contract5.gt_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280896), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract3.gt_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280897), + const res = await this.contract5.gt_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280897), ); expect(res).to.equal(false); }); it('test operator "gt" overload (euint64, euint64) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract3.gt_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280895), + const res = await this.contract5.gt_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280895), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract3.le_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280896), + const res = await this.contract5.le_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280896), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract3.le_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280897), + const res = await this.contract5.le_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280897), ); expect(res).to.equal(true); }); it('test operator "le" overload (euint64, euint64) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract3.le_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280895), + const res = await this.contract5.le_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280895), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract3.lt_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280896), + const res = await this.contract5.lt_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280896), ); expect(res).to.equal(false); }); it('test operator "lt" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract3.lt_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280897), + const res = await this.contract5.lt_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280897), ); expect(res).to.equal(true); }); it('test operator "lt" overload (euint64, euint64) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract3.lt_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280895), + const res = await this.contract5.lt_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280895), ); expect(res).to.equal(false); }); it('test operator "min" overload (euint64, euint64) => euint64 test 1 (3280896, 3280896)', async function () { - const res = await this.contract3.min_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280896), + const res = await this.contract5.min_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280896), ); expect(res).to.equal(3280896); }); it('test operator "min" overload (euint64, euint64) => euint64 test 2 (3280896, 3280897)', async function () { - const res = await this.contract3.min_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280897), + const res = await this.contract5.min_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280897), ); expect(res).to.equal(3280896); }); it('test operator "min" overload (euint64, euint64) => euint64 test 3 (3280896, 3280895)', async function () { - const res = await this.contract3.min_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280895), + const res = await this.contract5.min_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280895), ); expect(res).to.equal(3280895); }); it('test operator "max" overload (euint64, euint64) => euint64 test 1 (3280896, 3280896)', async function () { - const res = await this.contract3.max_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280896), + const res = await this.contract5.max_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280896), ); expect(res).to.equal(3280896); }); it('test operator "max" overload (euint64, euint64) => euint64 test 2 (3280896, 3280897)', async function () { - const res = await this.contract3.max_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280897), + const res = await this.contract5.max_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280897), ); expect(res).to.equal(3280897); }); it('test operator "max" overload (euint64, euint64) => euint64 test 3 (3280896, 3280895)', async function () { - const res = await this.contract3.max_euint64_euint64( - this.instances3.alice.encrypt64(3280896), - this.instances3.alice.encrypt64(3280895), + const res = await this.contract5.max_euint64_euint64( + this.instances5.alice.encrypt64(3280896), + this.instances5.alice.encrypt64(3280895), ); expect(res).to.equal(3280896); }); it('test operator "add" overload (euint64, uint64) => euint64 test 1 (3416064, 3280896)', async function () { - const res = await this.contract3.add_euint64_uint64(this.instances3.alice.encrypt64(3416064), 3280896); + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3280896); expect(res).to.equal(6696960); }); it('test operator "add" overload (uint64, euint64) => euint64 test 1 (3416064, 3280896)', async function () { - const res = await this.contract3.add_uint64_euint64(3416064, this.instances3.alice.encrypt64(3280896)); + const res = await this.contract5.add_uint64_euint64(3416064, this.instances5.alice.encrypt64(3280896)); expect(res).to.equal(6696960); }); it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (3416064, 3280896)', async function () { - const res = await this.contract3.sub_euint64_uint64(this.instances3.alice.encrypt64(3416064), 3280896); + const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3280896); expect(res).to.equal(135168); }); it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (3416064, 3280896)', async function () { - const res = await this.contract3.sub_uint64_euint64(3416064, this.instances3.alice.encrypt64(3280896)); + const res = await this.contract5.sub_uint64_euint64(3416064, this.instances5.alice.encrypt64(3280896)); expect(res).to.equal(135168); }); it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (3416064, 256)', async function () { - const res = await this.contract4.mul_euint64_uint64(this.instances4.alice.encrypt64(3416064), 256); + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(3416064), 256); expect(res).to.equal(874512384); }); it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (3416064, 256)', async function () { - const res = await this.contract4.mul_uint64_euint64(3416064, this.instances4.alice.encrypt64(256)); + const res = await this.contract5.mul_uint64_euint64(3416064, this.instances5.alice.encrypt64(256)); expect(res).to.equal(874512384); }); it('test operator "div" overload (euint64, uint64) => euint64 test 1 (3416064, 256)', async function () { - const res = await this.contract4.div_euint64_uint64(this.instances4.alice.encrypt64(3416064), 256); + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(3416064), 256); expect(res).to.equal(13344); }); it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (3416121, 256)', async function () { - const res = await this.contract4.rem_euint64_uint64(this.instances4.alice.encrypt64(3416121), 256); + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(3416121), 256); expect(res).to.equal(57); }); it('test operator "eq" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.eq_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416064); + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); expect(res).to.equal(true); }); it('test operator "eq" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.eq_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416065); + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); expect(res).to.equal(false); }); it('test operator "eq" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.eq_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416064)); + const res = await this.contract5.eq_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); expect(res).to.equal(true); }); it('test operator "eq" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.eq_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416065)); + const res = await this.contract5.eq_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); expect(res).to.equal(false); }); it('test operator "ne" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.ne_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416064); + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); expect(res).to.equal(false); }); it('test operator "ne" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.ne_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416065); + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); expect(res).to.equal(true); }); it('test operator "ne" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.ne_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416064)); + const res = await this.contract5.ne_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); expect(res).to.equal(false); }); it('test operator "ne" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.ne_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416065)); + const res = await this.contract5.ne_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.ge_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416064); + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); expect(res).to.equal(true); }); it('test operator "ge" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.ge_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416065); + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); expect(res).to.equal(false); }); it('test operator "ge" overload (euint64, uint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.ge_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416063); + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); expect(res).to.equal(true); }); it('test operator "ge" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.ge_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416064)); + const res = await this.contract5.ge_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); expect(res).to.equal(true); }); it('test operator "ge" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.ge_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416065)); + const res = await this.contract5.ge_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); expect(res).to.equal(false); }); it('test operator "ge" overload (uint64, euint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.ge_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416063)); + const res = await this.contract5.ge_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); expect(res).to.equal(true); }); it('test operator "gt" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.gt_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416064); + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); expect(res).to.equal(false); }); it('test operator "gt" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.gt_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416065); + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); expect(res).to.equal(false); }); it('test operator "gt" overload (euint64, uint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.gt_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416063); + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); expect(res).to.equal(true); }); it('test operator "gt" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.gt_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416064)); + const res = await this.contract5.gt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); expect(res).to.equal(false); }); it('test operator "gt" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.gt_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416065)); + const res = await this.contract5.gt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); expect(res).to.equal(false); }); it('test operator "gt" overload (uint64, euint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.gt_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416063)); + const res = await this.contract5.gt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); expect(res).to.equal(true); }); it('test operator "le" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.le_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416064); + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); expect(res).to.equal(true); }); it('test operator "le" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.le_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416065); + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); expect(res).to.equal(true); }); it('test operator "le" overload (euint64, uint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.le_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416063); + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); expect(res).to.equal(false); }); it('test operator "le" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.le_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416064)); + const res = await this.contract5.le_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); expect(res).to.equal(true); }); it('test operator "le" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.le_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416065)); + const res = await this.contract5.le_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); expect(res).to.equal(true); }); it('test operator "le" overload (uint64, euint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.le_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416063)); + const res = await this.contract5.le_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); expect(res).to.equal(false); }); it('test operator "lt" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.lt_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416064); + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); expect(res).to.equal(false); }); it('test operator "lt" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.lt_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416065); + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); expect(res).to.equal(true); }); it('test operator "lt" overload (euint64, uint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.lt_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416063); + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); expect(res).to.equal(false); }); it('test operator "lt" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.lt_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416064)); + const res = await this.contract5.lt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); expect(res).to.equal(false); }); it('test operator "lt" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.lt_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416065)); + const res = await this.contract5.lt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); expect(res).to.equal(true); }); it('test operator "lt" overload (uint64, euint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.lt_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416063)); + const res = await this.contract5.lt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); expect(res).to.equal(false); }); it('test operator "min" overload (euint64, uint64) => euint64 test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.min_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416064); + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); expect(res).to.equal(3416064); }); it('test operator "min" overload (euint64, uint64) => euint64 test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.min_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416065); + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); expect(res).to.equal(3416064); }); it('test operator "min" overload (euint64, uint64) => euint64 test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.min_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416063); + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); expect(res).to.equal(3416063); }); it('test operator "min" overload (uint64, euint64) => euint64 test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.min_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416064)); + const res = await this.contract5.min_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); expect(res).to.equal(3416064); }); it('test operator "min" overload (uint64, euint64) => euint64 test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.min_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416065)); + const res = await this.contract5.min_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); expect(res).to.equal(3416064); }); it('test operator "min" overload (uint64, euint64) => euint64 test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.min_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416063)); + const res = await this.contract5.min_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); expect(res).to.equal(3416063); }); it('test operator "max" overload (euint64, uint64) => euint64 test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.max_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416064); + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); expect(res).to.equal(3416064); }); it('test operator "max" overload (euint64, uint64) => euint64 test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.max_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416065); + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); expect(res).to.equal(3416065); }); it('test operator "max" overload (euint64, uint64) => euint64 test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.max_euint64_uint64(this.instances4.alice.encrypt64(3416064), 3416063); + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); expect(res).to.equal(3416064); }); it('test operator "max" overload (uint64, euint64) => euint64 test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.max_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416064)); + const res = await this.contract5.max_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); expect(res).to.equal(3416064); }); it('test operator "max" overload (uint64, euint64) => euint64 test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.max_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416065)); + const res = await this.contract5.max_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); expect(res).to.equal(3416065); }); it('test operator "max" overload (uint64, euint64) => euint64 test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.max_uint64_euint64(3416064, this.instances4.alice.encrypt64(3416063)); + const res = await this.contract5.max_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); expect(res).to.equal(3416064); }); it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (2, 1)', async function () { - const res = await this.contract4.shl_euint8_euint8( - this.instances4.alice.encrypt8(2), - this.instances4.alice.encrypt8(1), + const res = await this.contract5.shl_euint8_euint8( + this.instances5.alice.encrypt8(2), + this.instances5.alice.encrypt8(1), ); expect(res).to.equal(4); }); it('test operator "shl" overload (euint8, euint8) => euint8 test 2 (2, 4)', async function () { - const res = await this.contract4.shl_euint8_euint8( - this.instances4.alice.encrypt8(2), - this.instances4.alice.encrypt8(4), + const res = await this.contract5.shl_euint8_euint8( + this.instances5.alice.encrypt8(2), + this.instances5.alice.encrypt8(4), ); expect(res).to.equal(32); }); it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (16, 1)', async function () { - const res = await this.contract4.shl_euint8_uint8(this.instances4.alice.encrypt8(16), 1); + const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(16), 1); expect(res).to.equal(32); }); it('test operator "shl" overload (euint8, uint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract4.shl_euint8_uint8(this.instances4.alice.encrypt8(16), 2); + const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(16), 2); expect(res).to.equal(64); }); it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (2, 1)', async function () { - const res = await this.contract4.shr_euint8_euint8( - this.instances4.alice.encrypt8(2), - this.instances4.alice.encrypt8(1), + const res = await this.contract5.shr_euint8_euint8( + this.instances5.alice.encrypt8(2), + this.instances5.alice.encrypt8(1), ); expect(res).to.equal(1); }); it('test operator "shr" overload (euint8, euint8) => euint8 test 2 (32, 4)', async function () { - const res = await this.contract4.shr_euint8_euint8( - this.instances4.alice.encrypt8(32), - this.instances4.alice.encrypt8(4), + const res = await this.contract5.shr_euint8_euint8( + this.instances5.alice.encrypt8(32), + this.instances5.alice.encrypt8(4), ); expect(res).to.equal(2); }); it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (16, 1)', async function () { - const res = await this.contract4.shr_euint8_uint8(this.instances4.alice.encrypt8(16), 1); + const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(16), 1); expect(res).to.equal(8); }); it('test operator "shr" overload (euint8, uint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract4.shr_euint8_uint8(this.instances4.alice.encrypt8(16), 2); + const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(16), 2); expect(res).to.equal(4); }); it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (4112, 2)', async function () { - const res = await this.contract4.shl_euint16_euint8( - this.instances4.alice.encrypt16(4112), - this.instances4.alice.encrypt8(2), + const res = await this.contract5.shl_euint16_euint8( + this.instances5.alice.encrypt16(4112), + this.instances5.alice.encrypt8(2), ); expect(res).to.equal(16448); }); it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (4112, 2)', async function () { - const res = await this.contract4.shl_euint16_uint8(this.instances4.alice.encrypt16(4112), 2); + const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(4112), 2); expect(res).to.equal(16448); }); it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (4112, 2)', async function () { - const res = await this.contract4.shr_euint16_euint8( - this.instances4.alice.encrypt16(4112), - this.instances4.alice.encrypt8(2), + const res = await this.contract5.shr_euint16_euint8( + this.instances5.alice.encrypt16(4112), + this.instances5.alice.encrypt8(2), ); expect(res).to.equal(1028); }); it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (4112, 2)', async function () { - const res = await this.contract4.shr_euint16_uint8(this.instances4.alice.encrypt16(4112), 2); + const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(4112), 2); expect(res).to.equal(1028); }); it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract4.shl_euint32_euint8( - this.instances4.alice.encrypt32(50397184), - this.instances4.alice.encrypt8(3), + const res = await this.contract5.shl_euint32_euint8( + this.instances5.alice.encrypt32(50397184), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(403177472); }); it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract4.shl_euint32_uint8(this.instances4.alice.encrypt32(50397184), 3); + const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(50397184), 3); expect(res).to.equal(403177472); }); it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract4.shr_euint32_euint8( - this.instances4.alice.encrypt32(50397184), - this.instances4.alice.encrypt8(3), + const res = await this.contract5.shr_euint32_euint8( + this.instances5.alice.encrypt32(50397184), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(6299648); }); it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract4.shr_euint32_uint8(this.instances4.alice.encrypt32(50397184), 3); + const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(50397184), 3); expect(res).to.equal(6299648); }); it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract4.shl_euint64_euint8( - this.instances4.alice.encrypt64(50397184), - this.instances4.alice.encrypt8(3), + const res = await this.contract5.shl_euint64_euint8( + this.instances5.alice.encrypt64(50397184), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(403177472); }); it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract4.shl_euint64_uint8(this.instances4.alice.encrypt64(50397184), 3); + const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(50397184), 3); expect(res).to.equal(403177472); }); it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract4.shr_euint64_euint8( - this.instances4.alice.encrypt64(50397184), - this.instances4.alice.encrypt8(3), + const res = await this.contract5.shr_euint64_euint8( + this.instances5.alice.encrypt64(50397184), + this.instances5.alice.encrypt8(3), ); expect(res).to.equal(6299648); }); it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract4.shr_euint64_uint8(this.instances4.alice.encrypt64(50397184), 3); + const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(50397184), 3); expect(res).to.equal(6299648); }); it('test operator "neg" overload (euint8) => euint8 test 1 (1)', async function () { - const res = await this.contract4.neg_euint8(this.instances4.alice.encrypt8(1)); + const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(1)); expect(res).to.equal(255); }); it('test operator "neg" overload (euint8) => euint8 test 2 (2)', async function () { - const res = await this.contract4.neg_euint8(this.instances4.alice.encrypt8(2)); + const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(2)); expect(res).to.equal(254); }); it('test operator "not" overload (euint8) => euint8 test 1 (3)', async function () { - const res = await this.contract4.not_euint8(this.instances4.alice.encrypt8(3)); + const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(3)); expect(res).to.equal(252); }); it('test operator "neg" overload (euint16) => euint16 test 1 (1)', async function () { - const res = await this.contract4.neg_euint16(this.instances4.alice.encrypt16(1)); + const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(1)); expect(res).to.equal(65535); }); it('test operator "neg" overload (euint16) => euint16 test 2 (2)', async function () { - const res = await this.contract4.neg_euint16(this.instances4.alice.encrypt16(2)); + const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(2)); expect(res).to.equal(65534); }); it('test operator "not" overload (euint16) => euint16 test 1 (241)', async function () { - const res = await this.contract4.not_euint16(this.instances4.alice.encrypt16(241)); + const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(241)); expect(res).to.equal(65294); }); it('test operator "neg" overload (euint32) => euint32 test 1 (1)', async function () { - const res = await this.contract4.neg_euint32(this.instances4.alice.encrypt32(1)); + const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(1)); expect(res).to.equal(4294967295); }); it('test operator "neg" overload (euint32) => euint32 test 2 (2)', async function () { - const res = await this.contract4.neg_euint32(this.instances4.alice.encrypt32(2)); + const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(2)); expect(res).to.equal(4294967294); }); it('test operator "not" overload (euint32) => euint32 test 1 (65534)', async function () { - const res = await this.contract4.not_euint32(this.instances4.alice.encrypt32(65534)); + const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(65534)); expect(res).to.equal(4294901761); }); it('test operator "neg" overload (euint64) => euint64 test 1 (1)', async function () { - const res = await this.contract4.neg_euint64(this.instances4.alice.encrypt64(1)); + const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(1)); expect(res).to.equal(18446744073709551615n); }); it('test operator "neg" overload (euint64) => euint64 test 2 (2)', async function () { - const res = await this.contract4.neg_euint64(this.instances4.alice.encrypt64(2)); + const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(2)); expect(res).to.equal(18446744073709551614n); }); it('test operator "not" overload (euint64) => euint64 test 1 (65534)', async function () { - const res = await this.contract4.not_euint64(this.instances4.alice.encrypt64(65534)); + const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(65534)); expect(res).to.equal(18446744073709486081n); }); it('test operator "bin_op_add" overload (euint8, euint8) => euint8 test 1 (3, 4)', async function () { - const res = await this.contract4.bin_op_add_euint8_euint8( - this.instances4.alice.encrypt8(3), - this.instances4.alice.encrypt8(4), + const res = await this.contract6.bin_op_add_euint8_euint8( + this.instances6.alice.encrypt8(3), + this.instances6.alice.encrypt8(4), ); expect(res).to.equal(7); }); it('test operator "bin_op_sub" overload (euint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract4.bin_op_sub_euint8_euint8( - this.instances4.alice.encrypt8(4), - this.instances4.alice.encrypt8(3), + const res = await this.contract6.bin_op_sub_euint8_euint8( + this.instances6.alice.encrypt8(4), + this.instances6.alice.encrypt8(3), ); expect(res).to.equal(1); }); it('test operator "bin_op_mul" overload (euint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract4.bin_op_mul_euint8_euint8( - this.instances4.alice.encrypt8(4), - this.instances4.alice.encrypt8(3), + const res = await this.contract6.bin_op_mul_euint8_euint8( + this.instances6.alice.encrypt8(4), + this.instances6.alice.encrypt8(3), ); expect(res).to.equal(12); }); it('test operator "bin_op_and" overload (euint8, euint8) => euint8 test 1 (239, 240)', async function () { - const res = await this.contract4.bin_op_and_euint8_euint8( - this.instances4.alice.encrypt8(239), - this.instances4.alice.encrypt8(240), + const res = await this.contract6.bin_op_and_euint8_euint8( + this.instances6.alice.encrypt8(239), + this.instances6.alice.encrypt8(240), ); expect(res).to.equal(224); }); it('test operator "bin_op_or" overload (euint8, euint8) => euint8 test 1 (239, 240)', async function () { - const res = await this.contract4.bin_op_or_euint8_euint8( - this.instances4.alice.encrypt8(239), - this.instances4.alice.encrypt8(240), + const res = await this.contract6.bin_op_or_euint8_euint8( + this.instances6.alice.encrypt8(239), + this.instances6.alice.encrypt8(240), ); expect(res).to.equal(255); }); it('test operator "bin_op_xor" overload (euint8, euint8) => euint8 test 1 (239, 240)', async function () { - const res = await this.contract4.bin_op_xor_euint8_euint8( - this.instances4.alice.encrypt8(239), - this.instances4.alice.encrypt8(240), + const res = await this.contract6.bin_op_xor_euint8_euint8( + this.instances6.alice.encrypt8(239), + this.instances6.alice.encrypt8(240), ); expect(res).to.equal(31); }); it('test operator "unary_op_neg" overload (euint8) => euint8 test 1 (2)', async function () { - const res = await this.contract4.unary_op_neg_euint8(this.instances4.alice.encrypt8(2)); + const res = await this.contract6.unary_op_neg_euint8(this.instances6.alice.encrypt8(2)); expect(res).to.equal(254); }); it('test operator "unary_op_not" overload (euint8) => euint8 test 1 (15)', async function () { - const res = await this.contract4.unary_op_not_euint8(this.instances4.alice.encrypt8(15)); + const res = await this.contract6.unary_op_not_euint8(this.instances6.alice.encrypt8(15)); expect(res).to.equal(240); }); it('test operator "bin_op_add" overload (euint16, euint16) => euint16 test 1 (259, 516)', async function () { - const res = await this.contract4.bin_op_add_euint16_euint16( - this.instances4.alice.encrypt16(259), - this.instances4.alice.encrypt16(516), + const res = await this.contract6.bin_op_add_euint16_euint16( + this.instances6.alice.encrypt16(259), + this.instances6.alice.encrypt16(516), ); expect(res).to.equal(775); }); it('test operator "bin_op_sub" overload (euint16, euint16) => euint16 test 1 (516, 259)', async function () { - const res = await this.contract4.bin_op_sub_euint16_euint16( - this.instances4.alice.encrypt16(516), - this.instances4.alice.encrypt16(259), + const res = await this.contract6.bin_op_sub_euint16_euint16( + this.instances6.alice.encrypt16(516), + this.instances6.alice.encrypt16(259), ); expect(res).to.equal(257); }); it('test operator "bin_op_mul" overload (euint16, euint16) => euint16 test 1 (260, 3)', async function () { - const res = await this.contract4.bin_op_mul_euint16_euint16( - this.instances4.alice.encrypt16(260), - this.instances4.alice.encrypt16(3), + const res = await this.contract6.bin_op_mul_euint16_euint16( + this.instances6.alice.encrypt16(260), + this.instances6.alice.encrypt16(3), ); expect(res).to.equal(780); }); it('test operator "bin_op_and" overload (euint16, euint16) => euint16 test 1 (61423, 61680)', async function () { - const res = await this.contract4.bin_op_and_euint16_euint16( - this.instances4.alice.encrypt16(61423), - this.instances4.alice.encrypt16(61680), + const res = await this.contract6.bin_op_and_euint16_euint16( + this.instances6.alice.encrypt16(61423), + this.instances6.alice.encrypt16(61680), ); expect(res).to.equal(57568); }); it('test operator "bin_op_or" overload (euint16, euint16) => euint16 test 1 (61423, 496)', async function () { - const res = await this.contract4.bin_op_or_euint16_euint16( - this.instances4.alice.encrypt16(61423), - this.instances4.alice.encrypt16(496), + const res = await this.contract6.bin_op_or_euint16_euint16( + this.instances6.alice.encrypt16(61423), + this.instances6.alice.encrypt16(496), ); expect(res).to.equal(61439); }); it('test operator "bin_op_xor" overload (euint16, euint16) => euint16 test 1 (61423, 61680)', async function () { - const res = await this.contract4.bin_op_xor_euint16_euint16( - this.instances4.alice.encrypt16(61423), - this.instances4.alice.encrypt16(61680), + const res = await this.contract6.bin_op_xor_euint16_euint16( + this.instances6.alice.encrypt16(61423), + this.instances6.alice.encrypt16(61680), ); expect(res).to.equal(7967); }); it('test operator "unary_op_neg" overload (euint16) => euint16 test 1 (3)', async function () { - const res = await this.contract4.unary_op_neg_euint16(this.instances4.alice.encrypt16(3)); + const res = await this.contract6.unary_op_neg_euint16(this.instances6.alice.encrypt16(3)); expect(res).to.equal(65533); }); it('test operator "unary_op_not" overload (euint16) => euint16 test 1 (3855)', async function () { - const res = await this.contract4.unary_op_not_euint16(this.instances4.alice.encrypt16(3855)); + const res = await this.contract6.unary_op_not_euint16(this.instances6.alice.encrypt16(3855)); expect(res).to.equal(61680); }); it('test operator "bin_op_add" overload (euint32, euint32) => euint32 test 1 (1048835, 4194820)', async function () { - const res = await this.contract4.bin_op_add_euint32_euint32( - this.instances4.alice.encrypt32(1048835), - this.instances4.alice.encrypt32(4194820), + const res = await this.contract6.bin_op_add_euint32_euint32( + this.instances6.alice.encrypt32(1048835), + this.instances6.alice.encrypt32(4194820), ); expect(res).to.equal(5243655); }); it('test operator "bin_op_sub" overload (euint32, euint32) => euint32 test 1 (2415919620, 1342177539)', async function () { - const res = await this.contract4.bin_op_sub_euint32_euint32( - this.instances4.alice.encrypt32(2415919620), - this.instances4.alice.encrypt32(1342177539), + const res = await this.contract6.bin_op_sub_euint32_euint32( + this.instances6.alice.encrypt32(2415919620), + this.instances6.alice.encrypt32(1342177539), ); expect(res).to.equal(1073742081); }); it('test operator "bin_op_mul" overload (euint32, euint32) => euint32 test 1 (33554692, 3)', async function () { - const res = await this.contract4.bin_op_mul_euint32_euint32( - this.instances4.alice.encrypt32(33554692), - this.instances4.alice.encrypt32(3), + const res = await this.contract6.bin_op_mul_euint32_euint32( + this.instances6.alice.encrypt32(33554692), + this.instances6.alice.encrypt32(3), ); expect(res).to.equal(100664076); }); it('test operator "bin_op_and" overload (euint32, euint32) => euint32 test 1 (4025479151, 4042322160)', async function () { - const res = await this.contract4.bin_op_and_euint32_euint32( - this.instances4.alice.encrypt32(4025479151), - this.instances4.alice.encrypt32(4042322160), + const res = await this.contract6.bin_op_and_euint32_euint32( + this.instances6.alice.encrypt32(4025479151), + this.instances6.alice.encrypt32(4042322160), ); expect(res).to.equal(3772834016); }); it('test operator "bin_op_or" overload (euint32, euint32) => euint32 test 1 (4025479151, 32506352)', async function () { - const res = await this.contract4.bin_op_or_euint32_euint32( - this.instances4.alice.encrypt32(4025479151), - this.instances4.alice.encrypt32(32506352), + const res = await this.contract6.bin_op_or_euint32_euint32( + this.instances6.alice.encrypt32(4025479151), + this.instances6.alice.encrypt32(32506352), ); expect(res).to.equal(4026527743); }); it('test operator "bin_op_xor" overload (euint32, euint32) => euint32 test 1 (4025479151, 4042322160)', async function () { - const res = await this.contract4.bin_op_xor_euint32_euint32( - this.instances4.alice.encrypt32(4025479151), - this.instances4.alice.encrypt32(4042322160), + const res = await this.contract6.bin_op_xor_euint32_euint32( + this.instances6.alice.encrypt32(4025479151), + this.instances6.alice.encrypt32(4042322160), ); expect(res).to.equal(522133279); }); it('test operator "unary_op_neg" overload (euint32) => euint32 test 1 (4)', async function () { - const res = await this.contract4.unary_op_neg_euint32(this.instances4.alice.encrypt32(4)); + const res = await this.contract6.unary_op_neg_euint32(this.instances6.alice.encrypt32(4)); expect(res).to.equal(4294967292); }); it('test operator "unary_op_not" overload (euint32) => euint32 test 1 (252645135)', async function () { - const res = await this.contract4.unary_op_not_euint32(this.instances4.alice.encrypt32(252645135)); + const res = await this.contract6.unary_op_not_euint32(this.instances6.alice.encrypt32(252645135)); expect(res).to.equal(4042322160); }); it('test operator "bin_op_add" overload (euint64, euint64) => euint64 test 1 (1048835, 4194820)', async function () { - const res = await this.contract4.bin_op_add_euint64_euint64( - this.instances4.alice.encrypt64(1048835), - this.instances4.alice.encrypt64(4194820), + const res = await this.contract6.bin_op_add_euint64_euint64( + this.instances6.alice.encrypt64(1048835), + this.instances6.alice.encrypt64(4194820), ); expect(res).to.equal(5243655); }); it('test operator "bin_op_sub" overload (euint64, euint64) => euint64 test 1 (2415919620, 1342177539)', async function () { - const res = await this.contract4.bin_op_sub_euint64_euint64( - this.instances4.alice.encrypt64(2415919620), - this.instances4.alice.encrypt64(1342177539), + const res = await this.contract6.bin_op_sub_euint64_euint64( + this.instances6.alice.encrypt64(2415919620), + this.instances6.alice.encrypt64(1342177539), ); expect(res).to.equal(1073742081); }); it('test operator "bin_op_mul" overload (euint64, euint64) => euint64 test 1 (33554692, 3)', async function () { - const res = await this.contract4.bin_op_mul_euint64_euint64( - this.instances4.alice.encrypt64(33554692), - this.instances4.alice.encrypt64(3), + const res = await this.contract6.bin_op_mul_euint64_euint64( + this.instances6.alice.encrypt64(33554692), + this.instances6.alice.encrypt64(3), ); expect(res).to.equal(100664076); }); it('test operator "bin_op_and" overload (euint64, euint64) => euint64 test 1 (4025479151, 4042322160)', async function () { - const res = await this.contract4.bin_op_and_euint64_euint64( - this.instances4.alice.encrypt64(4025479151), - this.instances4.alice.encrypt64(4042322160), + const res = await this.contract6.bin_op_and_euint64_euint64( + this.instances6.alice.encrypt64(4025479151), + this.instances6.alice.encrypt64(4042322160), ); expect(res).to.equal(3772834016); }); it('test operator "bin_op_or" overload (euint64, euint64) => euint64 test 1 (4025479151, 32506352)', async function () { - const res = await this.contract4.bin_op_or_euint64_euint64( - this.instances4.alice.encrypt64(4025479151), - this.instances4.alice.encrypt64(32506352), + const res = await this.contract6.bin_op_or_euint64_euint64( + this.instances6.alice.encrypt64(4025479151), + this.instances6.alice.encrypt64(32506352), ); expect(res).to.equal(4026527743); }); it('test operator "bin_op_xor" overload (euint64, euint64) => euint64 test 1 (4025479151, 4042322160)', async function () { - const res = await this.contract4.bin_op_xor_euint64_euint64( - this.instances4.alice.encrypt64(4025479151), - this.instances4.alice.encrypt64(4042322160), + const res = await this.contract6.bin_op_xor_euint64_euint64( + this.instances6.alice.encrypt64(4025479151), + this.instances6.alice.encrypt64(4042322160), ); expect(res).to.equal(522133279); }); it('test operator "unary_op_neg" overload (euint64) => euint64 test 1 (4)', async function () { - const res = await this.contract4.unary_op_neg_euint64(this.instances4.alice.encrypt64(4)); + const res = await this.contract6.unary_op_neg_euint64(this.instances6.alice.encrypt64(4)); expect(res).to.equal(18446744073709551612n); }); it('test operator "unary_op_not" overload (euint64) => euint64 test 1 (252645135)', async function () { - const res = await this.contract4.unary_op_not_euint64(this.instances4.alice.encrypt64(252645135)); + const res = await this.contract6.unary_op_not_euint64(this.instances6.alice.encrypt64(252645135)); expect(res).to.equal(18446744073456906480n); }); }); From 7b4669fe2acf7eaf733066d53245b8a54a1dc339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Wed, 28 Feb 2024 15:58:04 +0100 Subject: [PATCH 04/12] fix: fix boolean encryption on client side --- package-lock.json | 16 +++++++--------- package.json | 2 +- test/governor/GovernorZama.ts | 8 ++++---- test/tfheOperations/manual.ts | 4 ++-- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 33ec15a5..066048dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "ethers": "^6.8.0", - "fhevmjs": "^0.4.0-4", + "fhevmjs": "^0.4.0-5", "fs-extra": "^10.1.0", "ganache": "^7.9.0", "hardhat": "^2.19.4", @@ -4686,9 +4686,9 @@ } }, "node_modules/fhevmjs": { - "version": "0.4.0-4", - "resolved": "https://registry.npmjs.org/fhevmjs/-/fhevmjs-0.4.0-4.tgz", - "integrity": "sha512-aCEtp3cNGIc8wuAaxnXaztfP6VLzIHPTFKgCT3izAaWLoo50P6xZ1okbKdeX3vT+lmOYdszwY03ICooKZO68xg==", + "version": "0.4.0-5", + "resolved": "https://registry.npmjs.org/fhevmjs/-/fhevmjs-0.4.0-5.tgz", + "integrity": "sha512-iR4lV9ou+fz4f2cQfCLA5T5lD5COadyzQLnKb7wO4ZO1cRj37g+ZnUXXQRk3OyXEAihSlkzGXDPaoZgqC5jv8A==", "dev": true, "dependencies": { "bigint-buffer": "^1.1.5", @@ -5119,7 +5119,6 @@ "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.5.tgz", "integrity": "sha512-HTm14iMQKK2FjFLRTM5lAVcyaUzOnqbPtesFIvREgXpJHdQm8bWS+GkQgIkfaBYRHuCnea7w8UVNfwiAQhlr9A==", "dev": true, - "hasInstallScript": true, "optional": true, "dependencies": { "node-gyp-build": "^4.3.0" @@ -5477,7 +5476,6 @@ "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.7.tgz", "integrity": "sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q==", "dev": true, - "hasInstallScript": true, "optional": true, "dependencies": { "node-gyp-build": "^4.3.0" @@ -12784,9 +12782,9 @@ } }, "fhevmjs": { - "version": "0.4.0-4", - "resolved": "https://registry.npmjs.org/fhevmjs/-/fhevmjs-0.4.0-4.tgz", - "integrity": "sha512-aCEtp3cNGIc8wuAaxnXaztfP6VLzIHPTFKgCT3izAaWLoo50P6xZ1okbKdeX3vT+lmOYdszwY03ICooKZO68xg==", + "version": "0.4.0-5", + "resolved": "https://registry.npmjs.org/fhevmjs/-/fhevmjs-0.4.0-5.tgz", + "integrity": "sha512-iR4lV9ou+fz4f2cQfCLA5T5lD5COadyzQLnKb7wO4ZO1cRj37g+ZnUXXQRk3OyXEAihSlkzGXDPaoZgqC5jv8A==", "dev": true, "requires": { "bigint-buffer": "^1.1.5", diff --git a/package.json b/package.json index e1713db2..4313dcbf 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "ethers": "^6.8.0", - "fhevmjs": "^0.4.0-4", + "fhevmjs": "^0.4.0-5", "fs-extra": "^10.1.0", "ganache": "^7.9.0", "hardhat": "^2.19.4", diff --git a/test/governor/GovernorZama.ts b/test/governor/GovernorZama.ts index c8abefb1..127131fb 100644 --- a/test/governor/GovernorZama.ts +++ b/test/governor/GovernorZama.ts @@ -88,14 +88,14 @@ describe('GovernorZama', function () { } await waitForBlock(proposals.startBlock + 1n); // Cast some votes - const encryptedSupportBob = this.instances.bob.encrypt8(1); + const encryptedSupportBob = this.instances.bob.encryptBool(true); const txVoteBob = await createTransaction( this.governor.connect(this.signers.bob)['castVote(uint256,bytes)'], proposalId, encryptedSupportBob, ); - const encryptedSupportCarol = this.instances.carol.encrypt8(1); + const encryptedSupportCarol = this.instances.carol.encryptBool(true); const txVoteCarol = await createTransaction( this.governor.connect(this.signers.carol)['castVote(uint256,bytes)'], proposalId, @@ -135,14 +135,14 @@ describe('GovernorZama', function () { await waitForBlock(proposals.startBlock + 1n); // Cast some votes - const encryptedSupportBob = this.instances.bob.encrypt8(0); + const encryptedSupportBob = this.instances.bob.encryptBool(false); const txVoteBob = await createTransaction( this.governor.connect(this.signers.bob)['castVote(uint256,bytes)'], proposalId, encryptedSupportBob, ); - const encryptedSupportCarol = this.instances.carol.encrypt8(0); + const encryptedSupportCarol = this.instances.carol.encryptBool(true); const txVoteCarol = await createTransaction( this.governor.connect(this.signers.carol)['castVote(uint256,bytes)'], proposalId, diff --git a/test/tfheOperations/manual.ts b/test/tfheOperations/manual.ts index 157406ef..08a8b9ae 100644 --- a/test/tfheOperations/manual.ts +++ b/test/tfheOperations/manual.ts @@ -32,7 +32,7 @@ describe('TFHE manual operations', function () { it('Cmux works returning if false', async function () { const res = await this.contract.test_cmux( - this.instances.alice.encrypt8(0), + this.instances.alice.encryptBool(false), this.instances.alice.encrypt32(3), this.instances.alice.encrypt32(4), ); @@ -41,7 +41,7 @@ describe('TFHE manual operations', function () { it('Cmux works returning if true', async function () { const res = await this.contract.test_cmux( - this.instances.alice.encrypt8(1), + this.instances.alice.encryptBool(true), this.instances.alice.encrypt32(3), this.instances.alice.encrypt32(4), ); From 9386803f0c077d138815425cfc49f2d5284f5514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Wed, 28 Feb 2024 20:23:37 +0100 Subject: [PATCH 05/12] fix: convert bool to euint8 for optReq --- codegen/templates.ts | 2 +- lib/TFHE.sol | 2 +- mocks/TFHE.sol | 2 +- test/identity/compliantERC20.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codegen/templates.ts b/codegen/templates.ts index 06e9d6e2..54bf5b32 100644 --- a/codegen/templates.ts +++ b/codegen/templates.ts @@ -684,7 +684,7 @@ function tfheCustomMethods(ctx: CodegenContext): string { // because there is a single call to the decryption oracle per transaction, irrespective // of how many optimistic requires were used. function optReq(ebool b) internal view { - Impl.optReq(ebool.unwrap(b)); + Impl.optReq(euint8.unwrap(asEuint8(b))); } // Decrypts the encrypted 'value'. diff --git a/lib/TFHE.sol b/lib/TFHE.sol index 0c59b7ac..17a15656 100644 --- a/lib/TFHE.sol +++ b/lib/TFHE.sol @@ -5500,7 +5500,7 @@ library TFHE { // because there is a single call to the decryption oracle per transaction, irrespective // of how many optimistic requires were used. function optReq(ebool b) internal view { - Impl.optReq(ebool.unwrap(b)); + Impl.optReq(euint8.unwrap(asEuint8(b))); } // Decrypts the encrypted 'value'. diff --git a/mocks/TFHE.sol b/mocks/TFHE.sol index a440e072..36f97ce9 100644 --- a/mocks/TFHE.sol +++ b/mocks/TFHE.sol @@ -5500,7 +5500,7 @@ library TFHE { // because there is a single call to the decryption oracle per transaction, irrespective // of how many optimistic requires were used. function optReq(ebool b) internal view { - Impl.optReq(ebool.unwrap(b)); + Impl.optReq(euint8.unwrap(asEuint8(b))); } // Decrypts the encrypted 'value'. diff --git a/test/identity/compliantERC20.ts b/test/identity/compliantERC20.ts index 8356a7ca..e17b6505 100644 --- a/test/identity/compliantERC20.ts +++ b/test/identity/compliantERC20.ts @@ -26,7 +26,7 @@ describe('CompliantERC20', function () { this.instances = await createInstances(this.contractAddress, ethers, this.signers); }); - it('should allow decryption of balance for identity owner', async function () { + it.only('should allow decryption of balance for identity owner', async function () { // Create accounts; const country1 = this.instances.alice.encrypt64(1); const country2 = this.instances.alice.encrypt64(2); From 42de399ce98c6f1b946cb094d8dea241abb628f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Thu, 29 Feb 2024 12:52:59 +0100 Subject: [PATCH 06/12] feat: add generator for overloads and implement 4bits tests --- codegen/generateOverloads.ts | 224 + codegen/overloadTests.ts | 1292 +- codegen/overloads.json | 2870 +++++ codegen/templates.ts | 30 +- codegen/testgen.ts | 6 +- examples/tests/TFHETestSuite5.sol | 14 - examples/tests/TFHETestSuite6.sol | 208 - package-lock.json | 14 +- package.json | 3 +- test/tfheOperations/tfheOperations.ts | 14890 ++++++++++++++++++------ 10 files changed, 14634 insertions(+), 4917 deletions(-) create mode 100644 codegen/generateOverloads.ts create mode 100644 codegen/overloads.json diff --git a/codegen/generateOverloads.ts b/codegen/generateOverloads.ts new file mode 100644 index 00000000..f5675279 --- /dev/null +++ b/codegen/generateOverloads.ts @@ -0,0 +1,224 @@ +type Test = { + inputs: number[]; + output: number | boolean; +}; + +type SupportedFunctions = { + [key: string]: SupportedFunction; +}; + +type SupportedFunctionParams = { + supportedBits: number[]; + scalarSameType?: boolean; + noScalar?: boolean; + lhsHigher?: boolean; + scalarOnly?: boolean; + limit?: 'bits'; +}; + +type SupportedFunction = SupportedFunctionParams & + ( + | { + unary?: false; + evalTest: (lhs: number, rhs: number) => number | boolean; + } + | { + unary: true; + evalTest: (lhs: number, bits: number) => number | boolean; + } + ); + +export const SUPPORTED_UINT = [8, 16, 32, 64, 128, 256]; +export const SUPPORTED_BITS = [4, 8, 16, 32, 64]; + +const generateNumber = (bits: number) => { + return Math.max(Math.floor(Math.random() * (Math.pow(2, Math.min(bits, 31)) - 1)), 1); +}; + +const safeEval = (fn: (lhs: number, rhs: number) => number | boolean, lhs: number, rhs: number, bits: number) => { + let result = fn(lhs, rhs); + const logs: any[] = []; + if (typeof result === 'number') { + while ((result as number) > Math.pow(2, bits) - 1) { + lhs = Math.max(Math.floor(lhs / 2), 1); + rhs = Math.max(Math.floor(rhs / 2), 1); + result = fn(lhs, rhs); + logs.push([lhs, rhs, result]); + } + } + return { inputs: [lhs, rhs], output: result }; +}; + +export const SUPPORTED_FUNCTIONS: SupportedFunctions = { + add: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => lhs + rhs, + }, + sub: { + supportedBits: SUPPORTED_BITS, + lhsHigher: true, + evalTest: (lhs: number, rhs: number) => lhs - rhs, + }, + mul: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => lhs * rhs, + }, + div: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => Math.floor(lhs / rhs), + scalarOnly: true, + }, + rem: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => lhs % rhs, + scalarOnly: true, + }, + le: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => lhs <= rhs, + }, + lt: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => lhs < rhs, + }, + ge: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => lhs >= rhs, + }, + gt: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => lhs > rhs, + }, + eq: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => lhs === rhs, + }, + ne: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => lhs !== rhs, + }, + shl: { + supportedBits: SUPPORTED_BITS, + limit: 'bits', + evalTest: (lhs: number, rhs: number) => lhs >> rhs, + }, + shr: { + supportedBits: SUPPORTED_BITS, + limit: 'bits', + evalTest: (lhs: number, rhs: number) => lhs >> rhs, + }, + max: { + supportedBits: SUPPORTED_BITS, + unary: false, + evalTest: (lhs: number, rhs: number) => (lhs > rhs ? lhs : rhs), + }, + min: { + supportedBits: SUPPORTED_BITS, + evalTest: (lhs: number, rhs: number) => (lhs < rhs ? lhs : rhs), + }, + or: { + supportedBits: SUPPORTED_BITS, + // scalarSameType: true, + noScalar: true, + evalTest: (lhs: number, rhs: number) => lhs | rhs, + }, + and: { + supportedBits: SUPPORTED_BITS, + noScalar: true, + evalTest: (lhs: number, rhs: number) => lhs & rhs, + }, + xor: { + supportedBits: SUPPORTED_BITS, + noScalar: true, + evalTest: (lhs: number, rhs: number) => lhs ^ rhs, + }, + not: { + supportedBits: SUPPORTED_BITS, + unary: true, + evalTest: (lhs: number, bits: number) => (~lhs >>> 0) & (Math.pow(2, Math.min(bits, 31)) - 1), + }, + neg: { + supportedBits: SUPPORTED_BITS, + unary: true, + evalTest: (lhs: number, bits: number) => (~lhs >>> 0) & (Math.pow(2, Math.min(bits, 31)) - 1), + }, +}; + +export const generateTests = () => { + const tests: any = {}; + Object.keys(SUPPORTED_FUNCTIONS).forEach((functionName: string) => { + const test = SUPPORTED_FUNCTIONS[functionName]; + test.supportedBits.forEach((lhs: number) => { + let lhsNumber = generateNumber(lhs); + if (test.unary) { + const encryptedTestName = [functionName, `euint${lhs}`].join('_'); + const encryptedTests: Test[] = []; + encryptedTests.push({ + inputs: [lhsNumber], + output: test.evalTest(lhsNumber, lhs), + }); + tests[encryptedTestName] = encryptedTests; + } else { + test.supportedBits.forEach((rhs: number) => { + const bitResults = Math.min(lhs, rhs); + let rhsNumber = generateNumber(rhs); + if (test.limit === 'bits') { + rhsNumber = 1 + Math.floor(Math.random() * (rhs - 1)); + } + const smallest = Math.max(Math.min(lhsNumber, rhsNumber), 8); + const only8bits = test.limit === 'bits' && rhs === 8; + const onlyEncrypted8bits = only8bits && lhs > 4; + + if ((test.limit !== 'bits' || onlyEncrypted8bits) && !test.scalarOnly) { + const encryptedTestName = [functionName, `euint${lhs}`, `euint${rhs}`].join('_'); + const encryptedTests: Test[] = []; + if (!test.lhsHigher) { + encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, bitResults)); + encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, bitResults)); + } + encryptedTests.push(safeEval(test.evalTest, smallest, smallest, bitResults)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, bitResults)); + tests[encryptedTestName] = encryptedTests; + } + + const scalarCondition = + !test.noScalar && + (lhs === rhs || (!test.scalarSameType && ((rhs == 8 && lhs == 4) || (rhs == 4 && lhs == 8)))); + + if (SUPPORTED_UINT.includes(rhs) && (only8bits || (test.limit !== 'bits' && scalarCondition))) { + rhsNumber = generateNumber(bitResults); + const encryptedTestName = [functionName, `euint${lhs}`, `uint${rhs}`].join('_'); + const encryptedTests: Test[] = []; + if (!test.lhsHigher) { + encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, bitResults)); + encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, bitResults)); + } + encryptedTests.push(safeEval(test.evalTest, smallest, smallest, bitResults)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, bitResults)); + tests[encryptedTestName] = encryptedTests; + } + if (SUPPORTED_UINT.includes(lhs) && test.limit !== 'bits' && scalarCondition && !test.scalarOnly) { + lhsNumber = generateNumber(bitResults); + const encryptedTestName = [functionName, `uint${lhs}`, `euint${rhs}`].join('_'); + const encryptedTests: Test[] = []; + if (!test.lhsHigher) { + encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, bitResults)); + encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, bitResults)); + } + encryptedTests.push(safeEval(test.evalTest, smallest, smallest, bitResults)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, bitResults)); + tests[encryptedTestName] = encryptedTests; + } + }); + } + }); + }); + return tests; +}; + +const tests = generateTests(); + +const fs = require('fs'); +const path = require('path'); + +fs.writeFileSync(`${path.resolve(__dirname)}/overloads.json`, JSON.stringify(tests)); diff --git a/codegen/overloadTests.ts b/codegen/overloadTests.ts index 43e2766a..edcfe055 100644 --- a/codegen/overloadTests.ts +++ b/codegen/overloadTests.ts @@ -1,3 +1,4 @@ +import overloads from './overloads.json'; import { OverloadSignature, signatureContractMethodName } from './testgen'; type OverloadTest = { @@ -5,1293 +6,4 @@ type OverloadTest = { output: boolean | number | bigint; }; -export const overloadTests: { [methodName: string]: OverloadTest[] } = { - // solidity operators 8 bit - bin_op_add_euint8_euint8: [{ inputs: [0x03, 0x04], output: 0x07 }], - bin_op_sub_euint8_euint8: [{ inputs: [0x04, 0x03], output: 0x01 }], - bin_op_mul_euint8_euint8: [{ inputs: [0x04, 0x03], output: 12 }], - bin_op_and_euint8_euint8: [{ inputs: [0xef, 0xf0], output: 0xe0 }], - bin_op_or_euint8_euint8: [{ inputs: [0xef, 0xf0], output: 0xff }], - bin_op_xor_euint8_euint8: [{ inputs: [0xef, 0xf0], output: 0x1f }], - unary_op_neg_euint8: [{ inputs: [0x02], output: 0xfe }], - unary_op_not_euint8: [{ inputs: [0x0f], output: 0xf0 }], - - // solidity operators 16 bit - bin_op_add_euint16_euint16: [{ inputs: [0x0103, 0x0204], output: 0x0307 }], - bin_op_sub_euint16_euint16: [{ inputs: [0x0204, 0x0103], output: 0x0101 }], - bin_op_mul_euint16_euint16: [{ inputs: [0x0104, 0x0003], output: 0x030c }], - bin_op_and_euint16_euint16: [{ inputs: [0xefef, 0xf0f0], output: 0xe0e0 }], - bin_op_or_euint16_euint16: [{ inputs: [0xefef, 0x01f0], output: 0xefff }], - bin_op_xor_euint16_euint16: [{ inputs: [0xefef, 0xf0f0], output: 0x1f1f }], - unary_op_neg_euint16: [{ inputs: [0x0003], output: 0xfffd }], - unary_op_not_euint16: [{ inputs: [0x0f0f], output: 0xf0f0 }], - - // solidity operators 32 bit - bin_op_add_euint32_euint32: [{ inputs: [0x00100103, 0x00400204], output: 0x00500307 }], - bin_op_sub_euint32_euint32: [{ inputs: [0x90000204, 0x50000103], output: 0x40000101 }], - bin_op_mul_euint32_euint32: [{ inputs: [0x02000104, 0x0003], output: 0x0600030c }], - bin_op_and_euint32_euint32: [{ inputs: [0xefefefef, 0xf0f0f0f0], output: 0xe0e0e0e0 }], - bin_op_or_euint32_euint32: [{ inputs: [0xefefefef, 0x01f001f0], output: 0xefffefff }], - bin_op_xor_euint32_euint32: [{ inputs: [0xefefefef, 0xf0f0f0f0], output: 0x1f1f1f1f }], - unary_op_neg_euint32: [{ inputs: [0x00000004], output: 0xfffffffc }], - unary_op_not_euint32: [{ inputs: [0x0f0f0f0f], output: 0xf0f0f0f0 }], - - // solidity operators 64 bit - bin_op_add_euint64_euint64: [{ inputs: [0x0000000000100103, 0x0000000000400204], output: 0x00500307 }], - bin_op_sub_euint64_euint64: [{ inputs: [0x0000000090000204, 0x0000000050000103], output: 0x40000101 }], - bin_op_mul_euint64_euint64: [{ inputs: [0x0000000002000104, 0x000000000003], output: 0x0600030c }], - bin_op_and_euint64_euint64: [{ inputs: [0x00000000efefefef, 0x00000000f0f0f0f0], output: 0xe0e0e0e0 }], - bin_op_or_euint64_euint64: [{ inputs: [0x00000000efefefef, 0x0000000001f001f0], output: 0xefffefff }], - bin_op_xor_euint64_euint64: [{ inputs: [0x00000000efefefef, 0x00000000f0f0f0f0], output: 0x1f1f1f1f }], - unary_op_neg_euint64: [{ inputs: [0x0000000000000004], output: 18446744073709551612n }], - unary_op_not_euint64: [{ inputs: [0x000000000f0f0f0f], output: 18446744073456906480n }], - - neg_euint8: [ - { inputs: [0x01], output: 0xff }, - { inputs: [0x02], output: 0xfe }, - ], - not_euint8: [{ inputs: [0x03], output: 0xfc }], - neg_euint16: [ - { inputs: [0x0001], output: 0xffff }, - { inputs: [0x0002], output: 0xfffe }, - ], - not_euint16: [{ inputs: [0x00f1], output: 0xff0e }], - neg_euint32: [ - { inputs: [0x00000001], output: 0xffffffff }, - { inputs: [0x00000002], output: 0xfffffffe }, - ], - not_euint32: [{ inputs: [0x0000fffe], output: 0xffff0001 }], - neg_euint64: [ - { inputs: [0x0000000000000001], output: 18446744073709551615n }, - { inputs: [0x0000000000000002], output: 18446744073709551614n }, - ], - not_euint64: [{ inputs: [0x000000000000fffe], output: 18446744073709486081n }], - add_euint8_euint8: [{ inputs: [3, 4], output: 7 }], - sub_euint8_euint8: [{ inputs: [4, 3], output: 1 }], - mul_euint8_euint8: [{ inputs: [3, 4], output: 12 }], - and_euint8_euint8: [{ inputs: [0xff, 0x0f], output: 0x0f }], - or_euint8_euint8: [{ inputs: [0x70, 0x0f], output: 0x7f }], - xor_euint8_euint8: [ - { inputs: [0x77, 0x77], output: 0x00 }, - { inputs: [12, 34], output: 46 }, - ], - shl_euint8_euint8: [ - { inputs: [2, 1], output: 4 }, - { inputs: [2, 4], output: 32 }, - ], - shr_euint8_euint8: [ - { inputs: [2, 1], output: 1 }, - { inputs: [32, 4], output: 2 }, - ], - eq_euint8_euint8: [ - { inputs: [12, 49], output: false }, - { inputs: [7, 7], output: true }, - ], - ne_euint8_euint8: [ - { inputs: [1, 2], output: true }, - { inputs: [2, 2], output: false }, - ], - ge_euint8_euint8: [ - { inputs: [10, 10], output: true }, - { inputs: [10, 9], output: true }, - { inputs: [10, 11], output: false }, - ], - gt_euint8_euint8: [ - { inputs: [10, 10], output: false }, - { inputs: [10, 9], output: true }, - { inputs: [10, 11], output: false }, - ], - le_euint8_euint8: [ - { inputs: [10, 10], output: true }, - { inputs: [10, 9], output: false }, - { inputs: [10, 11], output: true }, - ], - lt_euint8_euint8: [ - { inputs: [10, 10], output: false }, - { inputs: [10, 9], output: false }, - { inputs: [10, 11], output: true }, - ], - min_euint8_euint8: [ - { inputs: [10, 10], output: 10 }, - { inputs: [12, 10], output: 10 }, - { inputs: [9, 12], output: 9 }, - ], - max_euint8_euint8: [ - { inputs: [10, 10], output: 10 }, - { inputs: [12, 10], output: 12 }, - { inputs: [9, 12], output: 12 }, - ], - add_euint8_euint16: [{ inputs: [0x03, 0xff00], output: 0xff03 }], - sub_euint8_euint16: [{ inputs: [0x03, 0x1000], output: 0xf003 }], - mul_euint8_euint16: [{ inputs: [0x03, 0x1000], output: 0x3000 }], - and_euint8_euint16: [ - { inputs: [0x03, 0x1000], output: 0x0000 }, - { inputs: [0x03, 0x1001], output: 0x0001 }, - ], - or_euint8_euint16: [ - { inputs: [0x03, 0x1000], output: 0x1003 }, - { inputs: [0x03, 0x1001], output: 0x1003 }, - ], - xor_euint8_euint16: [ - { inputs: [0xff, 0xffff], output: 0xff00 }, - { inputs: [0xff, 0xff00], output: 0xffff }, - ], - eq_euint8_euint16: [ - { inputs: [0xff, 0x00ff], output: true }, - { inputs: [0xff, 0x01ff], output: false }, - ], - ne_euint8_euint16: [ - { inputs: [0xff, 0x00ff], output: false }, - { inputs: [0xff, 0x01ff], output: true }, - ], - ge_euint8_euint16: [ - { inputs: [0xff, 0x00ff], output: true }, - { inputs: [0xff, 0x01ff], output: false }, - { inputs: [0xff, 0x007f], output: true }, - ], - gt_euint8_euint16: [ - { inputs: [0xff, 0x00ff], output: false }, - { inputs: [0xff, 0x01ff], output: false }, - { inputs: [0xff, 0x007f], output: true }, - ], - le_euint8_euint16: [ - { inputs: [0xff, 0x00ff], output: true }, - { inputs: [0xff, 0x01ff], output: true }, - { inputs: [0xff, 0x007f], output: false }, - ], - lt_euint8_euint16: [ - { inputs: [0xff, 0x00ff], output: false }, - { inputs: [0xff, 0x01ff], output: true }, - { inputs: [0xff, 0x007f], output: false }, - ], - min_euint8_euint16: [ - { inputs: [0xff, 0x00ff], output: 0xff }, - { inputs: [0xff, 0x01ff], output: 0xff }, - { inputs: [0xff, 0x007f], output: 0x7f }, - ], - max_euint8_euint16: [ - { inputs: [0xff, 0x00ff], output: 0xff }, - { inputs: [0xff, 0x01ff], output: 0x1ff }, - { inputs: [0xff, 0x007f], output: 0xff }, - ], - add_euint8_euint32: [{ inputs: [0xff, 0xffff00ff], output: 0xffff01fe }], - sub_euint8_euint32: [ - { inputs: [0xff, 0xffff00ff], output: 0x10000 }, - { inputs: [0xff, 0x00000010], output: 0x000ef }, - ], - mul_euint8_euint32: [{ inputs: [0x10, 0x00010000], output: 0x00100000 }], - and_euint8_euint32: [ - { inputs: [0x10, 0x00010000], output: 0x00000000 }, - { inputs: [0x11, 0x00010010], output: 0x00000010 }, - ], - or_euint8_euint32: [ - { inputs: [0x10, 0x00010000], output: 0x00010010 }, - { inputs: [0x11, 0x00010010], output: 0x00010011 }, - ], - xor_euint8_euint32: [ - { inputs: [0x10, 0x00010000], output: 0x00010010 }, - { inputs: [0x11, 0x00010010], output: 0x00010001 }, - ], - eq_euint8_euint32: [ - { inputs: [0x01, 0x00000001], output: true }, - { inputs: [0x01, 0x00010001], output: false }, - ], - ne_euint8_euint32: [ - { inputs: [0x01, 0x00000001], output: false }, - { inputs: [0x01, 0x00010001], output: true }, - ], - ge_euint8_euint32: [ - { inputs: [0x01, 0x00000001], output: true }, - { inputs: [0x01, 0x00010001], output: false }, - { inputs: [0x10, 0x00000001], output: true }, - ], - gt_euint8_euint32: [ - { inputs: [0x01, 0x00000001], output: false }, - { inputs: [0x01, 0x00010001], output: false }, - { inputs: [0x10, 0x00000001], output: true }, - ], - le_euint8_euint32: [ - { inputs: [0x01, 0x00000001], output: true }, - { inputs: [0x01, 0x00010001], output: true }, - { inputs: [0x10, 0x00000001], output: false }, - ], - lt_euint8_euint32: [ - { inputs: [0x01, 0x00000001], output: false }, - { inputs: [0x01, 0x00010001], output: true }, - { inputs: [0x10, 0x00000001], output: false }, - ], - min_euint8_euint32: [ - { inputs: [0x01, 0x00000001], output: 0x1 }, - { inputs: [0x01, 0x00010001], output: 0x1 }, - { inputs: [0x10, 0x00000004], output: 0x4 }, - ], - max_euint8_euint32: [ - { inputs: [0x01, 0x00000001], output: 0x1 }, - { inputs: [0x01, 0x00010001], output: 0x10001 }, - { inputs: [0x10, 0x00000004], output: 0x10 }, - ], - add_euint8_euint64: [{ inputs: [0xff, 0x00000000ffff00ff], output: 0xffff01fe }], - sub_euint8_euint64: [ - { inputs: [0xff, 0x00000000ffff00ff], output: 18446744069414649856n }, - { inputs: [0xff, 0x0000000000000010], output: 0x000ef }, - ], - mul_euint8_euint64: [{ inputs: [0x10, 0x00010000], output: 0x00100000 }], - and_euint8_euint64: [ - { inputs: [0x10, 0x0000000000010000], output: 0x00000000 }, - { inputs: [0x11, 0x0000000000010010], output: 0x00000010 }, - ], - or_euint8_euint64: [ - { inputs: [0x10, 0x0000000000010000], output: 0x00010010 }, - { inputs: [0x11, 0x0000000000010010], output: 0x00010011 }, - ], - xor_euint8_euint64: [ - { inputs: [0x10, 0x0000000000010000], output: 0x00010010 }, - { inputs: [0x11, 0x0000000000010010], output: 0x00010001 }, - ], - eq_euint8_euint64: [ - { inputs: [0x01, 0x0000000000000001], output: true }, - { inputs: [0x01, 0x0000000000010001], output: false }, - ], - ne_euint8_euint64: [ - { inputs: [0x01, 0x0000000000000001], output: false }, - { inputs: [0x01, 0x0000000000010001], output: true }, - ], - ge_euint8_euint64: [ - { inputs: [0x01, 0x0000000000000001], output: true }, - { inputs: [0x01, 0x0000000000010001], output: false }, - { inputs: [0x10, 0x0000000000000001], output: true }, - ], - gt_euint8_euint64: [ - { inputs: [0x01, 0x0000000000000001], output: false }, - { inputs: [0x01, 0x0000000000010001], output: false }, - { inputs: [0x10, 0x0000000000000001], output: true }, - ], - le_euint8_euint64: [ - { inputs: [0x01, 0x0000000000000001], output: true }, - { inputs: [0x01, 0x0000000000010001], output: true }, - { inputs: [0x10, 0x0000000000000001], output: false }, - ], - lt_euint8_euint64: [ - { inputs: [0x01, 0x0000000000000001], output: false }, - { inputs: [0x01, 0x0000000000010001], output: true }, - { inputs: [0x10, 0x0000000000000001], output: false }, - ], - min_euint8_euint64: [ - { inputs: [0x01, 0x0000000000000001], output: 0x1 }, - { inputs: [0x01, 0x0000000000010001], output: 0x1 }, - { inputs: [0x10, 0x0000000000000004], output: 0x4 }, - ], - max_euint8_euint64: [ - { inputs: [0x01, 0x0000000000000001], output: 0x1 }, - { inputs: [0x01, 0x0000000000010001], output: 0x10001 }, - { inputs: [0x10, 0x0000000000000004], output: 0x10 }, - ], - add_euint8_uint8: [{ inputs: [0x04, 0x03], output: 0x07 }], - add_uint8_euint8: [{ inputs: [0x04, 0x03], output: 0x07 }], - sub_euint8_uint8: [ - // bug found - { inputs: [0x04, 0x03], output: 0x01 }, - { inputs: [0x03, 0x04], output: 0xff }, - ], - sub_uint8_euint8: [ - // bug found - { inputs: [0x04, 0x03], output: 0x01 }, - { inputs: [0x03, 0x04], output: 0xff }, - ], - mul_euint8_uint8: [ - { inputs: [0x04, 0x03], output: 0x0c }, - { inputs: [0x03, 0x04], output: 0x0c }, - { inputs: [0x08, 0x02], output: 0x10 }, - ], - mul_uint8_euint8: [ - { inputs: [0x04, 0x03], output: 0x0c }, - { inputs: [0x03, 0x04], output: 0x0c }, - { inputs: [0x08, 0x02], output: 0x10 }, - ], - div_euint8_uint8: [{ inputs: [0x10, 0x02], output: 0x08 }], - rem_euint8_uint8: [{ inputs: [0x08, 0x03], output: 0x02 }], - shl_euint8_uint8: [ - { inputs: [0x10, 0x01], output: 0x20 }, - { inputs: [0x10, 0x02], output: 0x40 }, - ], - shr_euint8_uint8: [ - { inputs: [0x10, 0x01], output: 0x08 }, - { inputs: [0x10, 0x02], output: 0x04 }, - ], - eq_euint8_uint8: [ - { inputs: [0x10, 0x10], output: true }, - { inputs: [0x10, 0x02], output: false }, - ], - eq_uint8_euint8: [ - { inputs: [0x10, 0x10], output: true }, - { inputs: [0x10, 0x02], output: false }, - ], - ne_euint8_uint8: [ - { inputs: [0x10, 0x10], output: false }, - { inputs: [0x10, 0x02], output: true }, - ], - ne_uint8_euint8: [ - { inputs: [0x10, 0x10], output: false }, - { inputs: [0x10, 0x02], output: true }, - ], - ge_euint8_uint8: [ - { inputs: [0x10, 0x10], output: true }, - { inputs: [0x10, 0x02], output: true }, - { inputs: [0x10, 0x11], output: false }, - ], - ge_uint8_euint8: [ - { inputs: [0x10, 0x10], output: true }, - { inputs: [0x10, 0x02], output: true }, - { inputs: [0x10, 0x11], output: false }, - ], - gt_euint8_uint8: [ - { inputs: [0x10, 0x10], output: false }, - { inputs: [0x10, 0x02], output: true }, - { inputs: [0x10, 0x11], output: false }, - ], - gt_uint8_euint8: [ - { inputs: [0x10, 0x10], output: false }, - { inputs: [0x10, 0x02], output: true }, - { inputs: [0x10, 0x11], output: false }, - ], - le_euint8_uint8: [ - { inputs: [0x10, 0x10], output: true }, - { inputs: [0x10, 0x02], output: false }, - { inputs: [0x10, 0x11], output: true }, - ], - le_uint8_euint8: [ - { inputs: [0x10, 0x10], output: true }, - { inputs: [0x10, 0x02], output: false }, - { inputs: [0x10, 0x11], output: true }, - ], - lt_euint8_uint8: [ - { inputs: [0x10, 0x10], output: false }, - { inputs: [0x10, 0x02], output: false }, - { inputs: [0x10, 0x11], output: true }, - ], - lt_uint8_euint8: [ - { inputs: [0x10, 0x10], output: false }, - { inputs: [0x10, 0x02], output: false }, - { inputs: [0x10, 0x11], output: true }, - ], - min_euint8_uint8: [ - { inputs: [0x10, 0x10], output: 0x10 }, - { inputs: [0x10, 0x02], output: 0x02 }, - { inputs: [0x10, 0x11], output: 0x10 }, - ], - min_uint8_euint8: [ - { inputs: [0x10, 0x10], output: 0x10 }, - { inputs: [0x10, 0x02], output: 0x02 }, - { inputs: [0x10, 0x11], output: 0x10 }, - ], - max_euint8_uint8: [ - { inputs: [0x10, 0x10], output: 0x10 }, - { inputs: [0x10, 0x02], output: 0x10 }, - { inputs: [0x10, 0x11], output: 0x11 }, - ], - max_uint8_euint8: [ - { inputs: [0x10, 0x10], output: 0x10 }, - { inputs: [0x10, 0x02], output: 0x10 }, - { inputs: [0x10, 0x11], output: 0x11 }, - ], - add_euint16_euint8: [ - { inputs: [0x1000, 0x10], output: 0x1010 }, - { inputs: [0x1010, 0x10], output: 0x1020 }, - ], - sub_euint16_euint8: [ - { inputs: [0x1000, 0x10], output: 0x0ff0 }, - { inputs: [0x1010, 0x10], output: 0x1000 }, - ], - mul_euint16_euint8: [{ inputs: [0x1000, 0x04], output: 0x4000 }], - and_euint16_euint8: [ - { inputs: [0x1000, 0x04], output: 0x0000 }, - { inputs: [0x10f0, 0xf0], output: 0x00f0 }, - ], - or_euint16_euint8: [ - { inputs: [0x1000, 0x04], output: 0x1004 }, - { inputs: [0x10f0, 0xf0], output: 0x10f0 }, - ], - xor_euint16_euint8: [ - { inputs: [0x1000, 0x04], output: 0x1004 }, - { inputs: [0x10f0, 0xf2], output: 0x1002 }, - ], - shl_euint16_euint8: [{ inputs: [0x1010, 0x02], output: 0x4040 }], - shl_euint16_uint8: [{ inputs: [0x1010, 0x02], output: 0x4040 }], - shr_euint16_euint8: [{ inputs: [0x1010, 0x02], output: 0x0404 }], - shr_euint16_uint8: [{ inputs: [0x1010, 0x02], output: 0x0404 }], - eq_euint16_euint8: [ - { inputs: [0x0010, 0x10], output: true }, - { inputs: [0x0110, 0x10], output: false }, - ], - ne_euint16_euint8: [ - { inputs: [0x0010, 0x10], output: false }, - { inputs: [0x0110, 0x10], output: true }, - ], - ge_euint16_euint8: [ - { inputs: [0x0010, 0x10], output: true }, - { inputs: [0x0110, 0x10], output: true }, - { inputs: [0x000f, 0x10], output: false }, - ], - gt_euint16_euint8: [ - { inputs: [0x0010, 0x10], output: false }, - { inputs: [0x0110, 0x10], output: true }, - { inputs: [0x000f, 0x10], output: false }, - ], - le_euint16_euint8: [ - { inputs: [0x0010, 0x10], output: true }, - { inputs: [0x0110, 0x10], output: false }, - { inputs: [0x000f, 0x10], output: true }, - ], - lt_euint16_euint8: [ - { inputs: [0x0010, 0x10], output: false }, - { inputs: [0x0110, 0x10], output: false }, - { inputs: [0x000f, 0x10], output: true }, - ], - min_euint16_euint8: [ - { inputs: [0x0010, 0x10], output: 0x10 }, - { inputs: [0x0110, 0x10], output: 0x10 }, - { inputs: [0x000f, 0x10], output: 0x0f }, - ], - max_euint16_euint8: [ - { inputs: [0x0010, 0x10], output: 0x10 }, - { inputs: [0x0110, 0x10], output: 0x0110 }, - { inputs: [0x000f, 0x10], output: 0x10 }, - ], - add_euint16_euint16: [{ inputs: [0x0102, 0x0201], output: 0x0303 }], - sub_euint16_euint16: [{ inputs: [0x0403, 0x0102], output: 0x0301 }], - mul_euint16_euint16: [{ inputs: [0x0200, 0x0002], output: 0x0400 }], - and_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: 0x0000 }, - { inputs: [0x0210, 0x0012], output: 0x0010 }, - ], - or_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: 0x0202 }, - { inputs: [0x0210, 0x0012], output: 0x0212 }, - ], - xor_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: 0x0202 }, - { inputs: [0x0210, 0x0012], output: 0x0202 }, - ], - eq_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: false }, - { inputs: [0x0200, 0x0200], output: true }, - ], - ne_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: true }, - { inputs: [0x0200, 0x0200], output: false }, - ], - ge_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: true }, - { inputs: [0x0200, 0x0200], output: true }, - { inputs: [0x0200, 0x0201], output: false }, - ], - gt_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: true }, - { inputs: [0x0200, 0x0200], output: false }, - { inputs: [0x0200, 0x0201], output: false }, - ], - le_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: false }, - { inputs: [0x0200, 0x0200], output: true }, - { inputs: [0x0200, 0x0201], output: true }, - ], - lt_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: false }, - { inputs: [0x0200, 0x0200], output: false }, - { inputs: [0x0200, 0x0201], output: true }, - ], - min_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: 0x02 }, - { inputs: [0x0200, 0x0200], output: 0x0200 }, - { inputs: [0x0200, 0x0201], output: 0x0200 }, - ], - max_euint16_euint16: [ - { inputs: [0x0200, 0x0002], output: 0x0200 }, - { inputs: [0x0200, 0x0200], output: 0x0200 }, - { inputs: [0x0200, 0x0201], output: 0x0201 }, - ], - add_euint16_euint32: [{ inputs: [0x0202, 0x00020002], output: 0x00020204 }], - sub_euint16_euint32: [ - { inputs: [0x0202, 0x00000002], output: 0x00000200 }, - { inputs: [0x0202, 0x00010000], output: 0xffff0202 }, - ], - mul_euint16_euint32: [{ inputs: [0x0200, 0x00010000], output: 0x02000000 }], - and_euint16_euint32: [ - { inputs: [0x0202, 0x00010000], output: 0x00000000 }, - { inputs: [0x0202, 0x00010002], output: 0x00000002 }, - ], - or_euint16_euint32: [ - { inputs: [0x0202, 0x00010000], output: 0x00010202 }, - { inputs: [0x0202, 0x00010002], output: 0x00010202 }, - ], - xor_euint16_euint32: [ - { inputs: [0x0202, 0x00010000], output: 0x00010202 }, - { inputs: [0x0202, 0x00010002], output: 0x00010200 }, - ], - eq_euint16_euint32: [ - { inputs: [0x0202, 0x00010202], output: false }, - { inputs: [0x0202, 0x00000202], output: true }, - ], - ne_euint16_euint32: [ - { inputs: [0x0202, 0x00010202], output: true }, - { inputs: [0x0202, 0x00000202], output: false }, - ], - ge_euint16_euint32: [ - { inputs: [0x0202, 0x00010202], output: false }, - { inputs: [0x0202, 0x00000202], output: true }, - { inputs: [0x0202, 0x00000201], output: true }, - ], - gt_euint16_euint32: [ - { inputs: [0x0202, 0x00010202], output: false }, - { inputs: [0x0202, 0x00000202], output: false }, - { inputs: [0x0202, 0x00000201], output: true }, - ], - le_euint16_euint32: [ - { inputs: [0x0202, 0x00010202], output: true }, - { inputs: [0x0202, 0x00000202], output: true }, - { inputs: [0x0202, 0x00000201], output: false }, - ], - lt_euint16_euint32: [ - { inputs: [0x0202, 0x00010202], output: true }, - { inputs: [0x0202, 0x00000202], output: false }, - { inputs: [0x0202, 0x00000201], output: false }, - ], - min_euint16_euint32: [ - { inputs: [0x0202, 0x00010202], output: 0x202 }, - { inputs: [0x0202, 0x00000202], output: 0x202 }, - { inputs: [0x0202, 0x00000201], output: 0x201 }, - ], - max_euint16_euint32: [ - { inputs: [0x0202, 0x00010202], output: 0x00010202 }, - { inputs: [0x0202, 0x00000202], output: 0x202 }, - { inputs: [0x0202, 0x00000201], output: 0x202 }, - ], - add_euint16_euint64: [{ inputs: [0x0202, 0x0000000000020002], output: 0x00020204 }], - sub_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000000002], output: 0x00000200 }, - { inputs: [0x0202, 0x0000000000010000], output: 18446744073709486594n }, - ], - mul_euint16_euint64: [{ inputs: [0x0200, 0x00010000], output: 0x02000000 }], - and_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010000], output: 0x00000000 }, - { inputs: [0x0202, 0x0000000000010002], output: 0x00000002 }, - ], - or_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010000], output: 0x00010202 }, - { inputs: [0x0202, 0x0000000000010002], output: 0x00010202 }, - ], - xor_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010000], output: 0x00010202 }, - { inputs: [0x0202, 0x0000000000010002], output: 0x00010200 }, - ], - eq_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010202], output: false }, - { inputs: [0x0202, 0x0000000000000202], output: true }, - ], - ne_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010202], output: true }, - { inputs: [0x0202, 0x0000000000000202], output: false }, - ], - ge_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010202], output: false }, - { inputs: [0x0202, 0x0000000000000202], output: true }, - { inputs: [0x0202, 0x0000000000000201], output: true }, - ], - gt_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010202], output: false }, - { inputs: [0x0202, 0x0000000000000202], output: false }, - { inputs: [0x0202, 0x0000000000000201], output: true }, - ], - le_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010202], output: true }, - { inputs: [0x0202, 0x0000000000000202], output: true }, - { inputs: [0x0202, 0x0000000000000201], output: false }, - ], - lt_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010202], output: true }, - { inputs: [0x0202, 0x0000000000000202], output: false }, - { inputs: [0x0202, 0x0000000000000201], output: false }, - ], - min_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010202], output: 0x202 }, - { inputs: [0x0202, 0x0000000000000202], output: 0x202 }, - { inputs: [0x0202, 0x0000000000000201], output: 0x201 }, - ], - max_euint16_euint64: [ - { inputs: [0x0202, 0x0000000000010202], output: 0x00010202 }, - { inputs: [0x0202, 0x0000000000000202], output: 0x202 }, - { inputs: [0x0202, 0x0000000000000201], output: 0x202 }, - ], - add_euint16_uint16: [{ inputs: [0x0202, 0x0222], output: 0x0424 }], - add_uint16_euint16: [{ inputs: [0x0202, 0x0222], output: 0x0424 }], - sub_euint16_uint16: [{ inputs: [0x0202, 0x0201], output: 0x0001 }], - sub_uint16_euint16: [{ inputs: [0x0202, 0x0201], output: 0x0001 }], - mul_euint16_uint16: [{ inputs: [0x0202, 0x0003], output: 0x0606 }], - mul_uint16_euint16: [{ inputs: [0x0202, 0x0003], output: 0x0606 }], - div_euint16_uint16: [{ inputs: [0x0606, 0x0003], output: 0x0202 }], - rem_euint16_uint16: [{ inputs: [0x0608, 0x0003], output: 0x0002 }], - eq_euint16_uint16: [ - { inputs: [0x0606, 0x0606], output: true }, - { inputs: [0x0606, 0x0605], output: false }, - ], - eq_uint16_euint16: [ - { inputs: [0x0606, 0x0606], output: true }, - { inputs: [0x0606, 0x0605], output: false }, - ], - ne_euint16_uint16: [ - { inputs: [0x0606, 0x0606], output: false }, - { inputs: [0x0606, 0x0605], output: true }, - ], - ne_uint16_euint16: [ - { inputs: [0x0606, 0x0606], output: false }, - { inputs: [0x0606, 0x0605], output: true }, - ], - ge_euint16_uint16: [ - { inputs: [0x0606, 0x0606], output: true }, - { inputs: [0x0606, 0x0605], output: true }, - { inputs: [0x0606, 0x0607], output: false }, - ], - ge_uint16_euint16: [ - { inputs: [0x0606, 0x0606], output: true }, - { inputs: [0x0606, 0x0605], output: true }, - { inputs: [0x0606, 0x0607], output: false }, - ], - gt_euint16_uint16: [ - { inputs: [0x0606, 0x0606], output: false }, - { inputs: [0x0606, 0x0605], output: true }, - { inputs: [0x0606, 0x0607], output: false }, - ], - gt_uint16_euint16: [ - { inputs: [0x0606, 0x0606], output: false }, - { inputs: [0x0606, 0x0605], output: true }, - { inputs: [0x0606, 0x0607], output: false }, - ], - le_euint16_uint16: [ - { inputs: [0x0606, 0x0606], output: true }, - { inputs: [0x0606, 0x0605], output: false }, - { inputs: [0x0606, 0x0607], output: true }, - ], - le_uint16_euint16: [ - { inputs: [0x0606, 0x0606], output: true }, - { inputs: [0x0606, 0x0605], output: false }, - { inputs: [0x0606, 0x0607], output: true }, - ], - lt_euint16_uint16: [ - { inputs: [0x0606, 0x0606], output: false }, - { inputs: [0x0606, 0x0605], output: false }, - { inputs: [0x0606, 0x0607], output: true }, - ], - lt_uint16_euint16: [ - { inputs: [0x0606, 0x0606], output: false }, - { inputs: [0x0606, 0x0605], output: false }, - { inputs: [0x0606, 0x0607], output: true }, - ], - min_euint16_uint16: [ - { inputs: [0x0606, 0x0606], output: 0x0606 }, - { inputs: [0x0606, 0x0605], output: 0x0605 }, - { inputs: [0x0606, 0x0607], output: 0x0606 }, - ], - min_uint16_euint16: [ - { inputs: [0x0606, 0x0606], output: 0x0606 }, - { inputs: [0x0606, 0x0605], output: 0x0605 }, - { inputs: [0x0606, 0x0607], output: 0x0606 }, - ], - max_euint16_uint16: [ - { inputs: [0x0606, 0x0606], output: 0x0606 }, - { inputs: [0x0606, 0x0605], output: 0x0606 }, - { inputs: [0x0606, 0x0607], output: 0x0607 }, - ], - max_uint16_euint16: [ - { inputs: [0x0606, 0x0606], output: 0x0606 }, - { inputs: [0x0606, 0x0605], output: 0x0606 }, - { inputs: [0x0606, 0x0607], output: 0x0607 }, - ], - add_euint32_euint8: [{ inputs: [0x03000000, 0x03], output: 0x03000003 }], - sub_euint32_euint8: [{ inputs: [0x03000000, 0x03], output: 0x2fffffd }], - mul_euint32_euint8: [{ inputs: [0x03000000, 0x03], output: 0x09000000 }], - and_euint32_euint8: [ - { inputs: [0x03010000, 0x03], output: 0x00000000 }, - { inputs: [0x03010003, 0x03], output: 0x00000003 }, - ], - or_euint32_euint8: [ - { inputs: [0x03010000, 0x03], output: 0x03010003 }, - { inputs: [0x03010003, 0x03], output: 0x03010003 }, - ], - xor_euint32_euint8: [ - { inputs: [0x03010000, 0x03], output: 0x03010003 }, - { inputs: [0x03010003, 0x03], output: 0x03010000 }, - ], - shl_euint32_euint8: [{ inputs: [0x03010000, 0x03], output: 0x18080000 }], - shl_euint32_uint8: [{ inputs: [0x03010000, 0x03], output: 0x18080000 }], - shr_euint32_euint8: [{ inputs: [0x03010000, 0x03], output: 0x00602000 }], - shr_euint32_uint8: [{ inputs: [0x03010000, 0x03], output: 0x00602000 }], - eq_euint32_euint8: [ - { inputs: [0x00000003, 0x03], output: true }, - { inputs: [0x03000003, 0x03], output: false }, - ], - ne_euint32_euint8: [ - { inputs: [0x00000003, 0x03], output: false }, - { inputs: [0x03000003, 0x03], output: true }, - ], - ge_euint32_euint8: [ - { inputs: [0x00000003, 0x03], output: true }, - { inputs: [0x03000003, 0x03], output: true }, - { inputs: [0x00000003, 0x04], output: false }, - ], - gt_euint32_euint8: [ - { inputs: [0x00000003, 0x03], output: false }, - { inputs: [0x03000003, 0x03], output: true }, - { inputs: [0x00000003, 0x04], output: false }, - ], - le_euint32_euint8: [ - { inputs: [0x00000003, 0x03], output: true }, - { inputs: [0x03000003, 0x03], output: false }, - { inputs: [0x00000003, 0x04], output: true }, - ], - lt_euint32_euint8: [ - { inputs: [0x00000003, 0x03], output: false }, - { inputs: [0x03000003, 0x03], output: false }, - { inputs: [0x00000003, 0x04], output: true }, - ], - min_euint32_euint8: [ - { inputs: [0x00000003, 0x03], output: 0x03 }, - { inputs: [0x03000003, 0x03], output: 0x03 }, - { inputs: [0x00000003, 0x04], output: 0x03 }, - ], - max_euint32_euint8: [ - { inputs: [0x00000003, 0x03], output: 0x03 }, - { inputs: [0x03000003, 0x03], output: 0x03000003 }, - { inputs: [0x00000003, 0x04], output: 0x04 }, - ], - add_euint32_euint16: [{ inputs: [0x03001023, 0x1003], output: 0x03002026 }], - sub_euint32_euint16: [{ inputs: [0x03001023, 0x1003], output: 0x03000020 }], - mul_euint32_euint16: [{ inputs: [0x03001023, 0x0003], output: 0x09003069 }], - and_euint32_euint16: [ - { inputs: [0x03001020, 0x0003], output: 0x00000000 }, - { inputs: [0x03001023, 0x1003], output: 0x00001003 }, - ], - or_euint32_euint16: [ - { inputs: [0x03000020, 0x1003], output: 0x03001023 }, - { inputs: [0x03000023, 0x1003], output: 0x03001023 }, - ], - xor_euint32_euint16: [{ inputs: [0x03000023, 0x1003], output: 0x03001020 }], - eq_euint32_euint16: [ - { inputs: [0x00001000, 0x1000], output: true }, - { inputs: [0x01001000, 0x1000], output: false }, - ], - ne_euint32_euint16: [ - { inputs: [0x00001000, 0x1000], output: false }, - { inputs: [0x01001000, 0x1000], output: true }, - ], - ge_euint32_euint16: [ - { inputs: [0x00001000, 0x1000], output: true }, - { inputs: [0x01001000, 0x1000], output: true }, - { inputs: [0x00001000, 0x1001], output: false }, - ], - gt_euint32_euint16: [ - { inputs: [0x00001000, 0x1000], output: false }, - { inputs: [0x01001000, 0x1000], output: true }, - { inputs: [0x00001000, 0x1001], output: false }, - ], - le_euint32_euint16: [ - { inputs: [0x00001000, 0x1000], output: true }, - { inputs: [0x01001000, 0x1000], output: false }, - { inputs: [0x00001000, 0x1001], output: true }, - ], - lt_euint32_euint16: [ - { inputs: [0x00001000, 0x1000], output: false }, - { inputs: [0x01001000, 0x1000], output: false }, - { inputs: [0x00001000, 0x1001], output: true }, - ], - min_euint32_euint16: [ - { inputs: [0x00001000, 0x1000], output: 0x1000 }, - { inputs: [0x01001000, 0x1000], output: 0x1000 }, - { inputs: [0x00001000, 0x1001], output: 0x1000 }, - ], - max_euint32_euint16: [ - { inputs: [0x00001000, 0x1000], output: 0x1000 }, - { inputs: [0x01001000, 0x1000], output: 0x01001000 }, - { inputs: [0x00001000, 0x1001], output: 0x1001 }, - ], - add_euint32_euint32: [{ inputs: [0x00321000, 0x00111000], output: 0x00432000 }], - sub_euint32_euint32: [{ inputs: [0x00321000, 0x00111000], output: 0x00210000 }], - mul_euint32_euint32: [{ inputs: [0x00321000, 0x00000020], output: 0x06420000 }], - and_euint32_euint32: [ - { inputs: [0x00321000, 0x54000000], output: 0x00000000 }, - { inputs: [0x00321000, 0x54030000], output: 0x00020000 }, - ], - or_euint32_euint32: [ - { inputs: [0x00321000, 0x54000000], output: 0x54321000 }, - { inputs: [0x00321000, 0x54030000], output: 0x54331000 }, - ], - xor_euint32_euint32: [ - { inputs: [0x00321000, 0x54000000], output: 0x54321000 }, - { inputs: [0x00321000, 0x54030000], output: 0x54311000 }, - ], - eq_euint32_euint32: [ - { inputs: [0x00321000, 0x00321000], output: true }, - { inputs: [0x00321000, 0x00321001], output: false }, - ], - ne_euint32_euint32: [ - { inputs: [0x00321000, 0x00321000], output: false }, - { inputs: [0x00321000, 0x00321001], output: true }, - ], - ge_euint32_euint32: [ - { inputs: [0x00321000, 0x00321000], output: true }, - { inputs: [0x00321000, 0x00321001], output: false }, - { inputs: [0x00321000, 0x00320fff], output: true }, - ], - gt_euint32_euint32: [ - { inputs: [0x00321000, 0x00321000], output: false }, - { inputs: [0x00321000, 0x00321001], output: false }, - { inputs: [0x00321000, 0x00320fff], output: true }, - ], - le_euint32_euint32: [ - { inputs: [0x00321000, 0x00321000], output: true }, - { inputs: [0x00321000, 0x00321001], output: true }, - { inputs: [0x00321000, 0x00320fff], output: false }, - ], - lt_euint32_euint32: [ - { inputs: [0x00321000, 0x00321000], output: false }, - { inputs: [0x00321000, 0x00321001], output: true }, - { inputs: [0x00321000, 0x00320fff], output: false }, - ], - min_euint32_euint32: [ - { inputs: [0x00321000, 0x00321000], output: 0x00321000 }, - { inputs: [0x00321000, 0x00321001], output: 0x00321000 }, - { inputs: [0x00321000, 0x00320fff], output: 0x00320fff }, - ], - max_euint32_euint32: [ - { inputs: [0x00321000, 0x00321000], output: 0x00321000 }, - { inputs: [0x00321000, 0x00321001], output: 0x00321001 }, - { inputs: [0x00321000, 0x00320fff], output: 0x00321000 }, - ], - add_euint32_uint32: [{ inputs: [0x00342000, 0x00321000], output: 0x00663000 }], - add_uint32_euint32: [{ inputs: [0x00342000, 0x00321000], output: 0x00663000 }], - sub_euint32_uint32: [{ inputs: [0x00342000, 0x00321000], output: 0x00021000 }], - sub_uint32_euint32: [{ inputs: [0x00342000, 0x00321000], output: 0x00021000 }], - mul_euint32_uint32: [{ inputs: [0x00342000, 0x00000100], output: 0x34200000 }], - mul_uint32_euint32: [{ inputs: [0x00342000, 0x00000100], output: 0x34200000 }], - div_euint32_uint32: [{ inputs: [0x00342000, 0x00000100], output: 0x00003420 }], - rem_euint32_uint32: [{ inputs: [0x00342039, 0x00000100], output: 0x00000039 }], - eq_euint32_uint32: [ - { inputs: [0x00342000, 0x00342000], output: true }, - { inputs: [0x00342000, 0x00342001], output: false }, - ], - eq_uint32_euint32: [ - { inputs: [0x00342000, 0x00342000], output: true }, - { inputs: [0x00342000, 0x00342001], output: false }, - ], - ne_euint32_uint32: [ - { inputs: [0x00342000, 0x00342000], output: false }, - { inputs: [0x00342000, 0x00342001], output: true }, - ], - ne_uint32_euint32: [ - { inputs: [0x00342000, 0x00342000], output: false }, - { inputs: [0x00342000, 0x00342001], output: true }, - ], - ge_euint32_uint32: [ - { inputs: [0x00342000, 0x00342000], output: true }, - { inputs: [0x00342000, 0x00342001], output: false }, - { inputs: [0x00342000, 0x00341fff], output: true }, - ], - ge_uint32_euint32: [ - { inputs: [0x00342000, 0x00342000], output: true }, - { inputs: [0x00342000, 0x00342001], output: false }, - { inputs: [0x00342000, 0x00341fff], output: true }, - ], - gt_euint32_uint32: [ - { inputs: [0x00342000, 0x00342000], output: false }, - { inputs: [0x00342000, 0x00342001], output: false }, - { inputs: [0x00342000, 0x00341fff], output: true }, - ], - gt_uint32_euint32: [ - { inputs: [0x00342000, 0x00342000], output: false }, - { inputs: [0x00342000, 0x00342001], output: false }, - { inputs: [0x00342000, 0x00341fff], output: true }, - ], - le_euint32_uint32: [ - { inputs: [0x00342000, 0x00342000], output: true }, - { inputs: [0x00342000, 0x00342001], output: true }, - { inputs: [0x00342000, 0x00341fff], output: false }, - ], - le_uint32_euint32: [ - { inputs: [0x00342000, 0x00342000], output: true }, - { inputs: [0x00342000, 0x00342001], output: true }, - { inputs: [0x00342000, 0x00341fff], output: false }, - ], - lt_euint32_uint32: [ - { inputs: [0x00342000, 0x00342000], output: false }, - { inputs: [0x00342000, 0x00342001], output: true }, - { inputs: [0x00342000, 0x00341fff], output: false }, - ], - lt_uint32_euint32: [ - { inputs: [0x00342000, 0x00342000], output: false }, - { inputs: [0x00342000, 0x00342001], output: true }, - { inputs: [0x00342000, 0x00341fff], output: false }, - ], - min_euint32_uint32: [ - { inputs: [0x00342000, 0x00342000], output: 0x00342000 }, - { inputs: [0x00342000, 0x00342001], output: 0x00342000 }, - { inputs: [0x00342000, 0x00341fff], output: 0x00341fff }, - ], - min_uint32_euint32: [ - { inputs: [0x00342000, 0x00342000], output: 0x00342000 }, - { inputs: [0x00342000, 0x00342001], output: 0x00342000 }, - { inputs: [0x00342000, 0x00341fff], output: 0x00341fff }, - ], - max_euint32_uint32: [ - { inputs: [0x00342000, 0x00342000], output: 0x00342000 }, - { inputs: [0x00342000, 0x00342001], output: 0x00342001 }, - { inputs: [0x00342000, 0x00341fff], output: 0x00342000 }, - ], - max_uint32_euint32: [ - { inputs: [0x00342000, 0x00342000], output: 0x00342000 }, - { inputs: [0x00342000, 0x00342001], output: 0x00342001 }, - { inputs: [0x00342000, 0x00341fff], output: 0x00342000 }, - ], - add_euint32_euint64: [{ inputs: [0x03001023, 0x0000000000001003], output: 0x03002026 }], - sub_euint32_euint64: [{ inputs: [0x03001023, 0x0000000000001003], output: 0x03000020 }], - mul_euint32_euint64: [{ inputs: [0x03001023, 0x0000000000000003], output: 0x09003069 }], - and_euint32_euint64: [ - { inputs: [0x03001020, 0x0000000000000003], output: 0x00000000 }, - { inputs: [0x03001023, 0x0000000000001003], output: 0x00001003 }, - ], - or_euint32_euint64: [ - { inputs: [0x03000020, 0x0000000000001003], output: 0x03001023 }, - { inputs: [0x03000023, 0x0000000000001003], output: 0x03001023 }, - ], - xor_euint32_euint64: [{ inputs: [0x03000023, 0x0000000000001003], output: 0x03001020 }], - eq_euint32_euint64: [ - { inputs: [0x00001000, 0x0000000000001000], output: true }, - { inputs: [0x01001000, 0x0000000000001000], output: false }, - ], - ne_euint32_euint64: [ - { inputs: [0x00001000, 0x0000000000001000], output: false }, - { inputs: [0x01001000, 0x0000000000001000], output: true }, - ], - ge_euint32_euint64: [ - { inputs: [0x00001000, 0x0000000000001000], output: true }, - { inputs: [0x01001000, 0x0000000000001000], output: true }, - { inputs: [0x00001000, 0x0000000000001001], output: false }, - ], - gt_euint32_euint64: [ - { inputs: [0x00001000, 0x0000000000001000], output: false }, - { inputs: [0x01001000, 0x0000000000001000], output: true }, - { inputs: [0x00001000, 0x0000000000001001], output: false }, - ], - le_euint32_euint64: [ - { inputs: [0x00001000, 0x0000000000001000], output: true }, - { inputs: [0x01001000, 0x0000000000001000], output: false }, - { inputs: [0x00001000, 0x0000000000001001], output: true }, - ], - lt_euint32_euint64: [ - { inputs: [0x00001000, 0x0000000000001000], output: false }, - { inputs: [0x01001000, 0x0000000000001000], output: false }, - { inputs: [0x00001000, 0x0000000000001001], output: true }, - ], - min_euint32_euint64: [ - { inputs: [0x00001000, 0x0000000000001000], output: 0x1000 }, - { inputs: [0x01001000, 0x0000000000001000], output: 0x1000 }, - { inputs: [0x00001000, 0x0000000000001001], output: 0x1000 }, - ], - max_euint32_euint64: [ - { inputs: [0x00001000, 0x0000000000001000], output: 0x1000 }, - { inputs: [0x01001000, 0x0000000000001000], output: 0x01001000 }, - { inputs: [0x00001000, 0x0000000000001001], output: 0x1001 }, - ], - add_euint64_euint8: [{ inputs: [0x000000000003000000, 0x03], output: 0x03000003 }], - sub_euint64_euint8: [{ inputs: [0x000000000003000000, 0x03], output: 0x2fffffd }], - mul_euint64_euint8: [{ inputs: [0x000000000003000000, 0x03], output: 0x09000000 }], - and_euint64_euint8: [ - { inputs: [0x000000000003010000, 0x03], output: 0x00000000 }, - { inputs: [0x000000000003010003, 0x03], output: 0x00000003 }, - ], - or_euint64_euint8: [ - { inputs: [0x000000000003010000, 0x03], output: 0x03010003 }, - { inputs: [0x000000000003010003, 0x03], output: 0x03010003 }, - ], - xor_euint64_euint8: [ - { inputs: [0x000000000003010000, 0x03], output: 0x03010003 }, - { inputs: [0x000000000003010003, 0x03], output: 0x03010000 }, - ], - shl_euint64_euint8: [{ inputs: [0x000000000003010000, 0x03], output: 0x18080000 }], - shl_euint64_uint8: [{ inputs: [0x000000000003010000, 0x03], output: 0x18080000 }], - shr_euint64_euint8: [{ inputs: [0x000000000003010000, 0x03], output: 0x00602000 }], - shr_euint64_uint8: [{ inputs: [0x000000000003010000, 0x03], output: 0x00602000 }], - eq_euint64_euint8: [ - { inputs: [0x000000000000000003, 0x03], output: true }, - { inputs: [0x000000000003000003, 0x03], output: false }, - ], - ne_euint64_euint8: [ - { inputs: [0x000000000000000003, 0x03], output: false }, - { inputs: [0x000000000003000003, 0x03], output: true }, - ], - ge_euint64_euint8: [ - { inputs: [0x000000000000000003, 0x03], output: true }, - { inputs: [0x000000000003000003, 0x03], output: true }, - { inputs: [0x000000000000000003, 0x04], output: false }, - ], - gt_euint64_euint8: [ - { inputs: [0x000000000000000003, 0x03], output: false }, - { inputs: [0x0000000003000003, 0x03], output: true }, - { inputs: [0x000000000000000003, 0x04], output: false }, - ], - le_euint64_euint8: [ - { inputs: [0x000000000000000003, 0x03], output: true }, - { inputs: [0x0000000003000003, 0x03], output: false }, - { inputs: [0x000000000000000003, 0x04], output: true }, - ], - lt_euint64_euint8: [ - { inputs: [0x000000000000000003, 0x03], output: false }, - { inputs: [0x0000000003000003, 0x03], output: false }, - { inputs: [0x000000000000000003, 0x04], output: true }, - ], - min_euint64_euint8: [ - { inputs: [0x0000000000000003, 0x03], output: 0x03 }, - { inputs: [0x0000000003000003, 0x03], output: 0x03 }, - { inputs: [0x0000000000000003, 0x04], output: 0x03 }, - ], - max_euint64_euint8: [ - { inputs: [0x0000000000000002, 0x03], output: 0x03 }, - { inputs: [0x0000000003000003, 0x03], output: 0x03000003 }, - { inputs: [0x0000000000000003, 0x04], output: 0x04 }, - ], - add_euint64_euint16: [{ inputs: [0x0000000003001023, 0x1003], output: 0x03002026 }], - sub_euint64_euint16: [{ inputs: [0x0000000003001023, 0x1003], output: 0x03000020 }], - mul_euint64_euint16: [{ inputs: [0x0000000003001023, 0x0003], output: 0x09003069 }], - and_euint64_euint16: [ - { inputs: [0x0000000003001020, 0x0003], output: 0x00000000 }, - { inputs: [0x0000000003001023, 0x1003], output: 0x00001003 }, - ], - or_euint64_euint16: [ - { inputs: [0x0000000003000020, 0x1003], output: 0x03001023 }, - { inputs: [0x0000000003000023, 0x1003], output: 0x03001023 }, - ], - xor_euint64_euint16: [{ inputs: [0x0000000003000023, 0x1003], output: 0x03001020 }], - eq_euint64_euint16: [ - { inputs: [0x0000000000001000, 0x1000], output: true }, - { inputs: [0x0000000001001000, 0x1000], output: false }, - ], - ne_euint64_euint16: [ - { inputs: [0x0000000000001000, 0x1000], output: false }, - { inputs: [0x0000000001001000, 0x1000], output: true }, - ], - ge_euint64_euint16: [ - { inputs: [0x0000000000001000, 0x1000], output: true }, - { inputs: [0x0000000001001000, 0x1000], output: true }, - { inputs: [0x0000000000001000, 0x1001], output: false }, - ], - gt_euint64_euint16: [ - { inputs: [0x0000000000001000, 0x1000], output: false }, - { inputs: [0x0000000001001000, 0x1000], output: true }, - { inputs: [0x0000000000001000, 0x1001], output: false }, - ], - le_euint64_euint16: [ - { inputs: [0x0000000000001000, 0x1000], output: true }, - { inputs: [0x0000000001001000, 0x1000], output: false }, - { inputs: [0x0000000000001000, 0x1001], output: true }, - ], - lt_euint64_euint16: [ - { inputs: [0x0000000000001000, 0x1000], output: false }, - { inputs: [0x0000000001001000, 0x1000], output: false }, - { inputs: [0x0000000000001000, 0x1001], output: true }, - ], - min_euint64_euint16: [ - { inputs: [0x0000000000001000, 0x1000], output: 0x1000 }, - { inputs: [0x0000000001001000, 0x1000], output: 0x1000 }, - { inputs: [0x0000000000001000, 0x1001], output: 0x1000 }, - ], - max_euint64_euint16: [ - { inputs: [0x0000000000001000, 0x1000], output: 0x1000 }, - { inputs: [0x0000000001001000, 0x1000], output: 0x01001000 }, - { inputs: [0x0000000000001000, 0x1001], output: 0x1001 }, - ], - add_euint64_euint32: [{ inputs: [0x0000000003001023, 0x1003], output: 0x03002026 }], - sub_euint64_euint32: [{ inputs: [0x0000000003001023, 0x1003], output: 0x03000020 }], - mul_euint64_euint32: [{ inputs: [0x0000000003001023, 0x0003], output: 0x09003069 }], - and_euint64_euint32: [ - { inputs: [0x0000000003001020, 0x0003], output: 0x00000000 }, - { inputs: [0x0000000003001023, 0x1003], output: 0x00001003 }, - ], - or_euint64_euint32: [ - { inputs: [0x0000000003000020, 0x1003], output: 0x03001023 }, - { inputs: [0x0000000003000023, 0x1003], output: 0x03001023 }, - ], - xor_euint64_euint32: [{ inputs: [0x0000000003000023, 0x1003], output: 0x03001020 }], - eq_euint64_euint32: [ - { inputs: [0x0000000000001000, 0x1000], output: true }, - { inputs: [0x0000000001001000, 0x1000], output: false }, - ], - ne_euint64_euint32: [ - { inputs: [0x0000000000001000, 0x1000], output: false }, - { inputs: [0x0000000001001000, 0x1000], output: true }, - ], - ge_euint64_euint32: [ - { inputs: [0x0000000000001000, 0x1000], output: true }, - { inputs: [0x0000000001001000, 0x1000], output: true }, - { inputs: [0x0000000000001000, 0x1001], output: false }, - ], - gt_euint64_euint32: [ - { inputs: [0x0000000000001000, 0x1000], output: false }, - { inputs: [0x0000000001001000, 0x1000], output: true }, - { inputs: [0x0000000000001000, 0x1001], output: false }, - ], - le_euint64_euint32: [ - { inputs: [0x0000000000001000, 0x1000], output: true }, - { inputs: [0x0000000001001000, 0x1000], output: false }, - { inputs: [0x0000000000001000, 0x1001], output: true }, - ], - lt_euint64_euint32: [ - { inputs: [0x0000000000001000, 0x1000], output: false }, - { inputs: [0x0000000001001000, 0x1000], output: false }, - { inputs: [0x0000000000001000, 0x1001], output: true }, - ], - min_euint64_euint32: [ - { inputs: [0x0000000000001000, 0x1000], output: 0x1000 }, - { inputs: [0x0000000001001000, 0x1000], output: 0x1000 }, - { inputs: [0x0000000000001000, 0x1001], output: 0x1000 }, - ], - max_euint64_euint32: [ - { inputs: [0x0000000000001000, 0x1000], output: 0x1000 }, - { inputs: [0x0000000001001000, 0x1000], output: 0x01001000 }, - { inputs: [0x0000000000001000, 0x1001], output: 0x1001 }, - ], - add_euint64_euint64: [{ inputs: [0x0000000000321000, 0x0000000000111000], output: 0x00432000 }], - sub_euint64_euint64: [{ inputs: [0x0000000000321000, 0x0000000000111000], output: 0x00210000 }], - mul_euint64_euint64: [{ inputs: [0x0000000000321000, 0x0000000000000020], output: 0x06420000 }], - and_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000054000000], output: 0x00000000 }, - { inputs: [0x0000000000321000, 0x0000000054030000], output: 0x00020000 }, - ], - or_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000054000000], output: 0x54321000 }, - { inputs: [0x0000000000321000, 0x0000000054030000], output: 0x54331000 }, - ], - xor_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000054000000], output: 0x54321000 }, - { inputs: [0x0000000000321000, 0x0000000054030000], output: 0x54311000 }, - ], - eq_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000000321000], output: true }, - { inputs: [0x0000000000321000, 0x0000000000321001], output: false }, - ], - ne_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000000321000], output: false }, - { inputs: [0x0000000000321000, 0x0000000000321001], output: true }, - ], - ge_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000000321000], output: true }, - { inputs: [0x0000000000321000, 0x0000000000321001], output: false }, - { inputs: [0x0000000000321000, 0x0000000000320fff], output: true }, - ], - gt_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000000321000], output: false }, - { inputs: [0x0000000000321000, 0x0000000000321001], output: false }, - { inputs: [0x0000000000321000, 0x0000000000320fff], output: true }, - ], - le_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000000321000], output: true }, - { inputs: [0x0000000000321000, 0x0000000000321001], output: true }, - { inputs: [0x0000000000321000, 0x0000000000320fff], output: false }, - ], - lt_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000000321000], output: false }, - { inputs: [0x0000000000321000, 0x0000000000321001], output: true }, - { inputs: [0x0000000000321000, 0x0000000000320fff], output: false }, - ], - min_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000000321000], output: 0x0000000000321000 }, - { inputs: [0x0000000000321000, 0x0000000000321001], output: 0x0000000000321000 }, - { inputs: [0x0000000000321000, 0x0000000000320fff], output: 0x0000000000320fff }, - ], - max_euint64_euint64: [ - { inputs: [0x0000000000321000, 0x0000000000321000], output: 0x0000000000321000 }, - { inputs: [0x0000000000321000, 0x0000000000321001], output: 0x0000000000321001 }, - { inputs: [0x0000000000321000, 0x0000000000320fff], output: 0x0000000000321000 }, - ], - add_euint64_uint64: [{ inputs: [0x0000000000342000, 0x0000000000321000], output: 0x0000000000663000 }], - add_uint64_euint64: [{ inputs: [0x0000000000342000, 0x0000000000321000], output: 0x0000000000663000 }], - sub_euint64_uint64: [{ inputs: [0x0000000000342000, 0x0000000000321000], output: 0x0000000000021000 }], - sub_uint64_euint64: [{ inputs: [0x0000000000342000, 0x0000000000321000], output: 0x0000000000021000 }], - mul_euint64_uint64: [{ inputs: [0x0000000000342000, 0x0000000000000100], output: 0x0000000034200000 }], - mul_uint64_euint64: [{ inputs: [0x0000000000342000, 0x0000000000000100], output: 0x0000000034200000 }], - div_euint64_uint64: [{ inputs: [0x0000000000342000, 0x0000000000000100], output: 0x0000000000003420 }], - rem_euint64_uint64: [{ inputs: [0x0000000000342039, 0x0000000000000100], output: 0x0000000000000039 }], - eq_euint64_uint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: true }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: false }, - ], - eq_uint64_euint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: true }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: false }, - ], - ne_euint64_uint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: false }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: true }, - ], - ne_uint64_euint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: false }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: true }, - ], - ge_euint64_uint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: true }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: false }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: true }, - ], - ge_uint64_euint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: true }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: false }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: true }, - ], - gt_euint64_uint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: false }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: false }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: true }, - ], - gt_uint64_euint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: false }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: false }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: true }, - ], - le_euint64_uint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: true }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: true }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: false }, - ], - le_uint64_euint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: true }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: true }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: false }, - ], - lt_euint64_uint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: false }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: true }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: false }, - ], - lt_uint64_euint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: false }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: true }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: false }, - ], - min_euint64_uint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: 0x0000000000342000 }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: 0x0000000000342000 }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: 0x0000000000341fff }, - ], - min_uint64_euint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: 0x0000000000342000 }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: 0x0000000000342000 }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: 0x0000000000341fff }, - ], - max_euint64_uint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: 0x0000000000342000 }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: 0x0000000000342001 }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: 0x0000000000342000 }, - ], - max_uint64_euint64: [ - { inputs: [0x0000000000342000, 0x0000000000342000], output: 0x0000000000342000 }, - { inputs: [0x0000000000342000, 0x0000000000342001], output: 0x0000000000342001 }, - { inputs: [0x0000000000342000, 0x0000000000341fff], output: 0x0000000000342000 }, - ], -}; +export const overloadTests: { [methodName: string]: OverloadTest[] } = overloads; diff --git a/codegen/overloads.json b/codegen/overloads.json new file mode 100644 index 00000000..8252cff1 --- /dev/null +++ b/codegen/overloads.json @@ -0,0 +1,2870 @@ +{ + "add_euint4_euint4": [ + { "inputs": [5, 3], "output": 8 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [4, 4], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_euint4_euint8": [ + { "inputs": [1, 7], "output": 8 }, + { "inputs": [3, 5], "output": 8 }, + { "inputs": [5, 5], "output": 10 }, + { "inputs": [5, 3], "output": 8 } + ], + "add_euint4_uint8": [ + { "inputs": [11, 1], "output": 12 }, + { "inputs": [3, 5], "output": 8 }, + { "inputs": [5, 5], "output": 10 }, + { "inputs": [5, 3], "output": 8 } + ], + "add_euint4_euint16": [ + { "inputs": [1, 14], "output": 15 }, + { "inputs": [3, 5], "output": 8 }, + { "inputs": [5, 5], "output": 10 }, + { "inputs": [5, 3], "output": 8 } + ], + "add_euint4_euint32": [ + { "inputs": [1, 10], "output": 11 }, + { "inputs": [3, 5], "output": 8 }, + { "inputs": [5, 5], "output": 10 }, + { "inputs": [5, 3], "output": 8 } + ], + "add_euint4_euint64": [ + { "inputs": [1, 7], "output": 8 }, + { "inputs": [3, 5], "output": 8 }, + { "inputs": [5, 5], "output": 10 }, + { "inputs": [5, 3], "output": 8 } + ], + "add_euint8_euint4": [ + { "inputs": [7, 1], "output": 8 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [4, 4], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_uint8_euint4": [ + { "inputs": [8, 4], "output": 12 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [4, 4], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_euint8_euint8": [ + { "inputs": [8, 73], "output": 81 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 16 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_euint8_uint8": [ + { "inputs": [8, 136], "output": 144 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 16 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_uint8_euint8": [ + { "inputs": [1, 136], "output": 137 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 16 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_euint8_euint16": [ + { "inputs": [1, 251], "output": 252 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 16 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_euint8_euint32": [ + { "inputs": [1, 207], "output": 208 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 16 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_euint8_euint64": [ + { "inputs": [1, 212], "output": 213 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 16 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_euint16_euint4": [ + { "inputs": [14, 1], "output": 15 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [4, 4], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_euint16_euint8": [ + { "inputs": [236, 1], "output": 237 }, + { "inputs": [99, 101], "output": 200 }, + { "inputs": [101, 101], "output": 202 }, + { "inputs": [101, 99], "output": 200 } + ], + "add_euint16_euint16": [ + { "inputs": [30233, 31275], "output": 61508 }, + { "inputs": [30229, 30233], "output": 60462 }, + { "inputs": [30233, 30233], "output": 60466 }, + { "inputs": [30233, 30229], "output": 60462 } + ], + "add_euint16_uint16": [ + { "inputs": [30233, 10584], "output": 40817 }, + { "inputs": [30229, 30233], "output": 60462 }, + { "inputs": [30233, 30233], "output": 60466 }, + { "inputs": [30233, 30229], "output": 60462 } + ], + "add_uint16_euint16": [ + { "inputs": [27830, 10584], "output": 38414 }, + { "inputs": [30229, 30233], "output": 60462 }, + { "inputs": [30233, 30233], "output": 60466 }, + { "inputs": [30233, 30229], "output": 60462 } + ], + "add_euint16_euint32": [ + { "inputs": [1, 40500], "output": 40501 }, + { "inputs": [27826, 27830], "output": 55656 }, + { "inputs": [27830, 27830], "output": 55660 }, + { "inputs": [27830, 27826], "output": 55656 } + ], + "add_euint16_euint64": [ + { "inputs": [1, 46642], "output": 46643 }, + { "inputs": [27826, 27830], "output": 55656 }, + { "inputs": [27830, 27830], "output": 55660 }, + { "inputs": [27830, 27826], "output": 55656 } + ], + "add_euint32_euint4": [ + { "inputs": [10, 1], "output": 11 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [4, 4], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_euint32_euint8": [ + { "inputs": [162, 1], "output": 163 }, + { "inputs": [115, 117], "output": 232 }, + { "inputs": [117, 117], "output": 234 }, + { "inputs": [117, 115], "output": 232 } + ], + "add_euint32_euint16": [ + { "inputs": [41642, 13], "output": 41655 }, + { "inputs": [28344, 28348], "output": 56692 }, + { "inputs": [28348, 28348], "output": 56696 }, + { "inputs": [28348, 28344], "output": 56692 } + ], + "add_euint32_euint32": [ + { "inputs": [85283614, 1389046047], "output": 1474329661 }, + { "inputs": [85283610, 85283614], "output": 170567224 }, + { "inputs": [85283614, 85283614], "output": 170567228 }, + { "inputs": [85283614, 85283610], "output": 170567224 } + ], + "add_euint32_uint32": [ + { "inputs": [85283614, 1598412404], "output": 1683696018 }, + { "inputs": [85283610, 85283614], "output": 170567224 }, + { "inputs": [85283614, 85283614], "output": 170567228 }, + { "inputs": [85283614, 85283610], "output": 170567224 } + ], + "add_uint32_euint32": [ + { "inputs": [343329587, 1598412404], "output": 1941741991 }, + { "inputs": [85283610, 85283614], "output": 170567224 }, + { "inputs": [85283614, 85283614], "output": 170567228 }, + { "inputs": [85283614, 85283610], "output": 170567224 } + ], + "add_euint32_euint64": [ + { "inputs": [343329587, 532996009], "output": 876325596 }, + { "inputs": [343329583, 343329587], "output": 686659170 }, + { "inputs": [343329587, 343329587], "output": 686659174 }, + { "inputs": [343329587, 343329583], "output": 686659170 } + ], + "add_euint64_euint4": [ + { "inputs": [11, 1], "output": 12 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [4, 4], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "add_euint64_euint8": [ + { "inputs": [181, 1], "output": 182 }, + { "inputs": [66, 68], "output": 134 }, + { "inputs": [68, 68], "output": 136 }, + { "inputs": [68, 66], "output": 134 } + ], + "add_euint64_euint16": [ + { "inputs": [46497, 1], "output": 46498 }, + { "inputs": [1781, 1785], "output": 3566 }, + { "inputs": [1785, 1785], "output": 3570 }, + { "inputs": [1785, 1781], "output": 3566 } + ], + "add_euint64_euint32": [ + { "inputs": [761810509, 2065807481], "output": 2827617990 }, + { "inputs": [761810505, 761810509], "output": 1523621014 }, + { "inputs": [761810509, 761810509], "output": 1523621018 }, + { "inputs": [761810509, 761810505], "output": 1523621014 } + ], + "add_euint64_euint64": [ + { "inputs": [761810509, 74167544], "output": 835978053 }, + { "inputs": [74167540, 74167544], "output": 148335084 }, + { "inputs": [74167544, 74167544], "output": 148335088 }, + { "inputs": [74167544, 74167540], "output": 148335084 } + ], + "add_euint64_uint64": [ + { "inputs": [761810509, 1968908307], "output": 2730718816 }, + { "inputs": [74167540, 74167544], "output": 148335084 }, + { "inputs": [74167544, 74167544], "output": 148335088 }, + { "inputs": [74167544, 74167540], "output": 148335084 } + ], + "add_uint64_euint64": [ + { "inputs": [1954867210, 1968908307], "output": 3923775517 }, + { "inputs": [74167540, 74167544], "output": 148335084 }, + { "inputs": [74167544, 74167544], "output": 148335088 }, + { "inputs": [74167544, 74167540], "output": 148335084 } + ], + "sub_euint4_euint4": [ + { "inputs": [9, 9], "output": 0 }, + { "inputs": [9, 5], "output": 4 } + ], + "sub_euint4_euint8": [ + { "inputs": [12, 12], "output": 0 }, + { "inputs": [12, 8], "output": 4 } + ], + "sub_euint4_uint8": [ + { "inputs": [12, 12], "output": 0 }, + { "inputs": [12, 8], "output": 4 } + ], + "sub_euint4_euint16": [ + { "inputs": [12, 12], "output": 0 }, + { "inputs": [12, 8], "output": 4 } + ], + "sub_euint4_euint32": [ + { "inputs": [12, 12], "output": 0 }, + { "inputs": [12, 8], "output": 4 } + ], + "sub_euint4_euint64": [ + { "inputs": [12, 12], "output": 0 }, + { "inputs": [12, 8], "output": 4 } + ], + "sub_euint8_euint4": [ + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } + ], + "sub_uint8_euint4": [ + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } + ], + "sub_euint8_euint8": [ + { "inputs": [14, 14], "output": 0 }, + { "inputs": [14, 10], "output": 4 } + ], + "sub_euint8_uint8": [ + { "inputs": [14, 14], "output": 0 }, + { "inputs": [14, 10], "output": 4 } + ], + "sub_uint8_euint8": [ + { "inputs": [14, 14], "output": 0 }, + { "inputs": [14, 10], "output": 4 } + ], + "sub_euint8_euint16": [ + { "inputs": [62, 62], "output": 0 }, + { "inputs": [62, 58], "output": 4 } + ], + "sub_euint8_euint32": [ + { "inputs": [62, 62], "output": 0 }, + { "inputs": [62, 58], "output": 4 } + ], + "sub_euint8_euint64": [ + { "inputs": [62, 62], "output": 0 }, + { "inputs": [62, 58], "output": 4 } + ], + "sub_euint16_euint4": [ + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } + ], + "sub_euint16_euint8": [ + { "inputs": [100, 100], "output": 0 }, + { "inputs": [100, 96], "output": 4 } + ], + "sub_euint16_euint16": [ + { "inputs": [7674, 7674], "output": 0 }, + { "inputs": [7674, 7670], "output": 4 } + ], + "sub_euint16_uint16": [ + { "inputs": [7674, 7674], "output": 0 }, + { "inputs": [7674, 7670], "output": 4 } + ], + "sub_uint16_euint16": [ + { "inputs": [7674, 7674], "output": 0 }, + { "inputs": [7674, 7670], "output": 4 } + ], + "sub_euint16_euint32": [ + { "inputs": [34964, 34964], "output": 0 }, + { "inputs": [34964, 34960], "output": 4 } + ], + "sub_euint16_euint64": [ + { "inputs": [34964, 34964], "output": 0 }, + { "inputs": [34964, 34960], "output": 4 } + ], + "sub_euint32_euint4": [ + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } + ], + "sub_euint32_euint8": [ + { "inputs": [239, 239], "output": 0 }, + { "inputs": [239, 235], "output": 4 } + ], + "sub_euint32_euint16": [ + { "inputs": [4191, 4191], "output": 0 }, + { "inputs": [4191, 4187], "output": 4 } + ], + "sub_euint32_euint32": [ + { "inputs": [949346704, 949346704], "output": 0 }, + { "inputs": [949346704, 949346700], "output": 4 } + ], + "sub_euint32_uint32": [ + { "inputs": [949346704, 949346704], "output": 0 }, + { "inputs": [949346704, 949346700], "output": 4 } + ], + "sub_uint32_euint32": [ + { "inputs": [949346704, 949346704], "output": 0 }, + { "inputs": [949346704, 949346700], "output": 4 } + ], + "sub_euint32_euint64": [ + { "inputs": [108582607, 108582607], "output": 0 }, + { "inputs": [108582607, 108582603], "output": 4 } + ], + "sub_euint64_euint4": [ + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } + ], + "sub_euint64_euint8": [ + { "inputs": [236, 236], "output": 0 }, + { "inputs": [236, 232], "output": 4 } + ], + "sub_euint64_euint16": [ + { "inputs": [42609, 42609], "output": 0 }, + { "inputs": [42609, 42605], "output": 4 } + ], + "sub_euint64_euint32": [ + { "inputs": [1679860005, 1679860005], "output": 0 }, + { "inputs": [1679860005, 1679860001], "output": 4 } + ], + "sub_euint64_euint64": [ + { "inputs": [1450674385, 1450674385], "output": 0 }, + { "inputs": [1450674385, 1450674381], "output": 4 } + ], + "sub_euint64_uint64": [ + { "inputs": [1450674385, 1450674385], "output": 0 }, + { "inputs": [1450674385, 1450674381], "output": 4 } + ], + "sub_uint64_euint64": [ + { "inputs": [1450674385, 1450674385], "output": 0 }, + { "inputs": [1450674385, 1450674381], "output": 4 } + ], + "mul_euint4_euint4": [ + { "inputs": [1, 4], "output": 4 }, + { "inputs": [2, 4], "output": 8 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [4, 2], "output": 8 } + ], + "mul_euint4_euint8": [ + { "inputs": [1, 8], "output": 8 }, + { "inputs": [2, 4], "output": 8 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [4, 2], "output": 8 } + ], + "mul_euint4_uint8": [ + { "inputs": [1, 7], "output": 7 }, + { "inputs": [2, 4], "output": 8 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [4, 2], "output": 8 } + ], + "mul_euint4_euint16": [ + { "inputs": [1, 8], "output": 8 }, + { "inputs": [2, 4], "output": 8 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [4, 2], "output": 8 } + ], + "mul_euint4_euint32": [ + { "inputs": [1, 15], "output": 15 }, + { "inputs": [2, 4], "output": 8 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [4, 2], "output": 8 } + ], + "mul_euint4_euint64": [ + { "inputs": [1, 10], "output": 10 }, + { "inputs": [2, 4], "output": 8 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [4, 2], "output": 8 } + ], + "mul_euint8_euint4": [ + { "inputs": [13, 1], "output": 13 }, + { "inputs": [2, 4], "output": 8 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [4, 2], "output": 8 } + ], + "mul_uint8_euint4": [ + { "inputs": [6, 2], "output": 12 }, + { "inputs": [2, 4], "output": 8 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [4, 2], "output": 8 } + ], + "mul_euint8_euint8": [ + { "inputs": [6, 19], "output": 114 }, + { "inputs": [8, 12], "output": 96 }, + { "inputs": [12, 12], "output": 144 }, + { "inputs": [12, 8], "output": 96 } + ], + "mul_euint8_uint8": [ + { "inputs": [3, 48], "output": 144 }, + { "inputs": [8, 12], "output": 96 }, + { "inputs": [12, 12], "output": 144 }, + { "inputs": [12, 8], "output": 96 } + ], + "mul_uint8_euint8": [ + { "inputs": [11, 12], "output": 132 }, + { "inputs": [8, 12], "output": 96 }, + { "inputs": [12, 12], "output": 144 }, + { "inputs": [12, 8], "output": 96 } + ], + "mul_euint8_euint16": [ + { "inputs": [2, 33], "output": 66 }, + { "inputs": [11, 11], "output": 121 }, + { "inputs": [11, 11], "output": 121 }, + { "inputs": [11, 11], "output": 121 } + ], + "mul_euint8_euint32": [ + { "inputs": [1, 174], "output": 174 }, + { "inputs": [11, 11], "output": 121 }, + { "inputs": [11, 11], "output": 121 }, + { "inputs": [11, 11], "output": 121 } + ], + "mul_euint8_euint64": [ + { "inputs": [1, 145], "output": 145 }, + { "inputs": [11, 11], "output": 121 }, + { "inputs": [11, 11], "output": 121 }, + { "inputs": [11, 11], "output": 121 } + ], + "mul_euint16_euint4": [ + { "inputs": [13, 1], "output": 13 }, + { "inputs": [2, 3], "output": 6 }, + { "inputs": [3, 3], "output": 9 }, + { "inputs": [3, 2], "output": 6 } + ], + "mul_euint16_euint8": [ + { "inputs": [221, 1], "output": 221 }, + { "inputs": [12, 13], "output": 156 }, + { "inputs": [13, 13], "output": 169 }, + { "inputs": [13, 12], "output": 156 } + ], + "mul_euint16_euint16": [ + { "inputs": [221, 180], "output": 39780 }, + { "inputs": [180, 180], "output": 32400 }, + { "inputs": [180, 180], "output": 32400 }, + { "inputs": [180, 180], "output": 32400 } + ], + "mul_euint16_uint16": [ + { "inputs": [442, 133], "output": 58786 }, + { "inputs": [180, 180], "output": 32400 }, + { "inputs": [180, 180], "output": 32400 }, + { "inputs": [180, 180], "output": 32400 } + ], + "mul_uint16_euint16": [ + { "inputs": [288, 133], "output": 38304 }, + { "inputs": [180, 180], "output": 32400 }, + { "inputs": [180, 180], "output": 32400 }, + { "inputs": [180, 180], "output": 32400 } + ], + "mul_euint16_euint32": [ + { "inputs": [1, 39192], "output": 39192 }, + { "inputs": [144, 144], "output": 20736 }, + { "inputs": [144, 144], "output": 20736 }, + { "inputs": [144, 144], "output": 20736 } + ], + "mul_euint16_euint64": [ + { "inputs": [1, 22059], "output": 22059 }, + { "inputs": [144, 144], "output": 20736 }, + { "inputs": [144, 144], "output": 20736 }, + { "inputs": [144, 144], "output": 20736 } + ], + "mul_euint32_euint4": [ + { "inputs": [13, 1], "output": 13 }, + { "inputs": [2, 3], "output": 6 }, + { "inputs": [3, 3], "output": 9 }, + { "inputs": [3, 2], "output": 6 } + ], + "mul_euint32_euint8": [ + { "inputs": [222, 1], "output": 222 }, + { "inputs": [10, 14], "output": 140 }, + { "inputs": [14, 14], "output": 196 }, + { "inputs": [14, 10], "output": 140 } + ], + "mul_euint32_euint16": [ + { "inputs": [56978, 1], "output": 56978 }, + { "inputs": [159, 159], "output": 25281 }, + { "inputs": [159, 159], "output": 25281 }, + { "inputs": [159, 159], "output": 25281 } + ], + "mul_euint32_euint32": [ + { "inputs": [28489, 38748], "output": 1103891772 }, + { "inputs": [56978, 56978], "output": 3246492484 }, + { "inputs": [56978, 56978], "output": 3246492484 }, + { "inputs": [56978, 56978], "output": 3246492484 } + ], + "mul_euint32_uint32": [ + { "inputs": [28489, 51753], "output": 1474391217 }, + { "inputs": [56978, 56978], "output": 3246492484 }, + { "inputs": [56978, 56978], "output": 3246492484 }, + { "inputs": [56978, 56978], "output": 3246492484 } + ], + "mul_uint32_euint32": [ + { "inputs": [72675, 51753], "output": 3761149275 }, + { "inputs": [56978, 56978], "output": 3246492484 }, + { "inputs": [56978, 56978], "output": 3246492484 }, + { "inputs": [56978, 56978], "output": 3246492484 } + ], + "mul_euint32_euint64": [ + { "inputs": [145351, 9637], "output": 1400747587 }, + { "inputs": [38548, 38548], "output": 1485948304 }, + { "inputs": [38548, 38548], "output": 1485948304 }, + { "inputs": [38548, 38548], "output": 1485948304 } + ], + "mul_euint64_euint4": [ + { "inputs": [8, 1], "output": 8 }, + { "inputs": [2, 4], "output": 8 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [4, 2], "output": 8 } + ], + "mul_euint64_euint8": [ + { "inputs": [132, 1], "output": 132 }, + { "inputs": [14, 15], "output": 210 }, + { "inputs": [15, 15], "output": 225 }, + { "inputs": [15, 14], "output": 210 } + ], + "mul_euint64_euint16": [ + { "inputs": [16971, 3], "output": 50913 }, + { "inputs": [227, 227], "output": 51529 }, + { "inputs": [227, 227], "output": 51529 }, + { "inputs": [227, 227], "output": 51529 } + ], + "mul_euint64_euint32": [ + { "inputs": [33943, 59095], "output": 2005861585 }, + { "inputs": [33943, 33943], "output": 1152127249 }, + { "inputs": [33943, 33943], "output": 1152127249 }, + { "inputs": [33943, 33943], "output": 1152127249 } + ], + "mul_euint64_euint64": [ + { "inputs": [278067877, 1869129475], "output": 519744864951374600 }, + { "inputs": [278067873, 278067877], "output": 77321743107015620 }, + { "inputs": [278067877, 278067877], "output": 77321744219287140 }, + { "inputs": [278067877, 278067873], "output": 77321743107015620 } + ], + "mul_euint64_uint64": [ + { "inputs": [278067877, 45641442], "output": 12691418880158634 }, + { "inputs": [278067873, 278067877], "output": 77321743107015620 }, + { "inputs": [278067877, 278067877], "output": 77321744219287140 }, + { "inputs": [278067877, 278067873], "output": 77321743107015620 } + ], + "mul_uint64_euint64": [ + { "inputs": [1066035620, 45641442], "output": 48655402920164040 }, + { "inputs": [278067873, 278067877], "output": 77321743107015620 }, + { "inputs": [278067877, 278067877], "output": 77321744219287140 }, + { "inputs": [278067877, 278067873], "output": 77321743107015620 } + ], + "div_euint4_uint8": [ + { "inputs": [2, 8], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 1 }, + { "inputs": [8, 4], "output": 2 } + ], + "div_euint8_uint8": [ + { "inputs": [209, 108], "output": 1 }, + { "inputs": [112, 116], "output": 0 }, + { "inputs": [116, 116], "output": 1 }, + { "inputs": [116, 112], "output": 1 } + ], + "div_euint16_uint16": [ + { "inputs": [30116, 13141], "output": 2 }, + { "inputs": [8385, 8389], "output": 0 }, + { "inputs": [8389, 8389], "output": 1 }, + { "inputs": [8389, 8385], "output": 1 } + ], + "div_euint32_uint32": [ + { "inputs": [836400951, 1557627728], "output": 0 }, + { "inputs": [392005478, 392005482], "output": 0 }, + { "inputs": [392005482, 392005482], "output": 1 }, + { "inputs": [392005482, 392005478], "output": 1 } + ], + "div_euint64_uint64": [ + { "inputs": [1965907341, 1364383301], "output": 1 }, + { "inputs": [16210309, 16210313], "output": 0 }, + { "inputs": [16210313, 16210313], "output": 1 }, + { "inputs": [16210313, 16210309], "output": 1 } + ], + "rem_euint4_uint8": [ + { "inputs": [12, 1], "output": 0 }, + { "inputs": [8, 12], "output": 8 }, + { "inputs": [12, 12], "output": 0 }, + { "inputs": [12, 8], "output": 4 } + ], + "rem_euint8_uint8": [ + { "inputs": [242, 190], "output": 52 }, + { "inputs": [177, 181], "output": 177 }, + { "inputs": [181, 181], "output": 0 }, + { "inputs": [181, 177], "output": 4 } + ], + "rem_euint16_uint16": [ + { "inputs": [50030, 38531], "output": 11499 }, + { "inputs": [13739, 13743], "output": 13739 }, + { "inputs": [13743, 13743], "output": 0 }, + { "inputs": [13743, 13739], "output": 4 } + ], + "rem_euint32_uint32": [ + { "inputs": [1083212025, 1390178884], "output": 1083212025 }, + { "inputs": [1083212021, 1083212025], "output": 1083212021 }, + { "inputs": [1083212025, 1083212025], "output": 0 }, + { "inputs": [1083212025, 1083212021], "output": 4 } + ], + "rem_euint64_uint64": [ + { "inputs": [1066501377, 1975528768], "output": 1066501377 }, + { "inputs": [1066501373, 1066501377], "output": 1066501373 }, + { "inputs": [1066501377, 1066501377], "output": 0 }, + { "inputs": [1066501377, 1066501373], "output": 4 } + ], + "le_euint4_euint4": [ + { "inputs": [6, 9], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "le_euint4_euint8": [ + { "inputs": [6, 104], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "le_euint4_uint8": [ + { "inputs": [6, 1], "output": false }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "le_euint4_euint16": [ + { "inputs": [6, 39475], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "le_euint4_euint32": [ + { "inputs": [6, 204501643], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "le_euint4_euint64": [ + { "inputs": [6, 102260366], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "le_euint8_euint4": [ + { "inputs": [85, 9], "output": false }, + { "inputs": [5, 9], "output": true }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": false } + ], + "le_uint8_euint4": [ + { "inputs": [9, 9], "output": true }, + { "inputs": [5, 9], "output": true }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": false } + ], + "le_euint8_euint8": [ + { "inputs": [9, 136], "output": true }, + { "inputs": [5, 9], "output": true }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": false } + ], + "le_euint8_uint8": [ + { "inputs": [9, 180], "output": true }, + { "inputs": [5, 9], "output": true }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": false } + ], + "le_uint8_euint8": [ + { "inputs": [52, 180], "output": true }, + { "inputs": [5, 9], "output": true }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": false } + ], + "le_euint8_euint16": [ + { "inputs": [52, 17587], "output": true }, + { "inputs": [48, 52], "output": true }, + { "inputs": [52, 52], "output": true }, + { "inputs": [52, 48], "output": false } + ], + "le_euint8_euint32": [ + { "inputs": [52, 1808707750], "output": true }, + { "inputs": [48, 52], "output": true }, + { "inputs": [52, 52], "output": true }, + { "inputs": [52, 48], "output": false } + ], + "le_euint8_euint64": [ + { "inputs": [52, 1397250357], "output": true }, + { "inputs": [48, 52], "output": true }, + { "inputs": [52, 52], "output": true }, + { "inputs": [52, 48], "output": false } + ], + "le_euint16_euint4": [ + { "inputs": [5574, 6], "output": false }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "le_euint16_euint8": [ + { "inputs": [5574, 242], "output": false }, + { "inputs": [238, 242], "output": true }, + { "inputs": [242, 242], "output": true }, + { "inputs": [242, 238], "output": false } + ], + "le_euint16_euint16": [ + { "inputs": [5574, 28657], "output": true }, + { "inputs": [5570, 5574], "output": true }, + { "inputs": [5574, 5574], "output": true }, + { "inputs": [5574, 5570], "output": false } + ], + "le_euint16_uint16": [ + { "inputs": [5574, 3979], "output": false }, + { "inputs": [5570, 5574], "output": true }, + { "inputs": [5574, 5574], "output": true }, + { "inputs": [5574, 5570], "output": false } + ], + "le_uint16_euint16": [ + { "inputs": [63255, 3979], "output": false }, + { "inputs": [5570, 5574], "output": true }, + { "inputs": [5574, 5574], "output": true }, + { "inputs": [5574, 5570], "output": false } + ], + "le_euint16_euint32": [ + { "inputs": [63255, 340383439], "output": true }, + { "inputs": [63251, 63255], "output": true }, + { "inputs": [63255, 63255], "output": true }, + { "inputs": [63255, 63251], "output": false } + ], + "le_euint16_euint64": [ + { "inputs": [63255, 1184396370], "output": true }, + { "inputs": [63251, 63255], "output": true }, + { "inputs": [63255, 63255], "output": true }, + { "inputs": [63255, 63251], "output": false } + ], + "le_euint32_euint4": [ + { "inputs": [523722139, 11], "output": false }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } + ], + "le_euint32_euint8": [ + { "inputs": [523722139, 41], "output": false }, + { "inputs": [37, 41], "output": true }, + { "inputs": [41, 41], "output": true }, + { "inputs": [41, 37], "output": false } + ], + "le_euint32_euint16": [ + { "inputs": [523722139, 51250], "output": false }, + { "inputs": [51246, 51250], "output": true }, + { "inputs": [51250, 51250], "output": true }, + { "inputs": [51250, 51246], "output": false } + ], + "le_euint32_euint32": [ + { "inputs": [523722139, 878801545], "output": true }, + { "inputs": [523722135, 523722139], "output": true }, + { "inputs": [523722139, 523722139], "output": true }, + { "inputs": [523722139, 523722135], "output": false } + ], + "le_euint32_uint32": [ + { "inputs": [523722139, 1994886988], "output": true }, + { "inputs": [523722135, 523722139], "output": true }, + { "inputs": [523722139, 523722139], "output": true }, + { "inputs": [523722139, 523722135], "output": false } + ], + "le_uint32_euint32": [ + { "inputs": [1167528973, 1994886988], "output": true }, + { "inputs": [523722135, 523722139], "output": true }, + { "inputs": [523722139, 523722139], "output": true }, + { "inputs": [523722139, 523722135], "output": false } + ], + "le_euint32_euint64": [ + { "inputs": [1167528973, 1661227936], "output": true }, + { "inputs": [1167528969, 1167528973], "output": true }, + { "inputs": [1167528973, 1167528973], "output": true }, + { "inputs": [1167528973, 1167528969], "output": false } + ], + "le_euint64_euint4": [ + { "inputs": [2018662588, 9], "output": false }, + { "inputs": [5, 9], "output": true }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": false } + ], + "le_euint64_euint8": [ + { "inputs": [2018662588, 245], "output": false }, + { "inputs": [241, 245], "output": true }, + { "inputs": [245, 245], "output": true }, + { "inputs": [245, 241], "output": false } + ], + "le_euint64_euint16": [ + { "inputs": [2018662588, 22989], "output": false }, + { "inputs": [22985, 22989], "output": true }, + { "inputs": [22989, 22989], "output": true }, + { "inputs": [22989, 22985], "output": false } + ], + "le_euint64_euint32": [ + { "inputs": [2018662588, 812190927], "output": false }, + { "inputs": [812190923, 812190927], "output": true }, + { "inputs": [812190927, 812190927], "output": true }, + { "inputs": [812190927, 812190923], "output": false } + ], + "le_euint64_euint64": [ + { "inputs": [2018662588, 1848670692], "output": false }, + { "inputs": [1848670688, 1848670692], "output": true }, + { "inputs": [1848670692, 1848670692], "output": true }, + { "inputs": [1848670692, 1848670688], "output": false } + ], + "le_euint64_uint64": [ + { "inputs": [2018662588, 32215999], "output": false }, + { "inputs": [1848670688, 1848670692], "output": true }, + { "inputs": [1848670692, 1848670692], "output": true }, + { "inputs": [1848670692, 1848670688], "output": false } + ], + "le_uint64_euint64": [ + { "inputs": [119652561, 32215999], "output": false }, + { "inputs": [1848670688, 1848670692], "output": true }, + { "inputs": [1848670692, 1848670692], "output": true }, + { "inputs": [1848670692, 1848670688], "output": false } + ], + "lt_euint4_euint4": [ + { "inputs": [4, 6], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_euint4_euint8": [ + { "inputs": [4, 236], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_euint4_uint8": [ + { "inputs": [4, 1], "output": false }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_euint4_euint16": [ + { "inputs": [4, 31822], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_euint4_euint32": [ + { "inputs": [4, 329229639], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_euint4_euint64": [ + { "inputs": [4, 1152793041], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_euint8_euint4": [ + { "inputs": [50, 8], "output": false }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_uint8_euint4": [ + { "inputs": [3, 8], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_euint8_euint8": [ + { "inputs": [3, 82], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_euint8_uint8": [ + { "inputs": [3, 223], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_uint8_euint8": [ + { "inputs": [148, 223], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } + ], + "lt_euint8_euint16": [ + { "inputs": [148, 35784], "output": true }, + { "inputs": [144, 148], "output": true }, + { "inputs": [148, 148], "output": false }, + { "inputs": [148, 144], "output": false } + ], + "lt_euint8_euint32": [ + { "inputs": [148, 1735514833], "output": true }, + { "inputs": [144, 148], "output": true }, + { "inputs": [148, 148], "output": false }, + { "inputs": [148, 144], "output": false } + ], + "lt_euint8_euint64": [ + { "inputs": [148, 1575025918], "output": true }, + { "inputs": [144, 148], "output": true }, + { "inputs": [148, 148], "output": false }, + { "inputs": [148, 144], "output": false } + ], + "lt_euint16_euint4": [ + { "inputs": [64394, 14], "output": false }, + { "inputs": [10, 14], "output": true }, + { "inputs": [14, 14], "output": false }, + { "inputs": [14, 10], "output": false } + ], + "lt_euint16_euint8": [ + { "inputs": [64394, 92], "output": false }, + { "inputs": [88, 92], "output": true }, + { "inputs": [92, 92], "output": false }, + { "inputs": [92, 88], "output": false } + ], + "lt_euint16_euint16": [ + { "inputs": [64394, 46201], "output": false }, + { "inputs": [46197, 46201], "output": true }, + { "inputs": [46201, 46201], "output": false }, + { "inputs": [46201, 46197], "output": false } + ], + "lt_euint16_uint16": [ + { "inputs": [64394, 5464], "output": false }, + { "inputs": [46197, 46201], "output": true }, + { "inputs": [46201, 46201], "output": false }, + { "inputs": [46201, 46197], "output": false } + ], + "lt_uint16_euint16": [ + { "inputs": [50578, 5464], "output": false }, + { "inputs": [46197, 46201], "output": true }, + { "inputs": [46201, 46201], "output": false }, + { "inputs": [46201, 46197], "output": false } + ], + "lt_euint16_euint32": [ + { "inputs": [50578, 1677650454], "output": true }, + { "inputs": [50574, 50578], "output": true }, + { "inputs": [50578, 50578], "output": false }, + { "inputs": [50578, 50574], "output": false } + ], + "lt_euint16_euint64": [ + { "inputs": [50578, 1995209966], "output": true }, + { "inputs": [50574, 50578], "output": true }, + { "inputs": [50578, 50578], "output": false }, + { "inputs": [50578, 50574], "output": false } + ], + "lt_euint32_euint4": [ + { "inputs": [1044281941, 14], "output": false }, + { "inputs": [10, 14], "output": true }, + { "inputs": [14, 14], "output": false }, + { "inputs": [14, 10], "output": false } + ], + "lt_euint32_euint8": [ + { "inputs": [1044281941, 77], "output": false }, + { "inputs": [73, 77], "output": true }, + { "inputs": [77, 77], "output": false }, + { "inputs": [77, 73], "output": false } + ], + "lt_euint32_euint16": [ + { "inputs": [1044281941, 44435], "output": false }, + { "inputs": [44431, 44435], "output": true }, + { "inputs": [44435, 44435], "output": false }, + { "inputs": [44435, 44431], "output": false } + ], + "lt_euint32_euint32": [ + { "inputs": [1044281941, 27475171], "output": false }, + { "inputs": [27475167, 27475171], "output": true }, + { "inputs": [27475171, 27475171], "output": false }, + { "inputs": [27475171, 27475167], "output": false } + ], + "lt_euint32_uint32": [ + { "inputs": [1044281941, 1474237696], "output": true }, + { "inputs": [27475167, 27475171], "output": true }, + { "inputs": [27475171, 27475171], "output": false }, + { "inputs": [27475171, 27475167], "output": false } + ], + "lt_uint32_euint32": [ + { "inputs": [1829077110, 1474237696], "output": false }, + { "inputs": [27475167, 27475171], "output": true }, + { "inputs": [27475171, 27475171], "output": false }, + { "inputs": [27475171, 27475167], "output": false } + ], + "lt_euint32_euint64": [ + { "inputs": [1829077110, 871332370], "output": false }, + { "inputs": [871332366, 871332370], "output": true }, + { "inputs": [871332370, 871332370], "output": false }, + { "inputs": [871332370, 871332366], "output": false } + ], + "lt_euint64_euint4": [ + { "inputs": [102600113, 13], "output": false }, + { "inputs": [9, 13], "output": true }, + { "inputs": [13, 13], "output": false }, + { "inputs": [13, 9], "output": false } + ], + "lt_euint64_euint8": [ + { "inputs": [102600113, 117], "output": false }, + { "inputs": [113, 117], "output": true }, + { "inputs": [117, 117], "output": false }, + { "inputs": [117, 113], "output": false } + ], + "lt_euint64_euint16": [ + { "inputs": [102600113, 19620], "output": false }, + { "inputs": [19616, 19620], "output": true }, + { "inputs": [19620, 19620], "output": false }, + { "inputs": [19620, 19616], "output": false } + ], + "lt_euint64_euint32": [ + { "inputs": [102600113, 1018674751], "output": true }, + { "inputs": [102600109, 102600113], "output": true }, + { "inputs": [102600113, 102600113], "output": false }, + { "inputs": [102600113, 102600109], "output": false } + ], + "lt_euint64_euint64": [ + { "inputs": [102600113, 1772405733], "output": true }, + { "inputs": [102600109, 102600113], "output": true }, + { "inputs": [102600113, 102600113], "output": false }, + { "inputs": [102600113, 102600109], "output": false } + ], + "lt_euint64_uint64": [ + { "inputs": [102600113, 1945807436], "output": true }, + { "inputs": [102600109, 102600113], "output": true }, + { "inputs": [102600113, 102600113], "output": false }, + { "inputs": [102600113, 102600109], "output": false } + ], + "lt_uint64_euint64": [ + { "inputs": [1582166407, 1945807436], "output": true }, + { "inputs": [102600109, 102600113], "output": true }, + { "inputs": [102600113, 102600113], "output": false }, + { "inputs": [102600113, 102600109], "output": false } + ], + "ge_euint4_euint4": [ + { "inputs": [7, 14], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint4_euint8": [ + { "inputs": [7, 148], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint4_uint8": [ + { "inputs": [7, 6], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint4_euint16": [ + { "inputs": [7, 22312], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint4_euint32": [ + { "inputs": [7, 2084141274], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint4_euint64": [ + { "inputs": [7, 1017706709], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint8_euint4": [ + { "inputs": [182, 3], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_uint8_euint4": [ + { "inputs": [8, 3], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint8_euint8": [ + { "inputs": [8, 253], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint8_uint8": [ + { "inputs": [8, 73], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_uint8_euint8": [ + { "inputs": [97, 73], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint8_euint16": [ + { "inputs": [97, 54950], "output": false }, + { "inputs": [93, 97], "output": false }, + { "inputs": [97, 97], "output": true }, + { "inputs": [97, 93], "output": true } + ], + "ge_euint8_euint32": [ + { "inputs": [97, 1858963305], "output": false }, + { "inputs": [93, 97], "output": false }, + { "inputs": [97, 97], "output": true }, + { "inputs": [97, 93], "output": true } + ], + "ge_euint8_euint64": [ + { "inputs": [97, 24079369], "output": false }, + { "inputs": [93, 97], "output": false }, + { "inputs": [97, 97], "output": true }, + { "inputs": [97, 93], "output": true } + ], + "ge_euint16_euint4": [ + { "inputs": [44342, 8], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint16_euint8": [ + { "inputs": [44342, 190], "output": true }, + { "inputs": [186, 190], "output": false }, + { "inputs": [190, 190], "output": true }, + { "inputs": [190, 186], "output": true } + ], + "ge_euint16_euint16": [ + { "inputs": [44342, 57666], "output": false }, + { "inputs": [44338, 44342], "output": false }, + { "inputs": [44342, 44342], "output": true }, + { "inputs": [44342, 44338], "output": true } + ], + "ge_euint16_uint16": [ + { "inputs": [44342, 6260], "output": true }, + { "inputs": [44338, 44342], "output": false }, + { "inputs": [44342, 44342], "output": true }, + { "inputs": [44342, 44338], "output": true } + ], + "ge_uint16_euint16": [ + { "inputs": [64532, 6260], "output": true }, + { "inputs": [44338, 44342], "output": false }, + { "inputs": [44342, 44342], "output": true }, + { "inputs": [44342, 44338], "output": true } + ], + "ge_euint16_euint32": [ + { "inputs": [64532, 892657805], "output": false }, + { "inputs": [64528, 64532], "output": false }, + { "inputs": [64532, 64532], "output": true }, + { "inputs": [64532, 64528], "output": true } + ], + "ge_euint16_euint64": [ + { "inputs": [64532, 1819047757], "output": false }, + { "inputs": [64528, 64532], "output": false }, + { "inputs": [64532, 64532], "output": true }, + { "inputs": [64532, 64528], "output": true } + ], + "ge_euint32_euint4": [ + { "inputs": [627970552, 13], "output": true }, + { "inputs": [9, 13], "output": false }, + { "inputs": [13, 13], "output": true }, + { "inputs": [13, 9], "output": true } + ], + "ge_euint32_euint8": [ + { "inputs": [627970552, 5], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint32_euint16": [ + { "inputs": [627970552, 58999], "output": true }, + { "inputs": [58995, 58999], "output": false }, + { "inputs": [58999, 58999], "output": true }, + { "inputs": [58999, 58995], "output": true } + ], + "ge_euint32_euint32": [ + { "inputs": [627970552, 2136326684], "output": false }, + { "inputs": [627970548, 627970552], "output": false }, + { "inputs": [627970552, 627970552], "output": true }, + { "inputs": [627970552, 627970548], "output": true } + ], + "ge_euint32_uint32": [ + { "inputs": [627970552, 1986041075], "output": false }, + { "inputs": [627970548, 627970552], "output": false }, + { "inputs": [627970552, 627970552], "output": true }, + { "inputs": [627970552, 627970548], "output": true } + ], + "ge_uint32_euint32": [ + { "inputs": [1972025848, 1986041075], "output": false }, + { "inputs": [627970548, 627970552], "output": false }, + { "inputs": [627970552, 627970552], "output": true }, + { "inputs": [627970552, 627970548], "output": true } + ], + "ge_euint32_euint64": [ + { "inputs": [1972025848, 1698971084], "output": true }, + { "inputs": [1698971080, 1698971084], "output": false }, + { "inputs": [1698971084, 1698971084], "output": true }, + { "inputs": [1698971084, 1698971080], "output": true } + ], + "ge_euint64_euint4": [ + { "inputs": [1885602752, 6], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } + ], + "ge_euint64_euint8": [ + { "inputs": [1885602752, 64], "output": true }, + { "inputs": [60, 64], "output": false }, + { "inputs": [64, 64], "output": true }, + { "inputs": [64, 60], "output": true } + ], + "ge_euint64_euint16": [ + { "inputs": [1885602752, 42598], "output": true }, + { "inputs": [42594, 42598], "output": false }, + { "inputs": [42598, 42598], "output": true }, + { "inputs": [42598, 42594], "output": true } + ], + "ge_euint64_euint32": [ + { "inputs": [1885602752, 2120758041], "output": false }, + { "inputs": [1885602748, 1885602752], "output": false }, + { "inputs": [1885602752, 1885602752], "output": true }, + { "inputs": [1885602752, 1885602748], "output": true } + ], + "ge_euint64_euint64": [ + { "inputs": [1885602752, 1033076257], "output": true }, + { "inputs": [1033076253, 1033076257], "output": false }, + { "inputs": [1033076257, 1033076257], "output": true }, + { "inputs": [1033076257, 1033076253], "output": true } + ], + "ge_euint64_uint64": [ + { "inputs": [1885602752, 494320060], "output": true }, + { "inputs": [1033076253, 1033076257], "output": false }, + { "inputs": [1033076257, 1033076257], "output": true }, + { "inputs": [1033076257, 1033076253], "output": true } + ], + "ge_uint64_euint64": [ + { "inputs": [1544604409, 494320060], "output": true }, + { "inputs": [1033076253, 1033076257], "output": false }, + { "inputs": [1033076257, 1033076257], "output": true }, + { "inputs": [1033076257, 1033076253], "output": true } + ], + "gt_euint4_euint4": [ + { "inputs": [6, 9], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "gt_euint4_euint8": [ + { "inputs": [6, 250], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "gt_euint4_uint8": [ + { "inputs": [6, 1], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "gt_euint4_euint16": [ + { "inputs": [6, 26898], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "gt_euint4_euint32": [ + { "inputs": [6, 1743193522], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "gt_euint4_euint64": [ + { "inputs": [6, 8303014], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "gt_euint8_euint4": [ + { "inputs": [37, 9], "output": true }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": false }, + { "inputs": [9, 5], "output": true } + ], + "gt_uint8_euint4": [ + { "inputs": [1, 9], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": false }, + { "inputs": [9, 5], "output": true } + ], + "gt_euint8_euint8": [ + { "inputs": [1, 112], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "gt_euint8_uint8": [ + { "inputs": [1, 127], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "gt_uint8_euint8": [ + { "inputs": [79, 127], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "gt_euint8_euint16": [ + { "inputs": [79, 20669], "output": false }, + { "inputs": [75, 79], "output": false }, + { "inputs": [79, 79], "output": false }, + { "inputs": [79, 75], "output": true } + ], + "gt_euint8_euint32": [ + { "inputs": [79, 2069042933], "output": false }, + { "inputs": [75, 79], "output": false }, + { "inputs": [79, 79], "output": false }, + { "inputs": [79, 75], "output": true } + ], + "gt_euint8_euint64": [ + { "inputs": [79, 1487732246], "output": false }, + { "inputs": [75, 79], "output": false }, + { "inputs": [79, 79], "output": false }, + { "inputs": [79, 75], "output": true } + ], + "gt_euint16_euint4": [ + { "inputs": [42324, 1], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "gt_euint16_euint8": [ + { "inputs": [42324, 76], "output": true }, + { "inputs": [72, 76], "output": false }, + { "inputs": [76, 76], "output": false }, + { "inputs": [76, 72], "output": true } + ], + "gt_euint16_euint16": [ + { "inputs": [42324, 60441], "output": false }, + { "inputs": [42320, 42324], "output": false }, + { "inputs": [42324, 42324], "output": false }, + { "inputs": [42324, 42320], "output": true } + ], + "gt_euint16_uint16": [ + { "inputs": [42324, 7407], "output": true }, + { "inputs": [42320, 42324], "output": false }, + { "inputs": [42324, 42324], "output": false }, + { "inputs": [42324, 42320], "output": true } + ], + "gt_uint16_euint16": [ + { "inputs": [47205, 7407], "output": true }, + { "inputs": [42320, 42324], "output": false }, + { "inputs": [42324, 42324], "output": false }, + { "inputs": [42324, 42320], "output": true } + ], + "gt_euint16_euint32": [ + { "inputs": [47205, 1988625224], "output": false }, + { "inputs": [47201, 47205], "output": false }, + { "inputs": [47205, 47205], "output": false }, + { "inputs": [47205, 47201], "output": true } + ], + "gt_euint16_euint64": [ + { "inputs": [47205, 1792915583], "output": false }, + { "inputs": [47201, 47205], "output": false }, + { "inputs": [47205, 47205], "output": false }, + { "inputs": [47205, 47201], "output": true } + ], + "gt_euint32_euint4": [ + { "inputs": [1801714413, 14], "output": true }, + { "inputs": [10, 14], "output": false }, + { "inputs": [14, 14], "output": false }, + { "inputs": [14, 10], "output": true } + ], + "gt_euint32_euint8": [ + { "inputs": [1801714413, 95], "output": true }, + { "inputs": [91, 95], "output": false }, + { "inputs": [95, 95], "output": false }, + { "inputs": [95, 91], "output": true } + ], + "gt_euint32_euint16": [ + { "inputs": [1801714413, 56461], "output": true }, + { "inputs": [56457, 56461], "output": false }, + { "inputs": [56461, 56461], "output": false }, + { "inputs": [56461, 56457], "output": true } + ], + "gt_euint32_euint32": [ + { "inputs": [1801714413, 831227104], "output": true }, + { "inputs": [831227100, 831227104], "output": false }, + { "inputs": [831227104, 831227104], "output": false }, + { "inputs": [831227104, 831227100], "output": true } + ], + "gt_euint32_uint32": [ + { "inputs": [1801714413, 448229258], "output": true }, + { "inputs": [831227100, 831227104], "output": false }, + { "inputs": [831227104, 831227104], "output": false }, + { "inputs": [831227104, 831227100], "output": true } + ], + "gt_uint32_euint32": [ + { "inputs": [258393672, 448229258], "output": false }, + { "inputs": [831227100, 831227104], "output": false }, + { "inputs": [831227104, 831227104], "output": false }, + { "inputs": [831227104, 831227100], "output": true } + ], + "gt_euint32_euint64": [ + { "inputs": [258393672, 1790809342], "output": false }, + { "inputs": [258393668, 258393672], "output": false }, + { "inputs": [258393672, 258393672], "output": false }, + { "inputs": [258393672, 258393668], "output": true } + ], + "gt_euint64_euint4": [ + { "inputs": [307981806, 12], "output": true }, + { "inputs": [8, 12], "output": false }, + { "inputs": [12, 12], "output": false }, + { "inputs": [12, 8], "output": true } + ], + "gt_euint64_euint8": [ + { "inputs": [307981806, 246], "output": true }, + { "inputs": [242, 246], "output": false }, + { "inputs": [246, 246], "output": false }, + { "inputs": [246, 242], "output": true } + ], + "gt_euint64_euint16": [ + { "inputs": [307981806, 10827], "output": true }, + { "inputs": [10823, 10827], "output": false }, + { "inputs": [10827, 10827], "output": false }, + { "inputs": [10827, 10823], "output": true } + ], + "gt_euint64_euint32": [ + { "inputs": [307981806, 973826729], "output": false }, + { "inputs": [307981802, 307981806], "output": false }, + { "inputs": [307981806, 307981806], "output": false }, + { "inputs": [307981806, 307981802], "output": true } + ], + "gt_euint64_euint64": [ + { "inputs": [307981806, 618210327], "output": false }, + { "inputs": [307981802, 307981806], "output": false }, + { "inputs": [307981806, 307981806], "output": false }, + { "inputs": [307981806, 307981802], "output": true } + ], + "gt_euint64_uint64": [ + { "inputs": [307981806, 218365735], "output": true }, + { "inputs": [307981802, 307981806], "output": false }, + { "inputs": [307981806, 307981806], "output": false }, + { "inputs": [307981806, 307981802], "output": true } + ], + "gt_uint64_euint64": [ + { "inputs": [342213755, 218365735], "output": true }, + { "inputs": [307981802, 307981806], "output": false }, + { "inputs": [307981806, 307981806], "output": false }, + { "inputs": [307981806, 307981802], "output": true } + ], + "eq_euint4_euint4": [ + { "inputs": [11, 12], "output": false }, + { "inputs": [7, 11], "output": false }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } + ], + "eq_euint4_euint8": [ + { "inputs": [11, 134], "output": false }, + { "inputs": [7, 11], "output": false }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } + ], + "eq_euint4_uint8": [ + { "inputs": [11, 3], "output": false }, + { "inputs": [7, 11], "output": false }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } + ], + "eq_euint4_euint16": [ + { "inputs": [11, 56998], "output": false }, + { "inputs": [7, 11], "output": false }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } + ], + "eq_euint4_euint32": [ + { "inputs": [11, 991467756], "output": false }, + { "inputs": [7, 11], "output": false }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } + ], + "eq_euint4_euint64": [ + { "inputs": [11, 1242271547], "output": false }, + { "inputs": [7, 11], "output": false }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } + ], + "eq_euint8_euint4": [ + { "inputs": [59, 2], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "eq_uint8_euint4": [ + { "inputs": [6, 2], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "eq_euint8_euint8": [ + { "inputs": [6, 193], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "eq_euint8_uint8": [ + { "inputs": [6, 35], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "eq_uint8_euint8": [ + { "inputs": [224, 35], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "eq_euint8_euint16": [ + { "inputs": [224, 28749], "output": false }, + { "inputs": [220, 224], "output": false }, + { "inputs": [224, 224], "output": true }, + { "inputs": [224, 220], "output": false } + ], + "eq_euint8_euint32": [ + { "inputs": [224, 1978797433], "output": false }, + { "inputs": [220, 224], "output": false }, + { "inputs": [224, 224], "output": true }, + { "inputs": [224, 220], "output": false } + ], + "eq_euint8_euint64": [ + { "inputs": [224, 1900324216], "output": false }, + { "inputs": [220, 224], "output": false }, + { "inputs": [224, 224], "output": true }, + { "inputs": [224, 220], "output": false } + ], + "eq_euint16_euint4": [ + { "inputs": [5627, 12], "output": false }, + { "inputs": [8, 12], "output": false }, + { "inputs": [12, 12], "output": true }, + { "inputs": [12, 8], "output": false } + ], + "eq_euint16_euint8": [ + { "inputs": [5627, 83], "output": false }, + { "inputs": [79, 83], "output": false }, + { "inputs": [83, 83], "output": true }, + { "inputs": [83, 79], "output": false } + ], + "eq_euint16_euint16": [ + { "inputs": [5627, 4536], "output": false }, + { "inputs": [4532, 4536], "output": false }, + { "inputs": [4536, 4536], "output": true }, + { "inputs": [4536, 4532], "output": false } + ], + "eq_euint16_uint16": [ + { "inputs": [5627, 53030], "output": false }, + { "inputs": [4532, 4536], "output": false }, + { "inputs": [4536, 4536], "output": true }, + { "inputs": [4536, 4532], "output": false } + ], + "eq_uint16_euint16": [ + { "inputs": [65041, 53030], "output": false }, + { "inputs": [4532, 4536], "output": false }, + { "inputs": [4536, 4536], "output": true }, + { "inputs": [4536, 4532], "output": false } + ], + "eq_euint16_euint32": [ + { "inputs": [65041, 696957537], "output": false }, + { "inputs": [65037, 65041], "output": false }, + { "inputs": [65041, 65041], "output": true }, + { "inputs": [65041, 65037], "output": false } + ], + "eq_euint16_euint64": [ + { "inputs": [65041, 1498344478], "output": false }, + { "inputs": [65037, 65041], "output": false }, + { "inputs": [65041, 65041], "output": true }, + { "inputs": [65041, 65037], "output": false } + ], + "eq_euint32_euint4": [ + { "inputs": [1270694518, 8], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "eq_euint32_euint8": [ + { "inputs": [1270694518, 11], "output": false }, + { "inputs": [7, 11], "output": false }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } + ], + "eq_euint32_euint16": [ + { "inputs": [1270694518, 22132], "output": false }, + { "inputs": [22128, 22132], "output": false }, + { "inputs": [22132, 22132], "output": true }, + { "inputs": [22132, 22128], "output": false } + ], + "eq_euint32_euint32": [ + { "inputs": [1270694518, 247535168], "output": false }, + { "inputs": [247535164, 247535168], "output": false }, + { "inputs": [247535168, 247535168], "output": true }, + { "inputs": [247535168, 247535164], "output": false } + ], + "eq_euint32_uint32": [ + { "inputs": [1270694518, 945618490], "output": false }, + { "inputs": [247535164, 247535168], "output": false }, + { "inputs": [247535168, 247535168], "output": true }, + { "inputs": [247535168, 247535164], "output": false } + ], + "eq_uint32_euint32": [ + { "inputs": [1877579186, 945618490], "output": false }, + { "inputs": [247535164, 247535168], "output": false }, + { "inputs": [247535168, 247535168], "output": true }, + { "inputs": [247535168, 247535164], "output": false } + ], + "eq_euint32_euint64": [ + { "inputs": [1877579186, 1428129540], "output": false }, + { "inputs": [1428129536, 1428129540], "output": false }, + { "inputs": [1428129540, 1428129540], "output": true }, + { "inputs": [1428129540, 1428129536], "output": false } + ], + "eq_euint64_euint4": [ + { "inputs": [2078992513, 6], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "eq_euint64_euint8": [ + { "inputs": [2078992513, 51], "output": false }, + { "inputs": [47, 51], "output": false }, + { "inputs": [51, 51], "output": true }, + { "inputs": [51, 47], "output": false } + ], + "eq_euint64_euint16": [ + { "inputs": [2078992513, 32629], "output": false }, + { "inputs": [32625, 32629], "output": false }, + { "inputs": [32629, 32629], "output": true }, + { "inputs": [32629, 32625], "output": false } + ], + "eq_euint64_euint32": [ + { "inputs": [2078992513, 810545451], "output": false }, + { "inputs": [810545447, 810545451], "output": false }, + { "inputs": [810545451, 810545451], "output": true }, + { "inputs": [810545451, 810545447], "output": false } + ], + "eq_euint64_euint64": [ + { "inputs": [2078992513, 1060802657], "output": false }, + { "inputs": [1060802653, 1060802657], "output": false }, + { "inputs": [1060802657, 1060802657], "output": true }, + { "inputs": [1060802657, 1060802653], "output": false } + ], + "eq_euint64_uint64": [ + { "inputs": [2078992513, 415471663], "output": false }, + { "inputs": [1060802653, 1060802657], "output": false }, + { "inputs": [1060802657, 1060802657], "output": true }, + { "inputs": [1060802657, 1060802653], "output": false } + ], + "eq_uint64_euint64": [ + { "inputs": [810072111, 415471663], "output": false }, + { "inputs": [1060802653, 1060802657], "output": false }, + { "inputs": [1060802657, 1060802657], "output": true }, + { "inputs": [1060802657, 1060802653], "output": false } + ], + "ne_euint4_euint4": [ + { "inputs": [2, 13], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "ne_euint4_euint8": [ + { "inputs": [2, 86], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "ne_euint4_uint8": [ + { "inputs": [2, 3], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "ne_euint4_euint16": [ + { "inputs": [2, 15611], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "ne_euint4_euint32": [ + { "inputs": [2, 2115089145], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "ne_euint4_euint64": [ + { "inputs": [2, 537819520], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "ne_euint8_euint4": [ + { "inputs": [18, 13], "output": true }, + { "inputs": [9, 13], "output": true }, + { "inputs": [13, 13], "output": false }, + { "inputs": [13, 9], "output": true } + ], + "ne_uint8_euint4": [ + { "inputs": [11, 13], "output": true }, + { "inputs": [9, 13], "output": true }, + { "inputs": [13, 13], "output": false }, + { "inputs": [13, 9], "output": true } + ], + "ne_euint8_euint8": [ + { "inputs": [11, 49], "output": true }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": false }, + { "inputs": [11, 7], "output": true } + ], + "ne_euint8_uint8": [ + { "inputs": [11, 2], "output": true }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": false }, + { "inputs": [11, 7], "output": true } + ], + "ne_uint8_euint8": [ + { "inputs": [223, 2], "output": true }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": false }, + { "inputs": [11, 7], "output": true } + ], + "ne_euint8_euint16": [ + { "inputs": [223, 38601], "output": true }, + { "inputs": [219, 223], "output": true }, + { "inputs": [223, 223], "output": false }, + { "inputs": [223, 219], "output": true } + ], + "ne_euint8_euint32": [ + { "inputs": [223, 19817588], "output": true }, + { "inputs": [219, 223], "output": true }, + { "inputs": [223, 223], "output": false }, + { "inputs": [223, 219], "output": true } + ], + "ne_euint8_euint64": [ + { "inputs": [223, 1747152964], "output": true }, + { "inputs": [219, 223], "output": true }, + { "inputs": [223, 223], "output": false }, + { "inputs": [223, 219], "output": true } + ], + "ne_euint16_euint4": [ + { "inputs": [20601, 5], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "ne_euint16_euint8": [ + { "inputs": [20601, 251], "output": true }, + { "inputs": [247, 251], "output": true }, + { "inputs": [251, 251], "output": false }, + { "inputs": [251, 247], "output": true } + ], + "ne_euint16_euint16": [ + { "inputs": [20601, 31416], "output": true }, + { "inputs": [20597, 20601], "output": true }, + { "inputs": [20601, 20601], "output": false }, + { "inputs": [20601, 20597], "output": true } + ], + "ne_euint16_uint16": [ + { "inputs": [20601, 24726], "output": true }, + { "inputs": [20597, 20601], "output": true }, + { "inputs": [20601, 20601], "output": false }, + { "inputs": [20601, 20597], "output": true } + ], + "ne_uint16_euint16": [ + { "inputs": [16027, 24726], "output": true }, + { "inputs": [20597, 20601], "output": true }, + { "inputs": [20601, 20601], "output": false }, + { "inputs": [20601, 20597], "output": true } + ], + "ne_euint16_euint32": [ + { "inputs": [16027, 1143925973], "output": true }, + { "inputs": [16023, 16027], "output": true }, + { "inputs": [16027, 16027], "output": false }, + { "inputs": [16027, 16023], "output": true } + ], + "ne_euint16_euint64": [ + { "inputs": [16027, 1755085159], "output": true }, + { "inputs": [16023, 16027], "output": true }, + { "inputs": [16027, 16027], "output": false }, + { "inputs": [16027, 16023], "output": true } + ], + "ne_euint32_euint4": [ + { "inputs": [1211702728, 8], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } + ], + "ne_euint32_euint8": [ + { "inputs": [1211702728, 132], "output": true }, + { "inputs": [128, 132], "output": true }, + { "inputs": [132, 132], "output": false }, + { "inputs": [132, 128], "output": true } + ], + "ne_euint32_euint16": [ + { "inputs": [1211702728, 13344], "output": true }, + { "inputs": [13340, 13344], "output": true }, + { "inputs": [13344, 13344], "output": false }, + { "inputs": [13344, 13340], "output": true } + ], + "ne_euint32_euint32": [ + { "inputs": [1211702728, 563095027], "output": true }, + { "inputs": [563095023, 563095027], "output": true }, + { "inputs": [563095027, 563095027], "output": false }, + { "inputs": [563095027, 563095023], "output": true } + ], + "ne_euint32_uint32": [ + { "inputs": [1211702728, 426850373], "output": true }, + { "inputs": [563095023, 563095027], "output": true }, + { "inputs": [563095027, 563095027], "output": false }, + { "inputs": [563095027, 563095023], "output": true } + ], + "ne_uint32_euint32": [ + { "inputs": [1464361694, 426850373], "output": true }, + { "inputs": [563095023, 563095027], "output": true }, + { "inputs": [563095027, 563095027], "output": false }, + { "inputs": [563095027, 563095023], "output": true } + ], + "ne_euint32_euint64": [ + { "inputs": [1464361694, 2125136992], "output": true }, + { "inputs": [1464361690, 1464361694], "output": true }, + { "inputs": [1464361694, 1464361694], "output": false }, + { "inputs": [1464361694, 1464361690], "output": true } + ], + "ne_euint64_euint4": [ + { "inputs": [1037057063, 9], "output": true }, + { "inputs": [5, 9], "output": true }, + { "inputs": [9, 9], "output": false }, + { "inputs": [9, 5], "output": true } + ], + "ne_euint64_euint8": [ + { "inputs": [1037057063, 209], "output": true }, + { "inputs": [205, 209], "output": true }, + { "inputs": [209, 209], "output": false }, + { "inputs": [209, 205], "output": true } + ], + "ne_euint64_euint16": [ + { "inputs": [1037057063, 50271], "output": true }, + { "inputs": [50267, 50271], "output": true }, + { "inputs": [50271, 50271], "output": false }, + { "inputs": [50271, 50267], "output": true } + ], + "ne_euint64_euint32": [ + { "inputs": [1037057063, 358604604], "output": true }, + { "inputs": [358604600, 358604604], "output": true }, + { "inputs": [358604604, 358604604], "output": false }, + { "inputs": [358604604, 358604600], "output": true } + ], + "ne_euint64_euint64": [ + { "inputs": [1037057063, 451065562], "output": true }, + { "inputs": [451065558, 451065562], "output": true }, + { "inputs": [451065562, 451065562], "output": false }, + { "inputs": [451065562, 451065558], "output": true } + ], + "ne_euint64_uint64": [ + { "inputs": [1037057063, 1794841801], "output": true }, + { "inputs": [451065558, 451065562], "output": true }, + { "inputs": [451065562, 451065562], "output": false }, + { "inputs": [451065562, 451065558], "output": true } + ], + "ne_uint64_euint64": [ + { "inputs": [1447708235, 1794841801], "output": true }, + { "inputs": [451065558, 451065562], "output": true }, + { "inputs": [451065562, 451065562], "output": false }, + { "inputs": [451065562, 451065558], "output": true } + ], + "shl_euint4_uint8": [ + { "inputs": [1, 9], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shl_euint8_euint8": [ + { "inputs": [15, 7], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shl_euint8_uint8": [ + { "inputs": [15, 173], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shl_euint16_euint8": [ + { "inputs": [470, 1], "output": 235 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shl_euint16_uint8": [ + { "inputs": [60273, 120], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shl_euint32_euint8": [ + { "inputs": [465, 1], "output": 232 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shl_euint32_uint8": [ + { "inputs": [465, 1], "output": 232 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shl_euint64_euint8": [ + { "inputs": [449, 1], "output": 224 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shl_euint64_uint8": [ + { "inputs": [1886374881, 60], "output": 7 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shr_euint4_uint8": [ + { "inputs": [5, 7], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shr_euint8_euint8": [ + { "inputs": [113, 7], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shr_euint8_uint8": [ + { "inputs": [113, 128], "output": 113 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shr_euint16_euint8": [ + { "inputs": [386, 1], "output": 193 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shr_euint16_uint8": [ + { "inputs": [49490, 216], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shr_euint32_euint8": [ + { "inputs": [315, 1], "output": 157 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shr_euint32_uint8": [ + { "inputs": [315, 1], "output": 157 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shr_euint64_euint8": [ + { "inputs": [443, 1], "output": 221 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "shr_euint64_uint8": [ + { "inputs": [29073964, 153], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } + ], + "max_euint4_euint4": [ + { "inputs": [1, 12], "output": 12 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_euint4_euint8": [ + { "inputs": [1, 8], "output": 8 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_euint4_uint8": [ + { "inputs": [1, 4], "output": 4 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_euint4_euint16": [ + { "inputs": [1, 14], "output": 14 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_euint4_euint32": [ + { "inputs": [1, 11], "output": 11 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_euint4_euint64": [ + { "inputs": [1, 12], "output": 12 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_euint8_euint4": [ + { "inputs": [11, 8], "output": 11 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_uint8_euint4": [ + { "inputs": [2, 8], "output": 8 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_euint8_euint8": [ + { "inputs": [2, 44], "output": 44 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_euint8_uint8": [ + { "inputs": [2, 123], "output": 123 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_uint8_euint8": [ + { "inputs": [178, 123], "output": 178 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_euint8_euint16": [ + { "inputs": [1, 173], "output": 173 }, + { "inputs": [174, 178], "output": 178 }, + { "inputs": [178, 178], "output": 178 }, + { "inputs": [178, 174], "output": 178 } + ], + "max_euint8_euint32": [ + { "inputs": [1, 176], "output": 176 }, + { "inputs": [174, 178], "output": 178 }, + { "inputs": [178, 178], "output": 178 }, + { "inputs": [178, 174], "output": 178 } + ], + "max_euint8_euint64": [ + { "inputs": [1, 143], "output": 143 }, + { "inputs": [174, 178], "output": 178 }, + { "inputs": [178, 178], "output": 178 }, + { "inputs": [178, 174], "output": 178 } + ], + "max_euint16_euint4": [ + { "inputs": [10, 1], "output": 10 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } + ], + "max_euint16_euint8": [ + { "inputs": [168, 1], "output": 168 }, + { "inputs": [62, 66], "output": 66 }, + { "inputs": [66, 66], "output": 66 }, + { "inputs": [66, 62], "output": 66 } + ], + "max_euint16_euint16": [ + { "inputs": [43071, 37043], "output": 43071 }, + { "inputs": [37039, 37043], "output": 37043 }, + { "inputs": [37043, 37043], "output": 37043 }, + { "inputs": [37043, 37039], "output": 37043 } + ], + "max_euint16_uint16": [ + { "inputs": [43071, 57395], "output": 57395 }, + { "inputs": [37039, 37043], "output": 37043 }, + { "inputs": [37043, 37043], "output": 37043 }, + { "inputs": [37043, 37039], "output": 37043 } + ], + "max_uint16_euint16": [ + { "inputs": [31971, 57395], "output": 57395 }, + { "inputs": [37039, 37043], "output": 37043 }, + { "inputs": [37043, 37043], "output": 37043 }, + { "inputs": [37043, 37039], "output": 37043 } + ], + "max_euint16_euint32": [ + { "inputs": [1, 46246], "output": 46246 }, + { "inputs": [31967, 31971], "output": 31971 }, + { "inputs": [31971, 31971], "output": 31971 }, + { "inputs": [31971, 31967], "output": 31971 } + ], + "max_euint16_euint64": [ + { "inputs": [3, 35170], "output": 35170 }, + { "inputs": [31967, 31971], "output": 31971 }, + { "inputs": [31971, 31971], "output": 31971 }, + { "inputs": [31971, 31967], "output": 31971 } + ], + "max_euint32_euint4": [ + { "inputs": [8, 1], "output": 8 }, + { "inputs": [7, 11], "output": 11 }, + { "inputs": [11, 11], "output": 11 }, + { "inputs": [11, 7], "output": 11 } + ], + "max_euint32_euint8": [ + { "inputs": [135, 1], "output": 135 }, + { "inputs": [81, 85], "output": 85 }, + { "inputs": [85, 85], "output": 85 }, + { "inputs": [85, 81], "output": 85 } + ], + "max_euint32_euint16": [ + { "inputs": [34584, 1], "output": 34584 }, + { "inputs": [2745, 2749], "output": 2749 }, + { "inputs": [2749, 2749], "output": 2749 }, + { "inputs": [2749, 2745], "output": 2749 } + ], + "max_euint32_euint32": [ + { "inputs": [283314521, 1686574997], "output": 1686574997 }, + { "inputs": [283314517, 283314521], "output": 283314521 }, + { "inputs": [283314521, 283314521], "output": 283314521 }, + { "inputs": [283314521, 283314517], "output": 283314521 } + ], + "max_euint32_uint32": [ + { "inputs": [283314521, 1397934692], "output": 1397934692 }, + { "inputs": [283314517, 283314521], "output": 283314521 }, + { "inputs": [283314521, 283314521], "output": 283314521 }, + { "inputs": [283314521, 283314517], "output": 283314521 } + ], + "max_uint32_euint32": [ + { "inputs": [1446821827, 1397934692], "output": 1446821827 }, + { "inputs": [283314517, 283314521], "output": 283314521 }, + { "inputs": [283314521, 283314521], "output": 283314521 }, + { "inputs": [283314521, 283314517], "output": 283314521 } + ], + "max_euint32_euint64": [ + { "inputs": [1446821827, 98162433], "output": 1446821827 }, + { "inputs": [98162429, 98162433], "output": 98162433 }, + { "inputs": [98162433, 98162433], "output": 98162433 }, + { "inputs": [98162433, 98162429], "output": 98162433 } + ], + "max_euint64_euint4": [ + { "inputs": [14, 1], "output": 14 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } + ], + "max_euint64_euint8": [ + { "inputs": [231, 1], "output": 231 }, + { "inputs": [210, 214], "output": 214 }, + { "inputs": [214, 214], "output": 214 }, + { "inputs": [214, 210], "output": 214 } + ], + "max_euint64_euint16": [ + { "inputs": [59321, 1], "output": 59321 }, + { "inputs": [49394, 49398], "output": 49398 }, + { "inputs": [49398, 49398], "output": 49398 }, + { "inputs": [49398, 49394], "output": 49398 } + ], + "max_euint64_euint32": [ + { "inputs": [1943842367, 2024517605], "output": 2024517605 }, + { "inputs": [1943842363, 1943842367], "output": 1943842367 }, + { "inputs": [1943842367, 1943842367], "output": 1943842367 }, + { "inputs": [1943842367, 1943842363], "output": 1943842367 } + ], + "max_euint64_euint64": [ + { "inputs": [1943842367, 1448051868], "output": 1943842367 }, + { "inputs": [1448051864, 1448051868], "output": 1448051868 }, + { "inputs": [1448051868, 1448051868], "output": 1448051868 }, + { "inputs": [1448051868, 1448051864], "output": 1448051868 } + ], + "max_euint64_uint64": [ + { "inputs": [1943842367, 447177064], "output": 1943842367 }, + { "inputs": [1448051864, 1448051868], "output": 1448051868 }, + { "inputs": [1448051868, 1448051868], "output": 1448051868 }, + { "inputs": [1448051868, 1448051864], "output": 1448051868 } + ], + "max_uint64_euint64": [ + { "inputs": [776673220, 447177064], "output": 776673220 }, + { "inputs": [1448051864, 1448051868], "output": 1448051868 }, + { "inputs": [1448051868, 1448051868], "output": 1448051868 }, + { "inputs": [1448051868, 1448051864], "output": 1448051868 } + ], + "min_euint4_euint4": [ + { "inputs": [6, 11], "output": 6 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } + ], + "min_euint4_euint8": [ + { "inputs": [6, 1], "output": 1 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } + ], + "min_euint4_uint8": [ + { "inputs": [6, 3], "output": 3 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } + ], + "min_euint4_euint16": [ + { "inputs": [6, 45682], "output": 6 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } + ], + "min_euint4_euint32": [ + { "inputs": [6, 629182656], "output": 6 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } + ], + "min_euint4_euint64": [ + { "inputs": [6, 1380027485], "output": 6 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } + ], + "min_euint8_euint4": [ + { "inputs": [79, 12], "output": 12 }, + { "inputs": [8, 12], "output": 8 }, + { "inputs": [12, 12], "output": 12 }, + { "inputs": [12, 8], "output": 8 } + ], + "min_uint8_euint4": [ + { "inputs": [11, 12], "output": 11 }, + { "inputs": [8, 12], "output": 8 }, + { "inputs": [12, 12], "output": 12 }, + { "inputs": [12, 8], "output": 8 } + ], + "min_euint8_euint8": [ + { "inputs": [11, 214], "output": 11 }, + { "inputs": [7, 11], "output": 7 }, + { "inputs": [11, 11], "output": 11 }, + { "inputs": [11, 7], "output": 7 } + ], + "min_euint8_uint8": [ + { "inputs": [11, 200], "output": 11 }, + { "inputs": [7, 11], "output": 7 }, + { "inputs": [11, 11], "output": 11 }, + { "inputs": [11, 7], "output": 7 } + ], + "min_uint8_euint8": [ + { "inputs": [45, 200], "output": 45 }, + { "inputs": [7, 11], "output": 7 }, + { "inputs": [11, 11], "output": 11 }, + { "inputs": [11, 7], "output": 7 } + ], + "min_euint8_euint16": [ + { "inputs": [45, 12728], "output": 45 }, + { "inputs": [41, 45], "output": 41 }, + { "inputs": [45, 45], "output": 45 }, + { "inputs": [45, 41], "output": 41 } + ], + "min_euint8_euint32": [ + { "inputs": [45, 1572730534], "output": 45 }, + { "inputs": [41, 45], "output": 41 }, + { "inputs": [45, 45], "output": 45 }, + { "inputs": [45, 41], "output": 41 } + ], + "min_euint8_euint64": [ + { "inputs": [45, 1376771886], "output": 45 }, + { "inputs": [41, 45], "output": 41 }, + { "inputs": [45, 45], "output": 45 }, + { "inputs": [45, 41], "output": 41 } + ], + "min_euint16_euint4": [ + { "inputs": [3854, 8], "output": 8 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } + ], + "min_euint16_euint8": [ + { "inputs": [3854, 166], "output": 166 }, + { "inputs": [162, 166], "output": 162 }, + { "inputs": [166, 166], "output": 166 }, + { "inputs": [166, 162], "output": 162 } + ], + "min_euint16_euint16": [ + { "inputs": [3854, 29273], "output": 3854 }, + { "inputs": [3850, 3854], "output": 3850 }, + { "inputs": [3854, 3854], "output": 3854 }, + { "inputs": [3854, 3850], "output": 3850 } + ], + "min_euint16_uint16": [ + { "inputs": [3854, 54603], "output": 3854 }, + { "inputs": [3850, 3854], "output": 3850 }, + { "inputs": [3854, 3854], "output": 3854 }, + { "inputs": [3854, 3850], "output": 3850 } + ], + "min_uint16_euint16": [ + { "inputs": [27643, 54603], "output": 27643 }, + { "inputs": [3850, 3854], "output": 3850 }, + { "inputs": [3854, 3854], "output": 3854 }, + { "inputs": [3854, 3850], "output": 3850 } + ], + "min_euint16_euint32": [ + { "inputs": [27643, 2066729287], "output": 27643 }, + { "inputs": [27639, 27643], "output": 27639 }, + { "inputs": [27643, 27643], "output": 27643 }, + { "inputs": [27643, 27639], "output": 27639 } + ], + "min_euint16_euint64": [ + { "inputs": [27643, 1529181739], "output": 27643 }, + { "inputs": [27639, 27643], "output": 27639 }, + { "inputs": [27643, 27643], "output": 27643 }, + { "inputs": [27643, 27639], "output": 27639 } + ], + "min_euint32_euint4": [ + { "inputs": [390943086, 2], "output": 2 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } + ], + "min_euint32_euint8": [ + { "inputs": [390943086, 113], "output": 113 }, + { "inputs": [109, 113], "output": 109 }, + { "inputs": [113, 113], "output": 113 }, + { "inputs": [113, 109], "output": 109 } + ], + "min_euint32_euint16": [ + { "inputs": [390943086, 41085], "output": 41085 }, + { "inputs": [41081, 41085], "output": 41081 }, + { "inputs": [41085, 41085], "output": 41085 }, + { "inputs": [41085, 41081], "output": 41081 } + ], + "min_euint32_euint32": [ + { "inputs": [390943086, 2102211879], "output": 390943086 }, + { "inputs": [390943082, 390943086], "output": 390943082 }, + { "inputs": [390943086, 390943086], "output": 390943086 }, + { "inputs": [390943086, 390943082], "output": 390943082 } + ], + "min_euint32_uint32": [ + { "inputs": [390943086, 304405118], "output": 304405118 }, + { "inputs": [390943082, 390943086], "output": 390943082 }, + { "inputs": [390943086, 390943086], "output": 390943086 }, + { "inputs": [390943086, 390943082], "output": 390943082 } + ], + "min_uint32_euint32": [ + { "inputs": [1819271941, 304405118], "output": 304405118 }, + { "inputs": [390943082, 390943086], "output": 390943082 }, + { "inputs": [390943086, 390943086], "output": 390943086 }, + { "inputs": [390943086, 390943082], "output": 390943082 } + ], + "min_euint32_euint64": [ + { "inputs": [1819271941, 1588645185], "output": 1588645185 }, + { "inputs": [1588645181, 1588645185], "output": 1588645181 }, + { "inputs": [1588645185, 1588645185], "output": 1588645185 }, + { "inputs": [1588645185, 1588645181], "output": 1588645181 } + ], + "min_euint64_euint4": [ + { "inputs": [1933734274, 2], "output": 2 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } + ], + "min_euint64_euint8": [ + { "inputs": [1933734274, 92], "output": 92 }, + { "inputs": [88, 92], "output": 88 }, + { "inputs": [92, 92], "output": 92 }, + { "inputs": [92, 88], "output": 88 } + ], + "min_euint64_euint16": [ + { "inputs": [1933734274, 63835], "output": 63835 }, + { "inputs": [63831, 63835], "output": 63831 }, + { "inputs": [63835, 63835], "output": 63835 }, + { "inputs": [63835, 63831], "output": 63831 } + ], + "min_euint64_euint32": [ + { "inputs": [1933734274, 1600509978], "output": 1600509978 }, + { "inputs": [1600509974, 1600509978], "output": 1600509974 }, + { "inputs": [1600509978, 1600509978], "output": 1600509978 }, + { "inputs": [1600509978, 1600509974], "output": 1600509974 } + ], + "min_euint64_euint64": [ + { "inputs": [1933734274, 484998270], "output": 484998270 }, + { "inputs": [484998266, 484998270], "output": 484998266 }, + { "inputs": [484998270, 484998270], "output": 484998270 }, + { "inputs": [484998270, 484998266], "output": 484998266 } + ], + "min_euint64_uint64": [ + { "inputs": [1933734274, 2130607481], "output": 1933734274 }, + { "inputs": [484998266, 484998270], "output": 484998266 }, + { "inputs": [484998270, 484998270], "output": 484998270 }, + { "inputs": [484998270, 484998266], "output": 484998266 } + ], + "min_uint64_euint64": [ + { "inputs": [1509813623, 2130607481], "output": 1509813623 }, + { "inputs": [484998266, 484998270], "output": 484998266 }, + { "inputs": [484998270, 484998270], "output": 484998270 }, + { "inputs": [484998270, 484998266], "output": 484998266 } + ], + "or_euint4_euint4": [ + { "inputs": [5, 9], "output": 13 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "or_euint4_euint8": [ + { "inputs": [1, 13], "output": 13 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "or_euint4_euint16": [ + { "inputs": [1, 12], "output": 13 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "or_euint4_euint32": [ + { "inputs": [1, 11], "output": 11 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "or_euint4_euint64": [ + { "inputs": [1, 10], "output": 11 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "or_euint8_euint4": [ + { "inputs": [11, 1], "output": 11 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "or_euint8_euint8": [ + { "inputs": [93, 243], "output": 255 }, + { "inputs": [89, 93], "output": 93 }, + { "inputs": [93, 93], "output": 93 }, + { "inputs": [93, 89], "output": 93 } + ], + "or_euint8_euint16": [ + { "inputs": [1, 196], "output": 197 }, + { "inputs": [89, 93], "output": 93 }, + { "inputs": [93, 93], "output": 93 }, + { "inputs": [93, 89], "output": 93 } + ], + "or_euint8_euint32": [ + { "inputs": [1, 143], "output": 143 }, + { "inputs": [89, 93], "output": 93 }, + { "inputs": [93, 93], "output": 93 }, + { "inputs": [93, 89], "output": 93 } + ], + "or_euint8_euint64": [ + { "inputs": [1, 139], "output": 139 }, + { "inputs": [89, 93], "output": 93 }, + { "inputs": [93, 93], "output": 93 }, + { "inputs": [93, 89], "output": 93 } + ], + "or_euint16_euint4": [ + { "inputs": [15, 1], "output": 15 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "or_euint16_euint8": [ + { "inputs": [241, 1], "output": 241 }, + { "inputs": [120, 124], "output": 124 }, + { "inputs": [124, 124], "output": 124 }, + { "inputs": [124, 120], "output": 124 } + ], + "or_euint16_euint16": [ + { "inputs": [15468, 53935], "output": 65263 }, + { "inputs": [15464, 15468], "output": 15468 }, + { "inputs": [15468, 15468], "output": 15468 }, + { "inputs": [15468, 15464], "output": 15468 } + ], + "or_euint16_euint32": [ + { "inputs": [1, 37057], "output": 37057 }, + { "inputs": [15464, 15468], "output": 15468 }, + { "inputs": [15468, 15468], "output": 15468 }, + { "inputs": [15468, 15464], "output": 15468 } + ], + "or_euint16_euint64": [ + { "inputs": [1, 52075], "output": 52075 }, + { "inputs": [15464, 15468], "output": 15468 }, + { "inputs": [15468, 15468], "output": 15468 }, + { "inputs": [15468, 15464], "output": 15468 } + ], + "or_euint32_euint4": [ + { "inputs": [9, 1], "output": 9 }, + { "inputs": [10, 14], "output": 14 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 14 } + ], + "or_euint32_euint8": [ + { "inputs": [156, 1], "output": 157 }, + { "inputs": [25, 29], "output": 29 }, + { "inputs": [29, 29], "output": 29 }, + { "inputs": [29, 25], "output": 29 } + ], + "or_euint32_euint16": [ + { "inputs": [40006, 1], "output": 40007 }, + { "inputs": [46882, 46886], "output": 46886 }, + { "inputs": [46886, 46886], "output": 46886 }, + { "inputs": [46886, 46882], "output": 46886 } + ], + "or_euint32_euint32": [ + { "inputs": [1310933534, 968535512], "output": 2143023070 }, + { "inputs": [968535508, 968535512], "output": 968535516 }, + { "inputs": [968535512, 968535512], "output": 968535512 }, + { "inputs": [968535512, 968535508], "output": 968535516 } + ], + "or_euint32_euint64": [ + { "inputs": [1310933534, 287712997], "output": 1596417791 }, + { "inputs": [287712993, 287712997], "output": 287712997 }, + { "inputs": [287712997, 287712997], "output": 287712997 }, + { "inputs": [287712997, 287712993], "output": 287712997 } + ], + "or_euint64_euint4": [ + { "inputs": [10, 1], "output": 11 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } + ], + "or_euint64_euint8": [ + { "inputs": [167, 1], "output": 167 }, + { "inputs": [97, 101], "output": 101 }, + { "inputs": [101, 101], "output": 101 }, + { "inputs": [101, 97], "output": 101 } + ], + "or_euint64_euint16": [ + { "inputs": [42889, 1], "output": 42889 }, + { "inputs": [21447, 21451], "output": 21455 }, + { "inputs": [21451, 21451], "output": 21451 }, + { "inputs": [21451, 21447], "output": 21455 } + ], + "or_euint64_euint32": [ + { "inputs": [1405387766, 963544644], "output": 2079229942 }, + { "inputs": [963544640, 963544644], "output": 963544644 }, + { "inputs": [963544644, 963544644], "output": 963544644 }, + { "inputs": [963544644, 963544640], "output": 963544644 } + ], + "or_euint64_euint64": [ + { "inputs": [1405387766, 1463413902], "output": 1476259838 }, + { "inputs": [1405387762, 1405387766], "output": 1405387766 }, + { "inputs": [1405387766, 1405387766], "output": 1405387766 }, + { "inputs": [1405387766, 1405387762], "output": 1405387766 } + ], + "and_euint4_euint4": [ + { "inputs": [6, 2], "output": 2 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } + ], + "and_euint4_euint8": [ + { "inputs": [6, 41], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } + ], + "and_euint4_euint16": [ + { "inputs": [6, 28819], "output": 2 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } + ], + "and_euint4_euint32": [ + { "inputs": [6, 159427402], "output": 2 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } + ], + "and_euint4_euint64": [ + { "inputs": [6, 698915120], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } + ], + "and_euint8_euint4": [ + { "inputs": [209, 7], "output": 1 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } + ], + "and_euint8_euint8": [ + { "inputs": [209, 109], "output": 65 }, + { "inputs": [105, 109], "output": 105 }, + { "inputs": [109, 109], "output": 109 }, + { "inputs": [109, 105], "output": 105 } + ], + "and_euint8_euint16": [ + { "inputs": [209, 33383], "output": 65 }, + { "inputs": [205, 209], "output": 193 }, + { "inputs": [209, 209], "output": 209 }, + { "inputs": [209, 205], "output": 193 } + ], + "and_euint8_euint32": [ + { "inputs": [209, 527165394], "output": 208 }, + { "inputs": [205, 209], "output": 193 }, + { "inputs": [209, 209], "output": 209 }, + { "inputs": [209, 205], "output": 193 } + ], + "and_euint8_euint64": [ + { "inputs": [209, 1641438334], "output": 80 }, + { "inputs": [205, 209], "output": 193 }, + { "inputs": [209, 209], "output": 209 }, + { "inputs": [209, 205], "output": 193 } + ], + "and_euint16_euint4": [ + { "inputs": [14563, 10], "output": 2 }, + { "inputs": [6, 10], "output": 2 }, + { "inputs": [10, 10], "output": 10 }, + { "inputs": [10, 6], "output": 2 } + ], + "and_euint16_euint8": [ + { "inputs": [14563, 200], "output": 192 }, + { "inputs": [196, 200], "output": 192 }, + { "inputs": [200, 200], "output": 200 }, + { "inputs": [200, 196], "output": 192 } + ], + "and_euint16_euint16": [ + { "inputs": [14563, 4918], "output": 4130 }, + { "inputs": [4914, 4918], "output": 4914 }, + { "inputs": [4918, 4918], "output": 4918 }, + { "inputs": [4918, 4914], "output": 4914 } + ], + "and_euint16_euint32": [ + { "inputs": [14563, 408583146], "output": 14562 }, + { "inputs": [14559, 14563], "output": 14531 }, + { "inputs": [14563, 14563], "output": 14563 }, + { "inputs": [14563, 14559], "output": 14531 } + ], + "and_euint16_euint64": [ + { "inputs": [14563, 1642657503], "output": 12483 }, + { "inputs": [14559, 14563], "output": 14531 }, + { "inputs": [14563, 14563], "output": 14563 }, + { "inputs": [14563, 14559], "output": 14531 } + ], + "and_euint32_euint4": [ + { "inputs": [1757898274, 2], "output": 2 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } + ], + "and_euint32_euint8": [ + { "inputs": [1757898274, 2], "output": 2 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } + ], + "and_euint32_euint16": [ + { "inputs": [1757898274, 20019], "output": 17954 }, + { "inputs": [20015, 20019], "output": 20003 }, + { "inputs": [20019, 20019], "output": 20019 }, + { "inputs": [20019, 20015], "output": 20003 } + ], + "and_euint32_euint32": [ + { "inputs": [1757898274, 1599687665], "output": 1212236320 }, + { "inputs": [1599687661, 1599687665], "output": 1599687649 }, + { "inputs": [1599687665, 1599687665], "output": 1599687665 }, + { "inputs": [1599687665, 1599687661], "output": 1599687649 } + ], + "and_euint32_euint64": [ + { "inputs": [1757898274, 276645072], "output": 4539392 }, + { "inputs": [276645068, 276645072], "output": 276645056 }, + { "inputs": [276645072, 276645072], "output": 276645072 }, + { "inputs": [276645072, 276645068], "output": 276645056 } + ], + "and_euint64_euint4": [ + { "inputs": [1294685955, 14], "output": 2 }, + { "inputs": [10, 14], "output": 10 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 10 } + ], + "and_euint64_euint8": [ + { "inputs": [1294685955, 133], "output": 1 }, + { "inputs": [129, 133], "output": 129 }, + { "inputs": [133, 133], "output": 133 }, + { "inputs": [133, 129], "output": 129 } + ], + "and_euint64_euint16": [ + { "inputs": [1294685955, 63959], "output": 20739 }, + { "inputs": [63955, 63959], "output": 63955 }, + { "inputs": [63959, 63959], "output": 63959 }, + { "inputs": [63959, 63955], "output": 63955 } + ], + "and_euint64_euint32": [ + { "inputs": [1294685955, 1745450667], "output": 1208571395 }, + { "inputs": [1294685951, 1294685955], "output": 1294685699 }, + { "inputs": [1294685955, 1294685955], "output": 1294685955 }, + { "inputs": [1294685955, 1294685951], "output": 1294685699 } + ], + "and_euint64_euint64": [ + { "inputs": [1294685955, 55045679], "output": 16991747 }, + { "inputs": [55045675, 55045679], "output": 55045675 }, + { "inputs": [55045679, 55045679], "output": 55045679 }, + { "inputs": [55045679, 55045675], "output": 55045675 } + ], + "xor_euint4_euint4": [ + { "inputs": [10, 9], "output": 3 }, + { "inputs": [5, 9], "output": 12 }, + { "inputs": [9, 9], "output": 0 }, + { "inputs": [9, 5], "output": 12 } + ], + "xor_euint4_euint8": [ + { "inputs": [5, 12], "output": 9 }, + { "inputs": [6, 10], "output": 12 }, + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 12 } + ], + "xor_euint4_euint16": [ + { "inputs": [1, 15], "output": 14 }, + { "inputs": [6, 10], "output": 12 }, + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 12 } + ], + "xor_euint4_euint32": [ + { "inputs": [1, 15], "output": 14 }, + { "inputs": [6, 10], "output": 12 }, + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 12 } + ], + "xor_euint4_euint64": [ + { "inputs": [1, 11], "output": 10 }, + { "inputs": [6, 10], "output": 12 }, + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 12 } + ], + "xor_euint8_euint4": [ + { "inputs": [1, 11], "output": 10 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } + ], + "xor_euint8_euint8": [ + { "inputs": [1, 166], "output": 167 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } + ], + "xor_euint8_euint16": [ + { "inputs": [1, 217], "output": 216 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } + ], + "xor_euint8_euint32": [ + { "inputs": [1, 186], "output": 187 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } + ], + "xor_euint8_euint64": [ + { "inputs": [1, 136], "output": 137 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } + ], + "xor_euint16_euint4": [ + { "inputs": [11, 1], "output": 10 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } + ], + "xor_euint16_euint8": [ + { "inputs": [187, 1], "output": 186 }, + { "inputs": [25, 29], "output": 4 }, + { "inputs": [29, 29], "output": 0 }, + { "inputs": [29, 25], "output": 4 } + ], + "xor_euint16_euint16": [ + { "inputs": [48081, 52727], "output": 30246 }, + { "inputs": [48077, 48081], "output": 28 }, + { "inputs": [48081, 48081], "output": 0 }, + { "inputs": [48081, 48077], "output": 28 } + ], + "xor_euint16_euint32": [ + { "inputs": [1, 33460], "output": 33461 }, + { "inputs": [48077, 48081], "output": 28 }, + { "inputs": [48081, 48081], "output": 0 }, + { "inputs": [48081, 48077], "output": 28 } + ], + "xor_euint16_euint64": [ + { "inputs": [5, 40064], "output": 40069 }, + { "inputs": [48077, 48081], "output": 28 }, + { "inputs": [48081, 48081], "output": 0 }, + { "inputs": [48081, 48077], "output": 28 } + ], + "xor_euint32_euint4": [ + { "inputs": [13, 1], "output": 12 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } + ], + "xor_euint32_euint8": [ + { "inputs": [210, 1], "output": 211 }, + { "inputs": [54, 58], "output": 12 }, + { "inputs": [58, 58], "output": 0 }, + { "inputs": [58, 54], "output": 12 } + ], + "xor_euint32_euint16": [ + { "inputs": [53760, 15], "output": 53775 }, + { "inputs": [64891, 64895], "output": 4 }, + { "inputs": [64895, 64895], "output": 0 }, + { "inputs": [64895, 64891], "output": 4 } + ], + "xor_euint32_euint32": [ + { "inputs": [220202687, 1588836729], "output": 1402191814 }, + { "inputs": [220202683, 220202687], "output": 4 }, + { "inputs": [220202687, 220202687], "output": 0 }, + { "inputs": [220202687, 220202683], "output": 4 } + ], + "xor_euint32_euint64": [ + { "inputs": [220202687, 58005830], "output": 240459769 }, + { "inputs": [58005826, 58005830], "output": 4 }, + { "inputs": [58005830, 58005830], "output": 0 }, + { "inputs": [58005830, 58005826], "output": 4 } + ], + "xor_euint64_euint4": [ + { "inputs": [15, 1], "output": 14 }, + { "inputs": [8, 12], "output": 4 }, + { "inputs": [12, 12], "output": 0 }, + { "inputs": [12, 8], "output": 4 } + ], + "xor_euint64_euint8": [ + { "inputs": [246, 1], "output": 247 }, + { "inputs": [22, 26], "output": 12 }, + { "inputs": [26, 26], "output": 0 }, + { "inputs": [26, 22], "output": 12 } + ], + "xor_euint64_euint16": [ + { "inputs": [63024, 2], "output": 63026 }, + { "inputs": [33630, 33634], "output": 60 }, + { "inputs": [33634, 33634], "output": 0 }, + { "inputs": [33634, 33630], "output": 60 } + ], + "xor_euint64_euint32": [ + { "inputs": [1032596672, 1451108916], "output": 1811023604 }, + { "inputs": [1032596668, 1032596672], "output": 124 }, + { "inputs": [1032596672, 1032596672], "output": 0 }, + { "inputs": [1032596672, 1032596668], "output": 124 } + ], + "xor_euint64_euint64": [ + { "inputs": [1032596672, 34433579], "output": 1065436907 }, + { "inputs": [34433575, 34433579], "output": 12 }, + { "inputs": [34433579, 34433579], "output": 0 }, + { "inputs": [34433579, 34433575], "output": 12 } + ], + "not_euint4": [{ "inputs": [2], "output": 13 }], + "not_euint8": [{ "inputs": [151], "output": 104 }], + "not_euint16": [{ "inputs": [58147], "output": 7388 }], + "not_euint32": [{ "inputs": [1014323468], "output": 1133160179 }], + "not_euint64": [{ "inputs": [566602200], "output": 1580881447 }], + "neg_euint4": [{ "inputs": [10], "output": 5 }], + "neg_euint8": [{ "inputs": [29], "output": 226 }], + "neg_euint16": [{ "inputs": [55816], "output": 9719 }], + "neg_euint32": [{ "inputs": [384529386], "output": 1762954261 }], + "neg_euint64": [{ "inputs": [2136222472], "output": 11261175 }] +} diff --git a/codegen/templates.ts b/codegen/templates.ts index 54bf5b32..0c536307 100644 --- a/codegen/templates.ts +++ b/codegen/templates.ts @@ -257,16 +257,16 @@ function tfheSolidityOperator(bits: number, operator: Operator, os: OverloadSign } `); - os.push({ - binaryOperator: operator.binarySolidityOperator, - arguments: [ - { type: ArgumentType.EUint, bits }, - { type: ArgumentType.EUint, bits }, - ], + // os.push({ + // binaryOperator: operator.binarySolidityOperator, + // arguments: [ + // { type: ArgumentType.EUint, bits }, + // { type: ArgumentType.EUint, bits }, + // ], - name: `bin_op_${operator.name}`, - returnType: { type: ArgumentType.EUint, bits }, - }); + // name: `bin_op_${operator.name}`, + // returnType: { type: ArgumentType.EUint, bits }, + // }); } if (operator.hasEncrypted && operator.unarySolidityOperator) { @@ -281,13 +281,13 @@ function tfheSolidityOperator(bits: number, operator: Operator, os: OverloadSign } `); - os.push({ - unaryOperator: operator.unarySolidityOperator, - arguments: [{ type: ArgumentType.EUint, bits }], + // os.push({ + // unaryOperator: operator.unarySolidityOperator, + // arguments: [{ type: ArgumentType.EUint, bits }], - name: `unary_op_${operator.name}`, - returnType: { type: ArgumentType.EUint, bits }, - }); + // name: `unary_op_${operator.name}`, + // returnType: { type: ArgumentType.EUint, bits }, + // }); } return res.join(''); diff --git a/codegen/testgen.ts b/codegen/testgen.ts index ba5d8fa2..8a92109b 100644 --- a/codegen/testgen.ts +++ b/codegen/testgen.ts @@ -122,13 +122,14 @@ async function deployTfheTestFixture${os.shardNumber}(): Promise 0, `Overload ${methodName} has no tests, please add them.`); + assert(tests.length > 0, `Overload ${methodName} has no tests, please add them.`); var testIndex = 1; tests.forEach((t) => { assert( t.inputs.length == o.arguments.length, `Test argument count is different to operator arguments, arguments: ${t.inputs}, expected count: ${o.arguments.length}`, ); + console.log(testName, o.name, o.arguments); t.inputs.forEach((input, index) => ensureNumberAcceptableInBitRange(o.arguments[index].bits, input)); if (typeof t.output === 'number') { ensureNumberAcceptableInBitRange(o.returnType.bits, t.output); @@ -169,6 +170,9 @@ async function deployTfheTestFixture${os.shardNumber}(): Promise { return contract; } -async function deployTfheTestFixture6(): Promise { - const signers = await getSigners(); - const admin = signers.alice; - - const contractFactory = await ethers.getContractFactory('TFHETestSuite6'); - const contract = await contractFactory.connect(admin).deploy(); - await contract.waitForDeployment(); - - return contract; -} - describe('TFHE operations', function () { before(async function () { await initSigners(1); @@ -110,5471 +98,13611 @@ describe('TFHE operations', function () { this.contract5 = contract5; const instances5 = await createInstances(this.contract5Address, ethers, this.signers); this.instances5 = instances5; + }); - const contract6 = await deployTfheTestFixture6(); - this.contract6Address = await contract6.getAddress(); - this.contract6 = contract6; - const instances6 = await createInstances(this.contract6Address, ethers, this.signers); - this.instances6 = instances6; + it('test operator "add" overload (euint4, euint4) => euint4 test 1 (5, 3)', async function () { + const res = await this.contract1.add_euint4_euint4( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(3), + ); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 1 (3, 4)', async function () { - const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt8(4), + it('test operator "add" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.add_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(7); + expect(res).to.equal(12); }); - it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract2.sub_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(3), + it('test operator "add" overload (euint4, euint4) => euint4 test 3 (4, 4)', async function () { + const res = await this.contract1.add_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(1); + expect(res).to.equal(8); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (3, 4)', async function () { - const res = await this.contract2.mul_euint8_euint8( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt8(4), + it('test operator "add" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.add_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); expect(res).to.equal(12); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 1 (255, 15)', async function () { - const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt8(15), + it('test operator "sub" overload (euint4, euint4) => euint4 test 1 (9, 9)', async function () { + const res = await this.contract1.sub_euint4_euint4( + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(15); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 1 (112, 15)', async function () { - const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(112), - this.instances2.alice.encrypt8(15), + it('test operator "sub" overload (euint4, euint4) => euint4 test 2 (9, 5)', async function () { + const res = await this.contract1.sub_euint4_euint4( + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(127); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (119, 119)', async function () { - const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(119), - this.instances2.alice.encrypt8(119), + it('test operator "mul" overload (euint4, euint4) => euint4 test 1 (1, 4)', async function () { + const res = await this.contract1.mul_euint4_euint4( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(0); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 2 (12, 34)', async function () { - const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(12), - this.instances2.alice.encrypt8(34), + it('test operator "mul" overload (euint4, euint4) => euint4 test 2 (2, 4)', async function () { + const res = await this.contract1.mul_euint4_euint4( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(46); + expect(res).to.equal(8); }); - it('test operator "eq" overload (euint8, euint8) => ebool test 1 (12, 49)', async function () { - const res = await this.contract2.eq_euint8_euint8( - this.instances2.alice.encrypt8(12), - this.instances2.alice.encrypt8(49), + it('test operator "mul" overload (euint4, euint4) => euint4 test 3 (2, 2)', async function () { + const res = await this.contract1.mul_euint4_euint4( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(false); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint8, euint8) => ebool test 2 (7, 7)', async function () { - const res = await this.contract2.eq_euint8_euint8( - this.instances2.alice.encrypt8(7), - this.instances2.alice.encrypt8(7), + it('test operator "mul" overload (euint4, euint4) => euint4 test 4 (4, 2)', async function () { + const res = await this.contract1.mul_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 1 (1, 2)', async function () { - const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt8(2), + it('test operator "and" overload (euint4, euint4) => euint4 test 1 (6, 2)', async function () { + const res = await this.contract1.and_euint4_euint4( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(true); + expect(res).to.equal(2); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 2 (2, 2)', async function () { - const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt8(2), + it('test operator "and" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.and_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(0); }); - it('test operator "ge" overload (euint8, euint8) => ebool test 1 (10, 10)', async function () { - const res = await this.contract2.ge_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(10), + it('test operator "and" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.and_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "ge" overload (euint8, euint8) => ebool test 2 (10, 9)', async function () { - const res = await this.contract2.ge_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(9), + it('test operator "and" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.and_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(true); + expect(res).to.equal(0); }); - it('test operator "ge" overload (euint8, euint8) => ebool test 3 (10, 11)', async function () { - const res = await this.contract2.ge_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(11), + it('test operator "or" overload (euint4, euint4) => euint4 test 1 (5, 9)', async function () { + const res = await this.contract1.or_euint4_euint4( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(false); + expect(res).to.equal(13); }); - it('test operator "gt" overload (euint8, euint8) => ebool test 1 (10, 10)', async function () { - const res = await this.contract2.gt_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(10), + it('test operator "or" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.or_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(12); }); - it('test operator "gt" overload (euint8, euint8) => ebool test 2 (10, 9)', async function () { - const res = await this.contract2.gt_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(9), + it('test operator "or" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.or_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "gt" overload (euint8, euint8) => ebool test 3 (10, 11)', async function () { - const res = await this.contract2.gt_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(11), + it('test operator "or" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.or_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(false); + expect(res).to.equal(12); }); - it('test operator "le" overload (euint8, euint8) => ebool test 1 (10, 10)', async function () { - const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(10), + it('test operator "xor" overload (euint4, euint4) => euint4 test 1 (10, 9)', async function () { + const res = await this.contract1.xor_euint4_euint4( + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(true); + expect(res).to.equal(3); }); - it('test operator "le" overload (euint8, euint8) => ebool test 2 (10, 9)', async function () { - const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(9), + it('test operator "xor" overload (euint4, euint4) => euint4 test 2 (5, 9)', async function () { + const res = await this.contract1.xor_euint4_euint4( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(false); + expect(res).to.equal(12); }); - it('test operator "le" overload (euint8, euint8) => ebool test 3 (10, 11)', async function () { - const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(11), + it('test operator "xor" overload (euint4, euint4) => euint4 test 3 (9, 9)', async function () { + const res = await this.contract1.xor_euint4_euint4( + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(true); + expect(res).to.equal(0); }); - it('test operator "lt" overload (euint8, euint8) => ebool test 1 (10, 10)', async function () { - const res = await this.contract2.lt_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(10), + it('test operator "xor" overload (euint4, euint4) => euint4 test 4 (9, 5)', async function () { + const res = await this.contract1.xor_euint4_euint4( + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(false); + expect(res).to.equal(12); }); - it('test operator "lt" overload (euint8, euint8) => ebool test 2 (10, 9)', async function () { - const res = await this.contract2.lt_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(9), + it('test operator "eq" overload (euint4, euint4) => ebool test 1 (11, 12)', async function () { + const res = await this.contract1.eq_euint4_euint4( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(12), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint8) => ebool test 3 (10, 11)', async function () { - const res = await this.contract2.lt_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(11), + it('test operator "eq" overload (euint4, euint4) => ebool test 2 (7, 11)', async function () { + const res = await this.contract1.eq_euint4_euint4( + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt4(11), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 1 (10, 10)', async function () { - const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(10), + it('test operator "eq" overload (euint4, euint4) => ebool test 3 (11, 11)', async function () { + const res = await this.contract1.eq_euint4_euint4( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(11), ); - expect(res).to.equal(10); + expect(res).to.equal(true); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 2 (12, 10)', async function () { - const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(12), - this.instances2.alice.encrypt8(10), + it('test operator "eq" overload (euint4, euint4) => ebool test 4 (11, 7)', async function () { + const res = await this.contract1.eq_euint4_euint4( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(7), ); - expect(res).to.equal(10); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 3 (9, 12)', async function () { - const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt8(12), + it('test operator "ne" overload (euint4, euint4) => ebool test 1 (2, 13)', async function () { + const res = await this.contract1.ne_euint4_euint4( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(13), ); - expect(res).to.equal(9); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 1 (10, 10)', async function () { - const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(10), + it('test operator "ne" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ne_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(10); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 2 (12, 10)', async function () { - const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(12), - this.instances2.alice.encrypt8(10), + it('test operator "ne" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ne_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(false); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 3 (9, 12)', async function () { - const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt8(12), + it('test operator "ne" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ne_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(true); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 1 (3, 65280)', async function () { - const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt16(65280), + it('test operator "ge" overload (euint4, euint4) => ebool test 1 (7, 14)', async function () { + const res = await this.contract1.ge_euint4_euint4( + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt4(14), ); - expect(res).to.equal(65283); + expect(res).to.equal(false); }); - it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (3, 4096)', async function () { - const res = await this.contract2.sub_euint8_euint16( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt16(4096), + it('test operator "ge" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ge_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(61443); + expect(res).to.equal(false); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (3, 4096)', async function () { - const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt16(4096), + it('test operator "ge" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ge_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(12288); + expect(res).to.equal(true); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 1 (3, 4096)', async function () { - const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt16(4096), + it('test operator "ge" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ge_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(0); + expect(res).to.equal(true); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 2 (3, 4097)', async function () { - const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt16(4097), + it('test operator "gt" overload (euint4, euint4) => ebool test 1 (6, 9)', async function () { + const res = await this.contract1.gt_euint4_euint4( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(1); + expect(res).to.equal(false); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 1 (3, 4096)', async function () { - const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt16(4096), + it('test operator "gt" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.gt_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(4099); + expect(res).to.equal(false); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 2 (3, 4097)', async function () { - const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt16(4097), + it('test operator "gt" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.gt_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(4099); + expect(res).to.equal(false); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (255, 65535)', async function () { - const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(65535), + it('test operator "gt" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.gt_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(65280); + expect(res).to.equal(true); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 2 (255, 65280)', async function () { - const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(65280), + it('test operator "le" overload (euint4, euint4) => ebool test 1 (6, 9)', async function () { + const res = await this.contract1.le_euint4_euint4( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(65535); + expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(255), + it('test operator "le" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.le_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(511), + it('test operator "le" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.le_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(255), + it('test operator "le" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.le_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(511), + it('test operator "lt" overload (euint4, euint4) => ebool test 1 (4, 6)', async function () { + const res = await this.contract1.lt_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(6), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(255), + it('test operator "lt" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.lt_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(511), + it('test operator "lt" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.lt_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 3 (255, 127)', async function () { - const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(127), + it('test operator "lt" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.lt_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(255), + it('test operator "min" overload (euint4, euint4) => euint4 test 1 (6, 11)', async function () { + const res = await this.contract1.min_euint4_euint4( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(11), ); - expect(res).to.equal(false); + expect(res).to.equal(6); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(511), + it('test operator "min" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.min_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(4); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 3 (255, 127)', async function () { - const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(127), + it('test operator "min" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.min_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "le" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(255), + it('test operator "min" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.min_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(true); + expect(res).to.equal(4); }); - it('test operator "le" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(511), + it('test operator "max" overload (euint4, euint4) => euint4 test 1 (1, 12)', async function () { + const res = await this.contract1.max_euint4_euint4( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(true); + expect(res).to.equal(12); }); - it('test operator "le" overload (euint8, euint16) => ebool test 3 (255, 127)', async function () { - const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(127), + it('test operator "max" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.max_euint4_euint4( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 1 (255, 255)', async function () { - const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(255), + it('test operator "max" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.max_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 2 (255, 511)', async function () { - const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(511), + it('test operator "max" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.max_euint4_euint4( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 3 (255, 127)', async function () { - const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(127), + it('test operator "add" overload (euint4, euint8) => euint8 test 1 (1, 7)', async function () { + const res = await this.contract1.add_euint4_euint8( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(7), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 1 (255, 255)', async function () { - const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(255), + it('test operator "add" overload (euint4, euint8) => euint8 test 2 (3, 5)', async function () { + const res = await this.contract1.add_euint4_euint8( + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(5), ); - expect(res).to.equal(255); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 2 (255, 511)', async function () { - const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(511), + it('test operator "add" overload (euint4, euint8) => euint8 test 3 (5, 5)', async function () { + const res = await this.contract1.add_euint4_euint8( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(5), ); - expect(res).to.equal(255); + expect(res).to.equal(10); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 3 (255, 127)', async function () { - const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(127), + it('test operator "add" overload (euint4, euint8) => euint8 test 4 (5, 3)', async function () { + const res = await this.contract1.add_euint4_euint8( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(3), ); - expect(res).to.equal(127); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 1 (255, 255)', async function () { - const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(255), + it('test operator "sub" overload (euint4, euint8) => euint8 test 1 (12, 12)', async function () { + const res = await this.contract1.sub_euint4_euint8( + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(12), ); - expect(res).to.equal(255); + expect(res).to.equal(0); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 2 (255, 511)', async function () { - const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(511), + it('test operator "sub" overload (euint4, euint8) => euint8 test 2 (12, 8)', async function () { + const res = await this.contract1.sub_euint4_euint8( + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(511); + expect(res).to.equal(4); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 3 (255, 127)', async function () { - const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt16(127), + it('test operator "mul" overload (euint4, euint8) => euint8 test 1 (1, 8)', async function () { + const res = await this.contract1.mul_euint4_euint8( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(255); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 1 (255, 4294902015)', async function () { - const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt32(4294902015), + it('test operator "mul" overload (euint4, euint8) => euint8 test 2 (2, 4)', async function () { + const res = await this.contract1.mul_euint4_euint8( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(4294902270); + expect(res).to.equal(8); }); - it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (255, 4294902015)', async function () { - const res = await this.contract2.sub_euint8_euint32( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt32(4294902015), + it('test operator "mul" overload (euint4, euint8) => euint8 test 3 (2, 2)', async function () { + const res = await this.contract1.mul_euint4_euint8( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt8(2), ); - expect(res).to.equal(65536); + expect(res).to.equal(4); }); - it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (255, 16)', async function () { - const res = await this.contract2.sub_euint8_euint32( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt32(16), + it('test operator "mul" overload (euint4, euint8) => euint8 test 4 (4, 2)', async function () { + const res = await this.contract1.mul_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(2), ); - expect(res).to.equal(239); + expect(res).to.equal(8); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 1 (16, 65536)', async function () { - const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt32(65536), + it('test operator "and" overload (euint4, euint8) => euint8 test 1 (6, 41)', async function () { + const res = await this.contract1.and_euint4_euint8( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt8(41), ); - expect(res).to.equal(1048576); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 1 (16, 65536)', async function () { - const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt32(65536), + it('test operator "and" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract1.and_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(0); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 2 (17, 65552)', async function () { - const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(17), - this.instances2.alice.encrypt32(65552), + it('test operator "and" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract1.and_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(16); + expect(res).to.equal(8); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 1 (16, 65536)', async function () { - const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt32(65536), + it('test operator "and" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract1.and_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(65552); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 2 (17, 65552)', async function () { - const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(17), - this.instances2.alice.encrypt32(65552), + it('test operator "or" overload (euint4, euint8) => euint8 test 1 (1, 13)', async function () { + const res = await this.contract1.or_euint4_euint8( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(13), ); - expect(res).to.equal(65553); + expect(res).to.equal(13); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (16, 65536)', async function () { - const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt32(65536), + it('test operator "or" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract1.or_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(65552); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 2 (17, 65552)', async function () { - const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(17), - this.instances2.alice.encrypt32(65552), + it('test operator "or" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract1.or_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(65537); + expect(res).to.equal(8); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + it('test operator "or" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract1.or_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(true); + expect(res).to.equal(12); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(65537), + it('test operator "xor" overload (euint4, euint8) => euint8 test 1 (5, 12)', async function () { + const res = await this.contract1.xor_euint4_euint8( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(12), ); - expect(res).to.equal(false); + expect(res).to.equal(9); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + it('test operator "xor" overload (euint4, euint8) => euint8 test 2 (6, 10)', async function () { + const res = await this.contract1.xor_euint4_euint8( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt8(10), ); - expect(res).to.equal(false); + expect(res).to.equal(12); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(65537), + it('test operator "xor" overload (euint4, euint8) => euint8 test 3 (10, 10)', async function () { + const res = await this.contract1.xor_euint4_euint8( + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(10), ); - expect(res).to.equal(true); + expect(res).to.equal(0); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + it('test operator "xor" overload (euint4, euint8) => euint8 test 4 (10, 6)', async function () { + const res = await this.contract1.xor_euint4_euint8( + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(6), ); - expect(res).to.equal(true); + expect(res).to.equal(12); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(65537), + it('test operator "eq" overload (euint4, euint8) => ebool test 1 (11, 134)', async function () { + const res = await this.contract1.eq_euint4_euint8( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(134), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 3 (16, 1)', async function () { - const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt32(1), + it('test operator "eq" overload (euint4, euint8) => ebool test 2 (7, 11)', async function () { + const res = await this.contract1.eq_euint4_euint8( + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(11), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + it('test operator "eq" overload (euint4, euint8) => ebool test 3 (11, 11)', async function () { + const res = await this.contract1.eq_euint4_euint8( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(11), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(65537), + it('test operator "eq" overload (euint4, euint8) => ebool test 4 (11, 7)', async function () { + const res = await this.contract1.eq_euint4_euint8( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(7), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 3 (16, 1)', async function () { - const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt32(1), + it('test operator "ne" overload (euint4, euint8) => ebool test 1 (2, 86)', async function () { + const res = await this.contract1.ne_euint4_euint8( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt8(86), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + it('test operator "ne" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ne_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(65537), + it('test operator "ne" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ne_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ne_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 3 (16, 1)', async function () { - const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt32(1), + it('test operator "ge" overload (euint4, euint8) => ebool test 1 (7, 148)', async function () { + const res = await this.contract1.ge_euint4_euint8( + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(148), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + it('test operator "ge" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ge_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(65537), + it('test operator "ge" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ge_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 3 (16, 1)', async function () { - const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt32(1), + it('test operator "ge" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ge_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 1 (1, 1)', async function () { - const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + it('test operator "gt" overload (euint4, euint8) => ebool test 1 (6, 250)', async function () { + const res = await this.contract1.gt_euint4_euint8( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt8(250), ); - expect(res).to.equal(1); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 2 (1, 65537)', async function () { - const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(65537), + it('test operator "gt" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.gt_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(1); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 3 (16, 4)', async function () { - const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt32(4), + it('test operator "gt" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.gt_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(4); + expect(res).to.equal(false); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 1 (1, 1)', async function () { - const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + it('test operator "gt" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.gt_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(1); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 2 (1, 65537)', async function () { - const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(65537), + it('test operator "le" overload (euint4, euint8) => ebool test 1 (6, 104)', async function () { + const res = await this.contract1.le_euint4_euint8( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt8(104), ); - expect(res).to.equal(65537); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 3 (16, 4)', async function () { - const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt32(4), + it('test operator "le" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.le_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(16); + expect(res).to.equal(true); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 1 (255, 4294902015)', async function () { - const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt64(4294902015), + it('test operator "le" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.le_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(4294902270); + expect(res).to.equal(true); }); - it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (255, 4294902015)', async function () { - const res = await this.contract2.sub_euint8_euint64( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt64(4294902015), + it('test operator "le" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.le_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(18446744069414649856n); + expect(res).to.equal(false); }); - it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (255, 16)', async function () { - const res = await this.contract2.sub_euint8_euint64( - this.instances2.alice.encrypt8(255), - this.instances2.alice.encrypt64(16), + it('test operator "lt" overload (euint4, euint8) => ebool test 1 (4, 236)', async function () { + const res = await this.contract1.lt_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(236), ); - expect(res).to.equal(239); + expect(res).to.equal(true); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (16, 65536)', async function () { - const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt64(65536), + it('test operator "lt" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.lt_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(1048576); + expect(res).to.equal(true); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 1 (16, 65536)', async function () { - const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt64(65536), + it('test operator "lt" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.lt_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(false); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 2 (17, 65552)', async function () { - const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(17), - this.instances2.alice.encrypt64(65552), + it('test operator "lt" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.lt_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(16); + expect(res).to.equal(false); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 1 (16, 65536)', async function () { - const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt64(65536), + it('test operator "min" overload (euint4, euint8) => euint8 test 1 (6, 1)', async function () { + const res = await this.contract1.min_euint4_euint8( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt8(1), ); - expect(res).to.equal(65552); + expect(res).to.equal(1); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 2 (17, 65552)', async function () { - const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(17), - this.instances2.alice.encrypt64(65552), + it('test operator "min" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract1.min_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(65553); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (16, 65536)', async function () { - const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt64(65536), + it('test operator "min" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract1.min_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(65552); + expect(res).to.equal(8); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 2 (17, 65552)', async function () { - const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(17), - this.instances2.alice.encrypt64(65552), + it('test operator "min" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract1.min_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(65537); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(1), + it('test operator "max" overload (euint4, euint8) => euint8 test 1 (1, 8)', async function () { + const res = await this.contract1.max_euint4_euint8( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(65537), + it('test operator "max" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract1.max_euint4_euint8( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(1), + it('test operator "max" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract1.max_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(65537), + it('test operator "max" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract1.max_euint4_euint8( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(1), + it('test operator "add" overload (euint4, euint16) => euint16 test 1 (1, 14)', async function () { + const res = await this.contract1.add_euint4_euint16( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(14), ); - expect(res).to.equal(true); + expect(res).to.equal(15); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(65537), + it('test operator "add" overload (euint4, euint16) => euint16 test 2 (3, 5)', async function () { + const res = await this.contract1.add_euint4_euint16( + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt16(5), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 3 (16, 1)', async function () { - const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt64(1), + it('test operator "add" overload (euint4, euint16) => euint16 test 3 (5, 5)', async function () { + const res = await this.contract1.add_euint4_euint16( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(5), ); - expect(res).to.equal(true); + expect(res).to.equal(10); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(1), + it('test operator "add" overload (euint4, euint16) => euint16 test 4 (5, 3)', async function () { + const res = await this.contract1.add_euint4_euint16( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(3), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(65537), + it('test operator "sub" overload (euint4, euint16) => euint16 test 1 (12, 12)', async function () { + const res = await this.contract1.sub_euint4_euint16( + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt16(12), ); - expect(res).to.equal(false); + expect(res).to.equal(0); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 3 (16, 1)', async function () { - const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt64(1), + it('test operator "sub" overload (euint4, euint16) => euint16 test 2 (12, 8)', async function () { + const res = await this.contract1.sub_euint4_euint16( + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(true); + expect(res).to.equal(4); }); - it('test operator "le" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(1), + it('test operator "mul" overload (euint4, euint16) => euint16 test 1 (1, 8)', async function () { + const res = await this.contract1.mul_euint4_euint16( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "le" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(65537), + it('test operator "mul" overload (euint4, euint16) => euint16 test 2 (2, 4)', async function () { + const res = await this.contract1.mul_euint4_euint16( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "le" overload (euint8, euint64) => ebool test 3 (16, 1)', async function () { - const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt64(1), + it('test operator "mul" overload (euint4, euint16) => euint16 test 3 (2, 2)', async function () { + const res = await this.contract1.mul_euint4_euint16( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(2), ); - expect(res).to.equal(false); + expect(res).to.equal(4); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(1), + it('test operator "mul" overload (euint4, euint16) => euint16 test 4 (4, 2)', async function () { + const res = await this.contract1.mul_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(2), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 2 (1, 65537)', async function () { - const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(65537), + it('test operator "and" overload (euint4, euint16) => euint16 test 1 (6, 28819)', async function () { + const res = await this.contract1.and_euint4_euint16( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(28819), ); - expect(res).to.equal(true); + expect(res).to.equal(2); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 3 (16, 1)', async function () { - const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt64(1), + it('test operator "and" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract1.and_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(false); + expect(res).to.equal(0); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 1 (1, 1)', async function () { - const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(1), + it('test operator "and" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract1.and_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(1); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 2 (1, 65537)', async function () { - const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(65537), + it('test operator "and" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract1.and_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(1); + expect(res).to.equal(0); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 3 (16, 4)', async function () { - const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt64(4), + it('test operator "or" overload (euint4, euint16) => euint16 test 1 (1, 12)', async function () { + const res = await this.contract1.or_euint4_euint16( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(12), ); - expect(res).to.equal(4); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 1 (1, 1)', async function () { - const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(1), + it('test operator "or" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract1.or_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(1); + expect(res).to.equal(12); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 2 (1, 65537)', async function () { - const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(65537), + it('test operator "or" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract1.or_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(65537); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 3 (16, 4)', async function () { - const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(16), - this.instances2.alice.encrypt64(4), + it('test operator "or" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract1.or_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(16); + expect(res).to.equal(12); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(4), 3); - expect(res).to.equal(7); + it('test operator "xor" overload (euint4, euint16) => euint16 test 1 (1, 15)', async function () { + const res = await this.contract1.xor_euint4_euint16( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(15), + ); + expect(res).to.equal(14); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract2.add_uint8_euint8(4, this.instances2.alice.encrypt8(3)); - expect(res).to.equal(7); + it('test operator "xor" overload (euint4, euint16) => euint16 test 2 (6, 10)', async function () { + const res = await this.contract1.xor_euint4_euint16( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(10), + ); + expect(res).to.equal(12); }); - it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(4), 3); - expect(res).to.equal(1); + it('test operator "xor" overload (euint4, euint16) => euint16 test 3 (10, 10)', async function () { + const res = await this.contract1.xor_euint4_euint16( + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(10), + ); + expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (3, 4)', async function () { - const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(3), 4); - expect(res).to.equal(255); + it('test operator "xor" overload (euint4, euint16) => euint16 test 4 (10, 6)', async function () { + const res = await this.contract1.xor_euint4_euint16( + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(6), + ); + expect(res).to.equal(12); }); - it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract2.sub_uint8_euint8(4, this.instances2.alice.encrypt8(3)); - expect(res).to.equal(1); + it('test operator "eq" overload (euint4, euint16) => ebool test 1 (11, 56998)', async function () { + const res = await this.contract1.eq_euint4_euint16( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt16(56998), + ); + expect(res).to.equal(false); }); - it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (3, 4)', async function () { - const res = await this.contract2.sub_uint8_euint8(3, this.instances2.alice.encrypt8(4)); - expect(res).to.equal(255); + it('test operator "eq" overload (euint4, euint16) => ebool test 2 (7, 11)', async function () { + const res = await this.contract1.eq_euint4_euint16( + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt16(11), + ); + expect(res).to.equal(false); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(4), 3); - expect(res).to.equal(12); + it('test operator "eq" overload (euint4, euint16) => ebool test 3 (11, 11)', async function () { + const res = await this.contract1.eq_euint4_euint16( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt16(11), + ); + expect(res).to.equal(true); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 2 (3, 4)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(3), 4); - expect(res).to.equal(12); + it('test operator "eq" overload (euint4, euint16) => ebool test 4 (11, 7)', async function () { + const res = await this.contract1.eq_euint4_euint16( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt16(7), + ); + expect(res).to.equal(false); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 3 (8, 2)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(8), 2); - expect(res).to.equal(16); + it('test operator "ne" overload (euint4, euint16) => ebool test 1 (2, 15611)', async function () { + const res = await this.contract1.ne_euint4_euint16( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(15611), + ); + expect(res).to.equal(true); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract2.mul_uint8_euint8(4, this.instances2.alice.encrypt8(3)); - expect(res).to.equal(12); + it('test operator "ne" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ne_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), + ); + expect(res).to.equal(true); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 2 (3, 4)', async function () { - const res = await this.contract2.mul_uint8_euint8(3, this.instances2.alice.encrypt8(4)); - expect(res).to.equal(12); + it('test operator "ne" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ne_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), + ); + expect(res).to.equal(false); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 3 (8, 2)', async function () { - const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(2)); - expect(res).to.equal(16); + it('test operator "ne" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ne_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), + ); + expect(res).to.equal(true); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 1 (16, 2)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(16), 2); - expect(res).to.equal(8); + it('test operator "ge" overload (euint4, euint16) => ebool test 1 (7, 22312)', async function () { + const res = await this.contract1.ge_euint4_euint16( + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt16(22312), + ); + expect(res).to.equal(false); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (8, 3)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(8), 3); - expect(res).to.equal(2); + it('test operator "ge" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ge_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), + ); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(16), 16); + it('test operator "ge" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ge_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), + ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(16), 2); - expect(res).to.equal(false); - }); - - it('test operator "eq" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.eq_uint8_euint8(16, this.instances2.alice.encrypt8(16)); + it('test operator "ge" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ge_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), + ); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.eq_uint8_euint8(16, this.instances2.alice.encrypt8(2)); + it('test operator "gt" overload (euint4, euint16) => ebool test 1 (6, 26898)', async function () { + const res = await this.contract1.gt_euint4_euint16( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(26898), + ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(16), 16); + it('test operator "gt" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.gt_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), + ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(16), 2); - expect(res).to.equal(true); + it('test operator "gt" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.gt_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), + ); + expect(res).to.equal(false); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.ne_uint8_euint8(16, this.instances2.alice.encrypt8(16)); - expect(res).to.equal(false); + it('test operator "gt" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.gt_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), + ); + expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.ne_uint8_euint8(16, this.instances2.alice.encrypt8(2)); + it('test operator "le" overload (euint4, euint16) => ebool test 1 (6, 39475)', async function () { + const res = await this.contract1.le_euint4_euint16( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(39475), + ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(16), 16); + it('test operator "le" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.le_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), + ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(16), 2); + it('test operator "le" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.le_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), + ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, uint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(16), 17); + it('test operator "le" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.le_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), + ); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.ge_uint8_euint8(16, this.instances2.alice.encrypt8(16)); + it('test operator "lt" overload (euint4, euint16) => ebool test 1 (4, 31822)', async function () { + const res = await this.contract1.lt_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(31822), + ); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.ge_uint8_euint8(16, this.instances2.alice.encrypt8(2)); + it('test operator "lt" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.lt_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), + ); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract2.ge_uint8_euint8(16, this.instances2.alice.encrypt8(17)); + it('test operator "lt" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.lt_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), + ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(16), 16); + it('test operator "lt" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.lt_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), + ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(16), 2); - expect(res).to.equal(true); + it('test operator "min" overload (euint4, euint16) => euint16 test 1 (6, 45682)', async function () { + const res = await this.contract1.min_euint4_euint16( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(45682), + ); + expect(res).to.equal(6); }); - it('test operator "gt" overload (euint8, uint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(16), 17); - expect(res).to.equal(false); + it('test operator "min" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract1.min_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), + ); + expect(res).to.equal(4); }); - it('test operator "gt" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.gt_uint8_euint8(16, this.instances2.alice.encrypt8(16)); - expect(res).to.equal(false); + it('test operator "min" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract1.min_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), + ); + expect(res).to.equal(8); }); - it('test operator "gt" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.gt_uint8_euint8(16, this.instances2.alice.encrypt8(2)); - expect(res).to.equal(true); + it('test operator "min" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract1.min_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), + ); + expect(res).to.equal(4); }); - it('test operator "gt" overload (uint8, euint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract2.gt_uint8_euint8(16, this.instances2.alice.encrypt8(17)); - expect(res).to.equal(false); + it('test operator "max" overload (euint4, euint16) => euint16 test 1 (1, 14)', async function () { + const res = await this.contract1.max_euint4_euint16( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(14), + ); + expect(res).to.equal(14); }); - it('test operator "le" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(16), 16); - expect(res).to.equal(true); + it('test operator "max" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract1.max_euint4_euint16( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), + ); + expect(res).to.equal(8); }); - it('test operator "le" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(16), 2); - expect(res).to.equal(false); + it('test operator "max" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract1.max_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), + ); + expect(res).to.equal(8); }); - it('test operator "le" overload (euint8, uint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(16), 17); - expect(res).to.equal(true); + it('test operator "max" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract1.max_euint4_euint16( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), + ); + expect(res).to.equal(8); }); - it('test operator "le" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.le_uint8_euint8(16, this.instances2.alice.encrypt8(16)); - expect(res).to.equal(true); + it('test operator "add" overload (euint4, euint32) => euint32 test 1 (1, 10)', async function () { + const res = await this.contract1.add_euint4_euint32( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(10), + ); + expect(res).to.equal(11); }); - it('test operator "le" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.le_uint8_euint8(16, this.instances2.alice.encrypt8(2)); - expect(res).to.equal(false); + it('test operator "add" overload (euint4, euint32) => euint32 test 2 (3, 5)', async function () { + const res = await this.contract1.add_euint4_euint32( + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt32(5), + ); + expect(res).to.equal(8); }); - it('test operator "le" overload (uint8, euint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract2.le_uint8_euint8(16, this.instances2.alice.encrypt8(17)); - expect(res).to.equal(true); + it('test operator "add" overload (euint4, euint32) => euint32 test 3 (5, 5)', async function () { + const res = await this.contract1.add_euint4_euint32( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(5), + ); + expect(res).to.equal(10); }); - it('test operator "lt" overload (euint8, uint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(16), 16); - expect(res).to.equal(false); - }); - - it('test operator "lt" overload (euint8, uint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(16), 2); - expect(res).to.equal(false); - }); - - it('test operator "lt" overload (euint8, uint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(16), 17); - expect(res).to.equal(true); - }); - - it('test operator "lt" overload (uint8, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract2.lt_uint8_euint8(16, this.instances2.alice.encrypt8(16)); - expect(res).to.equal(false); + it('test operator "add" overload (euint4, euint32) => euint32 test 4 (5, 3)', async function () { + const res = await this.contract1.add_euint4_euint32( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(3), + ); + expect(res).to.equal(8); }); - it('test operator "lt" overload (uint8, euint8) => ebool test 2 (16, 2)', async function () { - const res = await this.contract2.lt_uint8_euint8(16, this.instances2.alice.encrypt8(2)); - expect(res).to.equal(false); + it('test operator "sub" overload (euint4, euint32) => euint32 test 1 (12, 12)', async function () { + const res = await this.contract1.sub_euint4_euint32( + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt32(12), + ); + expect(res).to.equal(0); }); - it('test operator "lt" overload (uint8, euint8) => ebool test 3 (16, 17)', async function () { - const res = await this.contract2.lt_uint8_euint8(16, this.instances2.alice.encrypt8(17)); - expect(res).to.equal(true); + it('test operator "sub" overload (euint4, euint32) => euint32 test 2 (12, 8)', async function () { + const res = await this.contract1.sub_euint4_euint32( + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt32(8), + ); + expect(res).to.equal(4); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 1 (16, 16)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(16), 16); - expect(res).to.equal(16); + it('test operator "mul" overload (euint4, euint32) => euint32 test 1 (1, 15)', async function () { + const res = await this.contract1.mul_euint4_euint32( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(15), + ); + expect(res).to.equal(15); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(16), 2); - expect(res).to.equal(2); + it('test operator "mul" overload (euint4, euint32) => euint32 test 2 (2, 4)', async function () { + const res = await this.contract1.mul_euint4_euint32( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt32(4), + ); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 3 (16, 17)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(16), 17); - expect(res).to.equal(16); + it('test operator "mul" overload (euint4, euint32) => euint32 test 3 (2, 2)', async function () { + const res = await this.contract1.mul_euint4_euint32( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt32(2), + ); + expect(res).to.equal(4); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 1 (16, 16)', async function () { - const res = await this.contract2.min_uint8_euint8(16, this.instances2.alice.encrypt8(16)); - expect(res).to.equal(16); + it('test operator "mul" overload (euint4, euint32) => euint32 test 4 (4, 2)', async function () { + const res = await this.contract1.mul_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(2), + ); + expect(res).to.equal(8); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract2.min_uint8_euint8(16, this.instances2.alice.encrypt8(2)); + it('test operator "and" overload (euint4, euint32) => euint32 test 1 (6, 159427402)', async function () { + const res = await this.contract1.and_euint4_euint32( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(159427402), + ); expect(res).to.equal(2); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 3 (16, 17)', async function () { - const res = await this.contract2.min_uint8_euint8(16, this.instances2.alice.encrypt8(17)); - expect(res).to.equal(16); + it('test operator "and" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract1.and_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), + ); + expect(res).to.equal(0); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 1 (16, 16)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(16), 16); - expect(res).to.equal(16); + it('test operator "and" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract1.and_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), + ); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(16), 2); - expect(res).to.equal(16); + it('test operator "and" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract1.and_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), + ); + expect(res).to.equal(0); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 3 (16, 17)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(16), 17); - expect(res).to.equal(17); + it('test operator "or" overload (euint4, euint32) => euint32 test 1 (1, 11)', async function () { + const res = await this.contract1.or_euint4_euint32( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(11), + ); + expect(res).to.equal(11); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 1 (16, 16)', async function () { - const res = await this.contract2.max_uint8_euint8(16, this.instances2.alice.encrypt8(16)); - expect(res).to.equal(16); + it('test operator "or" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract1.or_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), + ); + expect(res).to.equal(12); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract2.max_uint8_euint8(16, this.instances2.alice.encrypt8(2)); - expect(res).to.equal(16); + it('test operator "or" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract1.or_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), + ); + expect(res).to.equal(8); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 3 (16, 17)', async function () { - const res = await this.contract2.max_uint8_euint8(16, this.instances2.alice.encrypt8(17)); - expect(res).to.equal(17); + it('test operator "or" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract1.or_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), + ); + expect(res).to.equal(12); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 1 (4096, 16)', async function () { - const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(4096), - this.instances3.alice.encrypt8(16), + it('test operator "xor" overload (euint4, euint32) => euint32 test 1 (1, 15)', async function () { + const res = await this.contract1.xor_euint4_euint32( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(15), ); - expect(res).to.equal(4112); + expect(res).to.equal(14); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 2 (4112, 16)', async function () { - const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(4112), - this.instances3.alice.encrypt8(16), + it('test operator "xor" overload (euint4, euint32) => euint32 test 2 (6, 10)', async function () { + const res = await this.contract1.xor_euint4_euint32( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(10), ); - expect(res).to.equal(4128); + expect(res).to.equal(12); }); - it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (4096, 16)', async function () { - const res = await this.contract3.sub_euint16_euint8( - this.instances3.alice.encrypt16(4096), - this.instances3.alice.encrypt8(16), + it('test operator "xor" overload (euint4, euint32) => euint32 test 3 (10, 10)', async function () { + const res = await this.contract1.xor_euint4_euint32( + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(10), ); - expect(res).to.equal(4080); + expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (4112, 16)', async function () { - const res = await this.contract3.sub_euint16_euint8( - this.instances3.alice.encrypt16(4112), - this.instances3.alice.encrypt8(16), + it('test operator "xor" overload (euint4, euint32) => euint32 test 4 (10, 6)', async function () { + const res = await this.contract1.xor_euint4_euint32( + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(6), ); - expect(res).to.equal(4096); + expect(res).to.equal(12); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (4096, 4)', async function () { - const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(4096), - this.instances3.alice.encrypt8(4), + it('test operator "eq" overload (euint4, euint32) => ebool test 1 (11, 991467756)', async function () { + const res = await this.contract1.eq_euint4_euint32( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(991467756), ); - expect(res).to.equal(16384); + expect(res).to.equal(false); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 1 (4096, 4)', async function () { - const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(4096), - this.instances3.alice.encrypt8(4), + it('test operator "eq" overload (euint4, euint32) => ebool test 2 (7, 11)', async function () { + const res = await this.contract1.eq_euint4_euint32( + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt32(11), ); - expect(res).to.equal(0); + expect(res).to.equal(false); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 2 (4336, 240)', async function () { - const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(4336), - this.instances3.alice.encrypt8(240), + it('test operator "eq" overload (euint4, euint32) => ebool test 3 (11, 11)', async function () { + const res = await this.contract1.eq_euint4_euint32( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(11), ); - expect(res).to.equal(240); + expect(res).to.equal(true); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 1 (4096, 4)', async function () { - const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(4096), - this.instances3.alice.encrypt8(4), + it('test operator "eq" overload (euint4, euint32) => ebool test 4 (11, 7)', async function () { + const res = await this.contract1.eq_euint4_euint32( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(7), ); - expect(res).to.equal(4100); + expect(res).to.equal(false); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 2 (4336, 240)', async function () { - const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(4336), - this.instances3.alice.encrypt8(240), + it('test operator "ne" overload (euint4, euint32) => ebool test 1 (2, 2115089145)', async function () { + const res = await this.contract1.ne_euint4_euint32( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt32(2115089145), ); - expect(res).to.equal(4336); + expect(res).to.equal(true); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (4096, 4)', async function () { - const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(4096), - this.instances3.alice.encrypt8(4), + it('test operator "ne" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ne_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(4100); + expect(res).to.equal(true); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (4336, 242)', async function () { - const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(4336), - this.instances3.alice.encrypt8(242), + it('test operator "ne" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ne_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(4098); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(16), - this.instances3.alice.encrypt8(16), + it('test operator "ne" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ne_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(272), - this.instances3.alice.encrypt8(16), + it('test operator "ge" overload (euint4, euint32) => ebool test 1 (7, 2084141274)', async function () { + const res = await this.contract1.ge_euint4_euint32( + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt32(2084141274), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(16), - this.instances3.alice.encrypt8(16), + it('test operator "ge" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ge_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(272), - this.instances3.alice.encrypt8(16), + it('test operator "ge" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ge_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(16), - this.instances3.alice.encrypt8(16), + it('test operator "ge" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ge_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(272), - this.instances3.alice.encrypt8(16), + it('test operator "gt" overload (euint4, euint32) => ebool test 1 (6, 1743193522)', async function () { + const res = await this.contract1.gt_euint4_euint32( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(1743193522), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 3 (15, 16)', async function () { - const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(15), - this.instances3.alice.encrypt8(16), + it('test operator "gt" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.gt_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(16), - this.instances3.alice.encrypt8(16), + it('test operator "gt" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.gt_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(272), - this.instances3.alice.encrypt8(16), + it('test operator "gt" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.gt_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 3 (15, 16)', async function () { - const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(15), - this.instances3.alice.encrypt8(16), - ); - expect(res).to.equal(false); - }); - - it('test operator "le" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(16), - this.instances3.alice.encrypt8(16), + it('test operator "le" overload (euint4, euint32) => ebool test 1 (6, 204501643)', async function () { + const res = await this.contract1.le_euint4_euint32( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(204501643), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(272), - this.instances3.alice.encrypt8(16), + it('test operator "le" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.le_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 3 (15, 16)', async function () { - const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(15), - this.instances3.alice.encrypt8(16), + it('test operator "le" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.le_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 1 (16, 16)', async function () { - const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(16), - this.instances3.alice.encrypt8(16), + it('test operator "le" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.le_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 2 (272, 16)', async function () { - const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(272), - this.instances3.alice.encrypt8(16), + it('test operator "lt" overload (euint4, euint32) => ebool test 1 (4, 329229639)', async function () { + const res = await this.contract1.lt_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(329229639), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 3 (15, 16)', async function () { - const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(15), - this.instances3.alice.encrypt8(16), + it('test operator "lt" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.lt_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 1 (16, 16)', async function () { - const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(16), - this.instances3.alice.encrypt8(16), + it('test operator "lt" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.lt_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(16); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 2 (272, 16)', async function () { - const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(272), - this.instances3.alice.encrypt8(16), + it('test operator "lt" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.lt_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(16); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 3 (15, 16)', async function () { - const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(15), - this.instances3.alice.encrypt8(16), + it('test operator "min" overload (euint4, euint32) => euint32 test 1 (6, 629182656)', async function () { + const res = await this.contract1.min_euint4_euint32( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(629182656), ); - expect(res).to.equal(15); + expect(res).to.equal(6); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 1 (16, 16)', async function () { - const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(16), - this.instances3.alice.encrypt8(16), + it('test operator "min" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract1.min_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(16); + expect(res).to.equal(4); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 2 (272, 16)', async function () { - const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(272), - this.instances3.alice.encrypt8(16), + it('test operator "min" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract1.min_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(272); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 3 (15, 16)', async function () { - const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(15), - this.instances3.alice.encrypt8(16), + it('test operator "min" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract1.min_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(16); + expect(res).to.equal(4); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 1 (258, 513)', async function () { - const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(258), - this.instances3.alice.encrypt16(513), + it('test operator "max" overload (euint4, euint32) => euint32 test 1 (1, 11)', async function () { + const res = await this.contract1.max_euint4_euint32( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(11), ); - expect(res).to.equal(771); + expect(res).to.equal(11); }); - it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (1027, 258)', async function () { - const res = await this.contract3.sub_euint16_euint16( - this.instances3.alice.encrypt16(1027), - this.instances3.alice.encrypt16(258), + it('test operator "max" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract1.max_euint4_euint32( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(769); + expect(res).to.equal(8); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "max" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract1.max_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(1024); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "max" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract1.max_euint4_euint32( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(0); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 2 (528, 18)', async function () { - const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(528), - this.instances3.alice.encrypt16(18), + it('test operator "add" overload (euint4, euint64) => euint64 test 1 (1, 7)', async function () { + const res = await this.contract1.add_euint4_euint64( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(7), ); - expect(res).to.equal(16); + expect(res).to.equal(8); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "add" overload (euint4, euint64) => euint64 test 2 (3, 5)', async function () { + const res = await this.contract1.add_euint4_euint64( + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt64(5), ); - expect(res).to.equal(514); + expect(res).to.equal(8); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 2 (528, 18)', async function () { - const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(528), - this.instances3.alice.encrypt16(18), + it('test operator "add" overload (euint4, euint64) => euint64 test 3 (5, 5)', async function () { + const res = await this.contract1.add_euint4_euint64( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt64(5), ); - expect(res).to.equal(530); + expect(res).to.equal(10); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "add" overload (euint4, euint64) => euint64 test 4 (5, 3)', async function () { + const res = await this.contract1.add_euint4_euint64( + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt64(3), ); - expect(res).to.equal(514); + expect(res).to.equal(8); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (528, 18)', async function () { - const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(528), - this.instances3.alice.encrypt16(18), + it('test operator "sub" overload (euint4, euint64) => euint64 test 1 (12, 12)', async function () { + const res = await this.contract1.sub_euint4_euint64( + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt64(12), ); - expect(res).to.equal(514); + expect(res).to.equal(0); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "sub" overload (euint4, euint64) => euint64 test 2 (12, 8)', async function () { + const res = await this.contract1.sub_euint4_euint64( + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(false); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(512), + it('test operator "mul" overload (euint4, euint64) => euint64 test 1 (1, 10)', async function () { + const res = await this.contract1.mul_euint4_euint64( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(10), ); - expect(res).to.equal(true); + expect(res).to.equal(10); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "mul" overload (euint4, euint64) => euint64 test 2 (2, 4)', async function () { + const res = await this.contract1.mul_euint4_euint64( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(512), + it('test operator "mul" overload (euint4, euint64) => euint64 test 3 (2, 2)', async function () { + const res = await this.contract1.mul_euint4_euint64( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt64(2), ); - expect(res).to.equal(false); + expect(res).to.equal(4); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "mul" overload (euint4, euint64) => euint64 test 4 (4, 2)', async function () { + const res = await this.contract1.mul_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(2), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(512), + it('test operator "and" overload (euint4, euint64) => euint64 test 1 (6, 698915120)', async function () { + const res = await this.contract1.and_euint4_euint64( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(698915120), ); - expect(res).to.equal(true); + expect(res).to.equal(0); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 3 (512, 513)', async function () { - const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(513), + it('test operator "and" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract1.and_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(false); + expect(res).to.equal(0); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "and" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract1.and_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(512), + it('test operator "and" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract1.and_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(false); + expect(res).to.equal(0); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 3 (512, 513)', async function () { - const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(513), + it('test operator "or" overload (euint4, euint64) => euint64 test 1 (1, 10)', async function () { + const res = await this.contract1.or_euint4_euint64( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(10), ); - expect(res).to.equal(false); + expect(res).to.equal(11); }); - it('test operator "le" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "or" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract1.or_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(false); + expect(res).to.equal(12); }); - it('test operator "le" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(512), + it('test operator "or" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract1.or_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "le" overload (euint16, euint16) => ebool test 3 (512, 513)', async function () { - const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(513), + it('test operator "or" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract1.or_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(true); + expect(res).to.equal(12); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 1 (512, 2)', async function () { - const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "xor" overload (euint4, euint64) => euint64 test 1 (1, 11)', async function () { + const res = await this.contract1.xor_euint4_euint64( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(11), ); - expect(res).to.equal(false); + expect(res).to.equal(10); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 2 (512, 512)', async function () { - const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(512), + it('test operator "xor" overload (euint4, euint64) => euint64 test 2 (6, 10)', async function () { + const res = await this.contract1.xor_euint4_euint64( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(10), ); - expect(res).to.equal(false); + expect(res).to.equal(12); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 3 (512, 513)', async function () { - const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(513), + it('test operator "xor" overload (euint4, euint64) => euint64 test 3 (10, 10)', async function () { + const res = await this.contract1.xor_euint4_euint64( + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(10), ); - expect(res).to.equal(true); + expect(res).to.equal(0); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "xor" overload (euint4, euint64) => euint64 test 4 (10, 6)', async function () { + const res = await this.contract1.xor_euint4_euint64( + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(6), ); - expect(res).to.equal(2); + expect(res).to.equal(12); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 2 (512, 512)', async function () { - const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(512), + it('test operator "eq" overload (euint4, euint64) => ebool test 1 (11, 1242271547)', async function () { + const res = await this.contract1.eq_euint4_euint64( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(1242271547), ); - expect(res).to.equal(512); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 3 (512, 513)', async function () { - const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(513), + it('test operator "eq" overload (euint4, euint64) => ebool test 2 (7, 11)', async function () { + const res = await this.contract1.eq_euint4_euint64( + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt64(11), ); - expect(res).to.equal(512); + expect(res).to.equal(false); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 1 (512, 2)', async function () { - const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(2), + it('test operator "eq" overload (euint4, euint64) => ebool test 3 (11, 11)', async function () { + const res = await this.contract1.eq_euint4_euint64( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(11), ); - expect(res).to.equal(512); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 2 (512, 512)', async function () { - const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(512), + it('test operator "eq" overload (euint4, euint64) => ebool test 4 (11, 7)', async function () { + const res = await this.contract1.eq_euint4_euint64( + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(7), ); - expect(res).to.equal(512); + expect(res).to.equal(false); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 3 (512, 513)', async function () { - const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt16(513), + it('test operator "ne" overload (euint4, euint64) => ebool test 1 (2, 537819520)', async function () { + const res = await this.contract1.ne_euint4_euint64( + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt64(537819520), ); - expect(res).to.equal(513); + expect(res).to.equal(true); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 1 (514, 131074)', async function () { - const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(131074), + it('test operator "ne" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ne_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(131588); + expect(res).to.equal(true); }); - it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (514, 2)', async function () { - const res = await this.contract3.sub_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(2), + it('test operator "ne" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ne_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(512); + expect(res).to.equal(false); }); - it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (514, 65536)', async function () { - const res = await this.contract3.sub_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(65536), + it('test operator "ne" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ne_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(4294902274); + expect(res).to.equal(true); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (512, 65536)', async function () { - const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt32(65536), + it('test operator "ge" overload (euint4, euint64) => ebool test 1 (7, 1017706709)', async function () { + const res = await this.contract1.ge_euint4_euint64( + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt64(1017706709), ); - expect(res).to.equal(33554432); + expect(res).to.equal(false); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 1 (514, 65536)', async function () { - const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(65536), + it('test operator "ge" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ge_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(0); + expect(res).to.equal(false); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 2 (514, 65538)', async function () { - const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(65538), + it('test operator "ge" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ge_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(2); + expect(res).to.equal(true); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 1 (514, 65536)', async function () { - const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(65536), + it('test operator "ge" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ge_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(66050); + expect(res).to.equal(true); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 2 (514, 65538)', async function () { - const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(65538), + it('test operator "gt" overload (euint4, euint64) => ebool test 1 (6, 8303014)', async function () { + const res = await this.contract1.gt_euint4_euint64( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(8303014), ); - expect(res).to.equal(66050); + expect(res).to.equal(false); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (514, 65536)', async function () { - const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(65536), + it('test operator "gt" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.gt_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(66050); + expect(res).to.equal(false); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (514, 65538)', async function () { - const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(65538), + it('test operator "gt" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.gt_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(66048); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(66050), + it('test operator "gt" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.gt_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(514), + it('test operator "le" overload (euint4, euint64) => ebool test 1 (6, 102260366)', async function () { + const res = await this.contract1.le_euint4_euint64( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(102260366), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(66050), + it('test operator "le" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.le_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(514), + it('test operator "le" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.le_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(66050), + it('test operator "le" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.le_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(514), + it('test operator "lt" overload (euint4, euint64) => ebool test 1 (4, 1152793041)', async function () { + const res = await this.contract1.lt_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(1152793041), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 3 (514, 513)', async function () { - const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(513), + it('test operator "lt" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.lt_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(66050), + it('test operator "lt" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.lt_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(514), + it('test operator "lt" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.lt_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 3 (514, 513)', async function () { - const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(513), + it('test operator "min" overload (euint4, euint64) => euint64 test 1 (6, 1380027485)', async function () { + const res = await this.contract1.min_euint4_euint64( + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(1380027485), ); - expect(res).to.equal(true); + expect(res).to.equal(6); }); - it('test operator "le" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(66050), + it('test operator "min" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract1.min_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(true); + expect(res).to.equal(4); }); - it('test operator "le" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(514), + it('test operator "min" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract1.min_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "le" overload (euint16, euint32) => ebool test 3 (514, 513)', async function () { - const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(513), + it('test operator "min" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract1.min_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(false); + expect(res).to.equal(4); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(66050), + it('test operator "max" overload (euint4, euint64) => euint64 test 1 (1, 12)', async function () { + const res = await this.contract1.max_euint4_euint64( + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(12), ); - expect(res).to.equal(true); + expect(res).to.equal(12); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(514), + it('test operator "max" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract1.max_euint4_euint64( + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 3 (514, 513)', async function () { - const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(513), + it('test operator "max" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract1.max_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 1 (514, 66050)', async function () { - const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(66050), + it('test operator "max" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract1.max_euint4_euint64( + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(514); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 2 (514, 514)', async function () { - const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(514), - ); - expect(res).to.equal(514); + it('test operator "add" overload (euint4, uint8) => euint4 test 1 (11, 1)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(11), 1); + expect(res).to.equal(12); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 3 (514, 513)', async function () { - const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(513), - ); - expect(res).to.equal(513); - }); - - it('test operator "max" overload (euint16, euint32) => euint32 test 1 (514, 66050)', async function () { - const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(66050), - ); - expect(res).to.equal(66050); + it('test operator "add" overload (euint4, uint8) => euint4 test 2 (3, 5)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(3), 5); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 2 (514, 514)', async function () { - const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(514), - ); - expect(res).to.equal(514); + it('test operator "add" overload (euint4, uint8) => euint4 test 3 (5, 5)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(5), 5); + expect(res).to.equal(10); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 3 (514, 513)', async function () { - const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt32(513), - ); - expect(res).to.equal(514); + it('test operator "add" overload (euint4, uint8) => euint4 test 4 (5, 3)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(5), 3); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 1 (514, 131074)', async function () { - const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(131074), - ); - expect(res).to.equal(131588); + it('test operator "add" overload (uint8, euint4) => euint4 test 1 (8, 4)', async function () { + const res = await this.contract1.add_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(12); }); - it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (514, 2)', async function () { - const res = await this.contract3.sub_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(2), - ); - expect(res).to.equal(512); + it('test operator "add" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.add_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(12); }); - it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (514, 65536)', async function () { - const res = await this.contract3.sub_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(65536), - ); - expect(res).to.equal(18446744073709486594n); + it('test operator "add" overload (uint8, euint4) => euint4 test 3 (4, 4)', async function () { + const res = await this.contract1.add_uint8_euint4(4, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(8); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (512, 65536)', async function () { - const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(512), - this.instances3.alice.encrypt64(65536), - ); - expect(res).to.equal(33554432); + it('test operator "add" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.add_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(12); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 1 (514, 65536)', async function () { - const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(65536), - ); + it('test operator "sub" overload (euint4, uint8) => euint4 test 1 (12, 12)', async function () { + const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(12), 12); expect(res).to.equal(0); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 2 (514, 65538)', async function () { - const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(65538), - ); - expect(res).to.equal(2); + it('test operator "sub" overload (euint4, uint8) => euint4 test 2 (12, 8)', async function () { + const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(12), 8); + expect(res).to.equal(4); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 1 (514, 65536)', async function () { - const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(65536), - ); - expect(res).to.equal(66050); + it('test operator "sub" overload (uint8, euint4) => euint4 test 1 (8, 8)', async function () { + const res = await this.contract1.sub_uint8_euint4(8, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 2 (514, 65538)', async function () { - const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(65538), - ); - expect(res).to.equal(66050); + it('test operator "sub" overload (uint8, euint4) => euint4 test 2 (8, 4)', async function () { + const res = await this.contract1.sub_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (514, 65536)', async function () { - const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(65536), - ); - expect(res).to.equal(66050); + it('test operator "mul" overload (euint4, uint8) => euint4 test 1 (1, 7)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(1), 7); + expect(res).to.equal(7); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (514, 65538)', async function () { - const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(65538), - ); - expect(res).to.equal(66048); + it('test operator "mul" overload (euint4, uint8) => euint4 test 2 (2, 4)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(2), 4); + expect(res).to.equal(8); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(66050), - ); - expect(res).to.equal(false); + it('test operator "mul" overload (euint4, uint8) => euint4 test 3 (2, 2)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(2), 2); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(514), - ); - expect(res).to.equal(true); + it('test operator "mul" overload (euint4, uint8) => euint4 test 4 (4, 2)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(4), 2); + expect(res).to.equal(8); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(66050), - ); - expect(res).to.equal(true); + it('test operator "mul" overload (uint8, euint4) => euint4 test 1 (6, 2)', async function () { + const res = await this.contract1.mul_uint8_euint4(6, this.instances1.alice.encrypt4(2)); + expect(res).to.equal(12); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(514), - ); - expect(res).to.equal(false); + it('test operator "mul" overload (uint8, euint4) => euint4 test 2 (2, 4)', async function () { + const res = await this.contract1.mul_uint8_euint4(2, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(8); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(66050), - ); - expect(res).to.equal(false); + it('test operator "mul" overload (uint8, euint4) => euint4 test 3 (2, 2)', async function () { + const res = await this.contract1.mul_uint8_euint4(2, this.instances1.alice.encrypt4(2)); + expect(res).to.equal(4); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(514), - ); - expect(res).to.equal(true); + it('test operator "mul" overload (uint8, euint4) => euint4 test 4 (4, 2)', async function () { + const res = await this.contract1.mul_uint8_euint4(4, this.instances1.alice.encrypt4(2)); + expect(res).to.equal(8); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 3 (514, 513)', async function () { - const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(513), - ); - expect(res).to.equal(true); + it('test operator "div" overload (euint4, uint8) => euint4 test 1 (2, 8)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(2), 8); + expect(res).to.equal(0); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(66050), - ); - expect(res).to.equal(false); + it('test operator "div" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + expect(res).to.equal(0); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(514), - ); - expect(res).to.equal(false); + it('test operator "div" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + expect(res).to.equal(1); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 3 (514, 513)', async function () { - const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(513), - ); - expect(res).to.equal(true); + it('test operator "div" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + expect(res).to.equal(2); }); - it('test operator "le" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(66050), - ); - expect(res).to.equal(true); + it('test operator "rem" overload (euint4, uint8) => euint4 test 1 (12, 1)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(12), 1); + expect(res).to.equal(0); }); - it('test operator "le" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(514), - ); - expect(res).to.equal(true); + it('test operator "rem" overload (euint4, uint8) => euint4 test 2 (8, 12)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(8), 12); + expect(res).to.equal(8); }); - it('test operator "le" overload (euint16, euint64) => ebool test 3 (514, 513)', async function () { - const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(513), - ); - expect(res).to.equal(false); + it('test operator "rem" overload (euint4, uint8) => euint4 test 3 (12, 12)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(12), 12); + expect(res).to.equal(0); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 1 (514, 66050)', async function () { - const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(66050), - ); - expect(res).to.equal(true); + it('test operator "rem" overload (euint4, uint8) => euint4 test 4 (12, 8)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(12), 8); + expect(res).to.equal(4); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 2 (514, 514)', async function () { - const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(514), - ); + it('test operator "eq" overload (euint4, uint8) => ebool test 1 (11, 3)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(11), 3); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 3 (514, 513)', async function () { - const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(513), - ); + it('test operator "eq" overload (euint4, uint8) => ebool test 2 (7, 11)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(7), 11); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 1 (514, 66050)', async function () { - const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(66050), - ); - expect(res).to.equal(514); + it('test operator "eq" overload (euint4, uint8) => ebool test 3 (11, 11)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(11), 11); + expect(res).to.equal(true); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 2 (514, 514)', async function () { - const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(514), - ); - expect(res).to.equal(514); + it('test operator "eq" overload (euint4, uint8) => ebool test 4 (11, 7)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(11), 7); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 3 (514, 513)', async function () { - const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(513), - ); - expect(res).to.equal(513); + it('test operator "eq" overload (uint8, euint4) => ebool test 1 (6, 2)', async function () { + const res = await this.contract1.eq_uint8_euint4(6, this.instances1.alice.encrypt4(2)); + expect(res).to.equal(false); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 1 (514, 66050)', async function () { - const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(66050), - ); - expect(res).to.equal(66050); + it('test operator "eq" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.eq_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(false); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 2 (514, 514)', async function () { - const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(514), - ); - expect(res).to.equal(514); + it('test operator "eq" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.eq_uint8_euint4(8, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 3 (514, 513)', async function () { - const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(514), - this.instances3.alice.encrypt64(513), - ); - expect(res).to.equal(514); + it('test operator "eq" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.eq_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(false); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 1 (514, 546)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(514), 546); - expect(res).to.equal(1060); + it('test operator "ne" overload (euint4, uint8) => ebool test 1 (2, 3)', async function () { + const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(2), 3); + expect(res).to.equal(true); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 1 (514, 546)', async function () { - const res = await this.contract3.add_uint16_euint16(514, this.instances3.alice.encrypt16(546)); - expect(res).to.equal(1060); + it('test operator "ne" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + expect(res).to.equal(true); }); - it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (514, 513)', async function () { - const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(514), 513); - expect(res).to.equal(1); + it('test operator "ne" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + expect(res).to.equal(false); }); - it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (514, 513)', async function () { - const res = await this.contract3.sub_uint16_euint16(514, this.instances3.alice.encrypt16(513)); - expect(res).to.equal(1); + it('test operator "ne" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + expect(res).to.equal(true); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (514, 3)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(514), 3); - expect(res).to.equal(1542); + it('test operator "ne" overload (uint8, euint4) => ebool test 1 (11, 13)', async function () { + const res = await this.contract1.ne_uint8_euint4(11, this.instances1.alice.encrypt4(13)); + expect(res).to.equal(true); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (514, 3)', async function () { - const res = await this.contract3.mul_uint16_euint16(514, this.instances3.alice.encrypt16(3)); - expect(res).to.equal(1542); + it('test operator "ne" overload (uint8, euint4) => ebool test 2 (9, 13)', async function () { + const res = await this.contract1.ne_uint8_euint4(9, this.instances1.alice.encrypt4(13)); + expect(res).to.equal(true); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 1 (1542, 3)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(1542), 3); - expect(res).to.equal(514); + it('test operator "ne" overload (uint8, euint4) => ebool test 3 (13, 13)', async function () { + const res = await this.contract1.ne_uint8_euint4(13, this.instances1.alice.encrypt4(13)); + expect(res).to.equal(false); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (1544, 3)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(1544), 3); - expect(res).to.equal(2); + it('test operator "ne" overload (uint8, euint4) => ebool test 4 (13, 9)', async function () { + const res = await this.contract1.ne_uint8_euint4(13, this.instances1.alice.encrypt4(9)); + expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); + it('test operator "ge" overload (euint4, uint8) => ebool test 1 (7, 6)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(7), 6); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); + it('test operator "ge" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(4), 8); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.eq_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); + it('test operator "ge" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(8), 8); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.eq_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); - expect(res).to.equal(false); - }); - - it('test operator "ne" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); - expect(res).to.equal(false); + it('test operator "ge" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); + it('test operator "ge" overload (uint8, euint4) => ebool test 1 (8, 3)', async function () { + const res = await this.contract1.ge_uint8_euint4(8, this.instances1.alice.encrypt4(3)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.ne_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); + it('test operator "ge" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ge_uint8_euint4(4, this.instances1.alice.encrypt4(8)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.ne_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); + it('test operator "ge" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ge_uint8_euint4(8, this.instances1.alice.encrypt4(8)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); + it('test operator "ge" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ge_uint8_euint4(8, this.instances1.alice.encrypt4(4)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); + it('test operator "gt" overload (euint4, uint8) => ebool test 1 (6, 1)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(6), 1); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); + it('test operator "gt" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(4), 8); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.ge_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); - expect(res).to.equal(true); + it('test operator "gt" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + expect(res).to.equal(false); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.ge_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); + it('test operator "gt" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(8), 4); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract3.ge_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); + it('test operator "gt" overload (uint8, euint4) => ebool test 1 (1, 9)', async function () { + const res = await this.contract1.gt_uint8_euint4(1, this.instances1.alice.encrypt4(9)); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (uint8, euint4) => ebool test 2 (5, 9)', async function () { + const res = await this.contract1.gt_uint8_euint4(5, this.instances1.alice.encrypt4(9)); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); + it('test operator "gt" overload (uint8, euint4) => ebool test 3 (9, 9)', async function () { + const res = await this.contract1.gt_uint8_euint4(9, this.instances1.alice.encrypt4(9)); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); + it('test operator "gt" overload (uint8, euint4) => ebool test 4 (9, 5)', async function () { + const res = await this.contract1.gt_uint8_euint4(9, this.instances1.alice.encrypt4(5)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); + it('test operator "le" overload (euint4, uint8) => ebool test 1 (6, 1)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(6), 1); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.gt_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); - expect(res).to.equal(false); + it('test operator "le" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + expect(res).to.equal(true); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.gt_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); + it('test operator "le" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(8), 8); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract3.gt_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); + it('test operator "le" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(8), 4); expect(res).to.equal(false); }); - it('test operator "le" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); + it('test operator "le" overload (uint8, euint4) => ebool test 1 (9, 9)', async function () { + const res = await this.contract1.le_uint8_euint4(9, this.instances1.alice.encrypt4(9)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); - expect(res).to.equal(false); + it('test operator "le" overload (uint8, euint4) => ebool test 2 (5, 9)', async function () { + const res = await this.contract1.le_uint8_euint4(5, this.instances1.alice.encrypt4(9)); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); + it('test operator "le" overload (uint8, euint4) => ebool test 3 (9, 9)', async function () { + const res = await this.contract1.le_uint8_euint4(9, this.instances1.alice.encrypt4(9)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.le_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); - expect(res).to.equal(true); + it('test operator "le" overload (uint8, euint4) => ebool test 4 (9, 5)', async function () { + const res = await this.contract1.le_uint8_euint4(9, this.instances1.alice.encrypt4(5)); + expect(res).to.equal(false); }); - it('test operator "le" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.le_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); + it('test operator "lt" overload (euint4, uint8) => ebool test 1 (4, 1)', async function () { + const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(4), 1); expect(res).to.equal(false); }); - it('test operator "le" overload (uint16, euint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract3.le_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); + it('test operator "lt" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(4), 8); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); + it('test operator "lt" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(8), 8); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); + it('test operator "lt" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(8), 4); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); + it('test operator "lt" overload (uint8, euint4) => ebool test 1 (3, 8)', async function () { + const res = await this.contract1.lt_uint8_euint4(3, this.instances1.alice.encrypt4(8)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 1 (1542, 1542)', async function () { - const res = await this.contract3.lt_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); + it('test operator "lt" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.lt_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.lt_uint8_euint4(8, this.instances1.alice.encrypt4(8)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 2 (1542, 1541)', async function () { - const res = await this.contract3.lt_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); + it('test operator "lt" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.lt_uint8_euint4(8, this.instances1.alice.encrypt4(4)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 3 (1542, 1543)', async function () { - const res = await this.contract3.lt_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); - expect(res).to.equal(true); + it('test operator "min" overload (euint4, uint8) => euint4 test 1 (6, 3)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(6), 3); + expect(res).to.equal(3); + }); + + it('test operator "min" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + expect(res).to.equal(4); + }); + + it('test operator "min" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + expect(res).to.equal(8); + }); + + it('test operator "min" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + expect(res).to.equal(4); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 1 (1542, 1542)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); - expect(res).to.equal(1542); + it('test operator "min" overload (uint8, euint4) => euint4 test 1 (11, 12)', async function () { + const res = await this.contract1.min_uint8_euint4(11, this.instances1.alice.encrypt4(12)); + expect(res).to.equal(11); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 2 (1542, 1541)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); - expect(res).to.equal(1541); + it('test operator "min" overload (uint8, euint4) => euint4 test 2 (8, 12)', async function () { + const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(12)); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 3 (1542, 1543)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); - expect(res).to.equal(1542); + it('test operator "min" overload (uint8, euint4) => euint4 test 3 (12, 12)', async function () { + const res = await this.contract1.min_uint8_euint4(12, this.instances1.alice.encrypt4(12)); + expect(res).to.equal(12); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 1 (1542, 1542)', async function () { - const res = await this.contract3.min_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); - expect(res).to.equal(1542); + it('test operator "min" overload (uint8, euint4) => euint4 test 4 (12, 8)', async function () { + const res = await this.contract1.min_uint8_euint4(12, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(8); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 2 (1542, 1541)', async function () { - const res = await this.contract3.min_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); - expect(res).to.equal(1541); + it('test operator "max" overload (euint4, uint8) => euint4 test 1 (1, 4)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(1), 4); + expect(res).to.equal(4); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 3 (1542, 1543)', async function () { - const res = await this.contract3.min_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); - expect(res).to.equal(1542); + it('test operator "max" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 1 (1542, 1542)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(1542), 1542); - expect(res).to.equal(1542); + it('test operator "max" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 2 (1542, 1541)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(1542), 1541); - expect(res).to.equal(1542); + it('test operator "max" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 3 (1542, 1543)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(1542), 1543); - expect(res).to.equal(1543); + it('test operator "max" overload (uint8, euint4) => euint4 test 1 (2, 8)', async function () { + const res = await this.contract1.max_uint8_euint4(2, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(8); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 1 (1542, 1542)', async function () { - const res = await this.contract3.max_uint16_euint16(1542, this.instances3.alice.encrypt16(1542)); - expect(res).to.equal(1542); + it('test operator "max" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.max_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(8); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 2 (1542, 1541)', async function () { - const res = await this.contract3.max_uint16_euint16(1542, this.instances3.alice.encrypt16(1541)); - expect(res).to.equal(1542); + it('test operator "max" overload (uint8, euint4) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.max_uint8_euint4(8, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(8); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 3 (1542, 1543)', async function () { - const res = await this.contract3.max_uint16_euint16(1542, this.instances3.alice.encrypt16(1543)); - expect(res).to.equal(1543); + it('test operator "max" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.max_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 1 (50331648, 3)', async function () { - const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(50331648), - this.instances3.alice.encrypt8(3), + it('test operator "add" overload (euint8, euint4) => euint8 test 1 (7, 1)', async function () { + const res = await this.contract1.add_euint8_euint4( + this.instances1.alice.encrypt8(7), + this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(50331651); + expect(res).to.equal(8); }); - it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (50331648, 3)', async function () { - const res = await this.contract3.sub_euint32_euint8( - this.instances3.alice.encrypt32(50331648), - this.instances3.alice.encrypt8(3), + it('test operator "add" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract1.add_euint8_euint4( + this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(50331645); + expect(res).to.equal(12); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 1 (50331648, 3)', async function () { - const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(50331648), - this.instances3.alice.encrypt8(3), + it('test operator "add" overload (euint8, euint4) => euint8 test 3 (4, 4)', async function () { + const res = await this.contract1.add_euint8_euint4( + this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(150994944); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(50397184), - this.instances3.alice.encrypt8(3), + it('test operator "add" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract1.add_euint8_euint4( + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(0); + expect(res).to.equal(12); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 2 (50397187, 3)', async function () { - const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(50397187), - this.instances3.alice.encrypt8(3), + it('test operator "sub" overload (euint8, euint4) => euint8 test 1 (8, 8)', async function () { + const res = await this.contract1.sub_euint8_euint4( + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(3); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(50397184), - this.instances4.alice.encrypt8(3), + it('test operator "sub" overload (euint8, euint4) => euint8 test 2 (8, 4)', async function () { + const res = await this.contract1.sub_euint8_euint4( + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(50397187); + expect(res).to.equal(4); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 2 (50397187, 3)', async function () { - const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(50397187), - this.instances4.alice.encrypt8(3), + it('test operator "mul" overload (euint8, euint4) => euint8 test 1 (13, 1)', async function () { + const res = await this.contract1.mul_euint8_euint4( + this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(50397187); + expect(res).to.equal(13); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(50397184), - this.instances4.alice.encrypt8(3), + it('test operator "mul" overload (euint8, euint4) => euint8 test 2 (2, 4)', async function () { + const res = await this.contract1.mul_euint8_euint4( + this.instances1.alice.encrypt8(2), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(50397187); + expect(res).to.equal(8); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (50397187, 3)', async function () { - const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(50397187), - this.instances4.alice.encrypt8(3), + it('test operator "mul" overload (euint8, euint4) => euint8 test 3 (2, 2)', async function () { + const res = await this.contract1.mul_euint8_euint4( + this.instances1.alice.encrypt8(2), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(50397184); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(3), + it('test operator "mul" overload (euint8, euint4) => euint8 test 4 (4, 2)', async function () { + const res = await this.contract1.mul_euint8_euint4( + this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "and" overload (euint8, euint4) => euint8 test 1 (209, 7)', async function () { + const res = await this.contract1.and_euint8_euint4( + this.instances1.alice.encrypt8(209), + this.instances1.alice.encrypt4(7), ); - expect(res).to.equal(false); + expect(res).to.equal(1); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(3), + it('test operator "and" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract1.and_euint8_euint4( + this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(0); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "and" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract1.and_euint8_euint4( + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(3), + it('test operator "and" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract1.and_euint8_euint4( + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(true); + expect(res).to.equal(0); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "or" overload (euint8, euint4) => euint8 test 1 (11, 1)', async function () { + const res = await this.contract1.or_euint8_euint4( + this.instances1.alice.encrypt8(11), + this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(true); + expect(res).to.equal(11); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(4), + it('test operator "or" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract1.or_euint8_euint4( + this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(12); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(3), + it('test operator "or" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract1.or_euint8_euint4( + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "or" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract1.or_euint8_euint4( + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(true); + expect(res).to.equal(12); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(4), + it('test operator "xor" overload (euint8, euint4) => euint8 test 1 (1, 11)', async function () { + const res = await this.contract1.xor_euint8_euint4( + this.instances1.alice.encrypt8(1), + this.instances1.alice.encrypt4(11), ); - expect(res).to.equal(false); + expect(res).to.equal(10); }); - it('test operator "le" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(3), + it('test operator "xor" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract1.xor_euint8_euint4( + this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(12); }); - it('test operator "le" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "xor" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract1.xor_euint8_euint4( + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(0); }); - it('test operator "le" overload (euint32, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(4), + it('test operator "xor" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract1.xor_euint8_euint4( + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(true); + expect(res).to.equal(12); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(3), + it('test operator "eq" overload (euint8, euint4) => ebool test 1 (59, 2)', async function () { + const res = await this.contract2.eq_euint8_euint4( + this.instances2.alice.encrypt8(59), + this.instances2.alice.encrypt4(2), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "eq" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.eq_euint8_euint4( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(4), + it('test operator "eq" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.eq_euint8_euint4( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 1 (3, 3)', async function () { - const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(3), + it('test operator "eq" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.eq_euint8_euint4( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(3); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 2 (50331651, 3)', async function () { - const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "ne" overload (euint8, euint4) => ebool test 1 (18, 13)', async function () { + const res = await this.contract2.ne_euint8_euint4( + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt4(13), ); - expect(res).to.equal(3); + expect(res).to.equal(true); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 3 (3, 4)', async function () { - const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(4), + it('test operator "ne" overload (euint8, euint4) => ebool test 2 (9, 13)', async function () { + const res = await this.contract2.ne_euint8_euint4( + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt4(13), ); - expect(res).to.equal(3); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 1 (3, 3)', async function () { - const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(3), + it('test operator "ne" overload (euint8, euint4) => ebool test 3 (13, 13)', async function () { + const res = await this.contract2.ne_euint8_euint4( + this.instances2.alice.encrypt8(13), + this.instances2.alice.encrypt4(13), ); - expect(res).to.equal(3); + expect(res).to.equal(false); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 2 (50331651, 3)', async function () { - const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "ne" overload (euint8, euint4) => ebool test 4 (13, 9)', async function () { + const res = await this.contract2.ne_euint8_euint4( + this.instances2.alice.encrypt8(13), + this.instances2.alice.encrypt4(9), ); - expect(res).to.equal(50331651); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 3 (3, 4)', async function () { - const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(4), + it('test operator "ge" overload (euint8, euint4) => ebool test 1 (182, 3)', async function () { + const res = await this.contract2.ge_euint8_euint4( + this.instances2.alice.encrypt8(182), + this.instances2.alice.encrypt4(3), ); - expect(res).to.equal(4); + expect(res).to.equal(true); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 1 (50335779, 4099)', async function () { - const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(50335779), - this.instances4.alice.encrypt16(4099), + it('test operator "ge" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.ge_euint8_euint4( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(50339878); + expect(res).to.equal(false); }); - it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (50335779, 4099)', async function () { - const res = await this.contract4.sub_euint32_euint16( - this.instances4.alice.encrypt32(50335779), - this.instances4.alice.encrypt16(4099), + it('test operator "ge" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.ge_euint8_euint4( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(50331680); + expect(res).to.equal(true); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (50335779, 3)', async function () { - const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(50335779), - this.instances4.alice.encrypt16(3), + it('test operator "ge" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.ge_euint8_euint4( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(151007337); + expect(res).to.equal(true); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 1 (50335776, 3)', async function () { - const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(50335776), - this.instances4.alice.encrypt16(3), + it('test operator "gt" overload (euint8, euint4) => ebool test 1 (37, 9)', async function () { + const res = await this.contract2.gt_euint8_euint4( + this.instances2.alice.encrypt8(37), + this.instances2.alice.encrypt4(9), ); - expect(res).to.equal(0); + expect(res).to.equal(true); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 2 (50335779, 4099)', async function () { - const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(50335779), - this.instances4.alice.encrypt16(4099), + it('test operator "gt" overload (euint8, euint4) => ebool test 2 (5, 9)', async function () { + const res = await this.contract2.gt_euint8_euint4( + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt4(9), ); - expect(res).to.equal(4099); + expect(res).to.equal(false); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 1 (50331680, 4099)', async function () { - const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(50331680), - this.instances4.alice.encrypt16(4099), + it('test operator "gt" overload (euint8, euint4) => ebool test 3 (9, 9)', async function () { + const res = await this.contract2.gt_euint8_euint4( + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt4(9), ); - expect(res).to.equal(50335779); + expect(res).to.equal(false); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 2 (50331683, 4099)', async function () { - const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(50331683), - this.instances4.alice.encrypt16(4099), + it('test operator "gt" overload (euint8, euint4) => ebool test 4 (9, 5)', async function () { + const res = await this.contract2.gt_euint8_euint4( + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt4(5), ); - expect(res).to.equal(50335779); + expect(res).to.equal(true); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (50331683, 4099)', async function () { - const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(50331683), - this.instances4.alice.encrypt16(4099), + it('test operator "le" overload (euint8, euint4) => ebool test 1 (85, 9)', async function () { + const res = await this.contract2.le_euint8_euint4( + this.instances2.alice.encrypt8(85), + this.instances2.alice.encrypt4(9), ); - expect(res).to.equal(50335776); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4096), + it('test operator "le" overload (euint8, euint4) => ebool test 2 (5, 9)', async function () { + const res = await this.contract2.le_euint8_euint4( + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt16(4096), + it('test operator "le" overload (euint8, euint4) => ebool test 3 (9, 9)', async function () { + const res = await this.contract2.le_euint8_euint4( + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt4(9), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4096), + it('test operator "le" overload (euint8, euint4) => ebool test 4 (9, 5)', async function () { + const res = await this.contract2.le_euint8_euint4( + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt4(5), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt16(4096), + it('test operator "lt" overload (euint8, euint4) => ebool test 1 (50, 8)', async function () { + const res = await this.contract2.lt_euint8_euint4( + this.instances2.alice.encrypt8(50), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4096), + it('test operator "lt" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.lt_euint8_euint4( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt16(4096), + it('test operator "lt" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.lt_euint8_euint4( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4097), + it('test operator "lt" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.lt_euint8_euint4( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4096), + it('test operator "min" overload (euint8, euint4) => euint8 test 1 (79, 12)', async function () { + const res = await this.contract2.min_euint8_euint4( + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt4(12), ); - expect(res).to.equal(false); + expect(res).to.equal(12); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt16(4096), + it('test operator "min" overload (euint8, euint4) => euint8 test 2 (8, 12)', async function () { + const res = await this.contract2.min_euint8_euint4( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(12), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4097), + it('test operator "min" overload (euint8, euint4) => euint8 test 3 (12, 12)', async function () { + const res = await this.contract2.min_euint8_euint4( + this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt4(12), ); - expect(res).to.equal(false); + expect(res).to.equal(12); }); - it('test operator "le" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4096), + it('test operator "min" overload (euint8, euint4) => euint8 test 4 (12, 8)', async function () { + const res = await this.contract2.min_euint8_euint4( + this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "le" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt16(4096), + it('test operator "max" overload (euint8, euint4) => euint8 test 1 (11, 8)', async function () { + const res = await this.contract2.max_euint8_euint4( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(11); }); - it('test operator "le" overload (euint32, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4097), + it('test operator "max" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.max_euint8_euint4( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(8); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4096), + it('test operator "max" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.max_euint8_euint4( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt16(4096), + it('test operator "max" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.max_euint8_euint4( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(false); + expect(res).to.equal(8); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4097), + it('test operator "add" overload (euint8, euint8) => euint8 test 1 (8, 73)', async function () { + const res = await this.contract2.add_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(73), ); - expect(res).to.equal(true); + expect(res).to.equal(81); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 1 (4096, 4096)', async function () { - const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4096), + it('test operator "add" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.add_euint8_euint8( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(4096); + expect(res).to.equal(12); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 2 (16781312, 4096)', async function () { - const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt16(4096), + it('test operator "add" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.add_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(4096); + expect(res).to.equal(16); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 3 (4096, 4097)', async function () { - const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4097), + it('test operator "add" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.add_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(4096); + expect(res).to.equal(12); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 1 (4096, 4096)', async function () { - const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4096), + it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (14, 14)', async function () { + const res = await this.contract2.sub_euint8_euint8( + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt8(14), ); - expect(res).to.equal(4096); + expect(res).to.equal(0); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 2 (16781312, 4096)', async function () { - const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt16(4096), + it('test operator "sub" overload (euint8, euint8) => euint8 test 2 (14, 10)', async function () { + const res = await this.contract2.sub_euint8_euint8( + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt8(10), ); - expect(res).to.equal(16781312); + expect(res).to.equal(4); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 3 (4096, 4097)', async function () { - const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt16(4097), + it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (6, 19)', async function () { + const res = await this.contract2.mul_euint8_euint8( + this.instances2.alice.encrypt8(6), + this.instances2.alice.encrypt8(19), ); - expect(res).to.equal(4097); + expect(res).to.equal(114); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 1 (3280896, 1118208)', async function () { - const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(1118208), + it('test operator "mul" overload (euint8, euint8) => euint8 test 2 (8, 12)', async function () { + const res = await this.contract2.mul_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(12), ); - expect(res).to.equal(4399104); + expect(res).to.equal(96); }); - it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (3280896, 1118208)', async function () { - const res = await this.contract4.sub_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(1118208), + it('test operator "mul" overload (euint8, euint8) => euint8 test 3 (12, 12)', async function () { + const res = await this.contract2.mul_euint8_euint8( + this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt8(12), ); - expect(res).to.equal(2162688); + expect(res).to.equal(144); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (3280896, 32)', async function () { - const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(32), + it('test operator "mul" overload (euint8, euint8) => euint8 test 4 (12, 8)', async function () { + const res = await this.contract2.mul_euint8_euint8( + this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(104988672); + expect(res).to.equal(96); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(1409286144), + it('test operator "and" overload (euint8, euint8) => euint8 test 1 (209, 109)', async function () { + const res = await this.contract2.and_euint8_euint8( + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt8(109), ); - expect(res).to.equal(0); + expect(res).to.equal(65); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(1409482752), + it('test operator "and" overload (euint8, euint8) => euint8 test 2 (105, 109)', async function () { + const res = await this.contract2.and_euint8_euint8( + this.instances2.alice.encrypt8(105), + this.instances2.alice.encrypt8(109), ); - expect(res).to.equal(131072); + expect(res).to.equal(105); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(1409286144), + it('test operator "and" overload (euint8, euint8) => euint8 test 3 (109, 109)', async function () { + const res = await this.contract2.and_euint8_euint8( + this.instances2.alice.encrypt8(109), + this.instances2.alice.encrypt8(109), ); - expect(res).to.equal(1412567040); + expect(res).to.equal(109); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(1409482752), + it('test operator "and" overload (euint8, euint8) => euint8 test 4 (109, 105)', async function () { + const res = await this.contract2.and_euint8_euint8( + this.instances2.alice.encrypt8(109), + this.instances2.alice.encrypt8(105), ); - expect(res).to.equal(1412632576); + expect(res).to.equal(105); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(1409286144), + it('test operator "or" overload (euint8, euint8) => euint8 test 1 (93, 243)', async function () { + const res = await this.contract2.or_euint8_euint8( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt8(243), ); - expect(res).to.equal(1412567040); + expect(res).to.equal(255); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(1409482752), + it('test operator "or" overload (euint8, euint8) => euint8 test 2 (89, 93)', async function () { + const res = await this.contract2.or_euint8_euint8( + this.instances2.alice.encrypt8(89), + this.instances2.alice.encrypt8(93), ); - expect(res).to.equal(1412501504); + expect(res).to.equal(93); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280896), + it('test operator "or" overload (euint8, euint8) => euint8 test 3 (93, 93)', async function () { + const res = await this.contract2.or_euint8_euint8( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt8(93), ); - expect(res).to.equal(true); + expect(res).to.equal(93); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280897), + it('test operator "or" overload (euint8, euint8) => euint8 test 4 (93, 89)', async function () { + const res = await this.contract2.or_euint8_euint8( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt8(89), + ); + expect(res).to.equal(93); + }); + + it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (1, 166)', async function () { + const res = await this.contract2.xor_euint8_euint8( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(166), + ); + expect(res).to.equal(167); + }); + + it('test operator "xor" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.xor_euint8_euint8( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.xor_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.xor_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "eq" overload (euint8, euint8) => ebool test 1 (6, 193)', async function () { + const res = await this.contract2.eq_euint8_euint8( + this.instances2.alice.encrypt8(6), + this.instances2.alice.encrypt8(193), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280896), + it('test operator "eq" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.eq_euint8_euint8( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280897), + it('test operator "eq" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.eq_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280896), + it('test operator "eq" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.eq_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint8, euint8) => ebool test 1 (11, 49)', async function () { + const res = await this.contract2.ne_euint8_euint8( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt8(49), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280897), + it('test operator "ne" overload (euint8, euint8) => ebool test 2 (7, 11)', async function () { + const res = await this.contract2.ne_euint8_euint8( + this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt8(11), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint8, euint8) => ebool test 3 (11, 11)', async function () { + const res = await this.contract2.ne_euint8_euint8( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt8(11), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280895), + it('test operator "ne" overload (euint8, euint8) => ebool test 4 (11, 7)', async function () { + const res = await this.contract2.ne_euint8_euint8( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt8(7), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280896), + it('test operator "ge" overload (euint8, euint8) => ebool test 1 (8, 253)', async function () { + const res = await this.contract2.ge_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(253), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280897), + it('test operator "ge" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.ge_euint8_euint8( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280895), + it('test operator "ge" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.ge_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280896), + it('test operator "ge" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.ge_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280897), + it('test operator "gt" overload (euint8, euint8) => ebool test 1 (1, 112)', async function () { + const res = await this.contract2.gt_euint8_euint8( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(112), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint32) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280895), + it('test operator "gt" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.gt_euint8_euint8( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280896), + it('test operator "gt" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.gt_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280897), + it('test operator "gt" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.gt_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280895), + it('test operator "le" overload (euint8, euint8) => ebool test 1 (9, 136)', async function () { + const res = await this.contract2.le_euint8_euint8( + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(136), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint8) => ebool test 2 (5, 9)', async function () { + const res = await this.contract2.le_euint8_euint8( + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt8(9), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint8) => ebool test 3 (9, 9)', async function () { + const res = await this.contract2.le_euint8_euint8( + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(9), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint8) => ebool test 4 (9, 5)', async function () { + const res = await this.contract2.le_euint8_euint8( + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(5), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 1 (3280896, 3280896)', async function () { - const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280896), + it('test operator "lt" overload (euint8, euint8) => ebool test 1 (3, 82)', async function () { + const res = await this.contract2.lt_euint8_euint8( + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt8(82), ); - expect(res).to.equal(3280896); + expect(res).to.equal(true); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 2 (3280896, 3280897)', async function () { - const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280897), + it('test operator "lt" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.lt_euint8_euint8( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(3280896); + expect(res).to.equal(true); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 3 (3280896, 3280895)', async function () { - const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280895), + it('test operator "lt" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.lt_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(3280895); + expect(res).to.equal(false); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 1 (3280896, 3280896)', async function () { - const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280896), + it('test operator "lt" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.lt_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint8, euint8) => euint8 test 1 (11, 214)', async function () { + const res = await this.contract2.min_euint8_euint8( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt8(214), + ); + expect(res).to.equal(11); + }); + + it('test operator "min" overload (euint8, euint8) => euint8 test 2 (7, 11)', async function () { + const res = await this.contract2.min_euint8_euint8( + this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt8(11), + ); + expect(res).to.equal(7); + }); + + it('test operator "min" overload (euint8, euint8) => euint8 test 3 (11, 11)', async function () { + const res = await this.contract2.min_euint8_euint8( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt8(11), + ); + expect(res).to.equal(11); + }); + + it('test operator "min" overload (euint8, euint8) => euint8 test 4 (11, 7)', async function () { + const res = await this.contract2.min_euint8_euint8( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt8(7), + ); + expect(res).to.equal(7); + }); + + it('test operator "max" overload (euint8, euint8) => euint8 test 1 (2, 44)', async function () { + const res = await this.contract2.max_euint8_euint8( + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(44), + ); + expect(res).to.equal(44); + }); + + it('test operator "max" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.max_euint8_euint8( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.max_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.max_euint8_euint8( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), + ); + expect(res).to.equal(8); + }); + + it('test operator "add" overload (euint8, euint16) => euint16 test 1 (1, 251)', async function () { + const res = await this.contract2.add_euint8_euint16( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt16(251), + ); + expect(res).to.equal(252); + }); + + it('test operator "add" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract2.add_euint8_euint16( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "add" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract2.add_euint8_euint16( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), + ); + expect(res).to.equal(16); + }); + + it('test operator "add" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract2.add_euint8_euint16( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (62, 62)', async function () { + const res = await this.contract2.sub_euint8_euint16( + this.instances2.alice.encrypt8(62), + this.instances2.alice.encrypt16(62), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint8, euint16) => euint16 test 2 (62, 58)', async function () { + const res = await this.contract2.sub_euint8_euint16( + this.instances2.alice.encrypt8(62), + this.instances2.alice.encrypt16(58), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (2, 33)', async function () { + const res = await this.contract2.mul_euint8_euint16( + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt16(33), + ); + expect(res).to.equal(66); + }); + + it('test operator "mul" overload (euint8, euint16) => euint16 test 2 (11, 11)', async function () { + const res = await this.contract2.mul_euint8_euint16( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt16(11), + ); + expect(res).to.equal(121); + }); + + it('test operator "mul" overload (euint8, euint16) => euint16 test 3 (11, 11)', async function () { + const res = await this.contract2.mul_euint8_euint16( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt16(11), + ); + expect(res).to.equal(121); + }); + + it('test operator "mul" overload (euint8, euint16) => euint16 test 4 (11, 11)', async function () { + const res = await this.contract2.mul_euint8_euint16( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt16(11), + ); + expect(res).to.equal(121); + }); + + it('test operator "and" overload (euint8, euint16) => euint16 test 1 (209, 33383)', async function () { + const res = await this.contract2.and_euint8_euint16( + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt16(33383), + ); + expect(res).to.equal(65); + }); + + it('test operator "and" overload (euint8, euint16) => euint16 test 2 (205, 209)', async function () { + const res = await this.contract2.and_euint8_euint16( + this.instances2.alice.encrypt8(205), + this.instances2.alice.encrypt16(209), + ); + expect(res).to.equal(193); + }); + + it('test operator "and" overload (euint8, euint16) => euint16 test 3 (209, 209)', async function () { + const res = await this.contract2.and_euint8_euint16( + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt16(209), + ); + expect(res).to.equal(209); + }); + + it('test operator "and" overload (euint8, euint16) => euint16 test 4 (209, 205)', async function () { + const res = await this.contract2.and_euint8_euint16( + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt16(205), + ); + expect(res).to.equal(193); + }); + + it('test operator "or" overload (euint8, euint16) => euint16 test 1 (1, 196)', async function () { + const res = await this.contract2.or_euint8_euint16( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt16(196), + ); + expect(res).to.equal(197); + }); + + it('test operator "or" overload (euint8, euint16) => euint16 test 2 (89, 93)', async function () { + const res = await this.contract2.or_euint8_euint16( + this.instances2.alice.encrypt8(89), + this.instances2.alice.encrypt16(93), + ); + expect(res).to.equal(93); + }); + + it('test operator "or" overload (euint8, euint16) => euint16 test 3 (93, 93)', async function () { + const res = await this.contract2.or_euint8_euint16( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt16(93), + ); + expect(res).to.equal(93); + }); + + it('test operator "or" overload (euint8, euint16) => euint16 test 4 (93, 89)', async function () { + const res = await this.contract2.or_euint8_euint16( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt16(89), + ); + expect(res).to.equal(93); + }); + + it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (1, 217)', async function () { + const res = await this.contract2.xor_euint8_euint16( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt16(217), + ); + expect(res).to.equal(216); + }); + + it('test operator "xor" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract2.xor_euint8_euint16( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract2.xor_euint8_euint16( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract2.xor_euint8_euint16( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "eq" overload (euint8, euint16) => ebool test 1 (224, 28749)', async function () { + const res = await this.contract2.eq_euint8_euint16( + this.instances2.alice.encrypt8(224), + this.instances2.alice.encrypt16(28749), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint8, euint16) => ebool test 2 (220, 224)', async function () { + const res = await this.contract2.eq_euint8_euint16( + this.instances2.alice.encrypt8(220), + this.instances2.alice.encrypt16(224), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint8, euint16) => ebool test 3 (224, 224)', async function () { + const res = await this.contract2.eq_euint8_euint16( + this.instances2.alice.encrypt8(224), + this.instances2.alice.encrypt16(224), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint8, euint16) => ebool test 4 (224, 220)', async function () { + const res = await this.contract2.eq_euint8_euint16( + this.instances2.alice.encrypt8(224), + this.instances2.alice.encrypt16(220), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint8, euint16) => ebool test 1 (223, 38601)', async function () { + const res = await this.contract2.ne_euint8_euint16( + this.instances2.alice.encrypt8(223), + this.instances2.alice.encrypt16(38601), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint8, euint16) => ebool test 2 (219, 223)', async function () { + const res = await this.contract2.ne_euint8_euint16( + this.instances2.alice.encrypt8(219), + this.instances2.alice.encrypt16(223), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint8, euint16) => ebool test 3 (223, 223)', async function () { + const res = await this.contract2.ne_euint8_euint16( + this.instances2.alice.encrypt8(223), + this.instances2.alice.encrypt16(223), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint8, euint16) => ebool test 4 (223, 219)', async function () { + const res = await this.contract2.ne_euint8_euint16( + this.instances2.alice.encrypt8(223), + this.instances2.alice.encrypt16(219), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint8, euint16) => ebool test 1 (97, 54950)', async function () { + const res = await this.contract2.ge_euint8_euint16( + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt16(54950), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint8, euint16) => ebool test 2 (93, 97)', async function () { + const res = await this.contract2.ge_euint8_euint16( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt16(97), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint8, euint16) => ebool test 3 (97, 97)', async function () { + const res = await this.contract2.ge_euint8_euint16( + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt16(97), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint8, euint16) => ebool test 4 (97, 93)', async function () { + const res = await this.contract2.ge_euint8_euint16( + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt16(93), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint8, euint16) => ebool test 1 (79, 20669)', async function () { + const res = await this.contract2.gt_euint8_euint16( + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt16(20669), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, euint16) => ebool test 2 (75, 79)', async function () { + const res = await this.contract2.gt_euint8_euint16( + this.instances2.alice.encrypt8(75), + this.instances2.alice.encrypt16(79), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, euint16) => ebool test 3 (79, 79)', async function () { + const res = await this.contract2.gt_euint8_euint16( + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt16(79), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, euint16) => ebool test 4 (79, 75)', async function () { + const res = await this.contract2.gt_euint8_euint16( + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt16(75), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint16) => ebool test 1 (52, 17587)', async function () { + const res = await this.contract2.le_euint8_euint16( + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt16(17587), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint16) => ebool test 2 (48, 52)', async function () { + const res = await this.contract2.le_euint8_euint16( + this.instances2.alice.encrypt8(48), + this.instances2.alice.encrypt16(52), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint16) => ebool test 3 (52, 52)', async function () { + const res = await this.contract2.le_euint8_euint16( + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt16(52), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint16) => ebool test 4 (52, 48)', async function () { + const res = await this.contract2.le_euint8_euint16( + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt16(48), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint8, euint16) => ebool test 1 (148, 35784)', async function () { + const res = await this.contract2.lt_euint8_euint16( + this.instances2.alice.encrypt8(148), + this.instances2.alice.encrypt16(35784), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint8, euint16) => ebool test 2 (144, 148)', async function () { + const res = await this.contract2.lt_euint8_euint16( + this.instances2.alice.encrypt8(144), + this.instances2.alice.encrypt16(148), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint8, euint16) => ebool test 3 (148, 148)', async function () { + const res = await this.contract2.lt_euint8_euint16( + this.instances2.alice.encrypt8(148), + this.instances2.alice.encrypt16(148), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint8, euint16) => ebool test 4 (148, 144)', async function () { + const res = await this.contract2.lt_euint8_euint16( + this.instances2.alice.encrypt8(148), + this.instances2.alice.encrypt16(144), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint8, euint16) => euint16 test 1 (45, 12728)', async function () { + const res = await this.contract2.min_euint8_euint16( + this.instances2.alice.encrypt8(45), + this.instances2.alice.encrypt16(12728), + ); + expect(res).to.equal(45); + }); + + it('test operator "min" overload (euint8, euint16) => euint16 test 2 (41, 45)', async function () { + const res = await this.contract2.min_euint8_euint16( + this.instances2.alice.encrypt8(41), + this.instances2.alice.encrypt16(45), + ); + expect(res).to.equal(41); + }); + + it('test operator "min" overload (euint8, euint16) => euint16 test 3 (45, 45)', async function () { + const res = await this.contract2.min_euint8_euint16( + this.instances2.alice.encrypt8(45), + this.instances2.alice.encrypt16(45), + ); + expect(res).to.equal(45); + }); + + it('test operator "min" overload (euint8, euint16) => euint16 test 4 (45, 41)', async function () { + const res = await this.contract2.min_euint8_euint16( + this.instances2.alice.encrypt8(45), + this.instances2.alice.encrypt16(41), + ); + expect(res).to.equal(41); + }); + + it('test operator "max" overload (euint8, euint16) => euint16 test 1 (1, 173)', async function () { + const res = await this.contract2.max_euint8_euint16( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt16(173), + ); + expect(res).to.equal(173); + }); + + it('test operator "max" overload (euint8, euint16) => euint16 test 2 (174, 178)', async function () { + const res = await this.contract2.max_euint8_euint16( + this.instances2.alice.encrypt8(174), + this.instances2.alice.encrypt16(178), + ); + expect(res).to.equal(178); + }); + + it('test operator "max" overload (euint8, euint16) => euint16 test 3 (178, 178)', async function () { + const res = await this.contract2.max_euint8_euint16( + this.instances2.alice.encrypt8(178), + this.instances2.alice.encrypt16(178), + ); + expect(res).to.equal(178); + }); + + it('test operator "max" overload (euint8, euint16) => euint16 test 4 (178, 174)', async function () { + const res = await this.contract2.max_euint8_euint16( + this.instances2.alice.encrypt8(178), + this.instances2.alice.encrypt16(174), + ); + expect(res).to.equal(178); + }); + + it('test operator "add" overload (euint8, euint32) => euint32 test 1 (1, 207)', async function () { + const res = await this.contract2.add_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(207), + ); + expect(res).to.equal(208); + }); + + it('test operator "add" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract2.add_euint8_euint32( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "add" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract2.add_euint8_euint32( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), + ); + expect(res).to.equal(16); + }); + + it('test operator "add" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract2.add_euint8_euint32( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (62, 62)', async function () { + const res = await this.contract2.sub_euint8_euint32( + this.instances2.alice.encrypt8(62), + this.instances2.alice.encrypt32(62), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (62, 58)', async function () { + const res = await this.contract2.sub_euint8_euint32( + this.instances2.alice.encrypt8(62), + this.instances2.alice.encrypt32(58), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint8, euint32) => euint32 test 1 (1, 174)', async function () { + const res = await this.contract2.mul_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(174), + ); + expect(res).to.equal(174); + }); + + it('test operator "mul" overload (euint8, euint32) => euint32 test 2 (11, 11)', async function () { + const res = await this.contract2.mul_euint8_euint32( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt32(11), + ); + expect(res).to.equal(121); + }); + + it('test operator "mul" overload (euint8, euint32) => euint32 test 3 (11, 11)', async function () { + const res = await this.contract2.mul_euint8_euint32( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt32(11), + ); + expect(res).to.equal(121); + }); + + it('test operator "mul" overload (euint8, euint32) => euint32 test 4 (11, 11)', async function () { + const res = await this.contract2.mul_euint8_euint32( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt32(11), + ); + expect(res).to.equal(121); + }); + + it('test operator "and" overload (euint8, euint32) => euint32 test 1 (209, 527165394)', async function () { + const res = await this.contract2.and_euint8_euint32( + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt32(527165394), + ); + expect(res).to.equal(208); + }); + + it('test operator "and" overload (euint8, euint32) => euint32 test 2 (205, 209)', async function () { + const res = await this.contract2.and_euint8_euint32( + this.instances2.alice.encrypt8(205), + this.instances2.alice.encrypt32(209), + ); + expect(res).to.equal(193); + }); + + it('test operator "and" overload (euint8, euint32) => euint32 test 3 (209, 209)', async function () { + const res = await this.contract2.and_euint8_euint32( + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt32(209), + ); + expect(res).to.equal(209); + }); + + it('test operator "and" overload (euint8, euint32) => euint32 test 4 (209, 205)', async function () { + const res = await this.contract2.and_euint8_euint32( + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt32(205), + ); + expect(res).to.equal(193); + }); + + it('test operator "or" overload (euint8, euint32) => euint32 test 1 (1, 143)', async function () { + const res = await this.contract2.or_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(143), + ); + expect(res).to.equal(143); + }); + + it('test operator "or" overload (euint8, euint32) => euint32 test 2 (89, 93)', async function () { + const res = await this.contract2.or_euint8_euint32( + this.instances2.alice.encrypt8(89), + this.instances2.alice.encrypt32(93), + ); + expect(res).to.equal(93); + }); + + it('test operator "or" overload (euint8, euint32) => euint32 test 3 (93, 93)', async function () { + const res = await this.contract2.or_euint8_euint32( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt32(93), + ); + expect(res).to.equal(93); + }); + + it('test operator "or" overload (euint8, euint32) => euint32 test 4 (93, 89)', async function () { + const res = await this.contract2.or_euint8_euint32( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt32(89), + ); + expect(res).to.equal(93); + }); + + it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (1, 186)', async function () { + const res = await this.contract2.xor_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(186), + ); + expect(res).to.equal(187); + }); + + it('test operator "xor" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract2.xor_euint8_euint32( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract2.xor_euint8_euint32( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract2.xor_euint8_euint32( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "eq" overload (euint8, euint32) => ebool test 1 (224, 1978797433)', async function () { + const res = await this.contract2.eq_euint8_euint32( + this.instances2.alice.encrypt8(224), + this.instances2.alice.encrypt32(1978797433), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint8, euint32) => ebool test 2 (220, 224)', async function () { + const res = await this.contract2.eq_euint8_euint32( + this.instances2.alice.encrypt8(220), + this.instances2.alice.encrypt32(224), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint8, euint32) => ebool test 3 (224, 224)', async function () { + const res = await this.contract2.eq_euint8_euint32( + this.instances2.alice.encrypt8(224), + this.instances2.alice.encrypt32(224), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint8, euint32) => ebool test 4 (224, 220)', async function () { + const res = await this.contract2.eq_euint8_euint32( + this.instances2.alice.encrypt8(224), + this.instances2.alice.encrypt32(220), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint8, euint32) => ebool test 1 (223, 19817588)', async function () { + const res = await this.contract2.ne_euint8_euint32( + this.instances2.alice.encrypt8(223), + this.instances2.alice.encrypt32(19817588), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint8, euint32) => ebool test 2 (219, 223)', async function () { + const res = await this.contract2.ne_euint8_euint32( + this.instances2.alice.encrypt8(219), + this.instances2.alice.encrypt32(223), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint8, euint32) => ebool test 3 (223, 223)', async function () { + const res = await this.contract2.ne_euint8_euint32( + this.instances2.alice.encrypt8(223), + this.instances2.alice.encrypt32(223), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint8, euint32) => ebool test 4 (223, 219)', async function () { + const res = await this.contract2.ne_euint8_euint32( + this.instances2.alice.encrypt8(223), + this.instances2.alice.encrypt32(219), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint8, euint32) => ebool test 1 (97, 1858963305)', async function () { + const res = await this.contract2.ge_euint8_euint32( + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt32(1858963305), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint8, euint32) => ebool test 2 (93, 97)', async function () { + const res = await this.contract2.ge_euint8_euint32( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt32(97), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint8, euint32) => ebool test 3 (97, 97)', async function () { + const res = await this.contract2.ge_euint8_euint32( + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt32(97), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint8, euint32) => ebool test 4 (97, 93)', async function () { + const res = await this.contract2.ge_euint8_euint32( + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt32(93), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint8, euint32) => ebool test 1 (79, 2069042933)', async function () { + const res = await this.contract2.gt_euint8_euint32( + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt32(2069042933), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, euint32) => ebool test 2 (75, 79)', async function () { + const res = await this.contract2.gt_euint8_euint32( + this.instances2.alice.encrypt8(75), + this.instances2.alice.encrypt32(79), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, euint32) => ebool test 3 (79, 79)', async function () { + const res = await this.contract2.gt_euint8_euint32( + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt32(79), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, euint32) => ebool test 4 (79, 75)', async function () { + const res = await this.contract2.gt_euint8_euint32( + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt32(75), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint32) => ebool test 1 (52, 1808707750)', async function () { + const res = await this.contract2.le_euint8_euint32( + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt32(1808707750), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint32) => ebool test 2 (48, 52)', async function () { + const res = await this.contract2.le_euint8_euint32( + this.instances2.alice.encrypt8(48), + this.instances2.alice.encrypt32(52), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint32) => ebool test 3 (52, 52)', async function () { + const res = await this.contract2.le_euint8_euint32( + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt32(52), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint32) => ebool test 4 (52, 48)', async function () { + const res = await this.contract2.le_euint8_euint32( + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt32(48), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint8, euint32) => ebool test 1 (148, 1735514833)', async function () { + const res = await this.contract2.lt_euint8_euint32( + this.instances2.alice.encrypt8(148), + this.instances2.alice.encrypt32(1735514833), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint8, euint32) => ebool test 2 (144, 148)', async function () { + const res = await this.contract2.lt_euint8_euint32( + this.instances2.alice.encrypt8(144), + this.instances2.alice.encrypt32(148), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint8, euint32) => ebool test 3 (148, 148)', async function () { + const res = await this.contract2.lt_euint8_euint32( + this.instances2.alice.encrypt8(148), + this.instances2.alice.encrypt32(148), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint8, euint32) => ebool test 4 (148, 144)', async function () { + const res = await this.contract2.lt_euint8_euint32( + this.instances2.alice.encrypt8(148), + this.instances2.alice.encrypt32(144), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint8, euint32) => euint32 test 1 (45, 1572730534)', async function () { + const res = await this.contract2.min_euint8_euint32( + this.instances2.alice.encrypt8(45), + this.instances2.alice.encrypt32(1572730534), + ); + expect(res).to.equal(45); + }); + + it('test operator "min" overload (euint8, euint32) => euint32 test 2 (41, 45)', async function () { + const res = await this.contract2.min_euint8_euint32( + this.instances2.alice.encrypt8(41), + this.instances2.alice.encrypt32(45), + ); + expect(res).to.equal(41); + }); + + it('test operator "min" overload (euint8, euint32) => euint32 test 3 (45, 45)', async function () { + const res = await this.contract2.min_euint8_euint32( + this.instances2.alice.encrypt8(45), + this.instances2.alice.encrypt32(45), + ); + expect(res).to.equal(45); + }); + + it('test operator "min" overload (euint8, euint32) => euint32 test 4 (45, 41)', async function () { + const res = await this.contract2.min_euint8_euint32( + this.instances2.alice.encrypt8(45), + this.instances2.alice.encrypt32(41), + ); + expect(res).to.equal(41); + }); + + it('test operator "max" overload (euint8, euint32) => euint32 test 1 (1, 176)', async function () { + const res = await this.contract2.max_euint8_euint32( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(176), + ); + expect(res).to.equal(176); + }); + + it('test operator "max" overload (euint8, euint32) => euint32 test 2 (174, 178)', async function () { + const res = await this.contract2.max_euint8_euint32( + this.instances2.alice.encrypt8(174), + this.instances2.alice.encrypt32(178), + ); + expect(res).to.equal(178); + }); + + it('test operator "max" overload (euint8, euint32) => euint32 test 3 (178, 178)', async function () { + const res = await this.contract2.max_euint8_euint32( + this.instances2.alice.encrypt8(178), + this.instances2.alice.encrypt32(178), + ); + expect(res).to.equal(178); + }); + + it('test operator "max" overload (euint8, euint32) => euint32 test 4 (178, 174)', async function () { + const res = await this.contract2.max_euint8_euint32( + this.instances2.alice.encrypt8(178), + this.instances2.alice.encrypt32(174), + ); + expect(res).to.equal(178); + }); + + it('test operator "add" overload (euint8, euint64) => euint64 test 1 (1, 212)', async function () { + const res = await this.contract2.add_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(212), + ); + expect(res).to.equal(213); + }); + + it('test operator "add" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract2.add_euint8_euint64( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "add" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract2.add_euint8_euint64( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), + ); + expect(res).to.equal(16); + }); + + it('test operator "add" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract2.add_euint8_euint64( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (62, 62)', async function () { + const res = await this.contract2.sub_euint8_euint64( + this.instances2.alice.encrypt8(62), + this.instances2.alice.encrypt64(62), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (62, 58)', async function () { + const res = await this.contract2.sub_euint8_euint64( + this.instances2.alice.encrypt8(62), + this.instances2.alice.encrypt64(58), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (1, 145)', async function () { + const res = await this.contract2.mul_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(145), + ); + expect(res).to.equal(145); + }); + + it('test operator "mul" overload (euint8, euint64) => euint64 test 2 (11, 11)', async function () { + const res = await this.contract2.mul_euint8_euint64( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt64(11), + ); + expect(res).to.equal(121); + }); + + it('test operator "mul" overload (euint8, euint64) => euint64 test 3 (11, 11)', async function () { + const res = await this.contract2.mul_euint8_euint64( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt64(11), + ); + expect(res).to.equal(121); + }); + + it('test operator "mul" overload (euint8, euint64) => euint64 test 4 (11, 11)', async function () { + const res = await this.contract2.mul_euint8_euint64( + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt64(11), + ); + expect(res).to.equal(121); + }); + + it('test operator "and" overload (euint8, euint64) => euint64 test 1 (209, 1641438334)', async function () { + const res = await this.contract2.and_euint8_euint64( + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt64(1641438334), + ); + expect(res).to.equal(80); + }); + + it('test operator "and" overload (euint8, euint64) => euint64 test 2 (205, 209)', async function () { + const res = await this.contract2.and_euint8_euint64( + this.instances2.alice.encrypt8(205), + this.instances2.alice.encrypt64(209), + ); + expect(res).to.equal(193); + }); + + it('test operator "and" overload (euint8, euint64) => euint64 test 3 (209, 209)', async function () { + const res = await this.contract2.and_euint8_euint64( + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt64(209), + ); + expect(res).to.equal(209); + }); + + it('test operator "and" overload (euint8, euint64) => euint64 test 4 (209, 205)', async function () { + const res = await this.contract2.and_euint8_euint64( + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt64(205), + ); + expect(res).to.equal(193); + }); + + it('test operator "or" overload (euint8, euint64) => euint64 test 1 (1, 139)', async function () { + const res = await this.contract2.or_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(139), + ); + expect(res).to.equal(139); + }); + + it('test operator "or" overload (euint8, euint64) => euint64 test 2 (89, 93)', async function () { + const res = await this.contract2.or_euint8_euint64( + this.instances2.alice.encrypt8(89), + this.instances2.alice.encrypt64(93), + ); + expect(res).to.equal(93); + }); + + it('test operator "or" overload (euint8, euint64) => euint64 test 3 (93, 93)', async function () { + const res = await this.contract2.or_euint8_euint64( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt64(93), + ); + expect(res).to.equal(93); + }); + + it('test operator "or" overload (euint8, euint64) => euint64 test 4 (93, 89)', async function () { + const res = await this.contract2.or_euint8_euint64( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt64(89), + ); + expect(res).to.equal(93); + }); + + it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (1, 136)', async function () { + const res = await this.contract2.xor_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(136), + ); + expect(res).to.equal(137); + }); + + it('test operator "xor" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract2.xor_euint8_euint64( + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract2.xor_euint8_euint64( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract2.xor_euint8_euint64( + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "eq" overload (euint8, euint64) => ebool test 1 (224, 1900324216)', async function () { + const res = await this.contract2.eq_euint8_euint64( + this.instances2.alice.encrypt8(224), + this.instances2.alice.encrypt64(1900324216), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint8, euint64) => ebool test 2 (220, 224)', async function () { + const res = await this.contract2.eq_euint8_euint64( + this.instances2.alice.encrypt8(220), + this.instances2.alice.encrypt64(224), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint8, euint64) => ebool test 3 (224, 224)', async function () { + const res = await this.contract2.eq_euint8_euint64( + this.instances2.alice.encrypt8(224), + this.instances2.alice.encrypt64(224), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint8, euint64) => ebool test 4 (224, 220)', async function () { + const res = await this.contract2.eq_euint8_euint64( + this.instances2.alice.encrypt8(224), + this.instances2.alice.encrypt64(220), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint8, euint64) => ebool test 1 (223, 1747152964)', async function () { + const res = await this.contract2.ne_euint8_euint64( + this.instances2.alice.encrypt8(223), + this.instances2.alice.encrypt64(1747152964), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint8, euint64) => ebool test 2 (219, 223)', async function () { + const res = await this.contract2.ne_euint8_euint64( + this.instances2.alice.encrypt8(219), + this.instances2.alice.encrypt64(223), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint8, euint64) => ebool test 3 (223, 223)', async function () { + const res = await this.contract2.ne_euint8_euint64( + this.instances2.alice.encrypt8(223), + this.instances2.alice.encrypt64(223), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint8, euint64) => ebool test 4 (223, 219)', async function () { + const res = await this.contract2.ne_euint8_euint64( + this.instances2.alice.encrypt8(223), + this.instances2.alice.encrypt64(219), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint8, euint64) => ebool test 1 (97, 24079369)', async function () { + const res = await this.contract2.ge_euint8_euint64( + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt64(24079369), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint8, euint64) => ebool test 2 (93, 97)', async function () { + const res = await this.contract2.ge_euint8_euint64( + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt64(97), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint8, euint64) => ebool test 3 (97, 97)', async function () { + const res = await this.contract2.ge_euint8_euint64( + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt64(97), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint8, euint64) => ebool test 4 (97, 93)', async function () { + const res = await this.contract2.ge_euint8_euint64( + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt64(93), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint8, euint64) => ebool test 1 (79, 1487732246)', async function () { + const res = await this.contract2.gt_euint8_euint64( + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt64(1487732246), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, euint64) => ebool test 2 (75, 79)', async function () { + const res = await this.contract2.gt_euint8_euint64( + this.instances2.alice.encrypt8(75), + this.instances2.alice.encrypt64(79), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, euint64) => ebool test 3 (79, 79)', async function () { + const res = await this.contract2.gt_euint8_euint64( + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt64(79), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, euint64) => ebool test 4 (79, 75)', async function () { + const res = await this.contract2.gt_euint8_euint64( + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt64(75), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint64) => ebool test 1 (52, 1397250357)', async function () { + const res = await this.contract2.le_euint8_euint64( + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt64(1397250357), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint64) => ebool test 2 (48, 52)', async function () { + const res = await this.contract2.le_euint8_euint64( + this.instances2.alice.encrypt8(48), + this.instances2.alice.encrypt64(52), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint64) => ebool test 3 (52, 52)', async function () { + const res = await this.contract2.le_euint8_euint64( + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt64(52), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, euint64) => ebool test 4 (52, 48)', async function () { + const res = await this.contract2.le_euint8_euint64( + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt64(48), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint8, euint64) => ebool test 1 (148, 1575025918)', async function () { + const res = await this.contract2.lt_euint8_euint64( + this.instances2.alice.encrypt8(148), + this.instances2.alice.encrypt64(1575025918), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint8, euint64) => ebool test 2 (144, 148)', async function () { + const res = await this.contract2.lt_euint8_euint64( + this.instances2.alice.encrypt8(144), + this.instances2.alice.encrypt64(148), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint8, euint64) => ebool test 3 (148, 148)', async function () { + const res = await this.contract2.lt_euint8_euint64( + this.instances2.alice.encrypt8(148), + this.instances2.alice.encrypt64(148), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint8, euint64) => ebool test 4 (148, 144)', async function () { + const res = await this.contract2.lt_euint8_euint64( + this.instances2.alice.encrypt8(148), + this.instances2.alice.encrypt64(144), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint8, euint64) => euint64 test 1 (45, 1376771886)', async function () { + const res = await this.contract2.min_euint8_euint64( + this.instances2.alice.encrypt8(45), + this.instances2.alice.encrypt64(1376771886), + ); + expect(res).to.equal(45); + }); + + it('test operator "min" overload (euint8, euint64) => euint64 test 2 (41, 45)', async function () { + const res = await this.contract2.min_euint8_euint64( + this.instances2.alice.encrypt8(41), + this.instances2.alice.encrypt64(45), + ); + expect(res).to.equal(41); + }); + + it('test operator "min" overload (euint8, euint64) => euint64 test 3 (45, 45)', async function () { + const res = await this.contract2.min_euint8_euint64( + this.instances2.alice.encrypt8(45), + this.instances2.alice.encrypt64(45), + ); + expect(res).to.equal(45); + }); + + it('test operator "min" overload (euint8, euint64) => euint64 test 4 (45, 41)', async function () { + const res = await this.contract2.min_euint8_euint64( + this.instances2.alice.encrypt8(45), + this.instances2.alice.encrypt64(41), + ); + expect(res).to.equal(41); + }); + + it('test operator "max" overload (euint8, euint64) => euint64 test 1 (1, 143)', async function () { + const res = await this.contract2.max_euint8_euint64( + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(143), + ); + expect(res).to.equal(143); + }); + + it('test operator "max" overload (euint8, euint64) => euint64 test 2 (174, 178)', async function () { + const res = await this.contract2.max_euint8_euint64( + this.instances2.alice.encrypt8(174), + this.instances2.alice.encrypt64(178), + ); + expect(res).to.equal(178); + }); + + it('test operator "max" overload (euint8, euint64) => euint64 test 3 (178, 178)', async function () { + const res = await this.contract2.max_euint8_euint64( + this.instances2.alice.encrypt8(178), + this.instances2.alice.encrypt64(178), + ); + expect(res).to.equal(178); + }); + + it('test operator "max" overload (euint8, euint64) => euint64 test 4 (178, 174)', async function () { + const res = await this.contract2.max_euint8_euint64( + this.instances2.alice.encrypt8(178), + this.instances2.alice.encrypt64(174), + ); + expect(res).to.equal(178); + }); + + it('test operator "add" overload (euint8, uint8) => euint8 test 1 (8, 136)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(8), 136); + expect(res).to.equal(144); + }); + + it('test operator "add" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(12); + }); + + it('test operator "add" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(16); + }); + + it('test operator "add" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(12); + }); + + it('test operator "add" overload (uint8, euint8) => euint8 test 1 (1, 136)', async function () { + const res = await this.contract2.add_uint8_euint8(1, this.instances2.alice.encrypt8(136)); + expect(res).to.equal(137); + }); + + it('test operator "add" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.add_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(12); + }); + + it('test operator "add" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.add_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(16); + }); + + it('test operator "add" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.add_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(12); + }); + + it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (14, 14)', async function () { + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(14), 14); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (14, 10)', async function () { + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(14), 10); + expect(res).to.equal(4); + }); + + it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (14, 14)', async function () { + const res = await this.contract2.sub_uint8_euint8(14, this.instances2.alice.encrypt8(14)); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (14, 10)', async function () { + const res = await this.contract2.sub_uint8_euint8(14, this.instances2.alice.encrypt8(10)); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (3, 48)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(3), 48); + expect(res).to.equal(144); + }); + + it('test operator "mul" overload (euint8, uint8) => euint8 test 2 (8, 12)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(8), 12); + expect(res).to.equal(96); + }); + + it('test operator "mul" overload (euint8, uint8) => euint8 test 3 (12, 12)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(12), 12); + expect(res).to.equal(144); + }); + + it('test operator "mul" overload (euint8, uint8) => euint8 test 4 (12, 8)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(12), 8); + expect(res).to.equal(96); + }); + + it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (11, 12)', async function () { + const res = await this.contract2.mul_uint8_euint8(11, this.instances2.alice.encrypt8(12)); + expect(res).to.equal(132); + }); + + it('test operator "mul" overload (uint8, euint8) => euint8 test 2 (8, 12)', async function () { + const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(12)); + expect(res).to.equal(96); + }); + + it('test operator "mul" overload (uint8, euint8) => euint8 test 3 (12, 12)', async function () { + const res = await this.contract2.mul_uint8_euint8(12, this.instances2.alice.encrypt8(12)); + expect(res).to.equal(144); + }); + + it('test operator "mul" overload (uint8, euint8) => euint8 test 4 (12, 8)', async function () { + const res = await this.contract2.mul_uint8_euint8(12, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(96); + }); + + it('test operator "div" overload (euint8, uint8) => euint8 test 1 (209, 108)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(209), 108); + expect(res).to.equal(1); + }); + + it('test operator "div" overload (euint8, uint8) => euint8 test 2 (112, 116)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(112), 116); + expect(res).to.equal(0); + }); + + it('test operator "div" overload (euint8, uint8) => euint8 test 3 (116, 116)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(116), 116); + expect(res).to.equal(1); + }); + + it('test operator "div" overload (euint8, uint8) => euint8 test 4 (116, 112)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(116), 112); + expect(res).to.equal(1); + }); + + it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (242, 190)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(242), 190); + expect(res).to.equal(52); + }); + + it('test operator "rem" overload (euint8, uint8) => euint8 test 2 (177, 181)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(177), 181); + expect(res).to.equal(177); + }); + + it('test operator "rem" overload (euint8, uint8) => euint8 test 3 (181, 181)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(181), 181); + expect(res).to.equal(0); + }); + + it('test operator "rem" overload (euint8, uint8) => euint8 test 4 (181, 177)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(181), 177); + expect(res).to.equal(4); + }); + + it('test operator "eq" overload (euint8, uint8) => ebool test 1 (6, 35)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(6), 35); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (uint8, euint8) => ebool test 1 (224, 35)', async function () { + const res = await this.contract2.eq_uint8_euint8(224, this.instances2.alice.encrypt8(35)); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.eq_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.eq_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.eq_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint8, uint8) => ebool test 1 (11, 2)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(11), 2); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint8, uint8) => ebool test 2 (7, 11)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(7), 11); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint8, uint8) => ebool test 3 (11, 11)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(11), 11); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint8, uint8) => ebool test 4 (11, 7)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(11), 7); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (uint8, euint8) => ebool test 1 (223, 2)', async function () { + const res = await this.contract2.ne_uint8_euint8(223, this.instances2.alice.encrypt8(2)); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (uint8, euint8) => ebool test 2 (7, 11)', async function () { + const res = await this.contract2.ne_uint8_euint8(7, this.instances2.alice.encrypt8(11)); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (uint8, euint8) => ebool test 3 (11, 11)', async function () { + const res = await this.contract2.ne_uint8_euint8(11, this.instances2.alice.encrypt8(11)); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (uint8, euint8) => ebool test 4 (11, 7)', async function () { + const res = await this.contract2.ne_uint8_euint8(11, this.instances2.alice.encrypt8(7)); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint8, uint8) => ebool test 1 (8, 73)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(8), 73); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (uint8, euint8) => ebool test 1 (97, 73)', async function () { + const res = await this.contract2.ge_uint8_euint8(97, this.instances2.alice.encrypt8(73)); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.ge_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.ge_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.ge_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint8, uint8) => ebool test 1 (1, 127)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(1), 127); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (uint8, euint8) => ebool test 1 (79, 127)', async function () { + const res = await this.contract2.gt_uint8_euint8(79, this.instances2.alice.encrypt8(127)); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.gt_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.gt_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.gt_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, uint8) => ebool test 1 (9, 180)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(9), 180); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, uint8) => ebool test 2 (5, 9)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(5), 9); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, uint8) => ebool test 3 (9, 9)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(9), 9); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint8, uint8) => ebool test 4 (9, 5)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(9), 5); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (uint8, euint8) => ebool test 1 (52, 180)', async function () { + const res = await this.contract2.le_uint8_euint8(52, this.instances2.alice.encrypt8(180)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (uint8, euint8) => ebool test 2 (5, 9)', async function () { + const res = await this.contract2.le_uint8_euint8(5, this.instances2.alice.encrypt8(9)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (uint8, euint8) => ebool test 3 (9, 9)', async function () { + const res = await this.contract2.le_uint8_euint8(9, this.instances2.alice.encrypt8(9)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (uint8, euint8) => ebool test 4 (9, 5)', async function () { + const res = await this.contract2.le_uint8_euint8(9, this.instances2.alice.encrypt8(5)); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint8, uint8) => ebool test 1 (3, 223)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(3), 223); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (uint8, euint8) => ebool test 1 (148, 223)', async function () { + const res = await this.contract2.lt_uint8_euint8(148, this.instances2.alice.encrypt8(223)); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.lt_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.lt_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.lt_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint8, uint8) => euint8 test 1 (11, 200)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(11), 200); + expect(res).to.equal(11); + }); + + it('test operator "min" overload (euint8, uint8) => euint8 test 2 (7, 11)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(7), 11); + expect(res).to.equal(7); + }); + + it('test operator "min" overload (euint8, uint8) => euint8 test 3 (11, 11)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(11), 11); + expect(res).to.equal(11); + }); + + it('test operator "min" overload (euint8, uint8) => euint8 test 4 (11, 7)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(11), 7); + expect(res).to.equal(7); + }); + + it('test operator "min" overload (uint8, euint8) => euint8 test 1 (45, 200)', async function () { + const res = await this.contract2.min_uint8_euint8(45, this.instances2.alice.encrypt8(200)); + expect(res).to.equal(45); + }); + + it('test operator "min" overload (uint8, euint8) => euint8 test 2 (7, 11)', async function () { + const res = await this.contract2.min_uint8_euint8(7, this.instances2.alice.encrypt8(11)); + expect(res).to.equal(7); + }); + + it('test operator "min" overload (uint8, euint8) => euint8 test 3 (11, 11)', async function () { + const res = await this.contract2.min_uint8_euint8(11, this.instances2.alice.encrypt8(11)); + expect(res).to.equal(11); + }); + + it('test operator "min" overload (uint8, euint8) => euint8 test 4 (11, 7)', async function () { + const res = await this.contract2.min_uint8_euint8(11, this.instances2.alice.encrypt8(7)); + expect(res).to.equal(7); + }); + + it('test operator "max" overload (euint8, uint8) => euint8 test 1 (2, 123)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(2), 123); + expect(res).to.equal(123); + }); + + it('test operator "max" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (uint8, euint8) => euint8 test 1 (178, 123)', async function () { + const res = await this.contract2.max_uint8_euint8(178, this.instances2.alice.encrypt8(123)); + expect(res).to.equal(178); + }); + + it('test operator "max" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.max_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.max_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.max_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(8); + }); + + it('test operator "add" overload (euint16, euint4) => euint16 test 1 (14, 1)', async function () { + const res = await this.contract2.add_euint16_euint4( + this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt4(1), + ); + expect(res).to.equal(15); + }); + + it('test operator "add" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract2.add_euint16_euint4( + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "add" overload (euint16, euint4) => euint16 test 3 (4, 4)', async function () { + const res = await this.contract2.add_euint16_euint4( + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(4), + ); + expect(res).to.equal(8); + }); + + it('test operator "add" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract2.add_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "sub" overload (euint16, euint4) => euint16 test 1 (8, 8)', async function () { + const res = await this.contract2.sub_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint16, euint4) => euint16 test 2 (8, 4)', async function () { + const res = await this.contract2.sub_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint16, euint4) => euint16 test 1 (13, 1)', async function () { + const res = await this.contract2.mul_euint16_euint4( + this.instances2.alice.encrypt16(13), + this.instances2.alice.encrypt4(1), + ); + expect(res).to.equal(13); + }); + + it('test operator "mul" overload (euint16, euint4) => euint16 test 2 (2, 3)', async function () { + const res = await this.contract2.mul_euint16_euint4( + this.instances2.alice.encrypt16(2), + this.instances2.alice.encrypt4(3), + ); + expect(res).to.equal(6); + }); + + it('test operator "mul" overload (euint16, euint4) => euint16 test 3 (3, 3)', async function () { + const res = await this.contract2.mul_euint16_euint4( + this.instances2.alice.encrypt16(3), + this.instances2.alice.encrypt4(3), + ); + expect(res).to.equal(9); + }); + + it('test operator "mul" overload (euint16, euint4) => euint16 test 4 (3, 2)', async function () { + const res = await this.contract2.mul_euint16_euint4( + this.instances2.alice.encrypt16(3), + this.instances2.alice.encrypt4(2), + ); + expect(res).to.equal(6); + }); + + it('test operator "and" overload (euint16, euint4) => euint16 test 1 (14563, 10)', async function () { + const res = await this.contract2.and_euint16_euint4( + this.instances2.alice.encrypt16(14563), + this.instances2.alice.encrypt4(10), + ); + expect(res).to.equal(2); + }); + + it('test operator "and" overload (euint16, euint4) => euint16 test 2 (6, 10)', async function () { + const res = await this.contract2.and_euint16_euint4( + this.instances2.alice.encrypt16(6), + this.instances2.alice.encrypt4(10), + ); + expect(res).to.equal(2); + }); + + it('test operator "and" overload (euint16, euint4) => euint16 test 3 (10, 10)', async function () { + const res = await this.contract2.and_euint16_euint4( + this.instances2.alice.encrypt16(10), + this.instances2.alice.encrypt4(10), + ); + expect(res).to.equal(10); + }); + + it('test operator "and" overload (euint16, euint4) => euint16 test 4 (10, 6)', async function () { + const res = await this.contract2.and_euint16_euint4( + this.instances2.alice.encrypt16(10), + this.instances2.alice.encrypt4(6), + ); + expect(res).to.equal(2); + }); + + it('test operator "or" overload (euint16, euint4) => euint16 test 1 (15, 1)', async function () { + const res = await this.contract2.or_euint16_euint4( + this.instances2.alice.encrypt16(15), + this.instances2.alice.encrypt4(1), + ); + expect(res).to.equal(15); + }); + + it('test operator "or" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract2.or_euint16_euint4( + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "or" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract2.or_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "or" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract2.or_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint16, euint4) => euint16 test 1 (11, 1)', async function () { + const res = await this.contract2.xor_euint16_euint4( + this.instances2.alice.encrypt16(11), + this.instances2.alice.encrypt4(1), + ); + expect(res).to.equal(10); + }); + + it('test operator "xor" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract2.xor_euint16_euint4( + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract2.xor_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract2.xor_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "eq" overload (euint16, euint4) => ebool test 1 (5627, 12)', async function () { + const res = await this.contract2.eq_euint16_euint4( + this.instances2.alice.encrypt16(5627), + this.instances2.alice.encrypt4(12), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, euint4) => ebool test 2 (8, 12)', async function () { + const res = await this.contract2.eq_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(12), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, euint4) => ebool test 3 (12, 12)', async function () { + const res = await this.contract2.eq_euint16_euint4( + this.instances2.alice.encrypt16(12), + this.instances2.alice.encrypt4(12), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint16, euint4) => ebool test 4 (12, 8)', async function () { + const res = await this.contract2.eq_euint16_euint4( + this.instances2.alice.encrypt16(12), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, euint4) => ebool test 1 (20601, 5)', async function () { + const res = await this.contract2.ne_euint16_euint4( + this.instances2.alice.encrypt16(20601), + this.instances2.alice.encrypt4(5), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.ne_euint16_euint4( + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.ne_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.ne_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint4) => ebool test 1 (44342, 8)', async function () { + const res = await this.contract2.ge_euint16_euint4( + this.instances2.alice.encrypt16(44342), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.ge_euint16_euint4( + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.ge_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.ge_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint16, euint4) => ebool test 1 (42324, 1)', async function () { + const res = await this.contract2.gt_euint16_euint4( + this.instances2.alice.encrypt16(42324), + this.instances2.alice.encrypt4(1), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.gt_euint16_euint4( + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.gt_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.gt_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint4) => ebool test 1 (5574, 6)', async function () { + const res = await this.contract2.le_euint16_euint4( + this.instances2.alice.encrypt16(5574), + this.instances2.alice.encrypt4(6), + ); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.le_euint16_euint4( + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.le_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.le_euint16_euint4( + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint4) => ebool test 1 (64394, 14)', async function () { + const res = await this.contract2.lt_euint16_euint4( + this.instances2.alice.encrypt16(64394), + this.instances2.alice.encrypt4(14), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint4) => ebool test 2 (10, 14)', async function () { + const res = await this.contract2.lt_euint16_euint4( + this.instances2.alice.encrypt16(10), + this.instances2.alice.encrypt4(14), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint16, euint4) => ebool test 3 (14, 14)', async function () { + const res = await this.contract2.lt_euint16_euint4( + this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt4(14), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint4) => ebool test 4 (14, 10)', async function () { + const res = await this.contract2.lt_euint16_euint4( + this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt4(10), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint16, euint4) => euint16 test 1 (3854, 8)', async function () { + const res = await this.contract3.min_euint16_euint4( + this.instances3.alice.encrypt16(3854), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "min" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.min_euint16_euint4( + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(4); + }); + + it('test operator "min" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.min_euint16_euint4( + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "min" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.min_euint16_euint4( + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt4(4), + ); + expect(res).to.equal(4); + }); + + it('test operator "max" overload (euint16, euint4) => euint16 test 1 (10, 1)', async function () { + const res = await this.contract3.max_euint16_euint4( + this.instances3.alice.encrypt16(10), + this.instances3.alice.encrypt4(1), + ); + expect(res).to.equal(10); + }); + + it('test operator "max" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.max_euint16_euint4( + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.max_euint16_euint4( + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.max_euint16_euint4( + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt4(4), + ); + expect(res).to.equal(8); + }); + + it('test operator "add" overload (euint16, euint8) => euint16 test 1 (236, 1)', async function () { + const res = await this.contract3.add_euint16_euint8( + this.instances3.alice.encrypt16(236), + this.instances3.alice.encrypt8(1), + ); + expect(res).to.equal(237); + }); + + it('test operator "add" overload (euint16, euint8) => euint16 test 2 (99, 101)', async function () { + const res = await this.contract3.add_euint16_euint8( + this.instances3.alice.encrypt16(99), + this.instances3.alice.encrypt8(101), + ); + expect(res).to.equal(200); + }); + + it('test operator "add" overload (euint16, euint8) => euint16 test 3 (101, 101)', async function () { + const res = await this.contract3.add_euint16_euint8( + this.instances3.alice.encrypt16(101), + this.instances3.alice.encrypt8(101), + ); + expect(res).to.equal(202); + }); + + it('test operator "add" overload (euint16, euint8) => euint16 test 4 (101, 99)', async function () { + const res = await this.contract3.add_euint16_euint8( + this.instances3.alice.encrypt16(101), + this.instances3.alice.encrypt8(99), + ); + expect(res).to.equal(200); + }); + + it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (100, 100)', async function () { + const res = await this.contract3.sub_euint16_euint8( + this.instances3.alice.encrypt16(100), + this.instances3.alice.encrypt8(100), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (100, 96)', async function () { + const res = await this.contract3.sub_euint16_euint8( + this.instances3.alice.encrypt16(100), + this.instances3.alice.encrypt8(96), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (221, 1)', async function () { + const res = await this.contract3.mul_euint16_euint8( + this.instances3.alice.encrypt16(221), + this.instances3.alice.encrypt8(1), + ); + expect(res).to.equal(221); + }); + + it('test operator "mul" overload (euint16, euint8) => euint16 test 2 (12, 13)', async function () { + const res = await this.contract3.mul_euint16_euint8( + this.instances3.alice.encrypt16(12), + this.instances3.alice.encrypt8(13), + ); + expect(res).to.equal(156); + }); + + it('test operator "mul" overload (euint16, euint8) => euint16 test 3 (13, 13)', async function () { + const res = await this.contract3.mul_euint16_euint8( + this.instances3.alice.encrypt16(13), + this.instances3.alice.encrypt8(13), + ); + expect(res).to.equal(169); + }); + + it('test operator "mul" overload (euint16, euint8) => euint16 test 4 (13, 12)', async function () { + const res = await this.contract3.mul_euint16_euint8( + this.instances3.alice.encrypt16(13), + this.instances3.alice.encrypt8(12), + ); + expect(res).to.equal(156); + }); + + it('test operator "and" overload (euint16, euint8) => euint16 test 1 (14563, 200)', async function () { + const res = await this.contract3.and_euint16_euint8( + this.instances3.alice.encrypt16(14563), + this.instances3.alice.encrypt8(200), + ); + expect(res).to.equal(192); + }); + + it('test operator "and" overload (euint16, euint8) => euint16 test 2 (196, 200)', async function () { + const res = await this.contract3.and_euint16_euint8( + this.instances3.alice.encrypt16(196), + this.instances3.alice.encrypt8(200), + ); + expect(res).to.equal(192); + }); + + it('test operator "and" overload (euint16, euint8) => euint16 test 3 (200, 200)', async function () { + const res = await this.contract3.and_euint16_euint8( + this.instances3.alice.encrypt16(200), + this.instances3.alice.encrypt8(200), + ); + expect(res).to.equal(200); + }); + + it('test operator "and" overload (euint16, euint8) => euint16 test 4 (200, 196)', async function () { + const res = await this.contract3.and_euint16_euint8( + this.instances3.alice.encrypt16(200), + this.instances3.alice.encrypt8(196), + ); + expect(res).to.equal(192); + }); + + it('test operator "or" overload (euint16, euint8) => euint16 test 1 (241, 1)', async function () { + const res = await this.contract3.or_euint16_euint8( + this.instances3.alice.encrypt16(241), + this.instances3.alice.encrypt8(1), + ); + expect(res).to.equal(241); + }); + + it('test operator "or" overload (euint16, euint8) => euint16 test 2 (120, 124)', async function () { + const res = await this.contract3.or_euint16_euint8( + this.instances3.alice.encrypt16(120), + this.instances3.alice.encrypt8(124), + ); + expect(res).to.equal(124); + }); + + it('test operator "or" overload (euint16, euint8) => euint16 test 3 (124, 124)', async function () { + const res = await this.contract3.or_euint16_euint8( + this.instances3.alice.encrypt16(124), + this.instances3.alice.encrypt8(124), + ); + expect(res).to.equal(124); + }); + + it('test operator "or" overload (euint16, euint8) => euint16 test 4 (124, 120)', async function () { + const res = await this.contract3.or_euint16_euint8( + this.instances3.alice.encrypt16(124), + this.instances3.alice.encrypt8(120), + ); + expect(res).to.equal(124); + }); + + it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (187, 1)', async function () { + const res = await this.contract3.xor_euint16_euint8( + this.instances3.alice.encrypt16(187), + this.instances3.alice.encrypt8(1), + ); + expect(res).to.equal(186); + }); + + it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (25, 29)', async function () { + const res = await this.contract3.xor_euint16_euint8( + this.instances3.alice.encrypt16(25), + this.instances3.alice.encrypt8(29), + ); + expect(res).to.equal(4); + }); + + it('test operator "xor" overload (euint16, euint8) => euint16 test 3 (29, 29)', async function () { + const res = await this.contract3.xor_euint16_euint8( + this.instances3.alice.encrypt16(29), + this.instances3.alice.encrypt8(29), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint16, euint8) => euint16 test 4 (29, 25)', async function () { + const res = await this.contract3.xor_euint16_euint8( + this.instances3.alice.encrypt16(29), + this.instances3.alice.encrypt8(25), + ); + expect(res).to.equal(4); + }); + + it('test operator "eq" overload (euint16, euint8) => ebool test 1 (5627, 83)', async function () { + const res = await this.contract3.eq_euint16_euint8( + this.instances3.alice.encrypt16(5627), + this.instances3.alice.encrypt8(83), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, euint8) => ebool test 2 (79, 83)', async function () { + const res = await this.contract3.eq_euint16_euint8( + this.instances3.alice.encrypt16(79), + this.instances3.alice.encrypt8(83), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, euint8) => ebool test 3 (83, 83)', async function () { + const res = await this.contract3.eq_euint16_euint8( + this.instances3.alice.encrypt16(83), + this.instances3.alice.encrypt8(83), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint16, euint8) => ebool test 4 (83, 79)', async function () { + const res = await this.contract3.eq_euint16_euint8( + this.instances3.alice.encrypt16(83), + this.instances3.alice.encrypt8(79), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, euint8) => ebool test 1 (20601, 251)', async function () { + const res = await this.contract3.ne_euint16_euint8( + this.instances3.alice.encrypt16(20601), + this.instances3.alice.encrypt8(251), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, euint8) => ebool test 2 (247, 251)', async function () { + const res = await this.contract3.ne_euint16_euint8( + this.instances3.alice.encrypt16(247), + this.instances3.alice.encrypt8(251), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, euint8) => ebool test 3 (251, 251)', async function () { + const res = await this.contract3.ne_euint16_euint8( + this.instances3.alice.encrypt16(251), + this.instances3.alice.encrypt8(251), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, euint8) => ebool test 4 (251, 247)', async function () { + const res = await this.contract3.ne_euint16_euint8( + this.instances3.alice.encrypt16(251), + this.instances3.alice.encrypt8(247), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint8) => ebool test 1 (44342, 190)', async function () { + const res = await this.contract3.ge_euint16_euint8( + this.instances3.alice.encrypt16(44342), + this.instances3.alice.encrypt8(190), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint8) => ebool test 2 (186, 190)', async function () { + const res = await this.contract3.ge_euint16_euint8( + this.instances3.alice.encrypt16(186), + this.instances3.alice.encrypt8(190), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint16, euint8) => ebool test 3 (190, 190)', async function () { + const res = await this.contract3.ge_euint16_euint8( + this.instances3.alice.encrypt16(190), + this.instances3.alice.encrypt8(190), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint8) => ebool test 4 (190, 186)', async function () { + const res = await this.contract3.ge_euint16_euint8( + this.instances3.alice.encrypt16(190), + this.instances3.alice.encrypt8(186), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint16, euint8) => ebool test 1 (42324, 76)', async function () { + const res = await this.contract3.gt_euint16_euint8( + this.instances3.alice.encrypt16(42324), + this.instances3.alice.encrypt8(76), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint16, euint8) => ebool test 2 (72, 76)', async function () { + const res = await this.contract3.gt_euint16_euint8( + this.instances3.alice.encrypt16(72), + this.instances3.alice.encrypt8(76), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint8) => ebool test 3 (76, 76)', async function () { + const res = await this.contract3.gt_euint16_euint8( + this.instances3.alice.encrypt16(76), + this.instances3.alice.encrypt8(76), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint8) => ebool test 4 (76, 72)', async function () { + const res = await this.contract3.gt_euint16_euint8( + this.instances3.alice.encrypt16(76), + this.instances3.alice.encrypt8(72), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint8) => ebool test 1 (5574, 242)', async function () { + const res = await this.contract3.le_euint16_euint8( + this.instances3.alice.encrypt16(5574), + this.instances3.alice.encrypt8(242), + ); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (euint16, euint8) => ebool test 2 (238, 242)', async function () { + const res = await this.contract3.le_euint16_euint8( + this.instances3.alice.encrypt16(238), + this.instances3.alice.encrypt8(242), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint8) => ebool test 3 (242, 242)', async function () { + const res = await this.contract3.le_euint16_euint8( + this.instances3.alice.encrypt16(242), + this.instances3.alice.encrypt8(242), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint8) => ebool test 4 (242, 238)', async function () { + const res = await this.contract3.le_euint16_euint8( + this.instances3.alice.encrypt16(242), + this.instances3.alice.encrypt8(238), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint8) => ebool test 1 (64394, 92)', async function () { + const res = await this.contract3.lt_euint16_euint8( + this.instances3.alice.encrypt16(64394), + this.instances3.alice.encrypt8(92), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint8) => ebool test 2 (88, 92)', async function () { + const res = await this.contract3.lt_euint16_euint8( + this.instances3.alice.encrypt16(88), + this.instances3.alice.encrypt8(92), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint16, euint8) => ebool test 3 (92, 92)', async function () { + const res = await this.contract3.lt_euint16_euint8( + this.instances3.alice.encrypt16(92), + this.instances3.alice.encrypt8(92), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint8) => ebool test 4 (92, 88)', async function () { + const res = await this.contract3.lt_euint16_euint8( + this.instances3.alice.encrypt16(92), + this.instances3.alice.encrypt8(88), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint16, euint8) => euint16 test 1 (3854, 166)', async function () { + const res = await this.contract3.min_euint16_euint8( + this.instances3.alice.encrypt16(3854), + this.instances3.alice.encrypt8(166), + ); + expect(res).to.equal(166); + }); + + it('test operator "min" overload (euint16, euint8) => euint16 test 2 (162, 166)', async function () { + const res = await this.contract3.min_euint16_euint8( + this.instances3.alice.encrypt16(162), + this.instances3.alice.encrypt8(166), + ); + expect(res).to.equal(162); + }); + + it('test operator "min" overload (euint16, euint8) => euint16 test 3 (166, 166)', async function () { + const res = await this.contract3.min_euint16_euint8( + this.instances3.alice.encrypt16(166), + this.instances3.alice.encrypt8(166), + ); + expect(res).to.equal(166); + }); + + it('test operator "min" overload (euint16, euint8) => euint16 test 4 (166, 162)', async function () { + const res = await this.contract3.min_euint16_euint8( + this.instances3.alice.encrypt16(166), + this.instances3.alice.encrypt8(162), + ); + expect(res).to.equal(162); + }); + + it('test operator "max" overload (euint16, euint8) => euint16 test 1 (168, 1)', async function () { + const res = await this.contract3.max_euint16_euint8( + this.instances3.alice.encrypt16(168), + this.instances3.alice.encrypt8(1), + ); + expect(res).to.equal(168); + }); + + it('test operator "max" overload (euint16, euint8) => euint16 test 2 (62, 66)', async function () { + const res = await this.contract3.max_euint16_euint8( + this.instances3.alice.encrypt16(62), + this.instances3.alice.encrypt8(66), + ); + expect(res).to.equal(66); + }); + + it('test operator "max" overload (euint16, euint8) => euint16 test 3 (66, 66)', async function () { + const res = await this.contract3.max_euint16_euint8( + this.instances3.alice.encrypt16(66), + this.instances3.alice.encrypt8(66), + ); + expect(res).to.equal(66); + }); + + it('test operator "max" overload (euint16, euint8) => euint16 test 4 (66, 62)', async function () { + const res = await this.contract3.max_euint16_euint8( + this.instances3.alice.encrypt16(66), + this.instances3.alice.encrypt8(62), + ); + expect(res).to.equal(66); + }); + + it('test operator "add" overload (euint16, euint16) => euint16 test 1 (30233, 31275)', async function () { + const res = await this.contract3.add_euint16_euint16( + this.instances3.alice.encrypt16(30233), + this.instances3.alice.encrypt16(31275), + ); + expect(res).to.equal(61508); + }); + + it('test operator "add" overload (euint16, euint16) => euint16 test 2 (30229, 30233)', async function () { + const res = await this.contract3.add_euint16_euint16( + this.instances3.alice.encrypt16(30229), + this.instances3.alice.encrypt16(30233), + ); + expect(res).to.equal(60462); + }); + + it('test operator "add" overload (euint16, euint16) => euint16 test 3 (30233, 30233)', async function () { + const res = await this.contract3.add_euint16_euint16( + this.instances3.alice.encrypt16(30233), + this.instances3.alice.encrypt16(30233), + ); + expect(res).to.equal(60466); + }); + + it('test operator "add" overload (euint16, euint16) => euint16 test 4 (30233, 30229)', async function () { + const res = await this.contract3.add_euint16_euint16( + this.instances3.alice.encrypt16(30233), + this.instances3.alice.encrypt16(30229), + ); + expect(res).to.equal(60462); + }); + + it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (7674, 7674)', async function () { + const res = await this.contract3.sub_euint16_euint16( + this.instances3.alice.encrypt16(7674), + this.instances3.alice.encrypt16(7674), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint16, euint16) => euint16 test 2 (7674, 7670)', async function () { + const res = await this.contract3.sub_euint16_euint16( + this.instances3.alice.encrypt16(7674), + this.instances3.alice.encrypt16(7670), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (221, 180)', async function () { + const res = await this.contract3.mul_euint16_euint16( + this.instances3.alice.encrypt16(221), + this.instances3.alice.encrypt16(180), + ); + expect(res).to.equal(39780); + }); + + it('test operator "mul" overload (euint16, euint16) => euint16 test 2 (180, 180)', async function () { + const res = await this.contract3.mul_euint16_euint16( + this.instances3.alice.encrypt16(180), + this.instances3.alice.encrypt16(180), + ); + expect(res).to.equal(32400); + }); + + it('test operator "mul" overload (euint16, euint16) => euint16 test 3 (180, 180)', async function () { + const res = await this.contract3.mul_euint16_euint16( + this.instances3.alice.encrypt16(180), + this.instances3.alice.encrypt16(180), + ); + expect(res).to.equal(32400); + }); + + it('test operator "mul" overload (euint16, euint16) => euint16 test 4 (180, 180)', async function () { + const res = await this.contract3.mul_euint16_euint16( + this.instances3.alice.encrypt16(180), + this.instances3.alice.encrypt16(180), + ); + expect(res).to.equal(32400); + }); + + it('test operator "and" overload (euint16, euint16) => euint16 test 1 (14563, 4918)', async function () { + const res = await this.contract3.and_euint16_euint16( + this.instances3.alice.encrypt16(14563), + this.instances3.alice.encrypt16(4918), + ); + expect(res).to.equal(4130); + }); + + it('test operator "and" overload (euint16, euint16) => euint16 test 2 (4914, 4918)', async function () { + const res = await this.contract3.and_euint16_euint16( + this.instances3.alice.encrypt16(4914), + this.instances3.alice.encrypt16(4918), + ); + expect(res).to.equal(4914); + }); + + it('test operator "and" overload (euint16, euint16) => euint16 test 3 (4918, 4918)', async function () { + const res = await this.contract3.and_euint16_euint16( + this.instances3.alice.encrypt16(4918), + this.instances3.alice.encrypt16(4918), + ); + expect(res).to.equal(4918); + }); + + it('test operator "and" overload (euint16, euint16) => euint16 test 4 (4918, 4914)', async function () { + const res = await this.contract3.and_euint16_euint16( + this.instances3.alice.encrypt16(4918), + this.instances3.alice.encrypt16(4914), + ); + expect(res).to.equal(4914); + }); + + it('test operator "or" overload (euint16, euint16) => euint16 test 1 (15468, 53935)', async function () { + const res = await this.contract3.or_euint16_euint16( + this.instances3.alice.encrypt16(15468), + this.instances3.alice.encrypt16(53935), + ); + expect(res).to.equal(65263); + }); + + it('test operator "or" overload (euint16, euint16) => euint16 test 2 (15464, 15468)', async function () { + const res = await this.contract3.or_euint16_euint16( + this.instances3.alice.encrypt16(15464), + this.instances3.alice.encrypt16(15468), + ); + expect(res).to.equal(15468); + }); + + it('test operator "or" overload (euint16, euint16) => euint16 test 3 (15468, 15468)', async function () { + const res = await this.contract3.or_euint16_euint16( + this.instances3.alice.encrypt16(15468), + this.instances3.alice.encrypt16(15468), + ); + expect(res).to.equal(15468); + }); + + it('test operator "or" overload (euint16, euint16) => euint16 test 4 (15468, 15464)', async function () { + const res = await this.contract3.or_euint16_euint16( + this.instances3.alice.encrypt16(15468), + this.instances3.alice.encrypt16(15464), + ); + expect(res).to.equal(15468); + }); + + it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (48081, 52727)', async function () { + const res = await this.contract3.xor_euint16_euint16( + this.instances3.alice.encrypt16(48081), + this.instances3.alice.encrypt16(52727), + ); + expect(res).to.equal(30246); + }); + + it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (48077, 48081)', async function () { + const res = await this.contract3.xor_euint16_euint16( + this.instances3.alice.encrypt16(48077), + this.instances3.alice.encrypt16(48081), + ); + expect(res).to.equal(28); + }); + + it('test operator "xor" overload (euint16, euint16) => euint16 test 3 (48081, 48081)', async function () { + const res = await this.contract3.xor_euint16_euint16( + this.instances3.alice.encrypt16(48081), + this.instances3.alice.encrypt16(48081), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint16, euint16) => euint16 test 4 (48081, 48077)', async function () { + const res = await this.contract3.xor_euint16_euint16( + this.instances3.alice.encrypt16(48081), + this.instances3.alice.encrypt16(48077), + ); + expect(res).to.equal(28); + }); + + it('test operator "eq" overload (euint16, euint16) => ebool test 1 (5627, 4536)', async function () { + const res = await this.contract3.eq_euint16_euint16( + this.instances3.alice.encrypt16(5627), + this.instances3.alice.encrypt16(4536), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, euint16) => ebool test 2 (4532, 4536)', async function () { + const res = await this.contract3.eq_euint16_euint16( + this.instances3.alice.encrypt16(4532), + this.instances3.alice.encrypt16(4536), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, euint16) => ebool test 3 (4536, 4536)', async function () { + const res = await this.contract3.eq_euint16_euint16( + this.instances3.alice.encrypt16(4536), + this.instances3.alice.encrypt16(4536), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint16, euint16) => ebool test 4 (4536, 4532)', async function () { + const res = await this.contract3.eq_euint16_euint16( + this.instances3.alice.encrypt16(4536), + this.instances3.alice.encrypt16(4532), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, euint16) => ebool test 1 (20601, 31416)', async function () { + const res = await this.contract3.ne_euint16_euint16( + this.instances3.alice.encrypt16(20601), + this.instances3.alice.encrypt16(31416), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, euint16) => ebool test 2 (20597, 20601)', async function () { + const res = await this.contract3.ne_euint16_euint16( + this.instances3.alice.encrypt16(20597), + this.instances3.alice.encrypt16(20601), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, euint16) => ebool test 3 (20601, 20601)', async function () { + const res = await this.contract3.ne_euint16_euint16( + this.instances3.alice.encrypt16(20601), + this.instances3.alice.encrypt16(20601), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, euint16) => ebool test 4 (20601, 20597)', async function () { + const res = await this.contract3.ne_euint16_euint16( + this.instances3.alice.encrypt16(20601), + this.instances3.alice.encrypt16(20597), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint16) => ebool test 1 (44342, 57666)', async function () { + const res = await this.contract3.ge_euint16_euint16( + this.instances3.alice.encrypt16(44342), + this.instances3.alice.encrypt16(57666), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint16, euint16) => ebool test 2 (44338, 44342)', async function () { + const res = await this.contract3.ge_euint16_euint16( + this.instances3.alice.encrypt16(44338), + this.instances3.alice.encrypt16(44342), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint16, euint16) => ebool test 3 (44342, 44342)', async function () { + const res = await this.contract3.ge_euint16_euint16( + this.instances3.alice.encrypt16(44342), + this.instances3.alice.encrypt16(44342), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint16) => ebool test 4 (44342, 44338)', async function () { + const res = await this.contract3.ge_euint16_euint16( + this.instances3.alice.encrypt16(44342), + this.instances3.alice.encrypt16(44338), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint16, euint16) => ebool test 1 (42324, 60441)', async function () { + const res = await this.contract3.gt_euint16_euint16( + this.instances3.alice.encrypt16(42324), + this.instances3.alice.encrypt16(60441), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint16) => ebool test 2 (42320, 42324)', async function () { + const res = await this.contract3.gt_euint16_euint16( + this.instances3.alice.encrypt16(42320), + this.instances3.alice.encrypt16(42324), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint16) => ebool test 3 (42324, 42324)', async function () { + const res = await this.contract3.gt_euint16_euint16( + this.instances3.alice.encrypt16(42324), + this.instances3.alice.encrypt16(42324), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint16) => ebool test 4 (42324, 42320)', async function () { + const res = await this.contract3.gt_euint16_euint16( + this.instances3.alice.encrypt16(42324), + this.instances3.alice.encrypt16(42320), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint16) => ebool test 1 (5574, 28657)', async function () { + const res = await this.contract3.le_euint16_euint16( + this.instances3.alice.encrypt16(5574), + this.instances3.alice.encrypt16(28657), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint16) => ebool test 2 (5570, 5574)', async function () { + const res = await this.contract3.le_euint16_euint16( + this.instances3.alice.encrypt16(5570), + this.instances3.alice.encrypt16(5574), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint16) => ebool test 3 (5574, 5574)', async function () { + const res = await this.contract3.le_euint16_euint16( + this.instances3.alice.encrypt16(5574), + this.instances3.alice.encrypt16(5574), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint16) => ebool test 4 (5574, 5570)', async function () { + const res = await this.contract3.le_euint16_euint16( + this.instances3.alice.encrypt16(5574), + this.instances3.alice.encrypt16(5570), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint16) => ebool test 1 (64394, 46201)', async function () { + const res = await this.contract3.lt_euint16_euint16( + this.instances3.alice.encrypt16(64394), + this.instances3.alice.encrypt16(46201), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint16) => ebool test 2 (46197, 46201)', async function () { + const res = await this.contract3.lt_euint16_euint16( + this.instances3.alice.encrypt16(46197), + this.instances3.alice.encrypt16(46201), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint16, euint16) => ebool test 3 (46201, 46201)', async function () { + const res = await this.contract3.lt_euint16_euint16( + this.instances3.alice.encrypt16(46201), + this.instances3.alice.encrypt16(46201), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint16) => ebool test 4 (46201, 46197)', async function () { + const res = await this.contract3.lt_euint16_euint16( + this.instances3.alice.encrypt16(46201), + this.instances3.alice.encrypt16(46197), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint16, euint16) => euint16 test 1 (3854, 29273)', async function () { + const res = await this.contract3.min_euint16_euint16( + this.instances3.alice.encrypt16(3854), + this.instances3.alice.encrypt16(29273), + ); + expect(res).to.equal(3854); + }); + + it('test operator "min" overload (euint16, euint16) => euint16 test 2 (3850, 3854)', async function () { + const res = await this.contract3.min_euint16_euint16( + this.instances3.alice.encrypt16(3850), + this.instances3.alice.encrypt16(3854), + ); + expect(res).to.equal(3850); + }); + + it('test operator "min" overload (euint16, euint16) => euint16 test 3 (3854, 3854)', async function () { + const res = await this.contract3.min_euint16_euint16( + this.instances3.alice.encrypt16(3854), + this.instances3.alice.encrypt16(3854), + ); + expect(res).to.equal(3854); + }); + + it('test operator "min" overload (euint16, euint16) => euint16 test 4 (3854, 3850)', async function () { + const res = await this.contract3.min_euint16_euint16( + this.instances3.alice.encrypt16(3854), + this.instances3.alice.encrypt16(3850), + ); + expect(res).to.equal(3850); + }); + + it('test operator "max" overload (euint16, euint16) => euint16 test 1 (43071, 37043)', async function () { + const res = await this.contract3.max_euint16_euint16( + this.instances3.alice.encrypt16(43071), + this.instances3.alice.encrypt16(37043), + ); + expect(res).to.equal(43071); + }); + + it('test operator "max" overload (euint16, euint16) => euint16 test 2 (37039, 37043)', async function () { + const res = await this.contract3.max_euint16_euint16( + this.instances3.alice.encrypt16(37039), + this.instances3.alice.encrypt16(37043), + ); + expect(res).to.equal(37043); + }); + + it('test operator "max" overload (euint16, euint16) => euint16 test 3 (37043, 37043)', async function () { + const res = await this.contract3.max_euint16_euint16( + this.instances3.alice.encrypt16(37043), + this.instances3.alice.encrypt16(37043), + ); + expect(res).to.equal(37043); + }); + + it('test operator "max" overload (euint16, euint16) => euint16 test 4 (37043, 37039)', async function () { + const res = await this.contract3.max_euint16_euint16( + this.instances3.alice.encrypt16(37043), + this.instances3.alice.encrypt16(37039), + ); + expect(res).to.equal(37043); + }); + + it('test operator "add" overload (euint16, euint32) => euint32 test 1 (1, 40500)', async function () { + const res = await this.contract3.add_euint16_euint32( + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(40500), + ); + expect(res).to.equal(40501); + }); + + it('test operator "add" overload (euint16, euint32) => euint32 test 2 (27826, 27830)', async function () { + const res = await this.contract3.add_euint16_euint32( + this.instances3.alice.encrypt16(27826), + this.instances3.alice.encrypt32(27830), + ); + expect(res).to.equal(55656); + }); + + it('test operator "add" overload (euint16, euint32) => euint32 test 3 (27830, 27830)', async function () { + const res = await this.contract3.add_euint16_euint32( + this.instances3.alice.encrypt16(27830), + this.instances3.alice.encrypt32(27830), + ); + expect(res).to.equal(55660); + }); + + it('test operator "add" overload (euint16, euint32) => euint32 test 4 (27830, 27826)', async function () { + const res = await this.contract3.add_euint16_euint32( + this.instances3.alice.encrypt16(27830), + this.instances3.alice.encrypt32(27826), + ); + expect(res).to.equal(55656); + }); + + it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (34964, 34964)', async function () { + const res = await this.contract3.sub_euint16_euint32( + this.instances3.alice.encrypt16(34964), + this.instances3.alice.encrypt32(34964), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (34964, 34960)', async function () { + const res = await this.contract3.sub_euint16_euint32( + this.instances3.alice.encrypt16(34964), + this.instances3.alice.encrypt32(34960), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (1, 39192)', async function () { + const res = await this.contract3.mul_euint16_euint32( + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(39192), + ); + expect(res).to.equal(39192); + }); + + it('test operator "mul" overload (euint16, euint32) => euint32 test 2 (144, 144)', async function () { + const res = await this.contract3.mul_euint16_euint32( + this.instances3.alice.encrypt16(144), + this.instances3.alice.encrypt32(144), + ); + expect(res).to.equal(20736); + }); + + it('test operator "mul" overload (euint16, euint32) => euint32 test 3 (144, 144)', async function () { + const res = await this.contract3.mul_euint16_euint32( + this.instances3.alice.encrypt16(144), + this.instances3.alice.encrypt32(144), + ); + expect(res).to.equal(20736); + }); + + it('test operator "mul" overload (euint16, euint32) => euint32 test 4 (144, 144)', async function () { + const res = await this.contract3.mul_euint16_euint32( + this.instances3.alice.encrypt16(144), + this.instances3.alice.encrypt32(144), + ); + expect(res).to.equal(20736); + }); + + it('test operator "and" overload (euint16, euint32) => euint32 test 1 (14563, 408583146)', async function () { + const res = await this.contract3.and_euint16_euint32( + this.instances3.alice.encrypt16(14563), + this.instances3.alice.encrypt32(408583146), + ); + expect(res).to.equal(14562); + }); + + it('test operator "and" overload (euint16, euint32) => euint32 test 2 (14559, 14563)', async function () { + const res = await this.contract3.and_euint16_euint32( + this.instances3.alice.encrypt16(14559), + this.instances3.alice.encrypt32(14563), + ); + expect(res).to.equal(14531); + }); + + it('test operator "and" overload (euint16, euint32) => euint32 test 3 (14563, 14563)', async function () { + const res = await this.contract3.and_euint16_euint32( + this.instances3.alice.encrypt16(14563), + this.instances3.alice.encrypt32(14563), + ); + expect(res).to.equal(14563); + }); + + it('test operator "and" overload (euint16, euint32) => euint32 test 4 (14563, 14559)', async function () { + const res = await this.contract3.and_euint16_euint32( + this.instances3.alice.encrypt16(14563), + this.instances3.alice.encrypt32(14559), + ); + expect(res).to.equal(14531); + }); + + it('test operator "or" overload (euint16, euint32) => euint32 test 1 (1, 37057)', async function () { + const res = await this.contract3.or_euint16_euint32( + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(37057), + ); + expect(res).to.equal(37057); + }); + + it('test operator "or" overload (euint16, euint32) => euint32 test 2 (15464, 15468)', async function () { + const res = await this.contract3.or_euint16_euint32( + this.instances3.alice.encrypt16(15464), + this.instances3.alice.encrypt32(15468), + ); + expect(res).to.equal(15468); + }); + + it('test operator "or" overload (euint16, euint32) => euint32 test 3 (15468, 15468)', async function () { + const res = await this.contract3.or_euint16_euint32( + this.instances3.alice.encrypt16(15468), + this.instances3.alice.encrypt32(15468), + ); + expect(res).to.equal(15468); + }); + + it('test operator "or" overload (euint16, euint32) => euint32 test 4 (15468, 15464)', async function () { + const res = await this.contract3.or_euint16_euint32( + this.instances3.alice.encrypt16(15468), + this.instances3.alice.encrypt32(15464), + ); + expect(res).to.equal(15468); + }); + + it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (1, 33460)', async function () { + const res = await this.contract3.xor_euint16_euint32( + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(33460), + ); + expect(res).to.equal(33461); + }); + + it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (48077, 48081)', async function () { + const res = await this.contract3.xor_euint16_euint32( + this.instances3.alice.encrypt16(48077), + this.instances3.alice.encrypt32(48081), + ); + expect(res).to.equal(28); + }); + + it('test operator "xor" overload (euint16, euint32) => euint32 test 3 (48081, 48081)', async function () { + const res = await this.contract3.xor_euint16_euint32( + this.instances3.alice.encrypt16(48081), + this.instances3.alice.encrypt32(48081), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint16, euint32) => euint32 test 4 (48081, 48077)', async function () { + const res = await this.contract3.xor_euint16_euint32( + this.instances3.alice.encrypt16(48081), + this.instances3.alice.encrypt32(48077), + ); + expect(res).to.equal(28); + }); + + it('test operator "eq" overload (euint16, euint32) => ebool test 1 (65041, 696957537)', async function () { + const res = await this.contract3.eq_euint16_euint32( + this.instances3.alice.encrypt16(65041), + this.instances3.alice.encrypt32(696957537), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, euint32) => ebool test 2 (65037, 65041)', async function () { + const res = await this.contract3.eq_euint16_euint32( + this.instances3.alice.encrypt16(65037), + this.instances3.alice.encrypt32(65041), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, euint32) => ebool test 3 (65041, 65041)', async function () { + const res = await this.contract3.eq_euint16_euint32( + this.instances3.alice.encrypt16(65041), + this.instances3.alice.encrypt32(65041), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint16, euint32) => ebool test 4 (65041, 65037)', async function () { + const res = await this.contract3.eq_euint16_euint32( + this.instances3.alice.encrypt16(65041), + this.instances3.alice.encrypt32(65037), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, euint32) => ebool test 1 (16027, 1143925973)', async function () { + const res = await this.contract3.ne_euint16_euint32( + this.instances3.alice.encrypt16(16027), + this.instances3.alice.encrypt32(1143925973), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, euint32) => ebool test 2 (16023, 16027)', async function () { + const res = await this.contract3.ne_euint16_euint32( + this.instances3.alice.encrypt16(16023), + this.instances3.alice.encrypt32(16027), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, euint32) => ebool test 3 (16027, 16027)', async function () { + const res = await this.contract3.ne_euint16_euint32( + this.instances3.alice.encrypt16(16027), + this.instances3.alice.encrypt32(16027), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, euint32) => ebool test 4 (16027, 16023)', async function () { + const res = await this.contract3.ne_euint16_euint32( + this.instances3.alice.encrypt16(16027), + this.instances3.alice.encrypt32(16023), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint32) => ebool test 1 (64532, 892657805)', async function () { + const res = await this.contract3.ge_euint16_euint32( + this.instances3.alice.encrypt16(64532), + this.instances3.alice.encrypt32(892657805), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint16, euint32) => ebool test 2 (64528, 64532)', async function () { + const res = await this.contract3.ge_euint16_euint32( + this.instances3.alice.encrypt16(64528), + this.instances3.alice.encrypt32(64532), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint16, euint32) => ebool test 3 (64532, 64532)', async function () { + const res = await this.contract3.ge_euint16_euint32( + this.instances3.alice.encrypt16(64532), + this.instances3.alice.encrypt32(64532), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint32) => ebool test 4 (64532, 64528)', async function () { + const res = await this.contract3.ge_euint16_euint32( + this.instances3.alice.encrypt16(64532), + this.instances3.alice.encrypt32(64528), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint16, euint32) => ebool test 1 (47205, 1988625224)', async function () { + const res = await this.contract3.gt_euint16_euint32( + this.instances3.alice.encrypt16(47205), + this.instances3.alice.encrypt32(1988625224), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint32) => ebool test 2 (47201, 47205)', async function () { + const res = await this.contract3.gt_euint16_euint32( + this.instances3.alice.encrypt16(47201), + this.instances3.alice.encrypt32(47205), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint32) => ebool test 3 (47205, 47205)', async function () { + const res = await this.contract3.gt_euint16_euint32( + this.instances3.alice.encrypt16(47205), + this.instances3.alice.encrypt32(47205), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint32) => ebool test 4 (47205, 47201)', async function () { + const res = await this.contract3.gt_euint16_euint32( + this.instances3.alice.encrypt16(47205), + this.instances3.alice.encrypt32(47201), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint32) => ebool test 1 (63255, 340383439)', async function () { + const res = await this.contract3.le_euint16_euint32( + this.instances3.alice.encrypt16(63255), + this.instances3.alice.encrypt32(340383439), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint32) => ebool test 2 (63251, 63255)', async function () { + const res = await this.contract3.le_euint16_euint32( + this.instances3.alice.encrypt16(63251), + this.instances3.alice.encrypt32(63255), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint32) => ebool test 3 (63255, 63255)', async function () { + const res = await this.contract3.le_euint16_euint32( + this.instances3.alice.encrypt16(63255), + this.instances3.alice.encrypt32(63255), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint32) => ebool test 4 (63255, 63251)', async function () { + const res = await this.contract3.le_euint16_euint32( + this.instances3.alice.encrypt16(63255), + this.instances3.alice.encrypt32(63251), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint32) => ebool test 1 (50578, 1677650454)', async function () { + const res = await this.contract3.lt_euint16_euint32( + this.instances3.alice.encrypt16(50578), + this.instances3.alice.encrypt32(1677650454), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint16, euint32) => ebool test 2 (50574, 50578)', async function () { + const res = await this.contract3.lt_euint16_euint32( + this.instances3.alice.encrypt16(50574), + this.instances3.alice.encrypt32(50578), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint16, euint32) => ebool test 3 (50578, 50578)', async function () { + const res = await this.contract3.lt_euint16_euint32( + this.instances3.alice.encrypt16(50578), + this.instances3.alice.encrypt32(50578), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint32) => ebool test 4 (50578, 50574)', async function () { + const res = await this.contract3.lt_euint16_euint32( + this.instances3.alice.encrypt16(50578), + this.instances3.alice.encrypt32(50574), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint16, euint32) => euint32 test 1 (27643, 2066729287)', async function () { + const res = await this.contract3.min_euint16_euint32( + this.instances3.alice.encrypt16(27643), + this.instances3.alice.encrypt32(2066729287), + ); + expect(res).to.equal(27643); + }); + + it('test operator "min" overload (euint16, euint32) => euint32 test 2 (27639, 27643)', async function () { + const res = await this.contract3.min_euint16_euint32( + this.instances3.alice.encrypt16(27639), + this.instances3.alice.encrypt32(27643), + ); + expect(res).to.equal(27639); + }); + + it('test operator "min" overload (euint16, euint32) => euint32 test 3 (27643, 27643)', async function () { + const res = await this.contract3.min_euint16_euint32( + this.instances3.alice.encrypt16(27643), + this.instances3.alice.encrypt32(27643), + ); + expect(res).to.equal(27643); + }); + + it('test operator "min" overload (euint16, euint32) => euint32 test 4 (27643, 27639)', async function () { + const res = await this.contract3.min_euint16_euint32( + this.instances3.alice.encrypt16(27643), + this.instances3.alice.encrypt32(27639), + ); + expect(res).to.equal(27639); + }); + + it('test operator "max" overload (euint16, euint32) => euint32 test 1 (1, 46246)', async function () { + const res = await this.contract3.max_euint16_euint32( + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(46246), + ); + expect(res).to.equal(46246); + }); + + it('test operator "max" overload (euint16, euint32) => euint32 test 2 (31967, 31971)', async function () { + const res = await this.contract3.max_euint16_euint32( + this.instances3.alice.encrypt16(31967), + this.instances3.alice.encrypt32(31971), + ); + expect(res).to.equal(31971); + }); + + it('test operator "max" overload (euint16, euint32) => euint32 test 3 (31971, 31971)', async function () { + const res = await this.contract3.max_euint16_euint32( + this.instances3.alice.encrypt16(31971), + this.instances3.alice.encrypt32(31971), + ); + expect(res).to.equal(31971); + }); + + it('test operator "max" overload (euint16, euint32) => euint32 test 4 (31971, 31967)', async function () { + const res = await this.contract3.max_euint16_euint32( + this.instances3.alice.encrypt16(31971), + this.instances3.alice.encrypt32(31967), + ); + expect(res).to.equal(31971); + }); + + it('test operator "add" overload (euint16, euint64) => euint64 test 1 (1, 46642)', async function () { + const res = await this.contract3.add_euint16_euint64( + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(46642), + ); + expect(res).to.equal(46643); + }); + + it('test operator "add" overload (euint16, euint64) => euint64 test 2 (27826, 27830)', async function () { + const res = await this.contract3.add_euint16_euint64( + this.instances3.alice.encrypt16(27826), + this.instances3.alice.encrypt64(27830), + ); + expect(res).to.equal(55656); + }); + + it('test operator "add" overload (euint16, euint64) => euint64 test 3 (27830, 27830)', async function () { + const res = await this.contract3.add_euint16_euint64( + this.instances3.alice.encrypt16(27830), + this.instances3.alice.encrypt64(27830), + ); + expect(res).to.equal(55660); + }); + + it('test operator "add" overload (euint16, euint64) => euint64 test 4 (27830, 27826)', async function () { + const res = await this.contract3.add_euint16_euint64( + this.instances3.alice.encrypt16(27830), + this.instances3.alice.encrypt64(27826), + ); + expect(res).to.equal(55656); + }); + + it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (34964, 34964)', async function () { + const res = await this.contract3.sub_euint16_euint64( + this.instances3.alice.encrypt16(34964), + this.instances3.alice.encrypt64(34964), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (34964, 34960)', async function () { + const res = await this.contract3.sub_euint16_euint64( + this.instances3.alice.encrypt16(34964), + this.instances3.alice.encrypt64(34960), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (1, 22059)', async function () { + const res = await this.contract3.mul_euint16_euint64( + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(22059), + ); + expect(res).to.equal(22059); + }); + + it('test operator "mul" overload (euint16, euint64) => euint64 test 2 (144, 144)', async function () { + const res = await this.contract3.mul_euint16_euint64( + this.instances3.alice.encrypt16(144), + this.instances3.alice.encrypt64(144), + ); + expect(res).to.equal(20736); + }); + + it('test operator "mul" overload (euint16, euint64) => euint64 test 3 (144, 144)', async function () { + const res = await this.contract3.mul_euint16_euint64( + this.instances3.alice.encrypt16(144), + this.instances3.alice.encrypt64(144), + ); + expect(res).to.equal(20736); + }); + + it('test operator "mul" overload (euint16, euint64) => euint64 test 4 (144, 144)', async function () { + const res = await this.contract3.mul_euint16_euint64( + this.instances3.alice.encrypt16(144), + this.instances3.alice.encrypt64(144), + ); + expect(res).to.equal(20736); + }); + + it('test operator "and" overload (euint16, euint64) => euint64 test 1 (14563, 1642657503)', async function () { + const res = await this.contract3.and_euint16_euint64( + this.instances3.alice.encrypt16(14563), + this.instances3.alice.encrypt64(1642657503), + ); + expect(res).to.equal(12483); + }); + + it('test operator "and" overload (euint16, euint64) => euint64 test 2 (14559, 14563)', async function () { + const res = await this.contract3.and_euint16_euint64( + this.instances3.alice.encrypt16(14559), + this.instances3.alice.encrypt64(14563), + ); + expect(res).to.equal(14531); + }); + + it('test operator "and" overload (euint16, euint64) => euint64 test 3 (14563, 14563)', async function () { + const res = await this.contract3.and_euint16_euint64( + this.instances3.alice.encrypt16(14563), + this.instances3.alice.encrypt64(14563), + ); + expect(res).to.equal(14563); + }); + + it('test operator "and" overload (euint16, euint64) => euint64 test 4 (14563, 14559)', async function () { + const res = await this.contract3.and_euint16_euint64( + this.instances3.alice.encrypt16(14563), + this.instances3.alice.encrypt64(14559), + ); + expect(res).to.equal(14531); + }); + + it('test operator "or" overload (euint16, euint64) => euint64 test 1 (1, 52075)', async function () { + const res = await this.contract3.or_euint16_euint64( + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(52075), + ); + expect(res).to.equal(52075); + }); + + it('test operator "or" overload (euint16, euint64) => euint64 test 2 (15464, 15468)', async function () { + const res = await this.contract3.or_euint16_euint64( + this.instances3.alice.encrypt16(15464), + this.instances3.alice.encrypt64(15468), + ); + expect(res).to.equal(15468); + }); + + it('test operator "or" overload (euint16, euint64) => euint64 test 3 (15468, 15468)', async function () { + const res = await this.contract3.or_euint16_euint64( + this.instances3.alice.encrypt16(15468), + this.instances3.alice.encrypt64(15468), + ); + expect(res).to.equal(15468); + }); + + it('test operator "or" overload (euint16, euint64) => euint64 test 4 (15468, 15464)', async function () { + const res = await this.contract3.or_euint16_euint64( + this.instances3.alice.encrypt16(15468), + this.instances3.alice.encrypt64(15464), + ); + expect(res).to.equal(15468); + }); + + it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (5, 40064)', async function () { + const res = await this.contract3.xor_euint16_euint64( + this.instances3.alice.encrypt16(5), + this.instances3.alice.encrypt64(40064), + ); + expect(res).to.equal(40069); + }); + + it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (48077, 48081)', async function () { + const res = await this.contract3.xor_euint16_euint64( + this.instances3.alice.encrypt16(48077), + this.instances3.alice.encrypt64(48081), + ); + expect(res).to.equal(28); + }); + + it('test operator "xor" overload (euint16, euint64) => euint64 test 3 (48081, 48081)', async function () { + const res = await this.contract3.xor_euint16_euint64( + this.instances3.alice.encrypt16(48081), + this.instances3.alice.encrypt64(48081), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint16, euint64) => euint64 test 4 (48081, 48077)', async function () { + const res = await this.contract3.xor_euint16_euint64( + this.instances3.alice.encrypt16(48081), + this.instances3.alice.encrypt64(48077), + ); + expect(res).to.equal(28); + }); + + it('test operator "eq" overload (euint16, euint64) => ebool test 1 (65041, 1498344478)', async function () { + const res = await this.contract3.eq_euint16_euint64( + this.instances3.alice.encrypt16(65041), + this.instances3.alice.encrypt64(1498344478), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, euint64) => ebool test 2 (65037, 65041)', async function () { + const res = await this.contract3.eq_euint16_euint64( + this.instances3.alice.encrypt16(65037), + this.instances3.alice.encrypt64(65041), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, euint64) => ebool test 3 (65041, 65041)', async function () { + const res = await this.contract3.eq_euint16_euint64( + this.instances3.alice.encrypt16(65041), + this.instances3.alice.encrypt64(65041), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint16, euint64) => ebool test 4 (65041, 65037)', async function () { + const res = await this.contract3.eq_euint16_euint64( + this.instances3.alice.encrypt16(65041), + this.instances3.alice.encrypt64(65037), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, euint64) => ebool test 1 (16027, 1755085159)', async function () { + const res = await this.contract3.ne_euint16_euint64( + this.instances3.alice.encrypt16(16027), + this.instances3.alice.encrypt64(1755085159), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, euint64) => ebool test 2 (16023, 16027)', async function () { + const res = await this.contract3.ne_euint16_euint64( + this.instances3.alice.encrypt16(16023), + this.instances3.alice.encrypt64(16027), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, euint64) => ebool test 3 (16027, 16027)', async function () { + const res = await this.contract3.ne_euint16_euint64( + this.instances3.alice.encrypt16(16027), + this.instances3.alice.encrypt64(16027), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, euint64) => ebool test 4 (16027, 16023)', async function () { + const res = await this.contract3.ne_euint16_euint64( + this.instances3.alice.encrypt16(16027), + this.instances3.alice.encrypt64(16023), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint64) => ebool test 1 (64532, 1819047757)', async function () { + const res = await this.contract3.ge_euint16_euint64( + this.instances3.alice.encrypt16(64532), + this.instances3.alice.encrypt64(1819047757), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint16, euint64) => ebool test 2 (64528, 64532)', async function () { + const res = await this.contract3.ge_euint16_euint64( + this.instances3.alice.encrypt16(64528), + this.instances3.alice.encrypt64(64532), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint16, euint64) => ebool test 3 (64532, 64532)', async function () { + const res = await this.contract3.ge_euint16_euint64( + this.instances3.alice.encrypt16(64532), + this.instances3.alice.encrypt64(64532), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, euint64) => ebool test 4 (64532, 64528)', async function () { + const res = await this.contract3.ge_euint16_euint64( + this.instances3.alice.encrypt16(64532), + this.instances3.alice.encrypt64(64528), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint16, euint64) => ebool test 1 (47205, 1792915583)', async function () { + const res = await this.contract3.gt_euint16_euint64( + this.instances3.alice.encrypt16(47205), + this.instances3.alice.encrypt64(1792915583), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint64) => ebool test 2 (47201, 47205)', async function () { + const res = await this.contract3.gt_euint16_euint64( + this.instances3.alice.encrypt16(47201), + this.instances3.alice.encrypt64(47205), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint64) => ebool test 3 (47205, 47205)', async function () { + const res = await this.contract3.gt_euint16_euint64( + this.instances3.alice.encrypt16(47205), + this.instances3.alice.encrypt64(47205), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, euint64) => ebool test 4 (47205, 47201)', async function () { + const res = await this.contract3.gt_euint16_euint64( + this.instances3.alice.encrypt16(47205), + this.instances3.alice.encrypt64(47201), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint64) => ebool test 1 (63255, 1184396370)', async function () { + const res = await this.contract3.le_euint16_euint64( + this.instances3.alice.encrypt16(63255), + this.instances3.alice.encrypt64(1184396370), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint64) => ebool test 2 (63251, 63255)', async function () { + const res = await this.contract3.le_euint16_euint64( + this.instances3.alice.encrypt16(63251), + this.instances3.alice.encrypt64(63255), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint64) => ebool test 3 (63255, 63255)', async function () { + const res = await this.contract3.le_euint16_euint64( + this.instances3.alice.encrypt16(63255), + this.instances3.alice.encrypt64(63255), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, euint64) => ebool test 4 (63255, 63251)', async function () { + const res = await this.contract3.le_euint16_euint64( + this.instances3.alice.encrypt16(63255), + this.instances3.alice.encrypt64(63251), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint64) => ebool test 1 (50578, 1995209966)', async function () { + const res = await this.contract3.lt_euint16_euint64( + this.instances3.alice.encrypt16(50578), + this.instances3.alice.encrypt64(1995209966), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint16, euint64) => ebool test 2 (50574, 50578)', async function () { + const res = await this.contract3.lt_euint16_euint64( + this.instances3.alice.encrypt16(50574), + this.instances3.alice.encrypt64(50578), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint16, euint64) => ebool test 3 (50578, 50578)', async function () { + const res = await this.contract3.lt_euint16_euint64( + this.instances3.alice.encrypt16(50578), + this.instances3.alice.encrypt64(50578), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, euint64) => ebool test 4 (50578, 50574)', async function () { + const res = await this.contract3.lt_euint16_euint64( + this.instances3.alice.encrypt16(50578), + this.instances3.alice.encrypt64(50574), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint16, euint64) => euint64 test 1 (27643, 1529181739)', async function () { + const res = await this.contract3.min_euint16_euint64( + this.instances3.alice.encrypt16(27643), + this.instances3.alice.encrypt64(1529181739), + ); + expect(res).to.equal(27643); + }); + + it('test operator "min" overload (euint16, euint64) => euint64 test 2 (27639, 27643)', async function () { + const res = await this.contract3.min_euint16_euint64( + this.instances3.alice.encrypt16(27639), + this.instances3.alice.encrypt64(27643), + ); + expect(res).to.equal(27639); + }); + + it('test operator "min" overload (euint16, euint64) => euint64 test 3 (27643, 27643)', async function () { + const res = await this.contract3.min_euint16_euint64( + this.instances3.alice.encrypt16(27643), + this.instances3.alice.encrypt64(27643), + ); + expect(res).to.equal(27643); + }); + + it('test operator "min" overload (euint16, euint64) => euint64 test 4 (27643, 27639)', async function () { + const res = await this.contract3.min_euint16_euint64( + this.instances3.alice.encrypt16(27643), + this.instances3.alice.encrypt64(27639), + ); + expect(res).to.equal(27639); + }); + + it('test operator "max" overload (euint16, euint64) => euint64 test 1 (3, 35170)', async function () { + const res = await this.contract3.max_euint16_euint64( + this.instances3.alice.encrypt16(3), + this.instances3.alice.encrypt64(35170), + ); + expect(res).to.equal(35170); + }); + + it('test operator "max" overload (euint16, euint64) => euint64 test 2 (31967, 31971)', async function () { + const res = await this.contract3.max_euint16_euint64( + this.instances3.alice.encrypt16(31967), + this.instances3.alice.encrypt64(31971), + ); + expect(res).to.equal(31971); + }); + + it('test operator "max" overload (euint16, euint64) => euint64 test 3 (31971, 31971)', async function () { + const res = await this.contract3.max_euint16_euint64( + this.instances3.alice.encrypt16(31971), + this.instances3.alice.encrypt64(31971), + ); + expect(res).to.equal(31971); + }); + + it('test operator "max" overload (euint16, euint64) => euint64 test 4 (31971, 31967)', async function () { + const res = await this.contract3.max_euint16_euint64( + this.instances3.alice.encrypt16(31971), + this.instances3.alice.encrypt64(31967), + ); + expect(res).to.equal(31971); + }); + + it('test operator "add" overload (euint16, uint16) => euint16 test 1 (30233, 10584)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(30233), 10584); + expect(res).to.equal(40817); + }); + + it('test operator "add" overload (euint16, uint16) => euint16 test 2 (30229, 30233)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(30229), 30233); + expect(res).to.equal(60462); + }); + + it('test operator "add" overload (euint16, uint16) => euint16 test 3 (30233, 30233)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(30233), 30233); + expect(res).to.equal(60466); + }); + + it('test operator "add" overload (euint16, uint16) => euint16 test 4 (30233, 30229)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(30233), 30229); + expect(res).to.equal(60462); + }); + + it('test operator "add" overload (uint16, euint16) => euint16 test 1 (27830, 10584)', async function () { + const res = await this.contract3.add_uint16_euint16(27830, this.instances3.alice.encrypt16(10584)); + expect(res).to.equal(38414); + }); + + it('test operator "add" overload (uint16, euint16) => euint16 test 2 (30229, 30233)', async function () { + const res = await this.contract3.add_uint16_euint16(30229, this.instances3.alice.encrypt16(30233)); + expect(res).to.equal(60462); + }); + + it('test operator "add" overload (uint16, euint16) => euint16 test 3 (30233, 30233)', async function () { + const res = await this.contract3.add_uint16_euint16(30233, this.instances3.alice.encrypt16(30233)); + expect(res).to.equal(60466); + }); + + it('test operator "add" overload (uint16, euint16) => euint16 test 4 (30233, 30229)', async function () { + const res = await this.contract3.add_uint16_euint16(30233, this.instances3.alice.encrypt16(30229)); + expect(res).to.equal(60462); + }); + + it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (7674, 7674)', async function () { + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(7674), 7674); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint16, uint16) => euint16 test 2 (7674, 7670)', async function () { + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(7674), 7670); + expect(res).to.equal(4); + }); + + it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (7674, 7674)', async function () { + const res = await this.contract3.sub_uint16_euint16(7674, this.instances3.alice.encrypt16(7674)); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (uint16, euint16) => euint16 test 2 (7674, 7670)', async function () { + const res = await this.contract3.sub_uint16_euint16(7674, this.instances3.alice.encrypt16(7670)); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (442, 133)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(442), 133); + expect(res).to.equal(58786); + }); + + it('test operator "mul" overload (euint16, uint16) => euint16 test 2 (180, 180)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(180), 180); + expect(res).to.equal(32400); + }); + + it('test operator "mul" overload (euint16, uint16) => euint16 test 3 (180, 180)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(180), 180); + expect(res).to.equal(32400); + }); + + it('test operator "mul" overload (euint16, uint16) => euint16 test 4 (180, 180)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(180), 180); + expect(res).to.equal(32400); + }); + + it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (288, 133)', async function () { + const res = await this.contract3.mul_uint16_euint16(288, this.instances3.alice.encrypt16(133)); + expect(res).to.equal(38304); + }); + + it('test operator "mul" overload (uint16, euint16) => euint16 test 2 (180, 180)', async function () { + const res = await this.contract3.mul_uint16_euint16(180, this.instances3.alice.encrypt16(180)); + expect(res).to.equal(32400); + }); + + it('test operator "mul" overload (uint16, euint16) => euint16 test 3 (180, 180)', async function () { + const res = await this.contract3.mul_uint16_euint16(180, this.instances3.alice.encrypt16(180)); + expect(res).to.equal(32400); + }); + + it('test operator "mul" overload (uint16, euint16) => euint16 test 4 (180, 180)', async function () { + const res = await this.contract3.mul_uint16_euint16(180, this.instances3.alice.encrypt16(180)); + expect(res).to.equal(32400); + }); + + it('test operator "div" overload (euint16, uint16) => euint16 test 1 (30116, 13141)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(30116), 13141); + expect(res).to.equal(2); + }); + + it('test operator "div" overload (euint16, uint16) => euint16 test 2 (8385, 8389)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(8385), 8389); + expect(res).to.equal(0); + }); + + it('test operator "div" overload (euint16, uint16) => euint16 test 3 (8389, 8389)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(8389), 8389); + expect(res).to.equal(1); + }); + + it('test operator "div" overload (euint16, uint16) => euint16 test 4 (8389, 8385)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(8389), 8385); + expect(res).to.equal(1); + }); + + it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (50030, 38531)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(50030), 38531); + expect(res).to.equal(11499); + }); + + it('test operator "rem" overload (euint16, uint16) => euint16 test 2 (13739, 13743)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(13739), 13743); + expect(res).to.equal(13739); + }); + + it('test operator "rem" overload (euint16, uint16) => euint16 test 3 (13743, 13743)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(13743), 13743); + expect(res).to.equal(0); + }); + + it('test operator "rem" overload (euint16, uint16) => euint16 test 4 (13743, 13739)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(13743), 13739); + expect(res).to.equal(4); + }); + + it('test operator "eq" overload (euint16, uint16) => ebool test 1 (5627, 53030)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5627), 53030); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, uint16) => ebool test 2 (4532, 4536)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(4532), 4536); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint16, uint16) => ebool test 3 (4536, 4536)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(4536), 4536); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint16, uint16) => ebool test 4 (4536, 4532)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(4536), 4532); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (uint16, euint16) => ebool test 1 (65041, 53030)', async function () { + const res = await this.contract3.eq_uint16_euint16(65041, this.instances3.alice.encrypt16(53030)); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (uint16, euint16) => ebool test 2 (4532, 4536)', async function () { + const res = await this.contract3.eq_uint16_euint16(4532, this.instances3.alice.encrypt16(4536)); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (uint16, euint16) => ebool test 3 (4536, 4536)', async function () { + const res = await this.contract3.eq_uint16_euint16(4536, this.instances3.alice.encrypt16(4536)); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (uint16, euint16) => ebool test 4 (4536, 4532)', async function () { + const res = await this.contract3.eq_uint16_euint16(4536, this.instances3.alice.encrypt16(4532)); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, uint16) => ebool test 1 (20601, 24726)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(20601), 24726); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, uint16) => ebool test 2 (20597, 20601)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(20597), 20601); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint16, uint16) => ebool test 3 (20601, 20601)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(20601), 20601); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint16, uint16) => ebool test 4 (20601, 20597)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(20601), 20597); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (uint16, euint16) => ebool test 1 (16027, 24726)', async function () { + const res = await this.contract3.ne_uint16_euint16(16027, this.instances3.alice.encrypt16(24726)); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (uint16, euint16) => ebool test 2 (20597, 20601)', async function () { + const res = await this.contract3.ne_uint16_euint16(20597, this.instances3.alice.encrypt16(20601)); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (uint16, euint16) => ebool test 3 (20601, 20601)', async function () { + const res = await this.contract3.ne_uint16_euint16(20601, this.instances3.alice.encrypt16(20601)); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (uint16, euint16) => ebool test 4 (20601, 20597)', async function () { + const res = await this.contract3.ne_uint16_euint16(20601, this.instances3.alice.encrypt16(20597)); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, uint16) => ebool test 1 (44342, 6260)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(44342), 6260); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, uint16) => ebool test 2 (44338, 44342)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(44338), 44342); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint16, uint16) => ebool test 3 (44342, 44342)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(44342), 44342); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint16, uint16) => ebool test 4 (44342, 44338)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(44342), 44338); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (uint16, euint16) => ebool test 1 (64532, 6260)', async function () { + const res = await this.contract3.ge_uint16_euint16(64532, this.instances3.alice.encrypt16(6260)); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (uint16, euint16) => ebool test 2 (44338, 44342)', async function () { + const res = await this.contract3.ge_uint16_euint16(44338, this.instances3.alice.encrypt16(44342)); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (uint16, euint16) => ebool test 3 (44342, 44342)', async function () { + const res = await this.contract3.ge_uint16_euint16(44342, this.instances3.alice.encrypt16(44342)); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (uint16, euint16) => ebool test 4 (44342, 44338)', async function () { + const res = await this.contract3.ge_uint16_euint16(44342, this.instances3.alice.encrypt16(44338)); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint16, uint16) => ebool test 1 (42324, 7407)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(42324), 7407); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint16, uint16) => ebool test 2 (42320, 42324)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(42320), 42324); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, uint16) => ebool test 3 (42324, 42324)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(42324), 42324); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint16, uint16) => ebool test 4 (42324, 42320)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(42324), 42320); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (uint16, euint16) => ebool test 1 (47205, 7407)', async function () { + const res = await this.contract3.gt_uint16_euint16(47205, this.instances3.alice.encrypt16(7407)); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (uint16, euint16) => ebool test 2 (42320, 42324)', async function () { + const res = await this.contract3.gt_uint16_euint16(42320, this.instances3.alice.encrypt16(42324)); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (uint16, euint16) => ebool test 3 (42324, 42324)', async function () { + const res = await this.contract3.gt_uint16_euint16(42324, this.instances3.alice.encrypt16(42324)); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (uint16, euint16) => ebool test 4 (42324, 42320)', async function () { + const res = await this.contract3.gt_uint16_euint16(42324, this.instances3.alice.encrypt16(42320)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, uint16) => ebool test 1 (5574, 3979)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(5574), 3979); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (euint16, uint16) => ebool test 2 (5570, 5574)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(5570), 5574); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, uint16) => ebool test 3 (5574, 5574)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(5574), 5574); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint16, uint16) => ebool test 4 (5574, 5570)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(5574), 5570); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (uint16, euint16) => ebool test 1 (63255, 3979)', async function () { + const res = await this.contract3.le_uint16_euint16(63255, this.instances3.alice.encrypt16(3979)); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (uint16, euint16) => ebool test 2 (5570, 5574)', async function () { + const res = await this.contract3.le_uint16_euint16(5570, this.instances3.alice.encrypt16(5574)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (uint16, euint16) => ebool test 3 (5574, 5574)', async function () { + const res = await this.contract3.le_uint16_euint16(5574, this.instances3.alice.encrypt16(5574)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (uint16, euint16) => ebool test 4 (5574, 5570)', async function () { + const res = await this.contract3.le_uint16_euint16(5574, this.instances3.alice.encrypt16(5570)); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, uint16) => ebool test 1 (64394, 5464)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(64394), 5464); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, uint16) => ebool test 2 (46197, 46201)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(46197), 46201); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint16, uint16) => ebool test 3 (46201, 46201)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(46201), 46201); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint16, uint16) => ebool test 4 (46201, 46197)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(46201), 46197); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (uint16, euint16) => ebool test 1 (50578, 5464)', async function () { + const res = await this.contract3.lt_uint16_euint16(50578, this.instances3.alice.encrypt16(5464)); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (uint16, euint16) => ebool test 2 (46197, 46201)', async function () { + const res = await this.contract3.lt_uint16_euint16(46197, this.instances3.alice.encrypt16(46201)); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (uint16, euint16) => ebool test 3 (46201, 46201)', async function () { + const res = await this.contract3.lt_uint16_euint16(46201, this.instances3.alice.encrypt16(46201)); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (uint16, euint16) => ebool test 4 (46201, 46197)', async function () { + const res = await this.contract3.lt_uint16_euint16(46201, this.instances3.alice.encrypt16(46197)); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint16, uint16) => euint16 test 1 (3854, 54603)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(3854), 54603); + expect(res).to.equal(3854); + }); + + it('test operator "min" overload (euint16, uint16) => euint16 test 2 (3850, 3854)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(3850), 3854); + expect(res).to.equal(3850); + }); + + it('test operator "min" overload (euint16, uint16) => euint16 test 3 (3854, 3854)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(3854), 3854); + expect(res).to.equal(3854); + }); + + it('test operator "min" overload (euint16, uint16) => euint16 test 4 (3854, 3850)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(3854), 3850); + expect(res).to.equal(3850); + }); + + it('test operator "min" overload (uint16, euint16) => euint16 test 1 (27643, 54603)', async function () { + const res = await this.contract3.min_uint16_euint16(27643, this.instances3.alice.encrypt16(54603)); + expect(res).to.equal(27643); + }); + + it('test operator "min" overload (uint16, euint16) => euint16 test 2 (3850, 3854)', async function () { + const res = await this.contract3.min_uint16_euint16(3850, this.instances3.alice.encrypt16(3854)); + expect(res).to.equal(3850); + }); + + it('test operator "min" overload (uint16, euint16) => euint16 test 3 (3854, 3854)', async function () { + const res = await this.contract3.min_uint16_euint16(3854, this.instances3.alice.encrypt16(3854)); + expect(res).to.equal(3854); + }); + + it('test operator "min" overload (uint16, euint16) => euint16 test 4 (3854, 3850)', async function () { + const res = await this.contract3.min_uint16_euint16(3854, this.instances3.alice.encrypt16(3850)); + expect(res).to.equal(3850); + }); + + it('test operator "max" overload (euint16, uint16) => euint16 test 1 (43071, 57395)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(43071), 57395); + expect(res).to.equal(57395); + }); + + it('test operator "max" overload (euint16, uint16) => euint16 test 2 (37039, 37043)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37039), 37043); + expect(res).to.equal(37043); + }); + + it('test operator "max" overload (euint16, uint16) => euint16 test 3 (37043, 37043)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37043), 37043); + expect(res).to.equal(37043); + }); + + it('test operator "max" overload (euint16, uint16) => euint16 test 4 (37043, 37039)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37043), 37039); + expect(res).to.equal(37043); + }); + + it('test operator "max" overload (uint16, euint16) => euint16 test 1 (31971, 57395)', async function () { + const res = await this.contract3.max_uint16_euint16(31971, this.instances3.alice.encrypt16(57395)); + expect(res).to.equal(57395); + }); + + it('test operator "max" overload (uint16, euint16) => euint16 test 2 (37039, 37043)', async function () { + const res = await this.contract3.max_uint16_euint16(37039, this.instances3.alice.encrypt16(37043)); + expect(res).to.equal(37043); + }); + + it('test operator "max" overload (uint16, euint16) => euint16 test 3 (37043, 37043)', async function () { + const res = await this.contract3.max_uint16_euint16(37043, this.instances3.alice.encrypt16(37043)); + expect(res).to.equal(37043); + }); + + it('test operator "max" overload (uint16, euint16) => euint16 test 4 (37043, 37039)', async function () { + const res = await this.contract3.max_uint16_euint16(37043, this.instances3.alice.encrypt16(37039)); + expect(res).to.equal(37043); + }); + + it('test operator "add" overload (euint32, euint4) => euint32 test 1 (10, 1)', async function () { + const res = await this.contract3.add_euint32_euint4( + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(1), + ); + expect(res).to.equal(11); + }); + + it('test operator "add" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract3.add_euint32_euint4( + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "add" overload (euint32, euint4) => euint32 test 3 (4, 4)', async function () { + const res = await this.contract3.add_euint32_euint4( + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(4), + ); + expect(res).to.equal(8); + }); + + it('test operator "add" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract3.add_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "sub" overload (euint32, euint4) => euint32 test 1 (8, 8)', async function () { + const res = await this.contract3.sub_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint32, euint4) => euint32 test 2 (8, 4)', async function () { + const res = await this.contract3.sub_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint32, euint4) => euint32 test 1 (13, 1)', async function () { + const res = await this.contract3.mul_euint32_euint4( + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(1), + ); + expect(res).to.equal(13); + }); + + it('test operator "mul" overload (euint32, euint4) => euint32 test 2 (2, 3)', async function () { + const res = await this.contract3.mul_euint32_euint4( + this.instances3.alice.encrypt32(2), + this.instances3.alice.encrypt4(3), + ); + expect(res).to.equal(6); + }); + + it('test operator "mul" overload (euint32, euint4) => euint32 test 3 (3, 3)', async function () { + const res = await this.contract3.mul_euint32_euint4( + this.instances3.alice.encrypt32(3), + this.instances3.alice.encrypt4(3), + ); + expect(res).to.equal(9); + }); + + it('test operator "mul" overload (euint32, euint4) => euint32 test 4 (3, 2)', async function () { + const res = await this.contract3.mul_euint32_euint4( + this.instances3.alice.encrypt32(3), + this.instances3.alice.encrypt4(2), + ); + expect(res).to.equal(6); + }); + + it('test operator "and" overload (euint32, euint4) => euint32 test 1 (1757898274, 2)', async function () { + const res = await this.contract3.and_euint32_euint4( + this.instances3.alice.encrypt32(1757898274), + this.instances3.alice.encrypt4(2), + ); + expect(res).to.equal(2); + }); + + it('test operator "and" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract3.and_euint32_euint4( + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "and" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract3.and_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "and" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract3.and_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), + ); + expect(res).to.equal(0); + }); + + it('test operator "or" overload (euint32, euint4) => euint32 test 1 (9, 1)', async function () { + const res = await this.contract3.or_euint32_euint4( + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(1), + ); + expect(res).to.equal(9); + }); + + it('test operator "or" overload (euint32, euint4) => euint32 test 2 (10, 14)', async function () { + const res = await this.contract3.or_euint32_euint4( + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(14), + ); + expect(res).to.equal(14); + }); + + it('test operator "or" overload (euint32, euint4) => euint32 test 3 (14, 14)', async function () { + const res = await this.contract3.or_euint32_euint4( + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(14), + ); + expect(res).to.equal(14); + }); + + it('test operator "or" overload (euint32, euint4) => euint32 test 4 (14, 10)', async function () { + const res = await this.contract3.or_euint32_euint4( + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(10), + ); + expect(res).to.equal(14); + }); + + it('test operator "xor" overload (euint32, euint4) => euint32 test 1 (13, 1)', async function () { + const res = await this.contract3.xor_euint32_euint4( + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(1), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract3.xor_euint32_euint4( + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract3.xor_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract3.xor_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "eq" overload (euint32, euint4) => ebool test 1 (1270694518, 8)', async function () { + const res = await this.contract3.eq_euint32_euint4( + this.instances3.alice.encrypt32(1270694518), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.eq_euint32_euint4( + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.eq_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.eq_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, euint4) => ebool test 1 (1211702728, 8)', async function () { + const res = await this.contract3.ne_euint32_euint4( + this.instances3.alice.encrypt32(1211702728), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.ne_euint32_euint4( + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.ne_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.ne_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint4) => ebool test 1 (627970552, 13)', async function () { + const res = await this.contract3.ge_euint32_euint4( + this.instances3.alice.encrypt32(627970552), + this.instances3.alice.encrypt4(13), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint4) => ebool test 2 (9, 13)', async function () { + const res = await this.contract3.ge_euint32_euint4( + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(13), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint32, euint4) => ebool test 3 (13, 13)', async function () { + const res = await this.contract3.ge_euint32_euint4( + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(13), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint4) => ebool test 4 (13, 9)', async function () { + const res = await this.contract3.ge_euint32_euint4( + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(9), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, euint4) => ebool test 1 (1801714413, 14)', async function () { + const res = await this.contract3.gt_euint32_euint4( + this.instances3.alice.encrypt32(1801714413), + this.instances3.alice.encrypt4(14), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, euint4) => ebool test 2 (10, 14)', async function () { + const res = await this.contract3.gt_euint32_euint4( + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(14), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint4) => ebool test 3 (14, 14)', async function () { + const res = await this.contract3.gt_euint32_euint4( + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(14), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint4) => ebool test 4 (14, 10)', async function () { + const res = await this.contract3.gt_euint32_euint4( + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(10), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint4) => ebool test 1 (523722139, 11)', async function () { + const res = await this.contract3.le_euint32_euint4( + this.instances3.alice.encrypt32(523722139), + this.instances3.alice.encrypt4(11), + ); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (euint32, euint4) => ebool test 2 (7, 11)', async function () { + const res = await this.contract3.le_euint32_euint4( + this.instances3.alice.encrypt32(7), + this.instances3.alice.encrypt4(11), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint4) => ebool test 3 (11, 11)', async function () { + const res = await this.contract3.le_euint32_euint4( + this.instances3.alice.encrypt32(11), + this.instances3.alice.encrypt4(11), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint4) => ebool test 4 (11, 7)', async function () { + const res = await this.contract3.le_euint32_euint4( + this.instances3.alice.encrypt32(11), + this.instances3.alice.encrypt4(7), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint4) => ebool test 1 (1044281941, 14)', async function () { + const res = await this.contract3.lt_euint32_euint4( + this.instances3.alice.encrypt32(1044281941), + this.instances3.alice.encrypt4(14), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint4) => ebool test 2 (10, 14)', async function () { + const res = await this.contract3.lt_euint32_euint4( + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(14), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint32, euint4) => ebool test 3 (14, 14)', async function () { + const res = await this.contract3.lt_euint32_euint4( + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(14), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint4) => ebool test 4 (14, 10)', async function () { + const res = await this.contract3.lt_euint32_euint4( + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(10), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint32, euint4) => euint32 test 1 (390943086, 2)', async function () { + const res = await this.contract3.min_euint32_euint4( + this.instances3.alice.encrypt32(390943086), + this.instances3.alice.encrypt4(2), + ); + expect(res).to.equal(2); + }); + + it('test operator "min" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract3.min_euint32_euint4( + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(4); + }); + + it('test operator "min" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract3.min_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "min" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract3.min_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), + ); + expect(res).to.equal(4); + }); + + it('test operator "max" overload (euint32, euint4) => euint32 test 1 (8, 1)', async function () { + const res = await this.contract3.max_euint32_euint4( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(1), + ); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (euint32, euint4) => euint32 test 2 (7, 11)', async function () { + const res = await this.contract3.max_euint32_euint4( + this.instances3.alice.encrypt32(7), + this.instances3.alice.encrypt4(11), + ); + expect(res).to.equal(11); + }); + + it('test operator "max" overload (euint32, euint4) => euint32 test 3 (11, 11)', async function () { + const res = await this.contract3.max_euint32_euint4( + this.instances3.alice.encrypt32(11), + this.instances3.alice.encrypt4(11), + ); + expect(res).to.equal(11); + }); + + it('test operator "max" overload (euint32, euint4) => euint32 test 4 (11, 7)', async function () { + const res = await this.contract3.max_euint32_euint4( + this.instances3.alice.encrypt32(11), + this.instances3.alice.encrypt4(7), + ); + expect(res).to.equal(11); + }); + + it('test operator "add" overload (euint32, euint8) => euint32 test 1 (162, 1)', async function () { + const res = await this.contract3.add_euint32_euint8( + this.instances3.alice.encrypt32(162), + this.instances3.alice.encrypt8(1), + ); + expect(res).to.equal(163); + }); + + it('test operator "add" overload (euint32, euint8) => euint32 test 2 (115, 117)', async function () { + const res = await this.contract3.add_euint32_euint8( + this.instances3.alice.encrypt32(115), + this.instances3.alice.encrypt8(117), + ); + expect(res).to.equal(232); + }); + + it('test operator "add" overload (euint32, euint8) => euint32 test 3 (117, 117)', async function () { + const res = await this.contract3.add_euint32_euint8( + this.instances3.alice.encrypt32(117), + this.instances3.alice.encrypt8(117), + ); + expect(res).to.equal(234); + }); + + it('test operator "add" overload (euint32, euint8) => euint32 test 4 (117, 115)', async function () { + const res = await this.contract3.add_euint32_euint8( + this.instances3.alice.encrypt32(117), + this.instances3.alice.encrypt8(115), + ); + expect(res).to.equal(232); + }); + + it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (239, 239)', async function () { + const res = await this.contract3.sub_euint32_euint8( + this.instances3.alice.encrypt32(239), + this.instances3.alice.encrypt8(239), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint32, euint8) => euint32 test 2 (239, 235)', async function () { + const res = await this.contract3.sub_euint32_euint8( + this.instances3.alice.encrypt32(239), + this.instances3.alice.encrypt8(235), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint32, euint8) => euint32 test 1 (222, 1)', async function () { + const res = await this.contract3.mul_euint32_euint8( + this.instances3.alice.encrypt32(222), + this.instances3.alice.encrypt8(1), + ); + expect(res).to.equal(222); + }); + + it('test operator "mul" overload (euint32, euint8) => euint32 test 2 (10, 14)', async function () { + const res = await this.contract3.mul_euint32_euint8( + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt8(14), + ); + expect(res).to.equal(140); + }); + + it('test operator "mul" overload (euint32, euint8) => euint32 test 3 (14, 14)', async function () { + const res = await this.contract3.mul_euint32_euint8( + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt8(14), + ); + expect(res).to.equal(196); + }); + + it('test operator "mul" overload (euint32, euint8) => euint32 test 4 (14, 10)', async function () { + const res = await this.contract3.mul_euint32_euint8( + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt8(10), + ); + expect(res).to.equal(140); + }); + + it('test operator "and" overload (euint32, euint8) => euint32 test 1 (1757898274, 2)', async function () { + const res = await this.contract3.and_euint32_euint8( + this.instances3.alice.encrypt32(1757898274), + this.instances3.alice.encrypt8(2), + ); + expect(res).to.equal(2); + }); + + it('test operator "and" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract3.and_euint32_euint8( + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt8(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "and" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract3.and_euint32_euint8( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt8(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "and" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract3.and_euint32_euint8( + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt8(4), + ); + expect(res).to.equal(0); + }); + + it('test operator "or" overload (euint32, euint8) => euint32 test 1 (156, 1)', async function () { + const res = await this.contract4.or_euint32_euint8( + this.instances4.alice.encrypt32(156), + this.instances4.alice.encrypt8(1), + ); + expect(res).to.equal(157); + }); + + it('test operator "or" overload (euint32, euint8) => euint32 test 2 (25, 29)', async function () { + const res = await this.contract4.or_euint32_euint8( + this.instances4.alice.encrypt32(25), + this.instances4.alice.encrypt8(29), + ); + expect(res).to.equal(29); + }); + + it('test operator "or" overload (euint32, euint8) => euint32 test 3 (29, 29)', async function () { + const res = await this.contract4.or_euint32_euint8( + this.instances4.alice.encrypt32(29), + this.instances4.alice.encrypt8(29), + ); + expect(res).to.equal(29); + }); + + it('test operator "or" overload (euint32, euint8) => euint32 test 4 (29, 25)', async function () { + const res = await this.contract4.or_euint32_euint8( + this.instances4.alice.encrypt32(29), + this.instances4.alice.encrypt8(25), + ); + expect(res).to.equal(29); + }); + + it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (210, 1)', async function () { + const res = await this.contract4.xor_euint32_euint8( + this.instances4.alice.encrypt32(210), + this.instances4.alice.encrypt8(1), + ); + expect(res).to.equal(211); + }); + + it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (54, 58)', async function () { + const res = await this.contract4.xor_euint32_euint8( + this.instances4.alice.encrypt32(54), + this.instances4.alice.encrypt8(58), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint32, euint8) => euint32 test 3 (58, 58)', async function () { + const res = await this.contract4.xor_euint32_euint8( + this.instances4.alice.encrypt32(58), + this.instances4.alice.encrypt8(58), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint32, euint8) => euint32 test 4 (58, 54)', async function () { + const res = await this.contract4.xor_euint32_euint8( + this.instances4.alice.encrypt32(58), + this.instances4.alice.encrypt8(54), + ); + expect(res).to.equal(12); + }); + + it('test operator "eq" overload (euint32, euint8) => ebool test 1 (1270694518, 11)', async function () { + const res = await this.contract4.eq_euint32_euint8( + this.instances4.alice.encrypt32(1270694518), + this.instances4.alice.encrypt8(11), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, euint8) => ebool test 2 (7, 11)', async function () { + const res = await this.contract4.eq_euint32_euint8( + this.instances4.alice.encrypt32(7), + this.instances4.alice.encrypt8(11), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, euint8) => ebool test 3 (11, 11)', async function () { + const res = await this.contract4.eq_euint32_euint8( + this.instances4.alice.encrypt32(11), + this.instances4.alice.encrypt8(11), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint32, euint8) => ebool test 4 (11, 7)', async function () { + const res = await this.contract4.eq_euint32_euint8( + this.instances4.alice.encrypt32(11), + this.instances4.alice.encrypt8(7), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, euint8) => ebool test 1 (1211702728, 132)', async function () { + const res = await this.contract4.ne_euint32_euint8( + this.instances4.alice.encrypt32(1211702728), + this.instances4.alice.encrypt8(132), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, euint8) => ebool test 2 (128, 132)', async function () { + const res = await this.contract4.ne_euint32_euint8( + this.instances4.alice.encrypt32(128), + this.instances4.alice.encrypt8(132), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, euint8) => ebool test 3 (132, 132)', async function () { + const res = await this.contract4.ne_euint32_euint8( + this.instances4.alice.encrypt32(132), + this.instances4.alice.encrypt8(132), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, euint8) => ebool test 4 (132, 128)', async function () { + const res = await this.contract4.ne_euint32_euint8( + this.instances4.alice.encrypt32(132), + this.instances4.alice.encrypt8(128), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint8) => ebool test 1 (627970552, 5)', async function () { + const res = await this.contract4.ge_euint32_euint8( + this.instances4.alice.encrypt32(627970552), + this.instances4.alice.encrypt8(5), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.ge_euint32_euint8( + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt8(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.ge_euint32_euint8( + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.ge_euint32_euint8( + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(4), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, euint8) => ebool test 1 (1801714413, 95)', async function () { + const res = await this.contract4.gt_euint32_euint8( + this.instances4.alice.encrypt32(1801714413), + this.instances4.alice.encrypt8(95), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, euint8) => ebool test 2 (91, 95)', async function () { + const res = await this.contract4.gt_euint32_euint8( + this.instances4.alice.encrypt32(91), + this.instances4.alice.encrypt8(95), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint8) => ebool test 3 (95, 95)', async function () { + const res = await this.contract4.gt_euint32_euint8( + this.instances4.alice.encrypt32(95), + this.instances4.alice.encrypt8(95), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint8) => ebool test 4 (95, 91)', async function () { + const res = await this.contract4.gt_euint32_euint8( + this.instances4.alice.encrypt32(95), + this.instances4.alice.encrypt8(91), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint8) => ebool test 1 (523722139, 41)', async function () { + const res = await this.contract4.le_euint32_euint8( + this.instances4.alice.encrypt32(523722139), + this.instances4.alice.encrypt8(41), + ); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (euint32, euint8) => ebool test 2 (37, 41)', async function () { + const res = await this.contract4.le_euint32_euint8( + this.instances4.alice.encrypt32(37), + this.instances4.alice.encrypt8(41), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint8) => ebool test 3 (41, 41)', async function () { + const res = await this.contract4.le_euint32_euint8( + this.instances4.alice.encrypt32(41), + this.instances4.alice.encrypt8(41), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint8) => ebool test 4 (41, 37)', async function () { + const res = await this.contract4.le_euint32_euint8( + this.instances4.alice.encrypt32(41), + this.instances4.alice.encrypt8(37), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint8) => ebool test 1 (1044281941, 77)', async function () { + const res = await this.contract4.lt_euint32_euint8( + this.instances4.alice.encrypt32(1044281941), + this.instances4.alice.encrypt8(77), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint8) => ebool test 2 (73, 77)', async function () { + const res = await this.contract4.lt_euint32_euint8( + this.instances4.alice.encrypt32(73), + this.instances4.alice.encrypt8(77), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint32, euint8) => ebool test 3 (77, 77)', async function () { + const res = await this.contract4.lt_euint32_euint8( + this.instances4.alice.encrypt32(77), + this.instances4.alice.encrypt8(77), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint8) => ebool test 4 (77, 73)', async function () { + const res = await this.contract4.lt_euint32_euint8( + this.instances4.alice.encrypt32(77), + this.instances4.alice.encrypt8(73), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint32, euint8) => euint32 test 1 (390943086, 113)', async function () { + const res = await this.contract4.min_euint32_euint8( + this.instances4.alice.encrypt32(390943086), + this.instances4.alice.encrypt8(113), + ); + expect(res).to.equal(113); + }); + + it('test operator "min" overload (euint32, euint8) => euint32 test 2 (109, 113)', async function () { + const res = await this.contract4.min_euint32_euint8( + this.instances4.alice.encrypt32(109), + this.instances4.alice.encrypt8(113), + ); + expect(res).to.equal(109); + }); + + it('test operator "min" overload (euint32, euint8) => euint32 test 3 (113, 113)', async function () { + const res = await this.contract4.min_euint32_euint8( + this.instances4.alice.encrypt32(113), + this.instances4.alice.encrypt8(113), + ); + expect(res).to.equal(113); + }); + + it('test operator "min" overload (euint32, euint8) => euint32 test 4 (113, 109)', async function () { + const res = await this.contract4.min_euint32_euint8( + this.instances4.alice.encrypt32(113), + this.instances4.alice.encrypt8(109), + ); + expect(res).to.equal(109); + }); + + it('test operator "max" overload (euint32, euint8) => euint32 test 1 (135, 1)', async function () { + const res = await this.contract4.max_euint32_euint8( + this.instances4.alice.encrypt32(135), + this.instances4.alice.encrypt8(1), + ); + expect(res).to.equal(135); + }); + + it('test operator "max" overload (euint32, euint8) => euint32 test 2 (81, 85)', async function () { + const res = await this.contract4.max_euint32_euint8( + this.instances4.alice.encrypt32(81), + this.instances4.alice.encrypt8(85), + ); + expect(res).to.equal(85); + }); + + it('test operator "max" overload (euint32, euint8) => euint32 test 3 (85, 85)', async function () { + const res = await this.contract4.max_euint32_euint8( + this.instances4.alice.encrypt32(85), + this.instances4.alice.encrypt8(85), + ); + expect(res).to.equal(85); + }); + + it('test operator "max" overload (euint32, euint8) => euint32 test 4 (85, 81)', async function () { + const res = await this.contract4.max_euint32_euint8( + this.instances4.alice.encrypt32(85), + this.instances4.alice.encrypt8(81), + ); + expect(res).to.equal(85); + }); + + it('test operator "add" overload (euint32, euint16) => euint32 test 1 (41642, 13)', async function () { + const res = await this.contract4.add_euint32_euint16( + this.instances4.alice.encrypt32(41642), + this.instances4.alice.encrypt16(13), + ); + expect(res).to.equal(41655); + }); + + it('test operator "add" overload (euint32, euint16) => euint32 test 2 (28344, 28348)', async function () { + const res = await this.contract4.add_euint32_euint16( + this.instances4.alice.encrypt32(28344), + this.instances4.alice.encrypt16(28348), + ); + expect(res).to.equal(56692); + }); + + it('test operator "add" overload (euint32, euint16) => euint32 test 3 (28348, 28348)', async function () { + const res = await this.contract4.add_euint32_euint16( + this.instances4.alice.encrypt32(28348), + this.instances4.alice.encrypt16(28348), + ); + expect(res).to.equal(56696); + }); + + it('test operator "add" overload (euint32, euint16) => euint32 test 4 (28348, 28344)', async function () { + const res = await this.contract4.add_euint32_euint16( + this.instances4.alice.encrypt32(28348), + this.instances4.alice.encrypt16(28344), + ); + expect(res).to.equal(56692); + }); + + it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (4191, 4191)', async function () { + const res = await this.contract4.sub_euint32_euint16( + this.instances4.alice.encrypt32(4191), + this.instances4.alice.encrypt16(4191), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint32, euint16) => euint32 test 2 (4191, 4187)', async function () { + const res = await this.contract4.sub_euint32_euint16( + this.instances4.alice.encrypt32(4191), + this.instances4.alice.encrypt16(4187), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (56978, 1)', async function () { + const res = await this.contract4.mul_euint32_euint16( + this.instances4.alice.encrypt32(56978), + this.instances4.alice.encrypt16(1), + ); + expect(res).to.equal(56978); + }); + + it('test operator "mul" overload (euint32, euint16) => euint32 test 2 (159, 159)', async function () { + const res = await this.contract4.mul_euint32_euint16( + this.instances4.alice.encrypt32(159), + this.instances4.alice.encrypt16(159), + ); + expect(res).to.equal(25281); + }); + + it('test operator "mul" overload (euint32, euint16) => euint32 test 3 (159, 159)', async function () { + const res = await this.contract4.mul_euint32_euint16( + this.instances4.alice.encrypt32(159), + this.instances4.alice.encrypt16(159), + ); + expect(res).to.equal(25281); + }); + + it('test operator "mul" overload (euint32, euint16) => euint32 test 4 (159, 159)', async function () { + const res = await this.contract4.mul_euint32_euint16( + this.instances4.alice.encrypt32(159), + this.instances4.alice.encrypt16(159), + ); + expect(res).to.equal(25281); + }); + + it('test operator "and" overload (euint32, euint16) => euint32 test 1 (1757898274, 20019)', async function () { + const res = await this.contract4.and_euint32_euint16( + this.instances4.alice.encrypt32(1757898274), + this.instances4.alice.encrypt16(20019), + ); + expect(res).to.equal(17954); + }); + + it('test operator "and" overload (euint32, euint16) => euint32 test 2 (20015, 20019)', async function () { + const res = await this.contract4.and_euint32_euint16( + this.instances4.alice.encrypt32(20015), + this.instances4.alice.encrypt16(20019), + ); + expect(res).to.equal(20003); + }); + + it('test operator "and" overload (euint32, euint16) => euint32 test 3 (20019, 20019)', async function () { + const res = await this.contract4.and_euint32_euint16( + this.instances4.alice.encrypt32(20019), + this.instances4.alice.encrypt16(20019), + ); + expect(res).to.equal(20019); + }); + + it('test operator "and" overload (euint32, euint16) => euint32 test 4 (20019, 20015)', async function () { + const res = await this.contract4.and_euint32_euint16( + this.instances4.alice.encrypt32(20019), + this.instances4.alice.encrypt16(20015), + ); + expect(res).to.equal(20003); + }); + + it('test operator "or" overload (euint32, euint16) => euint32 test 1 (40006, 1)', async function () { + const res = await this.contract4.or_euint32_euint16( + this.instances4.alice.encrypt32(40006), + this.instances4.alice.encrypt16(1), + ); + expect(res).to.equal(40007); + }); + + it('test operator "or" overload (euint32, euint16) => euint32 test 2 (46882, 46886)', async function () { + const res = await this.contract4.or_euint32_euint16( + this.instances4.alice.encrypt32(46882), + this.instances4.alice.encrypt16(46886), + ); + expect(res).to.equal(46886); + }); + + it('test operator "or" overload (euint32, euint16) => euint32 test 3 (46886, 46886)', async function () { + const res = await this.contract4.or_euint32_euint16( + this.instances4.alice.encrypt32(46886), + this.instances4.alice.encrypt16(46886), + ); + expect(res).to.equal(46886); + }); + + it('test operator "or" overload (euint32, euint16) => euint32 test 4 (46886, 46882)', async function () { + const res = await this.contract4.or_euint32_euint16( + this.instances4.alice.encrypt32(46886), + this.instances4.alice.encrypt16(46882), + ); + expect(res).to.equal(46886); + }); + + it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (53760, 15)', async function () { + const res = await this.contract4.xor_euint32_euint16( + this.instances4.alice.encrypt32(53760), + this.instances4.alice.encrypt16(15), + ); + expect(res).to.equal(53775); + }); + + it('test operator "xor" overload (euint32, euint16) => euint32 test 2 (64891, 64895)', async function () { + const res = await this.contract4.xor_euint32_euint16( + this.instances4.alice.encrypt32(64891), + this.instances4.alice.encrypt16(64895), + ); + expect(res).to.equal(4); + }); + + it('test operator "xor" overload (euint32, euint16) => euint32 test 3 (64895, 64895)', async function () { + const res = await this.contract4.xor_euint32_euint16( + this.instances4.alice.encrypt32(64895), + this.instances4.alice.encrypt16(64895), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint32, euint16) => euint32 test 4 (64895, 64891)', async function () { + const res = await this.contract4.xor_euint32_euint16( + this.instances4.alice.encrypt32(64895), + this.instances4.alice.encrypt16(64891), + ); + expect(res).to.equal(4); + }); + + it('test operator "eq" overload (euint32, euint16) => ebool test 1 (1270694518, 22132)', async function () { + const res = await this.contract4.eq_euint32_euint16( + this.instances4.alice.encrypt32(1270694518), + this.instances4.alice.encrypt16(22132), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, euint16) => ebool test 2 (22128, 22132)', async function () { + const res = await this.contract4.eq_euint32_euint16( + this.instances4.alice.encrypt32(22128), + this.instances4.alice.encrypt16(22132), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, euint16) => ebool test 3 (22132, 22132)', async function () { + const res = await this.contract4.eq_euint32_euint16( + this.instances4.alice.encrypt32(22132), + this.instances4.alice.encrypt16(22132), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint32, euint16) => ebool test 4 (22132, 22128)', async function () { + const res = await this.contract4.eq_euint32_euint16( + this.instances4.alice.encrypt32(22132), + this.instances4.alice.encrypt16(22128), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, euint16) => ebool test 1 (1211702728, 13344)', async function () { + const res = await this.contract4.ne_euint32_euint16( + this.instances4.alice.encrypt32(1211702728), + this.instances4.alice.encrypt16(13344), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, euint16) => ebool test 2 (13340, 13344)', async function () { + const res = await this.contract4.ne_euint32_euint16( + this.instances4.alice.encrypt32(13340), + this.instances4.alice.encrypt16(13344), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, euint16) => ebool test 3 (13344, 13344)', async function () { + const res = await this.contract4.ne_euint32_euint16( + this.instances4.alice.encrypt32(13344), + this.instances4.alice.encrypt16(13344), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, euint16) => ebool test 4 (13344, 13340)', async function () { + const res = await this.contract4.ne_euint32_euint16( + this.instances4.alice.encrypt32(13344), + this.instances4.alice.encrypt16(13340), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint16) => ebool test 1 (627970552, 58999)', async function () { + const res = await this.contract4.ge_euint32_euint16( + this.instances4.alice.encrypt32(627970552), + this.instances4.alice.encrypt16(58999), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint16) => ebool test 2 (58995, 58999)', async function () { + const res = await this.contract4.ge_euint32_euint16( + this.instances4.alice.encrypt32(58995), + this.instances4.alice.encrypt16(58999), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint32, euint16) => ebool test 3 (58999, 58999)', async function () { + const res = await this.contract4.ge_euint32_euint16( + this.instances4.alice.encrypt32(58999), + this.instances4.alice.encrypt16(58999), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint16) => ebool test 4 (58999, 58995)', async function () { + const res = await this.contract4.ge_euint32_euint16( + this.instances4.alice.encrypt32(58999), + this.instances4.alice.encrypt16(58995), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, euint16) => ebool test 1 (1801714413, 56461)', async function () { + const res = await this.contract4.gt_euint32_euint16( + this.instances4.alice.encrypt32(1801714413), + this.instances4.alice.encrypt16(56461), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, euint16) => ebool test 2 (56457, 56461)', async function () { + const res = await this.contract4.gt_euint32_euint16( + this.instances4.alice.encrypt32(56457), + this.instances4.alice.encrypt16(56461), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint16) => ebool test 3 (56461, 56461)', async function () { + const res = await this.contract4.gt_euint32_euint16( + this.instances4.alice.encrypt32(56461), + this.instances4.alice.encrypt16(56461), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint16) => ebool test 4 (56461, 56457)', async function () { + const res = await this.contract4.gt_euint32_euint16( + this.instances4.alice.encrypt32(56461), + this.instances4.alice.encrypt16(56457), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint16) => ebool test 1 (523722139, 51250)', async function () { + const res = await this.contract4.le_euint32_euint16( + this.instances4.alice.encrypt32(523722139), + this.instances4.alice.encrypt16(51250), + ); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (euint32, euint16) => ebool test 2 (51246, 51250)', async function () { + const res = await this.contract4.le_euint32_euint16( + this.instances4.alice.encrypt32(51246), + this.instances4.alice.encrypt16(51250), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint16) => ebool test 3 (51250, 51250)', async function () { + const res = await this.contract4.le_euint32_euint16( + this.instances4.alice.encrypt32(51250), + this.instances4.alice.encrypt16(51250), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint16) => ebool test 4 (51250, 51246)', async function () { + const res = await this.contract4.le_euint32_euint16( + this.instances4.alice.encrypt32(51250), + this.instances4.alice.encrypt16(51246), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint16) => ebool test 1 (1044281941, 44435)', async function () { + const res = await this.contract4.lt_euint32_euint16( + this.instances4.alice.encrypt32(1044281941), + this.instances4.alice.encrypt16(44435), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint16) => ebool test 2 (44431, 44435)', async function () { + const res = await this.contract4.lt_euint32_euint16( + this.instances4.alice.encrypt32(44431), + this.instances4.alice.encrypt16(44435), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint32, euint16) => ebool test 3 (44435, 44435)', async function () { + const res = await this.contract4.lt_euint32_euint16( + this.instances4.alice.encrypt32(44435), + this.instances4.alice.encrypt16(44435), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint16) => ebool test 4 (44435, 44431)', async function () { + const res = await this.contract4.lt_euint32_euint16( + this.instances4.alice.encrypt32(44435), + this.instances4.alice.encrypt16(44431), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint32, euint16) => euint32 test 1 (390943086, 41085)', async function () { + const res = await this.contract4.min_euint32_euint16( + this.instances4.alice.encrypt32(390943086), + this.instances4.alice.encrypt16(41085), + ); + expect(res).to.equal(41085); + }); + + it('test operator "min" overload (euint32, euint16) => euint32 test 2 (41081, 41085)', async function () { + const res = await this.contract4.min_euint32_euint16( + this.instances4.alice.encrypt32(41081), + this.instances4.alice.encrypt16(41085), + ); + expect(res).to.equal(41081); + }); + + it('test operator "min" overload (euint32, euint16) => euint32 test 3 (41085, 41085)', async function () { + const res = await this.contract4.min_euint32_euint16( + this.instances4.alice.encrypt32(41085), + this.instances4.alice.encrypt16(41085), + ); + expect(res).to.equal(41085); + }); + + it('test operator "min" overload (euint32, euint16) => euint32 test 4 (41085, 41081)', async function () { + const res = await this.contract4.min_euint32_euint16( + this.instances4.alice.encrypt32(41085), + this.instances4.alice.encrypt16(41081), + ); + expect(res).to.equal(41081); + }); + + it('test operator "max" overload (euint32, euint16) => euint32 test 1 (34584, 1)', async function () { + const res = await this.contract4.max_euint32_euint16( + this.instances4.alice.encrypt32(34584), + this.instances4.alice.encrypt16(1), + ); + expect(res).to.equal(34584); + }); + + it('test operator "max" overload (euint32, euint16) => euint32 test 2 (2745, 2749)', async function () { + const res = await this.contract4.max_euint32_euint16( + this.instances4.alice.encrypt32(2745), + this.instances4.alice.encrypt16(2749), + ); + expect(res).to.equal(2749); + }); + + it('test operator "max" overload (euint32, euint16) => euint32 test 3 (2749, 2749)', async function () { + const res = await this.contract4.max_euint32_euint16( + this.instances4.alice.encrypt32(2749), + this.instances4.alice.encrypt16(2749), + ); + expect(res).to.equal(2749); + }); + + it('test operator "max" overload (euint32, euint16) => euint32 test 4 (2749, 2745)', async function () { + const res = await this.contract4.max_euint32_euint16( + this.instances4.alice.encrypt32(2749), + this.instances4.alice.encrypt16(2745), + ); + expect(res).to.equal(2749); + }); + + it('test operator "add" overload (euint32, euint32) => euint32 test 1 (85283614, 1389046047)', async function () { + const res = await this.contract4.add_euint32_euint32( + this.instances4.alice.encrypt32(85283614), + this.instances4.alice.encrypt32(1389046047), + ); + expect(res).to.equal(1474329661); + }); + + it('test operator "add" overload (euint32, euint32) => euint32 test 2 (85283610, 85283614)', async function () { + const res = await this.contract4.add_euint32_euint32( + this.instances4.alice.encrypt32(85283610), + this.instances4.alice.encrypt32(85283614), + ); + expect(res).to.equal(170567224); + }); + + it('test operator "add" overload (euint32, euint32) => euint32 test 3 (85283614, 85283614)', async function () { + const res = await this.contract4.add_euint32_euint32( + this.instances4.alice.encrypt32(85283614), + this.instances4.alice.encrypt32(85283614), + ); + expect(res).to.equal(170567228); + }); + + it('test operator "add" overload (euint32, euint32) => euint32 test 4 (85283614, 85283610)', async function () { + const res = await this.contract4.add_euint32_euint32( + this.instances4.alice.encrypt32(85283614), + this.instances4.alice.encrypt32(85283610), + ); + expect(res).to.equal(170567224); + }); + + it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (949346704, 949346704)', async function () { + const res = await this.contract4.sub_euint32_euint32( + this.instances4.alice.encrypt32(949346704), + this.instances4.alice.encrypt32(949346704), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint32, euint32) => euint32 test 2 (949346704, 949346700)', async function () { + const res = await this.contract4.sub_euint32_euint32( + this.instances4.alice.encrypt32(949346704), + this.instances4.alice.encrypt32(949346700), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (28489, 38748)', async function () { + const res = await this.contract4.mul_euint32_euint32( + this.instances4.alice.encrypt32(28489), + this.instances4.alice.encrypt32(38748), + ); + expect(res).to.equal(1103891772); + }); + + it('test operator "mul" overload (euint32, euint32) => euint32 test 2 (56978, 56978)', async function () { + const res = await this.contract4.mul_euint32_euint32( + this.instances4.alice.encrypt32(56978), + this.instances4.alice.encrypt32(56978), + ); + expect(res).to.equal(3246492484); + }); + + it('test operator "mul" overload (euint32, euint32) => euint32 test 3 (56978, 56978)', async function () { + const res = await this.contract4.mul_euint32_euint32( + this.instances4.alice.encrypt32(56978), + this.instances4.alice.encrypt32(56978), + ); + expect(res).to.equal(3246492484); + }); + + it('test operator "mul" overload (euint32, euint32) => euint32 test 4 (56978, 56978)', async function () { + const res = await this.contract4.mul_euint32_euint32( + this.instances4.alice.encrypt32(56978), + this.instances4.alice.encrypt32(56978), + ); + expect(res).to.equal(3246492484); + }); + + it('test operator "and" overload (euint32, euint32) => euint32 test 1 (1757898274, 1599687665)', async function () { + const res = await this.contract4.and_euint32_euint32( + this.instances4.alice.encrypt32(1757898274), + this.instances4.alice.encrypt32(1599687665), + ); + expect(res).to.equal(1212236320); + }); + + it('test operator "and" overload (euint32, euint32) => euint32 test 2 (1599687661, 1599687665)', async function () { + const res = await this.contract4.and_euint32_euint32( + this.instances4.alice.encrypt32(1599687661), + this.instances4.alice.encrypt32(1599687665), + ); + expect(res).to.equal(1599687649); + }); + + it('test operator "and" overload (euint32, euint32) => euint32 test 3 (1599687665, 1599687665)', async function () { + const res = await this.contract4.and_euint32_euint32( + this.instances4.alice.encrypt32(1599687665), + this.instances4.alice.encrypt32(1599687665), + ); + expect(res).to.equal(1599687665); + }); + + it('test operator "and" overload (euint32, euint32) => euint32 test 4 (1599687665, 1599687661)', async function () { + const res = await this.contract4.and_euint32_euint32( + this.instances4.alice.encrypt32(1599687665), + this.instances4.alice.encrypt32(1599687661), + ); + expect(res).to.equal(1599687649); + }); + + it('test operator "or" overload (euint32, euint32) => euint32 test 1 (1310933534, 968535512)', async function () { + const res = await this.contract4.or_euint32_euint32( + this.instances4.alice.encrypt32(1310933534), + this.instances4.alice.encrypt32(968535512), + ); + expect(res).to.equal(2143023070); + }); + + it('test operator "or" overload (euint32, euint32) => euint32 test 2 (968535508, 968535512)', async function () { + const res = await this.contract4.or_euint32_euint32( + this.instances4.alice.encrypt32(968535508), + this.instances4.alice.encrypt32(968535512), + ); + expect(res).to.equal(968535516); + }); + + it('test operator "or" overload (euint32, euint32) => euint32 test 3 (968535512, 968535512)', async function () { + const res = await this.contract4.or_euint32_euint32( + this.instances4.alice.encrypt32(968535512), + this.instances4.alice.encrypt32(968535512), + ); + expect(res).to.equal(968535512); + }); + + it('test operator "or" overload (euint32, euint32) => euint32 test 4 (968535512, 968535508)', async function () { + const res = await this.contract4.or_euint32_euint32( + this.instances4.alice.encrypt32(968535512), + this.instances4.alice.encrypt32(968535508), + ); + expect(res).to.equal(968535516); + }); + + it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (220202687, 1588836729)', async function () { + const res = await this.contract4.xor_euint32_euint32( + this.instances4.alice.encrypt32(220202687), + this.instances4.alice.encrypt32(1588836729), + ); + expect(res).to.equal(1402191814); + }); + + it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (220202683, 220202687)', async function () { + const res = await this.contract4.xor_euint32_euint32( + this.instances4.alice.encrypt32(220202683), + this.instances4.alice.encrypt32(220202687), + ); + expect(res).to.equal(4); + }); + + it('test operator "xor" overload (euint32, euint32) => euint32 test 3 (220202687, 220202687)', async function () { + const res = await this.contract4.xor_euint32_euint32( + this.instances4.alice.encrypt32(220202687), + this.instances4.alice.encrypt32(220202687), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint32, euint32) => euint32 test 4 (220202687, 220202683)', async function () { + const res = await this.contract4.xor_euint32_euint32( + this.instances4.alice.encrypt32(220202687), + this.instances4.alice.encrypt32(220202683), + ); + expect(res).to.equal(4); + }); + + it('test operator "eq" overload (euint32, euint32) => ebool test 1 (1270694518, 247535168)', async function () { + const res = await this.contract4.eq_euint32_euint32( + this.instances4.alice.encrypt32(1270694518), + this.instances4.alice.encrypt32(247535168), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, euint32) => ebool test 2 (247535164, 247535168)', async function () { + const res = await this.contract4.eq_euint32_euint32( + this.instances4.alice.encrypt32(247535164), + this.instances4.alice.encrypt32(247535168), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, euint32) => ebool test 3 (247535168, 247535168)', async function () { + const res = await this.contract4.eq_euint32_euint32( + this.instances4.alice.encrypt32(247535168), + this.instances4.alice.encrypt32(247535168), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint32, euint32) => ebool test 4 (247535168, 247535164)', async function () { + const res = await this.contract4.eq_euint32_euint32( + this.instances4.alice.encrypt32(247535168), + this.instances4.alice.encrypt32(247535164), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, euint32) => ebool test 1 (1211702728, 563095027)', async function () { + const res = await this.contract4.ne_euint32_euint32( + this.instances4.alice.encrypt32(1211702728), + this.instances4.alice.encrypt32(563095027), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, euint32) => ebool test 2 (563095023, 563095027)', async function () { + const res = await this.contract4.ne_euint32_euint32( + this.instances4.alice.encrypt32(563095023), + this.instances4.alice.encrypt32(563095027), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, euint32) => ebool test 3 (563095027, 563095027)', async function () { + const res = await this.contract4.ne_euint32_euint32( + this.instances4.alice.encrypt32(563095027), + this.instances4.alice.encrypt32(563095027), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, euint32) => ebool test 4 (563095027, 563095023)', async function () { + const res = await this.contract4.ne_euint32_euint32( + this.instances4.alice.encrypt32(563095027), + this.instances4.alice.encrypt32(563095023), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint32) => ebool test 1 (627970552, 2136326684)', async function () { + const res = await this.contract4.ge_euint32_euint32( + this.instances4.alice.encrypt32(627970552), + this.instances4.alice.encrypt32(2136326684), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint32, euint32) => ebool test 2 (627970548, 627970552)', async function () { + const res = await this.contract4.ge_euint32_euint32( + this.instances4.alice.encrypt32(627970548), + this.instances4.alice.encrypt32(627970552), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint32, euint32) => ebool test 3 (627970552, 627970552)', async function () { + const res = await this.contract4.ge_euint32_euint32( + this.instances4.alice.encrypt32(627970552), + this.instances4.alice.encrypt32(627970552), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint32) => ebool test 4 (627970552, 627970548)', async function () { + const res = await this.contract4.ge_euint32_euint32( + this.instances4.alice.encrypt32(627970552), + this.instances4.alice.encrypt32(627970548), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, euint32) => ebool test 1 (1801714413, 831227104)', async function () { + const res = await this.contract4.gt_euint32_euint32( + this.instances4.alice.encrypt32(1801714413), + this.instances4.alice.encrypt32(831227104), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, euint32) => ebool test 2 (831227100, 831227104)', async function () { + const res = await this.contract4.gt_euint32_euint32( + this.instances4.alice.encrypt32(831227100), + this.instances4.alice.encrypt32(831227104), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint32) => ebool test 3 (831227104, 831227104)', async function () { + const res = await this.contract4.gt_euint32_euint32( + this.instances4.alice.encrypt32(831227104), + this.instances4.alice.encrypt32(831227104), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint32) => ebool test 4 (831227104, 831227100)', async function () { + const res = await this.contract4.gt_euint32_euint32( + this.instances4.alice.encrypt32(831227104), + this.instances4.alice.encrypt32(831227100), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint32) => ebool test 1 (523722139, 878801545)', async function () { + const res = await this.contract4.le_euint32_euint32( + this.instances4.alice.encrypt32(523722139), + this.instances4.alice.encrypt32(878801545), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint32) => ebool test 2 (523722135, 523722139)', async function () { + const res = await this.contract4.le_euint32_euint32( + this.instances4.alice.encrypt32(523722135), + this.instances4.alice.encrypt32(523722139), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint32) => ebool test 3 (523722139, 523722139)', async function () { + const res = await this.contract4.le_euint32_euint32( + this.instances4.alice.encrypt32(523722139), + this.instances4.alice.encrypt32(523722139), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint32) => ebool test 4 (523722139, 523722135)', async function () { + const res = await this.contract4.le_euint32_euint32( + this.instances4.alice.encrypt32(523722139), + this.instances4.alice.encrypt32(523722135), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint32) => ebool test 1 (1044281941, 27475171)', async function () { + const res = await this.contract4.lt_euint32_euint32( + this.instances4.alice.encrypt32(1044281941), + this.instances4.alice.encrypt32(27475171), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint32) => ebool test 2 (27475167, 27475171)', async function () { + const res = await this.contract4.lt_euint32_euint32( + this.instances4.alice.encrypt32(27475167), + this.instances4.alice.encrypt32(27475171), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint32, euint32) => ebool test 3 (27475171, 27475171)', async function () { + const res = await this.contract4.lt_euint32_euint32( + this.instances4.alice.encrypt32(27475171), + this.instances4.alice.encrypt32(27475171), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint32) => ebool test 4 (27475171, 27475167)', async function () { + const res = await this.contract4.lt_euint32_euint32( + this.instances4.alice.encrypt32(27475171), + this.instances4.alice.encrypt32(27475167), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint32, euint32) => euint32 test 1 (390943086, 2102211879)', async function () { + const res = await this.contract4.min_euint32_euint32( + this.instances4.alice.encrypt32(390943086), + this.instances4.alice.encrypt32(2102211879), + ); + expect(res).to.equal(390943086); + }); + + it('test operator "min" overload (euint32, euint32) => euint32 test 2 (390943082, 390943086)', async function () { + const res = await this.contract4.min_euint32_euint32( + this.instances4.alice.encrypt32(390943082), + this.instances4.alice.encrypt32(390943086), + ); + expect(res).to.equal(390943082); + }); + + it('test operator "min" overload (euint32, euint32) => euint32 test 3 (390943086, 390943086)', async function () { + const res = await this.contract4.min_euint32_euint32( + this.instances4.alice.encrypt32(390943086), + this.instances4.alice.encrypt32(390943086), + ); + expect(res).to.equal(390943086); + }); + + it('test operator "min" overload (euint32, euint32) => euint32 test 4 (390943086, 390943082)', async function () { + const res = await this.contract4.min_euint32_euint32( + this.instances4.alice.encrypt32(390943086), + this.instances4.alice.encrypt32(390943082), + ); + expect(res).to.equal(390943082); + }); + + it('test operator "max" overload (euint32, euint32) => euint32 test 1 (283314521, 1686574997)', async function () { + const res = await this.contract4.max_euint32_euint32( + this.instances4.alice.encrypt32(283314521), + this.instances4.alice.encrypt32(1686574997), + ); + expect(res).to.equal(1686574997); + }); + + it('test operator "max" overload (euint32, euint32) => euint32 test 2 (283314517, 283314521)', async function () { + const res = await this.contract4.max_euint32_euint32( + this.instances4.alice.encrypt32(283314517), + this.instances4.alice.encrypt32(283314521), + ); + expect(res).to.equal(283314521); + }); + + it('test operator "max" overload (euint32, euint32) => euint32 test 3 (283314521, 283314521)', async function () { + const res = await this.contract4.max_euint32_euint32( + this.instances4.alice.encrypt32(283314521), + this.instances4.alice.encrypt32(283314521), + ); + expect(res).to.equal(283314521); + }); + + it('test operator "max" overload (euint32, euint32) => euint32 test 4 (283314521, 283314517)', async function () { + const res = await this.contract4.max_euint32_euint32( + this.instances4.alice.encrypt32(283314521), + this.instances4.alice.encrypt32(283314517), + ); + expect(res).to.equal(283314521); + }); + + it('test operator "add" overload (euint32, euint64) => euint64 test 1 (343329587, 532996009)', async function () { + const res = await this.contract4.add_euint32_euint64( + this.instances4.alice.encrypt32(343329587), + this.instances4.alice.encrypt64(532996009), + ); + expect(res).to.equal(876325596); + }); + + it('test operator "add" overload (euint32, euint64) => euint64 test 2 (343329583, 343329587)', async function () { + const res = await this.contract4.add_euint32_euint64( + this.instances4.alice.encrypt32(343329583), + this.instances4.alice.encrypt64(343329587), + ); + expect(res).to.equal(686659170); + }); + + it('test operator "add" overload (euint32, euint64) => euint64 test 3 (343329587, 343329587)', async function () { + const res = await this.contract4.add_euint32_euint64( + this.instances4.alice.encrypt32(343329587), + this.instances4.alice.encrypt64(343329587), + ); + expect(res).to.equal(686659174); + }); + + it('test operator "add" overload (euint32, euint64) => euint64 test 4 (343329587, 343329583)', async function () { + const res = await this.contract4.add_euint32_euint64( + this.instances4.alice.encrypt32(343329587), + this.instances4.alice.encrypt64(343329583), + ); + expect(res).to.equal(686659170); + }); + + it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (108582607, 108582607)', async function () { + const res = await this.contract4.sub_euint32_euint64( + this.instances4.alice.encrypt32(108582607), + this.instances4.alice.encrypt64(108582607), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint32, euint64) => euint64 test 2 (108582607, 108582603)', async function () { + const res = await this.contract4.sub_euint32_euint64( + this.instances4.alice.encrypt32(108582607), + this.instances4.alice.encrypt64(108582603), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (145351, 9637)', async function () { + const res = await this.contract4.mul_euint32_euint64( + this.instances4.alice.encrypt32(145351), + this.instances4.alice.encrypt64(9637), + ); + expect(res).to.equal(1400747587); + }); + + it('test operator "mul" overload (euint32, euint64) => euint64 test 2 (38548, 38548)', async function () { + const res = await this.contract4.mul_euint32_euint64( + this.instances4.alice.encrypt32(38548), + this.instances4.alice.encrypt64(38548), + ); + expect(res).to.equal(1485948304); + }); + + it('test operator "mul" overload (euint32, euint64) => euint64 test 3 (38548, 38548)', async function () { + const res = await this.contract4.mul_euint32_euint64( + this.instances4.alice.encrypt32(38548), + this.instances4.alice.encrypt64(38548), + ); + expect(res).to.equal(1485948304); + }); + + it('test operator "mul" overload (euint32, euint64) => euint64 test 4 (38548, 38548)', async function () { + const res = await this.contract4.mul_euint32_euint64( + this.instances4.alice.encrypt32(38548), + this.instances4.alice.encrypt64(38548), + ); + expect(res).to.equal(1485948304); + }); + + it('test operator "and" overload (euint32, euint64) => euint64 test 1 (1757898274, 276645072)', async function () { + const res = await this.contract4.and_euint32_euint64( + this.instances4.alice.encrypt32(1757898274), + this.instances4.alice.encrypt64(276645072), + ); + expect(res).to.equal(4539392); + }); + + it('test operator "and" overload (euint32, euint64) => euint64 test 2 (276645068, 276645072)', async function () { + const res = await this.contract4.and_euint32_euint64( + this.instances4.alice.encrypt32(276645068), + this.instances4.alice.encrypt64(276645072), + ); + expect(res).to.equal(276645056); + }); + + it('test operator "and" overload (euint32, euint64) => euint64 test 3 (276645072, 276645072)', async function () { + const res = await this.contract4.and_euint32_euint64( + this.instances4.alice.encrypt32(276645072), + this.instances4.alice.encrypt64(276645072), + ); + expect(res).to.equal(276645072); + }); + + it('test operator "and" overload (euint32, euint64) => euint64 test 4 (276645072, 276645068)', async function () { + const res = await this.contract4.and_euint32_euint64( + this.instances4.alice.encrypt32(276645072), + this.instances4.alice.encrypt64(276645068), + ); + expect(res).to.equal(276645056); + }); + + it('test operator "or" overload (euint32, euint64) => euint64 test 1 (1310933534, 287712997)', async function () { + const res = await this.contract4.or_euint32_euint64( + this.instances4.alice.encrypt32(1310933534), + this.instances4.alice.encrypt64(287712997), + ); + expect(res).to.equal(1596417791); + }); + + it('test operator "or" overload (euint32, euint64) => euint64 test 2 (287712993, 287712997)', async function () { + const res = await this.contract4.or_euint32_euint64( + this.instances4.alice.encrypt32(287712993), + this.instances4.alice.encrypt64(287712997), + ); + expect(res).to.equal(287712997); + }); + + it('test operator "or" overload (euint32, euint64) => euint64 test 3 (287712997, 287712997)', async function () { + const res = await this.contract4.or_euint32_euint64( + this.instances4.alice.encrypt32(287712997), + this.instances4.alice.encrypt64(287712997), + ); + expect(res).to.equal(287712997); + }); + + it('test operator "or" overload (euint32, euint64) => euint64 test 4 (287712997, 287712993)', async function () { + const res = await this.contract4.or_euint32_euint64( + this.instances4.alice.encrypt32(287712997), + this.instances4.alice.encrypt64(287712993), + ); + expect(res).to.equal(287712997); + }); + + it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (220202687, 58005830)', async function () { + const res = await this.contract4.xor_euint32_euint64( + this.instances4.alice.encrypt32(220202687), + this.instances4.alice.encrypt64(58005830), + ); + expect(res).to.equal(240459769); + }); + + it('test operator "xor" overload (euint32, euint64) => euint64 test 2 (58005826, 58005830)', async function () { + const res = await this.contract4.xor_euint32_euint64( + this.instances4.alice.encrypt32(58005826), + this.instances4.alice.encrypt64(58005830), + ); + expect(res).to.equal(4); + }); + + it('test operator "xor" overload (euint32, euint64) => euint64 test 3 (58005830, 58005830)', async function () { + const res = await this.contract4.xor_euint32_euint64( + this.instances4.alice.encrypt32(58005830), + this.instances4.alice.encrypt64(58005830), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint32, euint64) => euint64 test 4 (58005830, 58005826)', async function () { + const res = await this.contract4.xor_euint32_euint64( + this.instances4.alice.encrypt32(58005830), + this.instances4.alice.encrypt64(58005826), + ); + expect(res).to.equal(4); + }); + + it('test operator "eq" overload (euint32, euint64) => ebool test 1 (1877579186, 1428129540)', async function () { + const res = await this.contract4.eq_euint32_euint64( + this.instances4.alice.encrypt32(1877579186), + this.instances4.alice.encrypt64(1428129540), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, euint64) => ebool test 2 (1428129536, 1428129540)', async function () { + const res = await this.contract4.eq_euint32_euint64( + this.instances4.alice.encrypt32(1428129536), + this.instances4.alice.encrypt64(1428129540), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, euint64) => ebool test 3 (1428129540, 1428129540)', async function () { + const res = await this.contract4.eq_euint32_euint64( + this.instances4.alice.encrypt32(1428129540), + this.instances4.alice.encrypt64(1428129540), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint32, euint64) => ebool test 4 (1428129540, 1428129536)', async function () { + const res = await this.contract4.eq_euint32_euint64( + this.instances4.alice.encrypt32(1428129540), + this.instances4.alice.encrypt64(1428129536), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, euint64) => ebool test 1 (1464361694, 2125136992)', async function () { + const res = await this.contract4.ne_euint32_euint64( + this.instances4.alice.encrypt32(1464361694), + this.instances4.alice.encrypt64(2125136992), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, euint64) => ebool test 2 (1464361690, 1464361694)', async function () { + const res = await this.contract4.ne_euint32_euint64( + this.instances4.alice.encrypt32(1464361690), + this.instances4.alice.encrypt64(1464361694), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, euint64) => ebool test 3 (1464361694, 1464361694)', async function () { + const res = await this.contract4.ne_euint32_euint64( + this.instances4.alice.encrypt32(1464361694), + this.instances4.alice.encrypt64(1464361694), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, euint64) => ebool test 4 (1464361694, 1464361690)', async function () { + const res = await this.contract4.ne_euint32_euint64( + this.instances4.alice.encrypt32(1464361694), + this.instances4.alice.encrypt64(1464361690), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint64) => ebool test 1 (1972025848, 1698971084)', async function () { + const res = await this.contract4.ge_euint32_euint64( + this.instances4.alice.encrypt32(1972025848), + this.instances4.alice.encrypt64(1698971084), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint64) => ebool test 2 (1698971080, 1698971084)', async function () { + const res = await this.contract4.ge_euint32_euint64( + this.instances4.alice.encrypt32(1698971080), + this.instances4.alice.encrypt64(1698971084), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint32, euint64) => ebool test 3 (1698971084, 1698971084)', async function () { + const res = await this.contract4.ge_euint32_euint64( + this.instances4.alice.encrypt32(1698971084), + this.instances4.alice.encrypt64(1698971084), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, euint64) => ebool test 4 (1698971084, 1698971080)', async function () { + const res = await this.contract4.ge_euint32_euint64( + this.instances4.alice.encrypt32(1698971084), + this.instances4.alice.encrypt64(1698971080), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, euint64) => ebool test 1 (258393672, 1790809342)', async function () { + const res = await this.contract4.gt_euint32_euint64( + this.instances4.alice.encrypt32(258393672), + this.instances4.alice.encrypt64(1790809342), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint64) => ebool test 2 (258393668, 258393672)', async function () { + const res = await this.contract4.gt_euint32_euint64( + this.instances4.alice.encrypt32(258393668), + this.instances4.alice.encrypt64(258393672), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint64) => ebool test 3 (258393672, 258393672)', async function () { + const res = await this.contract4.gt_euint32_euint64( + this.instances4.alice.encrypt32(258393672), + this.instances4.alice.encrypt64(258393672), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, euint64) => ebool test 4 (258393672, 258393668)', async function () { + const res = await this.contract4.gt_euint32_euint64( + this.instances4.alice.encrypt32(258393672), + this.instances4.alice.encrypt64(258393668), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint64) => ebool test 1 (1167528973, 1661227936)', async function () { + const res = await this.contract4.le_euint32_euint64( + this.instances4.alice.encrypt32(1167528973), + this.instances4.alice.encrypt64(1661227936), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint64) => ebool test 2 (1167528969, 1167528973)', async function () { + const res = await this.contract4.le_euint32_euint64( + this.instances4.alice.encrypt32(1167528969), + this.instances4.alice.encrypt64(1167528973), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint64) => ebool test 3 (1167528973, 1167528973)', async function () { + const res = await this.contract4.le_euint32_euint64( + this.instances4.alice.encrypt32(1167528973), + this.instances4.alice.encrypt64(1167528973), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, euint64) => ebool test 4 (1167528973, 1167528969)', async function () { + const res = await this.contract4.le_euint32_euint64( + this.instances4.alice.encrypt32(1167528973), + this.instances4.alice.encrypt64(1167528969), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint64) => ebool test 1 (1829077110, 871332370)', async function () { + const res = await this.contract4.lt_euint32_euint64( + this.instances4.alice.encrypt32(1829077110), + this.instances4.alice.encrypt64(871332370), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint64) => ebool test 2 (871332366, 871332370)', async function () { + const res = await this.contract4.lt_euint32_euint64( + this.instances4.alice.encrypt32(871332366), + this.instances4.alice.encrypt64(871332370), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint32, euint64) => ebool test 3 (871332370, 871332370)', async function () { + const res = await this.contract4.lt_euint32_euint64( + this.instances4.alice.encrypt32(871332370), + this.instances4.alice.encrypt64(871332370), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, euint64) => ebool test 4 (871332370, 871332366)', async function () { + const res = await this.contract4.lt_euint32_euint64( + this.instances4.alice.encrypt32(871332370), + this.instances4.alice.encrypt64(871332366), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint32, euint64) => euint64 test 1 (1819271941, 1588645185)', async function () { + const res = await this.contract4.min_euint32_euint64( + this.instances4.alice.encrypt32(1819271941), + this.instances4.alice.encrypt64(1588645185), + ); + expect(res).to.equal(1588645185); + }); + + it('test operator "min" overload (euint32, euint64) => euint64 test 2 (1588645181, 1588645185)', async function () { + const res = await this.contract4.min_euint32_euint64( + this.instances4.alice.encrypt32(1588645181), + this.instances4.alice.encrypt64(1588645185), + ); + expect(res).to.equal(1588645181); + }); + + it('test operator "min" overload (euint32, euint64) => euint64 test 3 (1588645185, 1588645185)', async function () { + const res = await this.contract4.min_euint32_euint64( + this.instances4.alice.encrypt32(1588645185), + this.instances4.alice.encrypt64(1588645185), + ); + expect(res).to.equal(1588645185); + }); + + it('test operator "min" overload (euint32, euint64) => euint64 test 4 (1588645185, 1588645181)', async function () { + const res = await this.contract4.min_euint32_euint64( + this.instances4.alice.encrypt32(1588645185), + this.instances4.alice.encrypt64(1588645181), + ); + expect(res).to.equal(1588645181); + }); + + it('test operator "max" overload (euint32, euint64) => euint64 test 1 (1446821827, 98162433)', async function () { + const res = await this.contract4.max_euint32_euint64( + this.instances4.alice.encrypt32(1446821827), + this.instances4.alice.encrypt64(98162433), + ); + expect(res).to.equal(1446821827); + }); + + it('test operator "max" overload (euint32, euint64) => euint64 test 2 (98162429, 98162433)', async function () { + const res = await this.contract4.max_euint32_euint64( + this.instances4.alice.encrypt32(98162429), + this.instances4.alice.encrypt64(98162433), + ); + expect(res).to.equal(98162433); + }); + + it('test operator "max" overload (euint32, euint64) => euint64 test 3 (98162433, 98162433)', async function () { + const res = await this.contract4.max_euint32_euint64( + this.instances4.alice.encrypt32(98162433), + this.instances4.alice.encrypt64(98162433), + ); + expect(res).to.equal(98162433); + }); + + it('test operator "max" overload (euint32, euint64) => euint64 test 4 (98162433, 98162429)', async function () { + const res = await this.contract4.max_euint32_euint64( + this.instances4.alice.encrypt32(98162433), + this.instances4.alice.encrypt64(98162429), + ); + expect(res).to.equal(98162433); + }); + + it('test operator "add" overload (euint32, uint32) => euint32 test 1 (85283614, 1598412404)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(85283614), 1598412404); + expect(res).to.equal(1683696018); + }); + + it('test operator "add" overload (euint32, uint32) => euint32 test 2 (85283610, 85283614)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(85283610), 85283614); + expect(res).to.equal(170567224); + }); + + it('test operator "add" overload (euint32, uint32) => euint32 test 3 (85283614, 85283614)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(85283614), 85283614); + expect(res).to.equal(170567228); + }); + + it('test operator "add" overload (euint32, uint32) => euint32 test 4 (85283614, 85283610)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(85283614), 85283610); + expect(res).to.equal(170567224); + }); + + it('test operator "add" overload (uint32, euint32) => euint32 test 1 (343329587, 1598412404)', async function () { + const res = await this.contract4.add_uint32_euint32(343329587, this.instances4.alice.encrypt32(1598412404)); + expect(res).to.equal(1941741991); + }); + + it('test operator "add" overload (uint32, euint32) => euint32 test 2 (85283610, 85283614)', async function () { + const res = await this.contract4.add_uint32_euint32(85283610, this.instances4.alice.encrypt32(85283614)); + expect(res).to.equal(170567224); + }); + + it('test operator "add" overload (uint32, euint32) => euint32 test 3 (85283614, 85283614)', async function () { + const res = await this.contract4.add_uint32_euint32(85283614, this.instances4.alice.encrypt32(85283614)); + expect(res).to.equal(170567228); + }); + + it('test operator "add" overload (uint32, euint32) => euint32 test 4 (85283614, 85283610)', async function () { + const res = await this.contract4.add_uint32_euint32(85283614, this.instances4.alice.encrypt32(85283610)); + expect(res).to.equal(170567224); + }); + + it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (949346704, 949346704)', async function () { + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(949346704), 949346704); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint32, uint32) => euint32 test 2 (949346704, 949346700)', async function () { + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(949346704), 949346700); + expect(res).to.equal(4); + }); + + it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (949346704, 949346704)', async function () { + const res = await this.contract4.sub_uint32_euint32(949346704, this.instances4.alice.encrypt32(949346704)); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (uint32, euint32) => euint32 test 2 (949346704, 949346700)', async function () { + const res = await this.contract4.sub_uint32_euint32(949346704, this.instances4.alice.encrypt32(949346700)); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (28489, 51753)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(28489), 51753); + expect(res).to.equal(1474391217); + }); + + it('test operator "mul" overload (euint32, uint32) => euint32 test 2 (56978, 56978)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(56978), 56978); + expect(res).to.equal(3246492484); + }); + + it('test operator "mul" overload (euint32, uint32) => euint32 test 3 (56978, 56978)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(56978), 56978); + expect(res).to.equal(3246492484); + }); + + it('test operator "mul" overload (euint32, uint32) => euint32 test 4 (56978, 56978)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(56978), 56978); + expect(res).to.equal(3246492484); + }); + + it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (72675, 51753)', async function () { + const res = await this.contract4.mul_uint32_euint32(72675, this.instances4.alice.encrypt32(51753)); + expect(res).to.equal(3761149275); + }); + + it('test operator "mul" overload (uint32, euint32) => euint32 test 2 (56978, 56978)', async function () { + const res = await this.contract4.mul_uint32_euint32(56978, this.instances4.alice.encrypt32(56978)); + expect(res).to.equal(3246492484); + }); + + it('test operator "mul" overload (uint32, euint32) => euint32 test 3 (56978, 56978)', async function () { + const res = await this.contract4.mul_uint32_euint32(56978, this.instances4.alice.encrypt32(56978)); + expect(res).to.equal(3246492484); + }); + + it('test operator "mul" overload (uint32, euint32) => euint32 test 4 (56978, 56978)', async function () { + const res = await this.contract4.mul_uint32_euint32(56978, this.instances4.alice.encrypt32(56978)); + expect(res).to.equal(3246492484); + }); + + it('test operator "div" overload (euint32, uint32) => euint32 test 1 (836400951, 1557627728)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(836400951), 1557627728); + expect(res).to.equal(0); + }); + + it('test operator "div" overload (euint32, uint32) => euint32 test 2 (392005478, 392005482)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(392005478), 392005482); + expect(res).to.equal(0); + }); + + it('test operator "div" overload (euint32, uint32) => euint32 test 3 (392005482, 392005482)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(392005482), 392005482); + expect(res).to.equal(1); + }); + + it('test operator "div" overload (euint32, uint32) => euint32 test 4 (392005482, 392005478)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(392005482), 392005478); + expect(res).to.equal(1); + }); + + it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (1083212025, 1390178884)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(1083212025), 1390178884); + expect(res).to.equal(1083212025); + }); + + it('test operator "rem" overload (euint32, uint32) => euint32 test 2 (1083212021, 1083212025)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(1083212021), 1083212025); + expect(res).to.equal(1083212021); + }); + + it('test operator "rem" overload (euint32, uint32) => euint32 test 3 (1083212025, 1083212025)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(1083212025), 1083212025); + expect(res).to.equal(0); + }); + + it('test operator "rem" overload (euint32, uint32) => euint32 test 4 (1083212025, 1083212021)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(1083212025), 1083212021); + expect(res).to.equal(4); + }); + + it('test operator "eq" overload (euint32, uint32) => ebool test 1 (1270694518, 945618490)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(1270694518), 945618490); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, uint32) => ebool test 2 (247535164, 247535168)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(247535164), 247535168); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint32, uint32) => ebool test 3 (247535168, 247535168)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(247535168), 247535168); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint32, uint32) => ebool test 4 (247535168, 247535164)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(247535168), 247535164); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (uint32, euint32) => ebool test 1 (1877579186, 945618490)', async function () { + const res = await this.contract4.eq_uint32_euint32(1877579186, this.instances4.alice.encrypt32(945618490)); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (uint32, euint32) => ebool test 2 (247535164, 247535168)', async function () { + const res = await this.contract4.eq_uint32_euint32(247535164, this.instances4.alice.encrypt32(247535168)); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (uint32, euint32) => ebool test 3 (247535168, 247535168)', async function () { + const res = await this.contract4.eq_uint32_euint32(247535168, this.instances4.alice.encrypt32(247535168)); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (uint32, euint32) => ebool test 4 (247535168, 247535164)', async function () { + const res = await this.contract4.eq_uint32_euint32(247535168, this.instances4.alice.encrypt32(247535164)); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, uint32) => ebool test 1 (1211702728, 426850373)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(1211702728), 426850373); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, uint32) => ebool test 2 (563095023, 563095027)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(563095023), 563095027); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint32, uint32) => ebool test 3 (563095027, 563095027)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(563095027), 563095027); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint32, uint32) => ebool test 4 (563095027, 563095023)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(563095027), 563095023); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (uint32, euint32) => ebool test 1 (1464361694, 426850373)', async function () { + const res = await this.contract4.ne_uint32_euint32(1464361694, this.instances4.alice.encrypt32(426850373)); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (uint32, euint32) => ebool test 2 (563095023, 563095027)', async function () { + const res = await this.contract4.ne_uint32_euint32(563095023, this.instances4.alice.encrypt32(563095027)); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (uint32, euint32) => ebool test 3 (563095027, 563095027)', async function () { + const res = await this.contract4.ne_uint32_euint32(563095027, this.instances4.alice.encrypt32(563095027)); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (uint32, euint32) => ebool test 4 (563095027, 563095023)', async function () { + const res = await this.contract4.ne_uint32_euint32(563095027, this.instances4.alice.encrypt32(563095023)); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, uint32) => ebool test 1 (627970552, 1986041075)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(627970552), 1986041075); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint32, uint32) => ebool test 2 (627970548, 627970552)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(627970548), 627970552); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint32, uint32) => ebool test 3 (627970552, 627970552)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(627970552), 627970552); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint32, uint32) => ebool test 4 (627970552, 627970548)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(627970552), 627970548); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (uint32, euint32) => ebool test 1 (1972025848, 1986041075)', async function () { + const res = await this.contract4.ge_uint32_euint32(1972025848, this.instances4.alice.encrypt32(1986041075)); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (uint32, euint32) => ebool test 2 (627970548, 627970552)', async function () { + const res = await this.contract4.ge_uint32_euint32(627970548, this.instances4.alice.encrypt32(627970552)); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (uint32, euint32) => ebool test 3 (627970552, 627970552)', async function () { + const res = await this.contract4.ge_uint32_euint32(627970552, this.instances4.alice.encrypt32(627970552)); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (uint32, euint32) => ebool test 4 (627970552, 627970548)', async function () { + const res = await this.contract4.ge_uint32_euint32(627970552, this.instances4.alice.encrypt32(627970548)); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, uint32) => ebool test 1 (1801714413, 448229258)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(1801714413), 448229258); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint32, uint32) => ebool test 2 (831227100, 831227104)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(831227100), 831227104); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, uint32) => ebool test 3 (831227104, 831227104)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(831227104), 831227104); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint32, uint32) => ebool test 4 (831227104, 831227100)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(831227104), 831227100); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (uint32, euint32) => ebool test 1 (258393672, 448229258)', async function () { + const res = await this.contract4.gt_uint32_euint32(258393672, this.instances4.alice.encrypt32(448229258)); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (uint32, euint32) => ebool test 2 (831227100, 831227104)', async function () { + const res = await this.contract4.gt_uint32_euint32(831227100, this.instances4.alice.encrypt32(831227104)); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (uint32, euint32) => ebool test 3 (831227104, 831227104)', async function () { + const res = await this.contract4.gt_uint32_euint32(831227104, this.instances4.alice.encrypt32(831227104)); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (uint32, euint32) => ebool test 4 (831227104, 831227100)', async function () { + const res = await this.contract4.gt_uint32_euint32(831227104, this.instances4.alice.encrypt32(831227100)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, uint32) => ebool test 1 (523722139, 1994886988)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(523722139), 1994886988); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, uint32) => ebool test 2 (523722135, 523722139)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(523722135), 523722139); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, uint32) => ebool test 3 (523722139, 523722139)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(523722139), 523722139); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint32, uint32) => ebool test 4 (523722139, 523722135)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(523722139), 523722135); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (uint32, euint32) => ebool test 1 (1167528973, 1994886988)', async function () { + const res = await this.contract4.le_uint32_euint32(1167528973, this.instances4.alice.encrypt32(1994886988)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (uint32, euint32) => ebool test 2 (523722135, 523722139)', async function () { + const res = await this.contract4.le_uint32_euint32(523722135, this.instances4.alice.encrypt32(523722139)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (uint32, euint32) => ebool test 3 (523722139, 523722139)', async function () { + const res = await this.contract4.le_uint32_euint32(523722139, this.instances4.alice.encrypt32(523722139)); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (uint32, euint32) => ebool test 4 (523722139, 523722135)', async function () { + const res = await this.contract4.le_uint32_euint32(523722139, this.instances4.alice.encrypt32(523722135)); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, uint32) => ebool test 1 (1044281941, 1474237696)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(1044281941), 1474237696); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint32, uint32) => ebool test 2 (27475167, 27475171)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(27475167), 27475171); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint32, uint32) => ebool test 3 (27475171, 27475171)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(27475171), 27475171); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint32, uint32) => ebool test 4 (27475171, 27475167)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(27475171), 27475167); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (uint32, euint32) => ebool test 1 (1829077110, 1474237696)', async function () { + const res = await this.contract4.lt_uint32_euint32(1829077110, this.instances4.alice.encrypt32(1474237696)); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (uint32, euint32) => ebool test 2 (27475167, 27475171)', async function () { + const res = await this.contract4.lt_uint32_euint32(27475167, this.instances4.alice.encrypt32(27475171)); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (uint32, euint32) => ebool test 3 (27475171, 27475171)', async function () { + const res = await this.contract4.lt_uint32_euint32(27475171, this.instances4.alice.encrypt32(27475171)); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (uint32, euint32) => ebool test 4 (27475171, 27475167)', async function () { + const res = await this.contract4.lt_uint32_euint32(27475171, this.instances4.alice.encrypt32(27475167)); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint32, uint32) => euint32 test 1 (390943086, 304405118)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(390943086), 304405118); + expect(res).to.equal(304405118); + }); + + it('test operator "min" overload (euint32, uint32) => euint32 test 2 (390943082, 390943086)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(390943082), 390943086); + expect(res).to.equal(390943082); + }); + + it('test operator "min" overload (euint32, uint32) => euint32 test 3 (390943086, 390943086)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(390943086), 390943086); + expect(res).to.equal(390943086); + }); + + it('test operator "min" overload (euint32, uint32) => euint32 test 4 (390943086, 390943082)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(390943086), 390943082); + expect(res).to.equal(390943082); + }); + + it('test operator "min" overload (uint32, euint32) => euint32 test 1 (1819271941, 304405118)', async function () { + const res = await this.contract4.min_uint32_euint32(1819271941, this.instances4.alice.encrypt32(304405118)); + expect(res).to.equal(304405118); + }); + + it('test operator "min" overload (uint32, euint32) => euint32 test 2 (390943082, 390943086)', async function () { + const res = await this.contract4.min_uint32_euint32(390943082, this.instances4.alice.encrypt32(390943086)); + expect(res).to.equal(390943082); + }); + + it('test operator "min" overload (uint32, euint32) => euint32 test 3 (390943086, 390943086)', async function () { + const res = await this.contract4.min_uint32_euint32(390943086, this.instances4.alice.encrypt32(390943086)); + expect(res).to.equal(390943086); + }); + + it('test operator "min" overload (uint32, euint32) => euint32 test 4 (390943086, 390943082)', async function () { + const res = await this.contract4.min_uint32_euint32(390943086, this.instances4.alice.encrypt32(390943082)); + expect(res).to.equal(390943082); + }); + + it('test operator "max" overload (euint32, uint32) => euint32 test 1 (283314521, 1397934692)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(283314521), 1397934692); + expect(res).to.equal(1397934692); + }); + + it('test operator "max" overload (euint32, uint32) => euint32 test 2 (283314517, 283314521)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(283314517), 283314521); + expect(res).to.equal(283314521); + }); + + it('test operator "max" overload (euint32, uint32) => euint32 test 3 (283314521, 283314521)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(283314521), 283314521); + expect(res).to.equal(283314521); + }); + + it('test operator "max" overload (euint32, uint32) => euint32 test 4 (283314521, 283314517)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(283314521), 283314517); + expect(res).to.equal(283314521); + }); + + it('test operator "max" overload (uint32, euint32) => euint32 test 1 (1446821827, 1397934692)', async function () { + const res = await this.contract4.max_uint32_euint32(1446821827, this.instances4.alice.encrypt32(1397934692)); + expect(res).to.equal(1446821827); + }); + + it('test operator "max" overload (uint32, euint32) => euint32 test 2 (283314517, 283314521)', async function () { + const res = await this.contract4.max_uint32_euint32(283314517, this.instances4.alice.encrypt32(283314521)); + expect(res).to.equal(283314521); + }); + + it('test operator "max" overload (uint32, euint32) => euint32 test 3 (283314521, 283314521)', async function () { + const res = await this.contract4.max_uint32_euint32(283314521, this.instances4.alice.encrypt32(283314521)); + expect(res).to.equal(283314521); + }); + + it('test operator "max" overload (uint32, euint32) => euint32 test 4 (283314521, 283314517)', async function () { + const res = await this.contract4.max_uint32_euint32(283314521, this.instances4.alice.encrypt32(283314517)); + expect(res).to.equal(283314521); + }); + + it('test operator "add" overload (euint64, euint4) => euint64 test 1 (11, 1)', async function () { + const res = await this.contract4.add_euint64_euint4( + this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt4(1), + ); + expect(res).to.equal(12); + }); + + it('test operator "add" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract4.add_euint64_euint4( + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "add" overload (euint64, euint4) => euint64 test 3 (4, 4)', async function () { + const res = await this.contract4.add_euint64_euint4( + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(4), + ); + expect(res).to.equal(8); + }); + + it('test operator "add" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract4.add_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "sub" overload (euint64, euint4) => euint64 test 1 (8, 8)', async function () { + const res = await this.contract4.sub_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint64, euint4) => euint64 test 2 (8, 4)', async function () { + const res = await this.contract4.sub_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint64, euint4) => euint64 test 1 (8, 1)', async function () { + const res = await this.contract4.mul_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(1), + ); + expect(res).to.equal(8); + }); + + it('test operator "mul" overload (euint64, euint4) => euint64 test 2 (2, 4)', async function () { + const res = await this.contract4.mul_euint64_euint4( + this.instances4.alice.encrypt64(2), + this.instances4.alice.encrypt4(4), + ); + expect(res).to.equal(8); + }); + + it('test operator "mul" overload (euint64, euint4) => euint64 test 3 (2, 2)', async function () { + const res = await this.contract4.mul_euint64_euint4( + this.instances4.alice.encrypt64(2), + this.instances4.alice.encrypt4(2), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint64, euint4) => euint64 test 4 (4, 2)', async function () { + const res = await this.contract4.mul_euint64_euint4( + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(2), + ); + expect(res).to.equal(8); + }); + + it('test operator "and" overload (euint64, euint4) => euint64 test 1 (1294685955, 14)', async function () { + const res = await this.contract4.and_euint64_euint4( + this.instances4.alice.encrypt64(1294685955), + this.instances4.alice.encrypt4(14), + ); + expect(res).to.equal(2); + }); + + it('test operator "and" overload (euint64, euint4) => euint64 test 2 (10, 14)', async function () { + const res = await this.contract4.and_euint64_euint4( + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(14), + ); + expect(res).to.equal(10); + }); + + it('test operator "and" overload (euint64, euint4) => euint64 test 3 (14, 14)', async function () { + const res = await this.contract4.and_euint64_euint4( + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(14), + ); + expect(res).to.equal(14); + }); + + it('test operator "and" overload (euint64, euint4) => euint64 test 4 (14, 10)', async function () { + const res = await this.contract4.and_euint64_euint4( + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(10), + ); + expect(res).to.equal(10); + }); + + it('test operator "or" overload (euint64, euint4) => euint64 test 1 (10, 1)', async function () { + const res = await this.contract4.or_euint64_euint4( + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(1), + ); + expect(res).to.equal(11); + }); + + it('test operator "or" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract4.or_euint64_euint4( + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(12); + }); + + it('test operator "or" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract4.or_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "or" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract4.or_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint64, euint4) => euint64 test 1 (15, 1)', async function () { + const res = await this.contract4.xor_euint64_euint4( + this.instances4.alice.encrypt64(15), + this.instances4.alice.encrypt4(1), + ); + expect(res).to.equal(14); + }); + + it('test operator "xor" overload (euint64, euint4) => euint64 test 2 (8, 12)', async function () { + const res = await this.contract4.xor_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(12), + ); + expect(res).to.equal(4); + }); + + it('test operator "xor" overload (euint64, euint4) => euint64 test 3 (12, 12)', async function () { + const res = await this.contract4.xor_euint64_euint4( + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt4(12), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint64, euint4) => euint64 test 4 (12, 8)', async function () { + const res = await this.contract4.xor_euint64_euint4( + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(4); + }); + + it('test operator "eq" overload (euint64, euint4) => ebool test 1 (2078992513, 6)', async function () { + const res = await this.contract4.eq_euint64_euint4( + this.instances4.alice.encrypt64(2078992513), + this.instances4.alice.encrypt4(6), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.eq_euint64_euint4( + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.eq_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.eq_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint64, euint4) => ebool test 1 (1037057063, 9)', async function () { + const res = await this.contract4.ne_euint64_euint4( + this.instances4.alice.encrypt64(1037057063), + this.instances4.alice.encrypt4(9), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint64, euint4) => ebool test 2 (5, 9)', async function () { + const res = await this.contract4.ne_euint64_euint4( + this.instances4.alice.encrypt64(5), + this.instances4.alice.encrypt4(9), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint64, euint4) => ebool test 3 (9, 9)', async function () { + const res = await this.contract4.ne_euint64_euint4( + this.instances4.alice.encrypt64(9), + this.instances4.alice.encrypt4(9), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint64, euint4) => ebool test 4 (9, 5)', async function () { + const res = await this.contract4.ne_euint64_euint4( + this.instances4.alice.encrypt64(9), + this.instances4.alice.encrypt4(5), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint64, euint4) => ebool test 1 (1885602752, 6)', async function () { + const res = await this.contract4.ge_euint64_euint4( + this.instances4.alice.encrypt64(1885602752), + this.instances4.alice.encrypt4(6), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.ge_euint64_euint4( + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.ge_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.ge_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint64, euint4) => ebool test 1 (307981806, 12)', async function () { + const res = await this.contract4.gt_euint64_euint4( + this.instances4.alice.encrypt64(307981806), + this.instances4.alice.encrypt4(12), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint64, euint4) => ebool test 2 (8, 12)', async function () { + const res = await this.contract4.gt_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(12), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint64, euint4) => ebool test 3 (12, 12)', async function () { + const res = await this.contract4.gt_euint64_euint4( + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt4(12), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint64, euint4) => ebool test 4 (12, 8)', async function () { + const res = await this.contract4.gt_euint64_euint4( + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint64, euint4) => ebool test 1 (2018662588, 9)', async function () { + const res = await this.contract4.le_euint64_euint4( + this.instances4.alice.encrypt64(2018662588), + this.instances4.alice.encrypt4(9), + ); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (euint64, euint4) => ebool test 2 (5, 9)', async function () { + const res = await this.contract4.le_euint64_euint4( + this.instances4.alice.encrypt64(5), + this.instances4.alice.encrypt4(9), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint64, euint4) => ebool test 3 (9, 9)', async function () { + const res = await this.contract4.le_euint64_euint4( + this.instances4.alice.encrypt64(9), + this.instances4.alice.encrypt4(9), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint64, euint4) => ebool test 4 (9, 5)', async function () { + const res = await this.contract4.le_euint64_euint4( + this.instances4.alice.encrypt64(9), + this.instances4.alice.encrypt4(5), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint64, euint4) => ebool test 1 (102600113, 13)', async function () { + const res = await this.contract4.lt_euint64_euint4( + this.instances4.alice.encrypt64(102600113), + this.instances4.alice.encrypt4(13), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint64, euint4) => ebool test 2 (9, 13)', async function () { + const res = await this.contract4.lt_euint64_euint4( + this.instances4.alice.encrypt64(9), + this.instances4.alice.encrypt4(13), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint64, euint4) => ebool test 3 (13, 13)', async function () { + const res = await this.contract4.lt_euint64_euint4( + this.instances4.alice.encrypt64(13), + this.instances4.alice.encrypt4(13), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint64, euint4) => ebool test 4 (13, 9)', async function () { + const res = await this.contract4.lt_euint64_euint4( + this.instances4.alice.encrypt64(13), + this.instances4.alice.encrypt4(9), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint64, euint4) => euint64 test 1 (1933734274, 2)', async function () { + const res = await this.contract4.min_euint64_euint4( + this.instances4.alice.encrypt64(1933734274), + this.instances4.alice.encrypt4(2), + ); + expect(res).to.equal(2); + }); + + it('test operator "min" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract4.min_euint64_euint4( + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(4); + }); + + it('test operator "min" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract4.min_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), + ); + expect(res).to.equal(8); + }); + + it('test operator "min" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract4.min_euint64_euint4( + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), + ); + expect(res).to.equal(4); + }); + + it('test operator "max" overload (euint64, euint4) => euint64 test 1 (14, 1)', async function () { + const res = await this.contract4.max_euint64_euint4( + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(1), + ); + expect(res).to.equal(14); + }); + + it('test operator "max" overload (euint64, euint4) => euint64 test 2 (9, 13)', async function () { + const res = await this.contract4.max_euint64_euint4( + this.instances4.alice.encrypt64(9), + this.instances4.alice.encrypt4(13), + ); + expect(res).to.equal(13); + }); + + it('test operator "max" overload (euint64, euint4) => euint64 test 3 (13, 13)', async function () { + const res = await this.contract4.max_euint64_euint4( + this.instances4.alice.encrypt64(13), + this.instances4.alice.encrypt4(13), + ); + expect(res).to.equal(13); + }); + + it('test operator "max" overload (euint64, euint4) => euint64 test 4 (13, 9)', async function () { + const res = await this.contract4.max_euint64_euint4( + this.instances4.alice.encrypt64(13), + this.instances4.alice.encrypt4(9), + ); + expect(res).to.equal(13); + }); + + it('test operator "add" overload (euint64, euint8) => euint64 test 1 (181, 1)', async function () { + const res = await this.contract4.add_euint64_euint8( + this.instances4.alice.encrypt64(181), + this.instances4.alice.encrypt8(1), + ); + expect(res).to.equal(182); + }); + + it('test operator "add" overload (euint64, euint8) => euint64 test 2 (66, 68)', async function () { + const res = await this.contract4.add_euint64_euint8( + this.instances4.alice.encrypt64(66), + this.instances4.alice.encrypt8(68), + ); + expect(res).to.equal(134); + }); + + it('test operator "add" overload (euint64, euint8) => euint64 test 3 (68, 68)', async function () { + const res = await this.contract4.add_euint64_euint8( + this.instances4.alice.encrypt64(68), + this.instances4.alice.encrypt8(68), + ); + expect(res).to.equal(136); + }); + + it('test operator "add" overload (euint64, euint8) => euint64 test 4 (68, 66)', async function () { + const res = await this.contract4.add_euint64_euint8( + this.instances4.alice.encrypt64(68), + this.instances4.alice.encrypt8(66), + ); + expect(res).to.equal(134); + }); + + it('test operator "sub" overload (euint64, euint8) => euint64 test 1 (236, 236)', async function () { + const res = await this.contract4.sub_euint64_euint8( + this.instances4.alice.encrypt64(236), + this.instances4.alice.encrypt8(236), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint64, euint8) => euint64 test 2 (236, 232)', async function () { + const res = await this.contract4.sub_euint64_euint8( + this.instances4.alice.encrypt64(236), + this.instances4.alice.encrypt8(232), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (132, 1)', async function () { + const res = await this.contract4.mul_euint64_euint8( + this.instances4.alice.encrypt64(132), + this.instances4.alice.encrypt8(1), + ); + expect(res).to.equal(132); + }); + + it('test operator "mul" overload (euint64, euint8) => euint64 test 2 (14, 15)', async function () { + const res = await this.contract4.mul_euint64_euint8( + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt8(15), + ); + expect(res).to.equal(210); + }); + + it('test operator "mul" overload (euint64, euint8) => euint64 test 3 (15, 15)', async function () { + const res = await this.contract4.mul_euint64_euint8( + this.instances4.alice.encrypt64(15), + this.instances4.alice.encrypt8(15), + ); + expect(res).to.equal(225); + }); + + it('test operator "mul" overload (euint64, euint8) => euint64 test 4 (15, 14)', async function () { + const res = await this.contract4.mul_euint64_euint8( + this.instances4.alice.encrypt64(15), + this.instances4.alice.encrypt8(14), + ); + expect(res).to.equal(210); + }); + + it('test operator "and" overload (euint64, euint8) => euint64 test 1 (1294685955, 133)', async function () { + const res = await this.contract4.and_euint64_euint8( + this.instances4.alice.encrypt64(1294685955), + this.instances4.alice.encrypt8(133), + ); + expect(res).to.equal(1); + }); + + it('test operator "and" overload (euint64, euint8) => euint64 test 2 (129, 133)', async function () { + const res = await this.contract4.and_euint64_euint8( + this.instances4.alice.encrypt64(129), + this.instances4.alice.encrypt8(133), + ); + expect(res).to.equal(129); + }); + + it('test operator "and" overload (euint64, euint8) => euint64 test 3 (133, 133)', async function () { + const res = await this.contract4.and_euint64_euint8( + this.instances4.alice.encrypt64(133), + this.instances4.alice.encrypt8(133), + ); + expect(res).to.equal(133); + }); + + it('test operator "and" overload (euint64, euint8) => euint64 test 4 (133, 129)', async function () { + const res = await this.contract4.and_euint64_euint8( + this.instances4.alice.encrypt64(133), + this.instances4.alice.encrypt8(129), + ); + expect(res).to.equal(129); + }); + + it('test operator "or" overload (euint64, euint8) => euint64 test 1 (167, 1)', async function () { + const res = await this.contract4.or_euint64_euint8( + this.instances4.alice.encrypt64(167), + this.instances4.alice.encrypt8(1), + ); + expect(res).to.equal(167); + }); + + it('test operator "or" overload (euint64, euint8) => euint64 test 2 (97, 101)', async function () { + const res = await this.contract4.or_euint64_euint8( + this.instances4.alice.encrypt64(97), + this.instances4.alice.encrypt8(101), + ); + expect(res).to.equal(101); + }); + + it('test operator "or" overload (euint64, euint8) => euint64 test 3 (101, 101)', async function () { + const res = await this.contract4.or_euint64_euint8( + this.instances4.alice.encrypt64(101), + this.instances4.alice.encrypt8(101), + ); + expect(res).to.equal(101); + }); + + it('test operator "or" overload (euint64, euint8) => euint64 test 4 (101, 97)', async function () { + const res = await this.contract4.or_euint64_euint8( + this.instances4.alice.encrypt64(101), + this.instances4.alice.encrypt8(97), + ); + expect(res).to.equal(101); + }); + + it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (246, 1)', async function () { + const res = await this.contract4.xor_euint64_euint8( + this.instances4.alice.encrypt64(246), + this.instances4.alice.encrypt8(1), + ); + expect(res).to.equal(247); + }); + + it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (22, 26)', async function () { + const res = await this.contract4.xor_euint64_euint8( + this.instances4.alice.encrypt64(22), + this.instances4.alice.encrypt8(26), + ); + expect(res).to.equal(12); + }); + + it('test operator "xor" overload (euint64, euint8) => euint64 test 3 (26, 26)', async function () { + const res = await this.contract4.xor_euint64_euint8( + this.instances4.alice.encrypt64(26), + this.instances4.alice.encrypt8(26), + ); + expect(res).to.equal(0); + }); + + it('test operator "xor" overload (euint64, euint8) => euint64 test 4 (26, 22)', async function () { + const res = await this.contract4.xor_euint64_euint8( + this.instances4.alice.encrypt64(26), + this.instances4.alice.encrypt8(22), + ); + expect(res).to.equal(12); + }); + + it('test operator "eq" overload (euint64, euint8) => ebool test 1 (2078992513, 51)', async function () { + const res = await this.contract4.eq_euint64_euint8( + this.instances4.alice.encrypt64(2078992513), + this.instances4.alice.encrypt8(51), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint64, euint8) => ebool test 2 (47, 51)', async function () { + const res = await this.contract4.eq_euint64_euint8( + this.instances4.alice.encrypt64(47), + this.instances4.alice.encrypt8(51), + ); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint64, euint8) => ebool test 3 (51, 51)', async function () { + const res = await this.contract4.eq_euint64_euint8( + this.instances4.alice.encrypt64(51), + this.instances4.alice.encrypt8(51), + ); + expect(res).to.equal(true); + }); + + it('test operator "eq" overload (euint64, euint8) => ebool test 4 (51, 47)', async function () { + const res = await this.contract4.eq_euint64_euint8( + this.instances4.alice.encrypt64(51), + this.instances4.alice.encrypt8(47), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint64, euint8) => ebool test 1 (1037057063, 209)', async function () { + const res = await this.contract4.ne_euint64_euint8( + this.instances4.alice.encrypt64(1037057063), + this.instances4.alice.encrypt8(209), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint64, euint8) => ebool test 2 (205, 209)', async function () { + const res = await this.contract4.ne_euint64_euint8( + this.instances4.alice.encrypt64(205), + this.instances4.alice.encrypt8(209), + ); + expect(res).to.equal(true); + }); + + it('test operator "ne" overload (euint64, euint8) => ebool test 3 (209, 209)', async function () { + const res = await this.contract4.ne_euint64_euint8( + this.instances4.alice.encrypt64(209), + this.instances4.alice.encrypt8(209), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint64, euint8) => ebool test 4 (209, 205)', async function () { + const res = await this.contract4.ne_euint64_euint8( + this.instances4.alice.encrypt64(209), + this.instances4.alice.encrypt8(205), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint64, euint8) => ebool test 1 (1885602752, 64)', async function () { + const res = await this.contract4.ge_euint64_euint8( + this.instances4.alice.encrypt64(1885602752), + this.instances4.alice.encrypt8(64), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint64, euint8) => ebool test 2 (60, 64)', async function () { + const res = await this.contract4.ge_euint64_euint8( + this.instances4.alice.encrypt64(60), + this.instances4.alice.encrypt8(64), + ); + expect(res).to.equal(false); + }); + + it('test operator "ge" overload (euint64, euint8) => ebool test 3 (64, 64)', async function () { + const res = await this.contract4.ge_euint64_euint8( + this.instances4.alice.encrypt64(64), + this.instances4.alice.encrypt8(64), + ); + expect(res).to.equal(true); + }); + + it('test operator "ge" overload (euint64, euint8) => ebool test 4 (64, 60)', async function () { + const res = await this.contract4.ge_euint64_euint8( + this.instances4.alice.encrypt64(64), + this.instances4.alice.encrypt8(60), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint64, euint8) => ebool test 1 (307981806, 246)', async function () { + const res = await this.contract4.gt_euint64_euint8( + this.instances4.alice.encrypt64(307981806), + this.instances4.alice.encrypt8(246), + ); + expect(res).to.equal(true); + }); + + it('test operator "gt" overload (euint64, euint8) => ebool test 2 (242, 246)', async function () { + const res = await this.contract4.gt_euint64_euint8( + this.instances4.alice.encrypt64(242), + this.instances4.alice.encrypt8(246), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint64, euint8) => ebool test 3 (246, 246)', async function () { + const res = await this.contract4.gt_euint64_euint8( + this.instances4.alice.encrypt64(246), + this.instances4.alice.encrypt8(246), + ); + expect(res).to.equal(false); + }); + + it('test operator "gt" overload (euint64, euint8) => ebool test 4 (246, 242)', async function () { + const res = await this.contract4.gt_euint64_euint8( + this.instances4.alice.encrypt64(246), + this.instances4.alice.encrypt8(242), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint64, euint8) => ebool test 1 (2018662588, 245)', async function () { + const res = await this.contract5.le_euint64_euint8( + this.instances5.alice.encrypt64(2018662588), + this.instances5.alice.encrypt8(245), + ); + expect(res).to.equal(false); + }); + + it('test operator "le" overload (euint64, euint8) => ebool test 2 (241, 245)', async function () { + const res = await this.contract5.le_euint64_euint8( + this.instances5.alice.encrypt64(241), + this.instances5.alice.encrypt8(245), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint64, euint8) => ebool test 3 (245, 245)', async function () { + const res = await this.contract5.le_euint64_euint8( + this.instances5.alice.encrypt64(245), + this.instances5.alice.encrypt8(245), + ); + expect(res).to.equal(true); + }); + + it('test operator "le" overload (euint64, euint8) => ebool test 4 (245, 241)', async function () { + const res = await this.contract5.le_euint64_euint8( + this.instances5.alice.encrypt64(245), + this.instances5.alice.encrypt8(241), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint64, euint8) => ebool test 1 (102600113, 117)', async function () { + const res = await this.contract5.lt_euint64_euint8( + this.instances5.alice.encrypt64(102600113), + this.instances5.alice.encrypt8(117), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint64, euint8) => ebool test 2 (113, 117)', async function () { + const res = await this.contract5.lt_euint64_euint8( + this.instances5.alice.encrypt64(113), + this.instances5.alice.encrypt8(117), + ); + expect(res).to.equal(true); + }); + + it('test operator "lt" overload (euint64, euint8) => ebool test 3 (117, 117)', async function () { + const res = await this.contract5.lt_euint64_euint8( + this.instances5.alice.encrypt64(117), + this.instances5.alice.encrypt8(117), + ); + expect(res).to.equal(false); + }); + + it('test operator "lt" overload (euint64, euint8) => ebool test 4 (117, 113)', async function () { + const res = await this.contract5.lt_euint64_euint8( + this.instances5.alice.encrypt64(117), + this.instances5.alice.encrypt8(113), + ); + expect(res).to.equal(false); + }); + + it('test operator "min" overload (euint64, euint8) => euint64 test 1 (1933734274, 92)', async function () { + const res = await this.contract5.min_euint64_euint8( + this.instances5.alice.encrypt64(1933734274), + this.instances5.alice.encrypt8(92), + ); + expect(res).to.equal(92); + }); + + it('test operator "min" overload (euint64, euint8) => euint64 test 2 (88, 92)', async function () { + const res = await this.contract5.min_euint64_euint8( + this.instances5.alice.encrypt64(88), + this.instances5.alice.encrypt8(92), + ); + expect(res).to.equal(88); + }); + + it('test operator "min" overload (euint64, euint8) => euint64 test 3 (92, 92)', async function () { + const res = await this.contract5.min_euint64_euint8( + this.instances5.alice.encrypt64(92), + this.instances5.alice.encrypt8(92), + ); + expect(res).to.equal(92); + }); + + it('test operator "min" overload (euint64, euint8) => euint64 test 4 (92, 88)', async function () { + const res = await this.contract5.min_euint64_euint8( + this.instances5.alice.encrypt64(92), + this.instances5.alice.encrypt8(88), + ); + expect(res).to.equal(88); + }); + + it('test operator "max" overload (euint64, euint8) => euint64 test 1 (231, 1)', async function () { + const res = await this.contract5.max_euint64_euint8( + this.instances5.alice.encrypt64(231), + this.instances5.alice.encrypt8(1), + ); + expect(res).to.equal(231); + }); + + it('test operator "max" overload (euint64, euint8) => euint64 test 2 (210, 214)', async function () { + const res = await this.contract5.max_euint64_euint8( + this.instances5.alice.encrypt64(210), + this.instances5.alice.encrypt8(214), + ); + expect(res).to.equal(214); + }); + + it('test operator "max" overload (euint64, euint8) => euint64 test 3 (214, 214)', async function () { + const res = await this.contract5.max_euint64_euint8( + this.instances5.alice.encrypt64(214), + this.instances5.alice.encrypt8(214), + ); + expect(res).to.equal(214); + }); + + it('test operator "max" overload (euint64, euint8) => euint64 test 4 (214, 210)', async function () { + const res = await this.contract5.max_euint64_euint8( + this.instances5.alice.encrypt64(214), + this.instances5.alice.encrypt8(210), + ); + expect(res).to.equal(214); + }); + + it('test operator "add" overload (euint64, euint16) => euint64 test 1 (46497, 1)', async function () { + const res = await this.contract5.add_euint64_euint16( + this.instances5.alice.encrypt64(46497), + this.instances5.alice.encrypt16(1), + ); + expect(res).to.equal(46498); + }); + + it('test operator "add" overload (euint64, euint16) => euint64 test 2 (1781, 1785)', async function () { + const res = await this.contract5.add_euint64_euint16( + this.instances5.alice.encrypt64(1781), + this.instances5.alice.encrypt16(1785), + ); + expect(res).to.equal(3566); + }); + + it('test operator "add" overload (euint64, euint16) => euint64 test 3 (1785, 1785)', async function () { + const res = await this.contract5.add_euint64_euint16( + this.instances5.alice.encrypt64(1785), + this.instances5.alice.encrypt16(1785), + ); + expect(res).to.equal(3570); + }); + + it('test operator "add" overload (euint64, euint16) => euint64 test 4 (1785, 1781)', async function () { + const res = await this.contract5.add_euint64_euint16( + this.instances5.alice.encrypt64(1785), + this.instances5.alice.encrypt16(1781), + ); + expect(res).to.equal(3566); + }); + + it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (42609, 42609)', async function () { + const res = await this.contract5.sub_euint64_euint16( + this.instances5.alice.encrypt64(42609), + this.instances5.alice.encrypt16(42609), + ); + expect(res).to.equal(0); + }); + + it('test operator "sub" overload (euint64, euint16) => euint64 test 2 (42609, 42605)', async function () { + const res = await this.contract5.sub_euint64_euint16( + this.instances5.alice.encrypt64(42609), + this.instances5.alice.encrypt16(42605), + ); + expect(res).to.equal(4); + }); + + it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (16971, 3)', async function () { + const res = await this.contract5.mul_euint64_euint16( + this.instances5.alice.encrypt64(16971), + this.instances5.alice.encrypt16(3), + ); + expect(res).to.equal(50913); + }); + + it('test operator "mul" overload (euint64, euint16) => euint64 test 2 (227, 227)', async function () { + const res = await this.contract5.mul_euint64_euint16( + this.instances5.alice.encrypt64(227), + this.instances5.alice.encrypt16(227), + ); + expect(res).to.equal(51529); + }); + + it('test operator "mul" overload (euint64, euint16) => euint64 test 3 (227, 227)', async function () { + const res = await this.contract5.mul_euint64_euint16( + this.instances5.alice.encrypt64(227), + this.instances5.alice.encrypt16(227), + ); + expect(res).to.equal(51529); + }); + + it('test operator "mul" overload (euint64, euint16) => euint64 test 4 (227, 227)', async function () { + const res = await this.contract5.mul_euint64_euint16( + this.instances5.alice.encrypt64(227), + this.instances5.alice.encrypt16(227), + ); + expect(res).to.equal(51529); + }); + + it('test operator "and" overload (euint64, euint16) => euint64 test 1 (1294685955, 63959)', async function () { + const res = await this.contract5.and_euint64_euint16( + this.instances5.alice.encrypt64(1294685955), + this.instances5.alice.encrypt16(63959), + ); + expect(res).to.equal(20739); + }); + + it('test operator "and" overload (euint64, euint16) => euint64 test 2 (63955, 63959)', async function () { + const res = await this.contract5.and_euint64_euint16( + this.instances5.alice.encrypt64(63955), + this.instances5.alice.encrypt16(63959), + ); + expect(res).to.equal(63955); + }); + + it('test operator "and" overload (euint64, euint16) => euint64 test 3 (63959, 63959)', async function () { + const res = await this.contract5.and_euint64_euint16( + this.instances5.alice.encrypt64(63959), + this.instances5.alice.encrypt16(63959), + ); + expect(res).to.equal(63959); + }); + + it('test operator "and" overload (euint64, euint16) => euint64 test 4 (63959, 63955)', async function () { + const res = await this.contract5.and_euint64_euint16( + this.instances5.alice.encrypt64(63959), + this.instances5.alice.encrypt16(63955), + ); + expect(res).to.equal(63955); + }); + + it('test operator "or" overload (euint64, euint16) => euint64 test 1 (42889, 1)', async function () { + const res = await this.contract5.or_euint64_euint16( + this.instances5.alice.encrypt64(42889), + this.instances5.alice.encrypt16(1), + ); + expect(res).to.equal(42889); + }); + + it('test operator "or" overload (euint64, euint16) => euint64 test 2 (21447, 21451)', async function () { + const res = await this.contract5.or_euint64_euint16( + this.instances5.alice.encrypt64(21447), + this.instances5.alice.encrypt16(21451), + ); + expect(res).to.equal(21455); + }); + + it('test operator "or" overload (euint64, euint16) => euint64 test 3 (21451, 21451)', async function () { + const res = await this.contract5.or_euint64_euint16( + this.instances5.alice.encrypt64(21451), + this.instances5.alice.encrypt16(21451), + ); + expect(res).to.equal(21451); + }); + + it('test operator "or" overload (euint64, euint16) => euint64 test 4 (21451, 21447)', async function () { + const res = await this.contract5.or_euint64_euint16( + this.instances5.alice.encrypt64(21451), + this.instances5.alice.encrypt16(21447), + ); + expect(res).to.equal(21455); + }); + + it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (63024, 2)', async function () { + const res = await this.contract5.xor_euint64_euint16( + this.instances5.alice.encrypt64(63024), + this.instances5.alice.encrypt16(2), ); - expect(res).to.equal(3280896); + expect(res).to.equal(63026); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 2 (3280896, 3280897)', async function () { - const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280897), + it('test operator "xor" overload (euint64, euint16) => euint64 test 2 (33630, 33634)', async function () { + const res = await this.contract5.xor_euint64_euint16( + this.instances5.alice.encrypt64(33630), + this.instances5.alice.encrypt16(33634), ); - expect(res).to.equal(3280897); + expect(res).to.equal(60); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 3 (3280896, 3280895)', async function () { - const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(3280896), - this.instances4.alice.encrypt32(3280895), + it('test operator "xor" overload (euint64, euint16) => euint64 test 3 (33634, 33634)', async function () { + const res = await this.contract5.xor_euint64_euint16( + this.instances5.alice.encrypt64(33634), + this.instances5.alice.encrypt16(33634), ); - expect(res).to.equal(3280896); + expect(res).to.equal(0); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(50335779), - this.instances4.alice.encrypt64(4099), + it('test operator "xor" overload (euint64, euint16) => euint64 test 4 (33634, 33630)', async function () { + const res = await this.contract5.xor_euint64_euint16( + this.instances5.alice.encrypt64(33634), + this.instances5.alice.encrypt16(33630), ); - expect(res).to.equal(50339878); + expect(res).to.equal(60); }); - it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract4.sub_euint32_euint64( - this.instances4.alice.encrypt32(50335779), - this.instances4.alice.encrypt64(4099), + it('test operator "eq" overload (euint64, euint16) => ebool test 1 (2078992513, 32629)', async function () { + const res = await this.contract5.eq_euint64_euint16( + this.instances5.alice.encrypt64(2078992513), + this.instances5.alice.encrypt16(32629), ); - expect(res).to.equal(50331680); + expect(res).to.equal(false); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (50335779, 3)', async function () { - const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(50335779), - this.instances4.alice.encrypt64(3), + it('test operator "eq" overload (euint64, euint16) => ebool test 2 (32625, 32629)', async function () { + const res = await this.contract5.eq_euint64_euint16( + this.instances5.alice.encrypt64(32625), + this.instances5.alice.encrypt16(32629), ); - expect(res).to.equal(151007337); + expect(res).to.equal(false); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 1 (50335776, 3)', async function () { - const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(50335776), - this.instances4.alice.encrypt64(3), + it('test operator "eq" overload (euint64, euint16) => ebool test 3 (32629, 32629)', async function () { + const res = await this.contract5.eq_euint64_euint16( + this.instances5.alice.encrypt64(32629), + this.instances5.alice.encrypt16(32629), ); - expect(res).to.equal(0); + expect(res).to.equal(true); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 2 (50335779, 4099)', async function () { - const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(50335779), - this.instances4.alice.encrypt64(4099), + it('test operator "eq" overload (euint64, euint16) => ebool test 4 (32629, 32625)', async function () { + const res = await this.contract5.eq_euint64_euint16( + this.instances5.alice.encrypt64(32629), + this.instances5.alice.encrypt16(32625), ); - expect(res).to.equal(4099); + expect(res).to.equal(false); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 1 (50331680, 4099)', async function () { - const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(50331680), - this.instances4.alice.encrypt64(4099), + it('test operator "ne" overload (euint64, euint16) => ebool test 1 (1037057063, 50271)', async function () { + const res = await this.contract5.ne_euint64_euint16( + this.instances5.alice.encrypt64(1037057063), + this.instances5.alice.encrypt16(50271), ); - expect(res).to.equal(50335779); + expect(res).to.equal(true); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 2 (50331683, 4099)', async function () { - const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(50331683), - this.instances4.alice.encrypt64(4099), + it('test operator "ne" overload (euint64, euint16) => ebool test 2 (50267, 50271)', async function () { + const res = await this.contract5.ne_euint64_euint16( + this.instances5.alice.encrypt64(50267), + this.instances5.alice.encrypt16(50271), ); - expect(res).to.equal(50335779); + expect(res).to.equal(true); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (50331683, 4099)', async function () { - const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(50331683), - this.instances4.alice.encrypt64(4099), + it('test operator "ne" overload (euint64, euint16) => ebool test 3 (50271, 50271)', async function () { + const res = await this.contract5.ne_euint64_euint16( + this.instances5.alice.encrypt64(50271), + this.instances5.alice.encrypt16(50271), ); - expect(res).to.equal(50335776); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4096), + it('test operator "ne" overload (euint64, euint16) => ebool test 4 (50271, 50267)', async function () { + const res = await this.contract5.ne_euint64_euint16( + this.instances5.alice.encrypt64(50271), + this.instances5.alice.encrypt16(50267), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt64(4096), + it('test operator "ge" overload (euint64, euint16) => ebool test 1 (1885602752, 42598)', async function () { + const res = await this.contract5.ge_euint64_euint16( + this.instances5.alice.encrypt64(1885602752), + this.instances5.alice.encrypt16(42598), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4096), + it('test operator "ge" overload (euint64, euint16) => ebool test 2 (42594, 42598)', async function () { + const res = await this.contract5.ge_euint64_euint16( + this.instances5.alice.encrypt64(42594), + this.instances5.alice.encrypt16(42598), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt64(4096), + it('test operator "ge" overload (euint64, euint16) => ebool test 3 (42598, 42598)', async function () { + const res = await this.contract5.ge_euint64_euint16( + this.instances5.alice.encrypt64(42598), + this.instances5.alice.encrypt16(42598), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4096), + it('test operator "ge" overload (euint64, euint16) => ebool test 4 (42598, 42594)', async function () { + const res = await this.contract5.ge_euint64_euint16( + this.instances5.alice.encrypt64(42598), + this.instances5.alice.encrypt16(42594), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt64(4096), + it('test operator "gt" overload (euint64, euint16) => ebool test 1 (307981806, 10827)', async function () { + const res = await this.contract5.gt_euint64_euint16( + this.instances5.alice.encrypt64(307981806), + this.instances5.alice.encrypt16(10827), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4097), + it('test operator "gt" overload (euint64, euint16) => ebool test 2 (10823, 10827)', async function () { + const res = await this.contract5.gt_euint64_euint16( + this.instances5.alice.encrypt64(10823), + this.instances5.alice.encrypt16(10827), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4096), + it('test operator "gt" overload (euint64, euint16) => ebool test 3 (10827, 10827)', async function () { + const res = await this.contract5.gt_euint64_euint16( + this.instances5.alice.encrypt64(10827), + this.instances5.alice.encrypt16(10827), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt64(4096), + it('test operator "gt" overload (euint64, euint16) => ebool test 4 (10827, 10823)', async function () { + const res = await this.contract5.gt_euint64_euint16( + this.instances5.alice.encrypt64(10827), + this.instances5.alice.encrypt16(10823), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4097), + it('test operator "le" overload (euint64, euint16) => ebool test 1 (2018662588, 22989)', async function () { + const res = await this.contract5.le_euint64_euint16( + this.instances5.alice.encrypt64(2018662588), + this.instances5.alice.encrypt16(22989), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4096), + it('test operator "le" overload (euint64, euint16) => ebool test 2 (22985, 22989)', async function () { + const res = await this.contract5.le_euint64_euint16( + this.instances5.alice.encrypt64(22985), + this.instances5.alice.encrypt16(22989), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt64(4096), - ); - expect(res).to.equal(false); - }); - - it('test operator "le" overload (euint32, euint64) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4097), + it('test operator "le" overload (euint64, euint16) => ebool test 3 (22989, 22989)', async function () { + const res = await this.contract5.le_euint64_euint16( + this.instances5.alice.encrypt64(22989), + this.instances5.alice.encrypt16(22989), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4096), + it('test operator "le" overload (euint64, euint16) => ebool test 4 (22989, 22985)', async function () { + const res = await this.contract5.le_euint64_euint16( + this.instances5.alice.encrypt64(22989), + this.instances5.alice.encrypt16(22985), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt64(4096), + it('test operator "lt" overload (euint64, euint16) => ebool test 1 (102600113, 19620)', async function () { + const res = await this.contract5.lt_euint64_euint16( + this.instances5.alice.encrypt64(102600113), + this.instances5.alice.encrypt16(19620), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4097), + it('test operator "lt" overload (euint64, euint16) => ebool test 2 (19616, 19620)', async function () { + const res = await this.contract5.lt_euint64_euint16( + this.instances5.alice.encrypt64(19616), + this.instances5.alice.encrypt16(19620), ); expect(res).to.equal(true); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4096), + it('test operator "lt" overload (euint64, euint16) => ebool test 3 (19620, 19620)', async function () { + const res = await this.contract5.lt_euint64_euint16( + this.instances5.alice.encrypt64(19620), + this.instances5.alice.encrypt16(19620), ); - expect(res).to.equal(4096); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt64(4096), + it('test operator "lt" overload (euint64, euint16) => ebool test 4 (19620, 19616)', async function () { + const res = await this.contract5.lt_euint64_euint16( + this.instances5.alice.encrypt64(19620), + this.instances5.alice.encrypt16(19616), ); - expect(res).to.equal(4096); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4097), + it('test operator "min" overload (euint64, euint16) => euint64 test 1 (1933734274, 63835)', async function () { + const res = await this.contract5.min_euint64_euint16( + this.instances5.alice.encrypt64(1933734274), + this.instances5.alice.encrypt16(63835), ); - expect(res).to.equal(4096); + expect(res).to.equal(63835); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4096), + it('test operator "min" overload (euint64, euint16) => euint64 test 2 (63831, 63835)', async function () { + const res = await this.contract5.min_euint64_euint16( + this.instances5.alice.encrypt64(63831), + this.instances5.alice.encrypt16(63835), ); - expect(res).to.equal(4096); + expect(res).to.equal(63831); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(16781312), - this.instances4.alice.encrypt64(4096), + it('test operator "min" overload (euint64, euint16) => euint64 test 3 (63835, 63835)', async function () { + const res = await this.contract5.min_euint64_euint16( + this.instances5.alice.encrypt64(63835), + this.instances5.alice.encrypt16(63835), ); - expect(res).to.equal(16781312); + expect(res).to.equal(63835); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(4096), - this.instances4.alice.encrypt64(4097), + it('test operator "min" overload (euint64, euint16) => euint64 test 4 (63835, 63831)', async function () { + const res = await this.contract5.min_euint64_euint16( + this.instances5.alice.encrypt64(63835), + this.instances5.alice.encrypt16(63831), ); - expect(res).to.equal(4097); + expect(res).to.equal(63831); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 1 (3416064, 3280896)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3280896); - expect(res).to.equal(6696960); + it('test operator "max" overload (euint64, euint16) => euint64 test 1 (59321, 1)', async function () { + const res = await this.contract5.max_euint64_euint16( + this.instances5.alice.encrypt64(59321), + this.instances5.alice.encrypt16(1), + ); + expect(res).to.equal(59321); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 1 (3416064, 3280896)', async function () { - const res = await this.contract4.add_uint32_euint32(3416064, this.instances4.alice.encrypt32(3280896)); - expect(res).to.equal(6696960); + it('test operator "max" overload (euint64, euint16) => euint64 test 2 (49394, 49398)', async function () { + const res = await this.contract5.max_euint64_euint16( + this.instances5.alice.encrypt64(49394), + this.instances5.alice.encrypt16(49398), + ); + expect(res).to.equal(49398); }); - it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (3416064, 3280896)', async function () { - const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3280896); - expect(res).to.equal(135168); + it('test operator "max" overload (euint64, euint16) => euint64 test 3 (49398, 49398)', async function () { + const res = await this.contract5.max_euint64_euint16( + this.instances5.alice.encrypt64(49398), + this.instances5.alice.encrypt16(49398), + ); + expect(res).to.equal(49398); }); - it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (3416064, 3280896)', async function () { - const res = await this.contract4.sub_uint32_euint32(3416064, this.instances4.alice.encrypt32(3280896)); - expect(res).to.equal(135168); + it('test operator "max" overload (euint64, euint16) => euint64 test 4 (49398, 49394)', async function () { + const res = await this.contract5.max_euint64_euint16( + this.instances5.alice.encrypt64(49398), + this.instances5.alice.encrypt16(49394), + ); + expect(res).to.equal(49398); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (3416064, 256)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(3416064), 256); - expect(res).to.equal(874512384); + it('test operator "add" overload (euint64, euint32) => euint64 test 1 (761810509, 2065807481)', async function () { + const res = await this.contract5.add_euint64_euint32( + this.instances5.alice.encrypt64(761810509), + this.instances5.alice.encrypt32(2065807481), + ); + expect(res).to.equal(2827617990); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (3416064, 256)', async function () { - const res = await this.contract4.mul_uint32_euint32(3416064, this.instances4.alice.encrypt32(256)); - expect(res).to.equal(874512384); + it('test operator "add" overload (euint64, euint32) => euint64 test 2 (761810505, 761810509)', async function () { + const res = await this.contract5.add_euint64_euint32( + this.instances5.alice.encrypt64(761810505), + this.instances5.alice.encrypt32(761810509), + ); + expect(res).to.equal(1523621014); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 1 (3416064, 256)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(3416064), 256); - expect(res).to.equal(13344); + it('test operator "add" overload (euint64, euint32) => euint64 test 3 (761810509, 761810509)', async function () { + const res = await this.contract5.add_euint64_euint32( + this.instances5.alice.encrypt64(761810509), + this.instances5.alice.encrypt32(761810509), + ); + expect(res).to.equal(1523621018); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (3416121, 256)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(3416121), 256); - expect(res).to.equal(57); + it('test operator "add" overload (euint64, euint32) => euint64 test 4 (761810509, 761810505)', async function () { + const res = await this.contract5.add_euint64_euint32( + this.instances5.alice.encrypt64(761810509), + this.instances5.alice.encrypt32(761810505), + ); + expect(res).to.equal(1523621014); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); - expect(res).to.equal(true); + it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (1679860005, 1679860005)', async function () { + const res = await this.contract5.sub_euint64_euint32( + this.instances5.alice.encrypt64(1679860005), + this.instances5.alice.encrypt32(1679860005), + ); + expect(res).to.equal(0); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); - expect(res).to.equal(false); + it('test operator "sub" overload (euint64, euint32) => euint64 test 2 (1679860005, 1679860001)', async function () { + const res = await this.contract5.sub_euint64_euint32( + this.instances5.alice.encrypt64(1679860005), + this.instances5.alice.encrypt32(1679860001), + ); + expect(res).to.equal(4); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.eq_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); - expect(res).to.equal(true); + it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (33943, 59095)', async function () { + const res = await this.contract5.mul_euint64_euint32( + this.instances5.alice.encrypt64(33943), + this.instances5.alice.encrypt32(59095), + ); + expect(res).to.equal(2005861585); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.eq_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); - expect(res).to.equal(false); + it('test operator "mul" overload (euint64, euint32) => euint64 test 2 (33943, 33943)', async function () { + const res = await this.contract5.mul_euint64_euint32( + this.instances5.alice.encrypt64(33943), + this.instances5.alice.encrypt32(33943), + ); + expect(res).to.equal(1152127249); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); - expect(res).to.equal(false); + it('test operator "mul" overload (euint64, euint32) => euint64 test 3 (33943, 33943)', async function () { + const res = await this.contract5.mul_euint64_euint32( + this.instances5.alice.encrypt64(33943), + this.instances5.alice.encrypt32(33943), + ); + expect(res).to.equal(1152127249); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); - expect(res).to.equal(true); + it('test operator "mul" overload (euint64, euint32) => euint64 test 4 (33943, 33943)', async function () { + const res = await this.contract5.mul_euint64_euint32( + this.instances5.alice.encrypt64(33943), + this.instances5.alice.encrypt32(33943), + ); + expect(res).to.equal(1152127249); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.ne_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); - expect(res).to.equal(false); + it('test operator "and" overload (euint64, euint32) => euint64 test 1 (1294685955, 1745450667)', async function () { + const res = await this.contract5.and_euint64_euint32( + this.instances5.alice.encrypt64(1294685955), + this.instances5.alice.encrypt32(1745450667), + ); + expect(res).to.equal(1208571395); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.ne_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); - expect(res).to.equal(true); + it('test operator "and" overload (euint64, euint32) => euint64 test 2 (1294685951, 1294685955)', async function () { + const res = await this.contract5.and_euint64_euint32( + this.instances5.alice.encrypt64(1294685951), + this.instances5.alice.encrypt32(1294685955), + ); + expect(res).to.equal(1294685699); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); - expect(res).to.equal(true); + it('test operator "and" overload (euint64, euint32) => euint64 test 3 (1294685955, 1294685955)', async function () { + const res = await this.contract5.and_euint64_euint32( + this.instances5.alice.encrypt64(1294685955), + this.instances5.alice.encrypt32(1294685955), + ); + expect(res).to.equal(1294685955); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); - expect(res).to.equal(false); + it('test operator "and" overload (euint64, euint32) => euint64 test 4 (1294685955, 1294685951)', async function () { + const res = await this.contract5.and_euint64_euint32( + this.instances5.alice.encrypt64(1294685955), + this.instances5.alice.encrypt32(1294685951), + ); + expect(res).to.equal(1294685699); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); - expect(res).to.equal(true); + it('test operator "or" overload (euint64, euint32) => euint64 test 1 (1405387766, 963544644)', async function () { + const res = await this.contract5.or_euint64_euint32( + this.instances5.alice.encrypt64(1405387766), + this.instances5.alice.encrypt32(963544644), + ); + expect(res).to.equal(2079229942); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.ge_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); - expect(res).to.equal(true); + it('test operator "or" overload (euint64, euint32) => euint64 test 2 (963544640, 963544644)', async function () { + const res = await this.contract5.or_euint64_euint32( + this.instances5.alice.encrypt64(963544640), + this.instances5.alice.encrypt32(963544644), + ); + expect(res).to.equal(963544644); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.ge_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); - expect(res).to.equal(false); + it('test operator "or" overload (euint64, euint32) => euint64 test 3 (963544644, 963544644)', async function () { + const res = await this.contract5.or_euint64_euint32( + this.instances5.alice.encrypt64(963544644), + this.instances5.alice.encrypt32(963544644), + ); + expect(res).to.equal(963544644); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.ge_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); - expect(res).to.equal(true); + it('test operator "or" overload (euint64, euint32) => euint64 test 4 (963544644, 963544640)', async function () { + const res = await this.contract5.or_euint64_euint32( + this.instances5.alice.encrypt64(963544644), + this.instances5.alice.encrypt32(963544640), + ); + expect(res).to.equal(963544644); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); - expect(res).to.equal(false); + it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (1032596672, 1451108916)', async function () { + const res = await this.contract5.xor_euint64_euint32( + this.instances5.alice.encrypt64(1032596672), + this.instances5.alice.encrypt32(1451108916), + ); + expect(res).to.equal(1811023604); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); - expect(res).to.equal(false); + it('test operator "xor" overload (euint64, euint32) => euint64 test 2 (1032596668, 1032596672)', async function () { + const res = await this.contract5.xor_euint64_euint32( + this.instances5.alice.encrypt64(1032596668), + this.instances5.alice.encrypt32(1032596672), + ); + expect(res).to.equal(124); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); - expect(res).to.equal(true); + it('test operator "xor" overload (euint64, euint32) => euint64 test 3 (1032596672, 1032596672)', async function () { + const res = await this.contract5.xor_euint64_euint32( + this.instances5.alice.encrypt64(1032596672), + this.instances5.alice.encrypt32(1032596672), + ); + expect(res).to.equal(0); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.gt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); - expect(res).to.equal(false); + it('test operator "xor" overload (euint64, euint32) => euint64 test 4 (1032596672, 1032596668)', async function () { + const res = await this.contract5.xor_euint64_euint32( + this.instances5.alice.encrypt64(1032596672), + this.instances5.alice.encrypt32(1032596668), + ); + expect(res).to.equal(124); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.gt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); + it('test operator "eq" overload (euint64, euint32) => ebool test 1 (2078992513, 810545451)', async function () { + const res = await this.contract5.eq_euint64_euint32( + this.instances5.alice.encrypt64(2078992513), + this.instances5.alice.encrypt32(810545451), + ); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.gt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); - expect(res).to.equal(true); - }); - - it('test operator "le" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); - expect(res).to.equal(true); + it('test operator "eq" overload (euint64, euint32) => ebool test 2 (810545447, 810545451)', async function () { + const res = await this.contract5.eq_euint64_euint32( + this.instances5.alice.encrypt64(810545447), + this.instances5.alice.encrypt32(810545451), + ); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); + it('test operator "eq" overload (euint64, euint32) => ebool test 3 (810545451, 810545451)', async function () { + const res = await this.contract5.eq_euint64_euint32( + this.instances5.alice.encrypt64(810545451), + this.instances5.alice.encrypt32(810545451), + ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); + it('test operator "eq" overload (euint64, euint32) => ebool test 4 (810545451, 810545447)', async function () { + const res = await this.contract5.eq_euint64_euint32( + this.instances5.alice.encrypt64(810545451), + this.instances5.alice.encrypt32(810545447), + ); expect(res).to.equal(false); }); - it('test operator "le" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.le_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); + it('test operator "ne" overload (euint64, euint32) => ebool test 1 (1037057063, 358604604)', async function () { + const res = await this.contract5.ne_euint64_euint32( + this.instances5.alice.encrypt64(1037057063), + this.instances5.alice.encrypt32(358604604), + ); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.le_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); + it('test operator "ne" overload (euint64, euint32) => ebool test 2 (358604600, 358604604)', async function () { + const res = await this.contract5.ne_euint64_euint32( + this.instances5.alice.encrypt64(358604600), + this.instances5.alice.encrypt32(358604604), + ); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.le_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); - expect(res).to.equal(false); - }); - - it('test operator "lt" overload (euint32, uint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); + it('test operator "ne" overload (euint64, euint32) => ebool test 3 (358604604, 358604604)', async function () { + const res = await this.contract5.ne_euint64_euint32( + this.instances5.alice.encrypt64(358604604), + this.instances5.alice.encrypt32(358604604), + ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); + it('test operator "ne" overload (euint64, euint32) => ebool test 4 (358604604, 358604600)', async function () { + const res = await this.contract5.ne_euint64_euint32( + this.instances5.alice.encrypt64(358604604), + this.instances5.alice.encrypt32(358604600), + ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); + it('test operator "ge" overload (euint64, euint32) => ebool test 1 (1885602752, 2120758041)', async function () { + const res = await this.contract5.ge_euint64_euint32( + this.instances5.alice.encrypt64(1885602752), + this.instances5.alice.encrypt32(2120758041), + ); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.lt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); + it('test operator "ge" overload (euint64, euint32) => ebool test 2 (1885602748, 1885602752)', async function () { + const res = await this.contract5.ge_euint64_euint32( + this.instances5.alice.encrypt64(1885602748), + this.instances5.alice.encrypt32(1885602752), + ); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.lt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); + it('test operator "ge" overload (euint64, euint32) => ebool test 3 (1885602752, 1885602752)', async function () { + const res = await this.contract5.ge_euint64_euint32( + this.instances5.alice.encrypt64(1885602752), + this.instances5.alice.encrypt32(1885602752), + ); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.lt_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); - expect(res).to.equal(false); - }); - - it('test operator "min" overload (euint32, uint32) => euint32 test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); - expect(res).to.equal(3416064); - }); - - it('test operator "min" overload (euint32, uint32) => euint32 test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); - expect(res).to.equal(3416064); - }); - - it('test operator "min" overload (euint32, uint32) => euint32 test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); - expect(res).to.equal(3416063); - }); - - it('test operator "min" overload (uint32, euint32) => euint32 test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.min_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); - expect(res).to.equal(3416064); - }); - - it('test operator "min" overload (uint32, euint32) => euint32 test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.min_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); - expect(res).to.equal(3416064); - }); - - it('test operator "min" overload (uint32, euint32) => euint32 test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.min_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); - expect(res).to.equal(3416063); - }); - - it('test operator "max" overload (euint32, uint32) => euint32 test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416064); - expect(res).to.equal(3416064); - }); - - it('test operator "max" overload (euint32, uint32) => euint32 test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416065); - expect(res).to.equal(3416065); - }); - - it('test operator "max" overload (euint32, uint32) => euint32 test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(3416064), 3416063); - expect(res).to.equal(3416064); - }); - - it('test operator "max" overload (uint32, euint32) => euint32 test 1 (3416064, 3416064)', async function () { - const res = await this.contract4.max_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416064)); - expect(res).to.equal(3416064); + it('test operator "ge" overload (euint64, euint32) => ebool test 4 (1885602752, 1885602748)', async function () { + const res = await this.contract5.ge_euint64_euint32( + this.instances5.alice.encrypt64(1885602752), + this.instances5.alice.encrypt32(1885602748), + ); + expect(res).to.equal(true); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 2 (3416064, 3416065)', async function () { - const res = await this.contract4.max_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416065)); - expect(res).to.equal(3416065); + it('test operator "gt" overload (euint64, euint32) => ebool test 1 (307981806, 973826729)', async function () { + const res = await this.contract5.gt_euint64_euint32( + this.instances5.alice.encrypt64(307981806), + this.instances5.alice.encrypt32(973826729), + ); + expect(res).to.equal(false); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 3 (3416064, 3416063)', async function () { - const res = await this.contract4.max_uint32_euint32(3416064, this.instances4.alice.encrypt32(3416063)); - expect(res).to.equal(3416064); + it('test operator "gt" overload (euint64, euint32) => ebool test 2 (307981802, 307981806)', async function () { + const res = await this.contract5.gt_euint64_euint32( + this.instances5.alice.encrypt64(307981802), + this.instances5.alice.encrypt32(307981806), + ); + expect(res).to.equal(false); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 1 (50331648, 3)', async function () { - const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(50331648), - this.instances4.alice.encrypt8(3), + it('test operator "gt" overload (euint64, euint32) => ebool test 3 (307981806, 307981806)', async function () { + const res = await this.contract5.gt_euint64_euint32( + this.instances5.alice.encrypt64(307981806), + this.instances5.alice.encrypt32(307981806), ); - expect(res).to.equal(50331651); + expect(res).to.equal(false); }); - it('test operator "sub" overload (euint64, euint8) => euint64 test 1 (50331648, 3)', async function () { - const res = await this.contract4.sub_euint64_euint8( - this.instances4.alice.encrypt64(50331648), - this.instances4.alice.encrypt8(3), + it('test operator "gt" overload (euint64, euint32) => ebool test 4 (307981806, 307981802)', async function () { + const res = await this.contract5.gt_euint64_euint32( + this.instances5.alice.encrypt64(307981806), + this.instances5.alice.encrypt32(307981802), ); - expect(res).to.equal(50331645); + expect(res).to.equal(true); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (50331648, 3)', async function () { - const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(50331648), - this.instances4.alice.encrypt8(3), + it('test operator "le" overload (euint64, euint32) => ebool test 1 (2018662588, 812190927)', async function () { + const res = await this.contract5.le_euint64_euint32( + this.instances5.alice.encrypt64(2018662588), + this.instances5.alice.encrypt32(812190927), ); - expect(res).to.equal(150994944); + expect(res).to.equal(false); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(50397184), - this.instances4.alice.encrypt8(3), + it('test operator "le" overload (euint64, euint32) => ebool test 2 (812190923, 812190927)', async function () { + const res = await this.contract5.le_euint64_euint32( + this.instances5.alice.encrypt64(812190923), + this.instances5.alice.encrypt32(812190927), ); - expect(res).to.equal(0); + expect(res).to.equal(true); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 2 (50397187, 3)', async function () { - const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(50397187), - this.instances4.alice.encrypt8(3), + it('test operator "le" overload (euint64, euint32) => ebool test 3 (812190927, 812190927)', async function () { + const res = await this.contract5.le_euint64_euint32( + this.instances5.alice.encrypt64(812190927), + this.instances5.alice.encrypt32(812190927), ); - expect(res).to.equal(3); + expect(res).to.equal(true); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(50397184), - this.instances4.alice.encrypt8(3), + it('test operator "le" overload (euint64, euint32) => ebool test 4 (812190927, 812190923)', async function () { + const res = await this.contract5.le_euint64_euint32( + this.instances5.alice.encrypt64(812190927), + this.instances5.alice.encrypt32(812190923), ); - expect(res).to.equal(50397187); + expect(res).to.equal(false); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 2 (50397187, 3)', async function () { - const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(50397187), - this.instances4.alice.encrypt8(3), + it('test operator "lt" overload (euint64, euint32) => ebool test 1 (102600113, 1018674751)', async function () { + const res = await this.contract5.lt_euint64_euint32( + this.instances5.alice.encrypt64(102600113), + this.instances5.alice.encrypt32(1018674751), ); - expect(res).to.equal(50397187); + expect(res).to.equal(true); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(50397184), - this.instances4.alice.encrypt8(3), + it('test operator "lt" overload (euint64, euint32) => ebool test 2 (102600109, 102600113)', async function () { + const res = await this.contract5.lt_euint64_euint32( + this.instances5.alice.encrypt64(102600109), + this.instances5.alice.encrypt32(102600113), ); - expect(res).to.equal(50397187); + expect(res).to.equal(true); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (50397187, 3)', async function () { - const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(50397187), - this.instances4.alice.encrypt8(3), + it('test operator "lt" overload (euint64, euint32) => ebool test 3 (102600113, 102600113)', async function () { + const res = await this.contract5.lt_euint64_euint32( + this.instances5.alice.encrypt64(102600113), + this.instances5.alice.encrypt32(102600113), ); - expect(res).to.equal(50397184); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(3), - this.instances4.alice.encrypt8(3), + it('test operator "lt" overload (euint64, euint32) => ebool test 4 (102600113, 102600109)', async function () { + const res = await this.contract5.lt_euint64_euint32( + this.instances5.alice.encrypt64(102600113), + this.instances5.alice.encrypt32(102600109), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "min" overload (euint64, euint32) => euint64 test 1 (1933734274, 1600509978)', async function () { + const res = await this.contract5.min_euint64_euint32( + this.instances5.alice.encrypt64(1933734274), + this.instances5.alice.encrypt32(1600509978), ); - expect(res).to.equal(false); + expect(res).to.equal(1600509978); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(3), - this.instances4.alice.encrypt8(3), + it('test operator "min" overload (euint64, euint32) => euint64 test 2 (1600509974, 1600509978)', async function () { + const res = await this.contract5.min_euint64_euint32( + this.instances5.alice.encrypt64(1600509974), + this.instances5.alice.encrypt32(1600509978), ); - expect(res).to.equal(false); + expect(res).to.equal(1600509974); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "min" overload (euint64, euint32) => euint64 test 3 (1600509978, 1600509978)', async function () { + const res = await this.contract5.min_euint64_euint32( + this.instances5.alice.encrypt64(1600509978), + this.instances5.alice.encrypt32(1600509978), ); - expect(res).to.equal(true); + expect(res).to.equal(1600509978); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(3), - this.instances4.alice.encrypt8(3), + it('test operator "min" overload (euint64, euint32) => euint64 test 4 (1600509978, 1600509974)', async function () { + const res = await this.contract5.min_euint64_euint32( + this.instances5.alice.encrypt64(1600509978), + this.instances5.alice.encrypt32(1600509974), ); - expect(res).to.equal(true); + expect(res).to.equal(1600509974); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "max" overload (euint64, euint32) => euint64 test 1 (1943842367, 2024517605)', async function () { + const res = await this.contract5.max_euint64_euint32( + this.instances5.alice.encrypt64(1943842367), + this.instances5.alice.encrypt32(2024517605), ); - expect(res).to.equal(true); + expect(res).to.equal(2024517605); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(3), - this.instances4.alice.encrypt8(4), + it('test operator "max" overload (euint64, euint32) => euint64 test 2 (1943842363, 1943842367)', async function () { + const res = await this.contract5.max_euint64_euint32( + this.instances5.alice.encrypt64(1943842363), + this.instances5.alice.encrypt32(1943842367), ); - expect(res).to.equal(false); + expect(res).to.equal(1943842367); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(3), - this.instances4.alice.encrypt8(3), + it('test operator "max" overload (euint64, euint32) => euint64 test 3 (1943842367, 1943842367)', async function () { + const res = await this.contract5.max_euint64_euint32( + this.instances5.alice.encrypt64(1943842367), + this.instances5.alice.encrypt32(1943842367), ); - expect(res).to.equal(false); + expect(res).to.equal(1943842367); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(50331651), - this.instances4.alice.encrypt8(3), + it('test operator "max" overload (euint64, euint32) => euint64 test 4 (1943842367, 1943842363)', async function () { + const res = await this.contract5.max_euint64_euint32( + this.instances5.alice.encrypt64(1943842367), + this.instances5.alice.encrypt32(1943842363), ); - expect(res).to.equal(true); + expect(res).to.equal(1943842367); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(3), - this.instances4.alice.encrypt8(4), + it('test operator "add" overload (euint64, euint64) => euint64 test 1 (761810509, 74167544)', async function () { + const res = await this.contract5.add_euint64_euint64( + this.instances5.alice.encrypt64(761810509), + this.instances5.alice.encrypt64(74167544), ); - expect(res).to.equal(false); + expect(res).to.equal(835978053); }); - it('test operator "le" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(3), - this.instances5.alice.encrypt8(3), + it('test operator "add" overload (euint64, euint64) => euint64 test 2 (74167540, 74167544)', async function () { + const res = await this.contract5.add_euint64_euint64( + this.instances5.alice.encrypt64(74167540), + this.instances5.alice.encrypt64(74167544), ); - expect(res).to.equal(true); + expect(res).to.equal(148335084); }); - it('test operator "le" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(50331651), - this.instances5.alice.encrypt8(3), + it('test operator "add" overload (euint64, euint64) => euint64 test 3 (74167544, 74167544)', async function () { + const res = await this.contract5.add_euint64_euint64( + this.instances5.alice.encrypt64(74167544), + this.instances5.alice.encrypt64(74167544), ); - expect(res).to.equal(false); + expect(res).to.equal(148335088); }); - it('test operator "le" overload (euint64, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(3), - this.instances5.alice.encrypt8(4), + it('test operator "add" overload (euint64, euint64) => euint64 test 4 (74167544, 74167540)', async function () { + const res = await this.contract5.add_euint64_euint64( + this.instances5.alice.encrypt64(74167544), + this.instances5.alice.encrypt64(74167540), ); - expect(res).to.equal(true); + expect(res).to.equal(148335084); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 1 (3, 3)', async function () { - const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(3), - this.instances5.alice.encrypt8(3), + it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (1450674385, 1450674385)', async function () { + const res = await this.contract5.sub_euint64_euint64( + this.instances5.alice.encrypt64(1450674385), + this.instances5.alice.encrypt64(1450674385), ); - expect(res).to.equal(false); + expect(res).to.equal(0); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 2 (50331651, 3)', async function () { - const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(50331651), - this.instances5.alice.encrypt8(3), + it('test operator "sub" overload (euint64, euint64) => euint64 test 2 (1450674385, 1450674381)', async function () { + const res = await this.contract5.sub_euint64_euint64( + this.instances5.alice.encrypt64(1450674385), + this.instances5.alice.encrypt64(1450674381), ); - expect(res).to.equal(false); + expect(res).to.equal(4); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 3 (3, 4)', async function () { - const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(3), - this.instances5.alice.encrypt8(4), + it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (278067877, 1869129475)', async function () { + const res = await this.contract5.mul_euint64_euint64( + this.instances5.alice.encrypt64(278067877), + this.instances5.alice.encrypt64(1869129475), ); - expect(res).to.equal(true); + expect(res).to.equal(519744864951374600); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 1 (3, 3)', async function () { - const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(3), - this.instances5.alice.encrypt8(3), + it('test operator "mul" overload (euint64, euint64) => euint64 test 2 (278067873, 278067877)', async function () { + const res = await this.contract5.mul_euint64_euint64( + this.instances5.alice.encrypt64(278067873), + this.instances5.alice.encrypt64(278067877), ); - expect(res).to.equal(3); + expect(res).to.equal(77321743107015620); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 2 (50331651, 3)', async function () { - const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(50331651), - this.instances5.alice.encrypt8(3), + it('test operator "mul" overload (euint64, euint64) => euint64 test 3 (278067877, 278067877)', async function () { + const res = await this.contract5.mul_euint64_euint64( + this.instances5.alice.encrypt64(278067877), + this.instances5.alice.encrypt64(278067877), ); - expect(res).to.equal(3); + expect(res).to.equal(77321744219287140); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 3 (3, 4)', async function () { - const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(3), - this.instances5.alice.encrypt8(4), + it('test operator "mul" overload (euint64, euint64) => euint64 test 4 (278067877, 278067873)', async function () { + const res = await this.contract5.mul_euint64_euint64( + this.instances5.alice.encrypt64(278067877), + this.instances5.alice.encrypt64(278067873), ); - expect(res).to.equal(3); + expect(res).to.equal(77321743107015620); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 1 (2, 3)', async function () { - const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(2), - this.instances5.alice.encrypt8(3), + it('test operator "and" overload (euint64, euint64) => euint64 test 1 (1294685955, 55045679)', async function () { + const res = await this.contract5.and_euint64_euint64( + this.instances5.alice.encrypt64(1294685955), + this.instances5.alice.encrypt64(55045679), ); - expect(res).to.equal(3); + expect(res).to.equal(16991747); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 2 (50331651, 3)', async function () { - const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(50331651), - this.instances5.alice.encrypt8(3), + it('test operator "and" overload (euint64, euint64) => euint64 test 2 (55045675, 55045679)', async function () { + const res = await this.contract5.and_euint64_euint64( + this.instances5.alice.encrypt64(55045675), + this.instances5.alice.encrypt64(55045679), ); - expect(res).to.equal(50331651); + expect(res).to.equal(55045675); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 3 (3, 4)', async function () { - const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(3), - this.instances5.alice.encrypt8(4), + it('test operator "and" overload (euint64, euint64) => euint64 test 3 (55045679, 55045679)', async function () { + const res = await this.contract5.and_euint64_euint64( + this.instances5.alice.encrypt64(55045679), + this.instances5.alice.encrypt64(55045679), ); - expect(res).to.equal(4); + expect(res).to.equal(55045679); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(50335779), - this.instances5.alice.encrypt16(4099), + it('test operator "and" overload (euint64, euint64) => euint64 test 4 (55045679, 55045675)', async function () { + const res = await this.contract5.and_euint64_euint64( + this.instances5.alice.encrypt64(55045679), + this.instances5.alice.encrypt64(55045675), ); - expect(res).to.equal(50339878); + expect(res).to.equal(55045675); }); - it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract5.sub_euint64_euint16( - this.instances5.alice.encrypt64(50335779), - this.instances5.alice.encrypt16(4099), + it('test operator "or" overload (euint64, euint64) => euint64 test 1 (1405387766, 1463413902)', async function () { + const res = await this.contract5.or_euint64_euint64( + this.instances5.alice.encrypt64(1405387766), + this.instances5.alice.encrypt64(1463413902), ); - expect(res).to.equal(50331680); + expect(res).to.equal(1476259838); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (50335779, 3)', async function () { - const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(50335779), - this.instances5.alice.encrypt16(3), + it('test operator "or" overload (euint64, euint64) => euint64 test 2 (1405387762, 1405387766)', async function () { + const res = await this.contract5.or_euint64_euint64( + this.instances5.alice.encrypt64(1405387762), + this.instances5.alice.encrypt64(1405387766), ); - expect(res).to.equal(151007337); + expect(res).to.equal(1405387766); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 1 (50335776, 3)', async function () { - const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(50335776), - this.instances5.alice.encrypt16(3), + it('test operator "or" overload (euint64, euint64) => euint64 test 3 (1405387766, 1405387766)', async function () { + const res = await this.contract5.or_euint64_euint64( + this.instances5.alice.encrypt64(1405387766), + this.instances5.alice.encrypt64(1405387766), ); - expect(res).to.equal(0); + expect(res).to.equal(1405387766); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 2 (50335779, 4099)', async function () { - const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(50335779), - this.instances5.alice.encrypt16(4099), + it('test operator "or" overload (euint64, euint64) => euint64 test 4 (1405387766, 1405387762)', async function () { + const res = await this.contract5.or_euint64_euint64( + this.instances5.alice.encrypt64(1405387766), + this.instances5.alice.encrypt64(1405387762), ); - expect(res).to.equal(4099); + expect(res).to.equal(1405387766); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 1 (50331680, 4099)', async function () { - const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(50331680), - this.instances5.alice.encrypt16(4099), + it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (1032596672, 34433579)', async function () { + const res = await this.contract5.xor_euint64_euint64( + this.instances5.alice.encrypt64(1032596672), + this.instances5.alice.encrypt64(34433579), ); - expect(res).to.equal(50335779); + expect(res).to.equal(1065436907); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 2 (50331683, 4099)', async function () { - const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(50331683), - this.instances5.alice.encrypt16(4099), + it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (34433575, 34433579)', async function () { + const res = await this.contract5.xor_euint64_euint64( + this.instances5.alice.encrypt64(34433575), + this.instances5.alice.encrypt64(34433579), ); - expect(res).to.equal(50335779); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (50331683, 4099)', async function () { - const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(50331683), - this.instances5.alice.encrypt16(4099), + it('test operator "xor" overload (euint64, euint64) => euint64 test 3 (34433579, 34433579)', async function () { + const res = await this.contract5.xor_euint64_euint64( + this.instances5.alice.encrypt64(34433579), + this.instances5.alice.encrypt64(34433579), ); - expect(res).to.equal(50335776); + expect(res).to.equal(0); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4096), + it('test operator "xor" overload (euint64, euint64) => euint64 test 4 (34433579, 34433575)', async function () { + const res = await this.contract5.xor_euint64_euint64( + this.instances5.alice.encrypt64(34433579), + this.instances5.alice.encrypt64(34433575), ); - expect(res).to.equal(true); + expect(res).to.equal(12); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt16(4096), + it('test operator "eq" overload (euint64, euint64) => ebool test 1 (2078992513, 1060802657)', async function () { + const res = await this.contract5.eq_euint64_euint64( + this.instances5.alice.encrypt64(2078992513), + this.instances5.alice.encrypt64(1060802657), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4096), + it('test operator "eq" overload (euint64, euint64) => ebool test 2 (1060802653, 1060802657)', async function () { + const res = await this.contract5.eq_euint64_euint64( + this.instances5.alice.encrypt64(1060802653), + this.instances5.alice.encrypt64(1060802657), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt16(4096), + it('test operator "eq" overload (euint64, euint64) => ebool test 3 (1060802657, 1060802657)', async function () { + const res = await this.contract5.eq_euint64_euint64( + this.instances5.alice.encrypt64(1060802657), + this.instances5.alice.encrypt64(1060802657), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4096), + it('test operator "eq" overload (euint64, euint64) => ebool test 4 (1060802657, 1060802653)', async function () { + const res = await this.contract5.eq_euint64_euint64( + this.instances5.alice.encrypt64(1060802657), + this.instances5.alice.encrypt64(1060802653), + ); + expect(res).to.equal(false); + }); + + it('test operator "ne" overload (euint64, euint64) => ebool test 1 (1037057063, 451065562)', async function () { + const res = await this.contract5.ne_euint64_euint64( + this.instances5.alice.encrypt64(1037057063), + this.instances5.alice.encrypt64(451065562), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt16(4096), + it('test operator "ne" overload (euint64, euint64) => ebool test 2 (451065558, 451065562)', async function () { + const res = await this.contract5.ne_euint64_euint64( + this.instances5.alice.encrypt64(451065558), + this.instances5.alice.encrypt64(451065562), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4097), + it('test operator "ne" overload (euint64, euint64) => ebool test 3 (451065562, 451065562)', async function () { + const res = await this.contract5.ne_euint64_euint64( + this.instances5.alice.encrypt64(451065562), + this.instances5.alice.encrypt64(451065562), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4096), + it('test operator "ne" overload (euint64, euint64) => ebool test 4 (451065562, 451065558)', async function () { + const res = await this.contract5.ne_euint64_euint64( + this.instances5.alice.encrypt64(451065562), + this.instances5.alice.encrypt64(451065558), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt16(4096), + it('test operator "ge" overload (euint64, euint64) => ebool test 1 (1885602752, 1033076257)', async function () { + const res = await this.contract5.ge_euint64_euint64( + this.instances5.alice.encrypt64(1885602752), + this.instances5.alice.encrypt64(1033076257), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4097), + it('test operator "ge" overload (euint64, euint64) => ebool test 2 (1033076253, 1033076257)', async function () { + const res = await this.contract5.ge_euint64_euint64( + this.instances5.alice.encrypt64(1033076253), + this.instances5.alice.encrypt64(1033076257), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4096), + it('test operator "ge" overload (euint64, euint64) => ebool test 3 (1033076257, 1033076257)', async function () { + const res = await this.contract5.ge_euint64_euint64( + this.instances5.alice.encrypt64(1033076257), + this.instances5.alice.encrypt64(1033076257), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt16(4096), + it('test operator "ge" overload (euint64, euint64) => ebool test 4 (1033076257, 1033076253)', async function () { + const res = await this.contract5.ge_euint64_euint64( + this.instances5.alice.encrypt64(1033076257), + this.instances5.alice.encrypt64(1033076253), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4097), + it('test operator "gt" overload (euint64, euint64) => ebool test 1 (307981806, 618210327)', async function () { + const res = await this.contract5.gt_euint64_euint64( + this.instances5.alice.encrypt64(307981806), + this.instances5.alice.encrypt64(618210327), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4096), + it('test operator "gt" overload (euint64, euint64) => ebool test 2 (307981802, 307981806)', async function () { + const res = await this.contract5.gt_euint64_euint64( + this.instances5.alice.encrypt64(307981802), + this.instances5.alice.encrypt64(307981806), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt16(4096), + it('test operator "gt" overload (euint64, euint64) => ebool test 3 (307981806, 307981806)', async function () { + const res = await this.contract5.gt_euint64_euint64( + this.instances5.alice.encrypt64(307981806), + this.instances5.alice.encrypt64(307981806), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4097), + it('test operator "gt" overload (euint64, euint64) => ebool test 4 (307981806, 307981802)', async function () { + const res = await this.contract5.gt_euint64_euint64( + this.instances5.alice.encrypt64(307981806), + this.instances5.alice.encrypt64(307981802), ); expect(res).to.equal(true); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4096), + it('test operator "le" overload (euint64, euint64) => ebool test 1 (2018662588, 1848670692)', async function () { + const res = await this.contract5.le_euint64_euint64( + this.instances5.alice.encrypt64(2018662588), + this.instances5.alice.encrypt64(1848670692), ); - expect(res).to.equal(4096); + expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt16(4096), + it('test operator "le" overload (euint64, euint64) => ebool test 2 (1848670688, 1848670692)', async function () { + const res = await this.contract5.le_euint64_euint64( + this.instances5.alice.encrypt64(1848670688), + this.instances5.alice.encrypt64(1848670692), ); - expect(res).to.equal(4096); + expect(res).to.equal(true); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4097), + it('test operator "le" overload (euint64, euint64) => ebool test 3 (1848670692, 1848670692)', async function () { + const res = await this.contract5.le_euint64_euint64( + this.instances5.alice.encrypt64(1848670692), + this.instances5.alice.encrypt64(1848670692), ); - expect(res).to.equal(4096); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4096), + it('test operator "le" overload (euint64, euint64) => ebool test 4 (1848670692, 1848670688)', async function () { + const res = await this.contract5.le_euint64_euint64( + this.instances5.alice.encrypt64(1848670692), + this.instances5.alice.encrypt64(1848670688), ); - expect(res).to.equal(4096); + expect(res).to.equal(false); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt16(4096), + it('test operator "lt" overload (euint64, euint64) => ebool test 1 (102600113, 1772405733)', async function () { + const res = await this.contract5.lt_euint64_euint64( + this.instances5.alice.encrypt64(102600113), + this.instances5.alice.encrypt64(1772405733), ); - expect(res).to.equal(16781312); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt16(4097), + it('test operator "lt" overload (euint64, euint64) => ebool test 2 (102600109, 102600113)', async function () { + const res = await this.contract5.lt_euint64_euint64( + this.instances5.alice.encrypt64(102600109), + this.instances5.alice.encrypt64(102600113), ); - expect(res).to.equal(4097); + expect(res).to.equal(true); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(50335779), - this.instances5.alice.encrypt32(4099), + it('test operator "lt" overload (euint64, euint64) => ebool test 3 (102600113, 102600113)', async function () { + const res = await this.contract5.lt_euint64_euint64( + this.instances5.alice.encrypt64(102600113), + this.instances5.alice.encrypt64(102600113), ); - expect(res).to.equal(50339878); + expect(res).to.equal(false); }); - it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (50335779, 4099)', async function () { - const res = await this.contract5.sub_euint64_euint32( - this.instances5.alice.encrypt64(50335779), - this.instances5.alice.encrypt32(4099), + it('test operator "lt" overload (euint64, euint64) => ebool test 4 (102600113, 102600109)', async function () { + const res = await this.contract5.lt_euint64_euint64( + this.instances5.alice.encrypt64(102600113), + this.instances5.alice.encrypt64(102600109), ); - expect(res).to.equal(50331680); + expect(res).to.equal(false); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (50335779, 3)', async function () { - const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(50335779), - this.instances5.alice.encrypt32(3), + it('test operator "min" overload (euint64, euint64) => euint64 test 1 (1933734274, 484998270)', async function () { + const res = await this.contract5.min_euint64_euint64( + this.instances5.alice.encrypt64(1933734274), + this.instances5.alice.encrypt64(484998270), ); - expect(res).to.equal(151007337); + expect(res).to.equal(484998270); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 1 (50335776, 3)', async function () { - const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(50335776), - this.instances5.alice.encrypt32(3), + it('test operator "min" overload (euint64, euint64) => euint64 test 2 (484998266, 484998270)', async function () { + const res = await this.contract5.min_euint64_euint64( + this.instances5.alice.encrypt64(484998266), + this.instances5.alice.encrypt64(484998270), ); - expect(res).to.equal(0); + expect(res).to.equal(484998266); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 2 (50335779, 4099)', async function () { - const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(50335779), - this.instances5.alice.encrypt32(4099), + it('test operator "min" overload (euint64, euint64) => euint64 test 3 (484998270, 484998270)', async function () { + const res = await this.contract5.min_euint64_euint64( + this.instances5.alice.encrypt64(484998270), + this.instances5.alice.encrypt64(484998270), ); - expect(res).to.equal(4099); + expect(res).to.equal(484998270); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 1 (50331680, 4099)', async function () { - const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(50331680), - this.instances5.alice.encrypt32(4099), + it('test operator "min" overload (euint64, euint64) => euint64 test 4 (484998270, 484998266)', async function () { + const res = await this.contract5.min_euint64_euint64( + this.instances5.alice.encrypt64(484998270), + this.instances5.alice.encrypt64(484998266), ); - expect(res).to.equal(50335779); + expect(res).to.equal(484998266); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 2 (50331683, 4099)', async function () { - const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(50331683), - this.instances5.alice.encrypt32(4099), + it('test operator "max" overload (euint64, euint64) => euint64 test 1 (1943842367, 1448051868)', async function () { + const res = await this.contract5.max_euint64_euint64( + this.instances5.alice.encrypt64(1943842367), + this.instances5.alice.encrypt64(1448051868), ); - expect(res).to.equal(50335779); + expect(res).to.equal(1943842367); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (50331683, 4099)', async function () { - const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(50331683), - this.instances5.alice.encrypt32(4099), + it('test operator "max" overload (euint64, euint64) => euint64 test 2 (1448051864, 1448051868)', async function () { + const res = await this.contract5.max_euint64_euint64( + this.instances5.alice.encrypt64(1448051864), + this.instances5.alice.encrypt64(1448051868), ); - expect(res).to.equal(50335776); + expect(res).to.equal(1448051868); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4096), + it('test operator "max" overload (euint64, euint64) => euint64 test 3 (1448051868, 1448051868)', async function () { + const res = await this.contract5.max_euint64_euint64( + this.instances5.alice.encrypt64(1448051868), + this.instances5.alice.encrypt64(1448051868), ); - expect(res).to.equal(true); + expect(res).to.equal(1448051868); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt32(4096), + it('test operator "max" overload (euint64, euint64) => euint64 test 4 (1448051868, 1448051864)', async function () { + const res = await this.contract5.max_euint64_euint64( + this.instances5.alice.encrypt64(1448051868), + this.instances5.alice.encrypt64(1448051864), ); - expect(res).to.equal(false); + expect(res).to.equal(1448051868); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(false); + it('test operator "add" overload (euint64, uint64) => euint64 test 1 (761810509, 1968908307)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(761810509), 1968908307); + expect(res).to.equal(2730718816); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(true); + it('test operator "add" overload (euint64, uint64) => euint64 test 2 (74167540, 74167544)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(74167540), 74167544); + expect(res).to.equal(148335084); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(true); + it('test operator "add" overload (euint64, uint64) => euint64 test 3 (74167544, 74167544)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(74167544), 74167544); + expect(res).to.equal(148335088); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(true); + it('test operator "add" overload (euint64, uint64) => euint64 test 4 (74167544, 74167540)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(74167544), 74167540); + expect(res).to.equal(148335084); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4097), - ); - expect(res).to.equal(false); + it('test operator "add" overload (uint64, euint64) => euint64 test 1 (1954867210, 1968908307)', async function () { + const res = await this.contract5.add_uint64_euint64(1954867210, this.instances5.alice.encrypt64(1968908307)); + expect(res).to.equal(3923775517); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(false); + it('test operator "add" overload (uint64, euint64) => euint64 test 2 (74167540, 74167544)', async function () { + const res = await this.contract5.add_uint64_euint64(74167540, this.instances5.alice.encrypt64(74167544)); + expect(res).to.equal(148335084); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(true); + it('test operator "add" overload (uint64, euint64) => euint64 test 3 (74167544, 74167544)', async function () { + const res = await this.contract5.add_uint64_euint64(74167544, this.instances5.alice.encrypt64(74167544)); + expect(res).to.equal(148335088); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4097), - ); - expect(res).to.equal(false); + it('test operator "add" overload (uint64, euint64) => euint64 test 4 (74167544, 74167540)', async function () { + const res = await this.contract5.add_uint64_euint64(74167544, this.instances5.alice.encrypt64(74167540)); + expect(res).to.equal(148335084); }); - it('test operator "le" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(true); + it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (1450674385, 1450674385)', async function () { + const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(1450674385), 1450674385); + expect(res).to.equal(0); }); - it('test operator "le" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(false); + it('test operator "sub" overload (euint64, uint64) => euint64 test 2 (1450674385, 1450674381)', async function () { + const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(1450674385), 1450674381); + expect(res).to.equal(4); }); - it('test operator "le" overload (euint64, euint32) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4097), - ); - expect(res).to.equal(true); + it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (1450674385, 1450674385)', async function () { + const res = await this.contract5.sub_uint64_euint64(1450674385, this.instances5.alice.encrypt64(1450674385)); + expect(res).to.equal(0); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 1 (4096, 4096)', async function () { - const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(false); + it('test operator "sub" overload (uint64, euint64) => euint64 test 2 (1450674385, 1450674381)', async function () { + const res = await this.contract5.sub_uint64_euint64(1450674385, this.instances5.alice.encrypt64(1450674381)); + expect(res).to.equal(4); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 2 (16781312, 4096)', async function () { - const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(false); + it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (278067877, 45641442)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(278067877), 45641442); + expect(res).to.equal(12691418880158634); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 3 (4096, 4097)', async function () { - const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4097), - ); - expect(res).to.equal(true); + it('test operator "mul" overload (euint64, uint64) => euint64 test 2 (278067873, 278067877)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(278067873), 278067877); + expect(res).to.equal(77321743107015620); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(4096); + it('test operator "mul" overload (euint64, uint64) => euint64 test 3 (278067877, 278067877)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(278067877), 278067877); + expect(res).to.equal(77321744219287140); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(4096); + it('test operator "mul" overload (euint64, uint64) => euint64 test 4 (278067877, 278067873)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(278067877), 278067873); + expect(res).to.equal(77321743107015620); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4097), - ); - expect(res).to.equal(4096); + it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (1066035620, 45641442)', async function () { + const res = await this.contract5.mul_uint64_euint64(1066035620, this.instances5.alice.encrypt64(45641442)); + expect(res).to.equal(48655402920164040); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 1 (4096, 4096)', async function () { - const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(4096); + it('test operator "mul" overload (uint64, euint64) => euint64 test 2 (278067873, 278067877)', async function () { + const res = await this.contract5.mul_uint64_euint64(278067873, this.instances5.alice.encrypt64(278067877)); + expect(res).to.equal(77321743107015620); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 2 (16781312, 4096)', async function () { - const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(16781312), - this.instances5.alice.encrypt32(4096), - ); - expect(res).to.equal(16781312); + it('test operator "mul" overload (uint64, euint64) => euint64 test 3 (278067877, 278067877)', async function () { + const res = await this.contract5.mul_uint64_euint64(278067877, this.instances5.alice.encrypt64(278067877)); + expect(res).to.equal(77321744219287140); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 3 (4096, 4097)', async function () { - const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(4096), - this.instances5.alice.encrypt32(4097), - ); - expect(res).to.equal(4097); + it('test operator "mul" overload (uint64, euint64) => euint64 test 4 (278067877, 278067873)', async function () { + const res = await this.contract5.mul_uint64_euint64(278067877, this.instances5.alice.encrypt64(278067873)); + expect(res).to.equal(77321743107015620); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 1 (3280896, 1118208)', async function () { - const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(1118208), - ); - expect(res).to.equal(4399104); + it('test operator "div" overload (euint64, uint64) => euint64 test 1 (1965907341, 1364383301)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(1965907341), 1364383301); + expect(res).to.equal(1); }); - it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (3280896, 1118208)', async function () { - const res = await this.contract5.sub_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(1118208), - ); - expect(res).to.equal(2162688); + it('test operator "div" overload (euint64, uint64) => euint64 test 2 (16210309, 16210313)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(16210309), 16210313); + expect(res).to.equal(0); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (3280896, 32)', async function () { - const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(32), - ); - expect(res).to.equal(104988672); + it('test operator "div" overload (euint64, uint64) => euint64 test 3 (16210313, 16210313)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(16210313), 16210313); + expect(res).to.equal(1); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(1409286144), - ); - expect(res).to.equal(0); + it('test operator "div" overload (euint64, uint64) => euint64 test 4 (16210313, 16210309)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(16210313), 16210309); + expect(res).to.equal(1); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(1409482752), - ); - expect(res).to.equal(131072); + it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (1066501377, 1975528768)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(1066501377), 1975528768); + expect(res).to.equal(1066501377); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(1409286144), - ); - expect(res).to.equal(1412567040); + it('test operator "rem" overload (euint64, uint64) => euint64 test 2 (1066501373, 1066501377)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(1066501373), 1066501377); + expect(res).to.equal(1066501373); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(1409482752), - ); - expect(res).to.equal(1412632576); + it('test operator "rem" overload (euint64, uint64) => euint64 test 3 (1066501377, 1066501377)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(1066501377), 1066501377); + expect(res).to.equal(0); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (3280896, 1409286144)', async function () { - const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(1409286144), - ); - expect(res).to.equal(1412567040); + it('test operator "rem" overload (euint64, uint64) => euint64 test 4 (1066501377, 1066501373)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(1066501377), 1066501373); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (3280896, 1409482752)', async function () { - const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(1409482752), - ); - expect(res).to.equal(1412501504); + it('test operator "eq" overload (euint64, uint64) => ebool test 1 (2078992513, 415471663)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(2078992513), 415471663); + expect(res).to.equal(false); + }); + + it('test operator "eq" overload (euint64, uint64) => ebool test 2 (1060802653, 1060802657)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1060802653), 1060802657); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280896), - ); + it('test operator "eq" overload (euint64, uint64) => ebool test 3 (1060802657, 1060802657)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1060802657), 1060802657); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280897), - ); + it('test operator "eq" overload (euint64, uint64) => ebool test 4 (1060802657, 1060802653)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1060802657), 1060802653); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280896), - ); + it('test operator "eq" overload (uint64, euint64) => ebool test 1 (810072111, 415471663)', async function () { + const res = await this.contract5.eq_uint64_euint64(810072111, this.instances5.alice.encrypt64(415471663)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280897), - ); - expect(res).to.equal(true); + it('test operator "eq" overload (uint64, euint64) => ebool test 2 (1060802653, 1060802657)', async function () { + const res = await this.contract5.eq_uint64_euint64(1060802653, this.instances5.alice.encrypt64(1060802657)); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280896), - ); + it('test operator "eq" overload (uint64, euint64) => ebool test 3 (1060802657, 1060802657)', async function () { + const res = await this.contract5.eq_uint64_euint64(1060802657, this.instances5.alice.encrypt64(1060802657)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280897), - ); + it('test operator "eq" overload (uint64, euint64) => ebool test 4 (1060802657, 1060802653)', async function () { + const res = await this.contract5.eq_uint64_euint64(1060802657, this.instances5.alice.encrypt64(1060802653)); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280895), - ); + it('test operator "ne" overload (euint64, uint64) => ebool test 1 (1037057063, 1794841801)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(1037057063), 1794841801); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280896), - ); - expect(res).to.equal(false); + it('test operator "ne" overload (euint64, uint64) => ebool test 2 (451065558, 451065562)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(451065558), 451065562); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280897), - ); + it('test operator "ne" overload (euint64, uint64) => ebool test 3 (451065562, 451065562)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(451065562), 451065562); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280895), - ); + it('test operator "ne" overload (euint64, uint64) => ebool test 4 (451065562, 451065558)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(451065562), 451065558); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280896), - ); + it('test operator "ne" overload (uint64, euint64) => ebool test 1 (1447708235, 1794841801)', async function () { + const res = await this.contract5.ne_uint64_euint64(1447708235, this.instances5.alice.encrypt64(1794841801)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280897), - ); + it('test operator "ne" overload (uint64, euint64) => ebool test 2 (451065558, 451065562)', async function () { + const res = await this.contract5.ne_uint64_euint64(451065558, this.instances5.alice.encrypt64(451065562)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280895), - ); + it('test operator "ne" overload (uint64, euint64) => ebool test 3 (451065562, 451065562)', async function () { + const res = await this.contract5.ne_uint64_euint64(451065562, this.instances5.alice.encrypt64(451065562)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 1 (3280896, 3280896)', async function () { - const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280896), - ); - expect(res).to.equal(false); + it('test operator "ne" overload (uint64, euint64) => ebool test 4 (451065562, 451065558)', async function () { + const res = await this.contract5.ne_uint64_euint64(451065562, this.instances5.alice.encrypt64(451065558)); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 2 (3280896, 3280897)', async function () { - const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280897), - ); + it('test operator "ge" overload (euint64, uint64) => ebool test 1 (1885602752, 494320060)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(1885602752), 494320060); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 3 (3280896, 3280895)', async function () { - const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280895), - ); + it('test operator "ge" overload (euint64, uint64) => ebool test 2 (1033076253, 1033076257)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(1033076253), 1033076257); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 1 (3280896, 3280896)', async function () { - const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280896), - ); - expect(res).to.equal(3280896); - }); - - it('test operator "min" overload (euint64, euint64) => euint64 test 2 (3280896, 3280897)', async function () { - const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280897), - ); - expect(res).to.equal(3280896); + it('test operator "ge" overload (euint64, uint64) => ebool test 3 (1033076257, 1033076257)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(1033076257), 1033076257); + expect(res).to.equal(true); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 3 (3280896, 3280895)', async function () { - const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280895), - ); - expect(res).to.equal(3280895); + it('test operator "ge" overload (euint64, uint64) => ebool test 4 (1033076257, 1033076253)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(1033076257), 1033076253); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 1 (3280896, 3280896)', async function () { - const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280896), - ); - expect(res).to.equal(3280896); + it('test operator "ge" overload (uint64, euint64) => ebool test 1 (1544604409, 494320060)', async function () { + const res = await this.contract5.ge_uint64_euint64(1544604409, this.instances5.alice.encrypt64(494320060)); + expect(res).to.equal(true); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 2 (3280896, 3280897)', async function () { - const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280897), - ); - expect(res).to.equal(3280897); + it('test operator "ge" overload (uint64, euint64) => ebool test 2 (1033076253, 1033076257)', async function () { + const res = await this.contract5.ge_uint64_euint64(1033076253, this.instances5.alice.encrypt64(1033076257)); + expect(res).to.equal(false); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 3 (3280896, 3280895)', async function () { - const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(3280896), - this.instances5.alice.encrypt64(3280895), - ); - expect(res).to.equal(3280896); + it('test operator "ge" overload (uint64, euint64) => ebool test 3 (1033076257, 1033076257)', async function () { + const res = await this.contract5.ge_uint64_euint64(1033076257, this.instances5.alice.encrypt64(1033076257)); + expect(res).to.equal(true); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 1 (3416064, 3280896)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3280896); - expect(res).to.equal(6696960); + it('test operator "ge" overload (uint64, euint64) => ebool test 4 (1033076257, 1033076253)', async function () { + const res = await this.contract5.ge_uint64_euint64(1033076257, this.instances5.alice.encrypt64(1033076253)); + expect(res).to.equal(true); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 1 (3416064, 3280896)', async function () { - const res = await this.contract5.add_uint64_euint64(3416064, this.instances5.alice.encrypt64(3280896)); - expect(res).to.equal(6696960); + it('test operator "gt" overload (euint64, uint64) => ebool test 1 (307981806, 218365735)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(307981806), 218365735); + expect(res).to.equal(true); }); - it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (3416064, 3280896)', async function () { - const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3280896); - expect(res).to.equal(135168); + it('test operator "gt" overload (euint64, uint64) => ebool test 2 (307981802, 307981806)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(307981802), 307981806); + expect(res).to.equal(false); }); - it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (3416064, 3280896)', async function () { - const res = await this.contract5.sub_uint64_euint64(3416064, this.instances5.alice.encrypt64(3280896)); - expect(res).to.equal(135168); + it('test operator "gt" overload (euint64, uint64) => ebool test 3 (307981806, 307981806)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(307981806), 307981806); + expect(res).to.equal(false); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (3416064, 256)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(3416064), 256); - expect(res).to.equal(874512384); + it('test operator "gt" overload (euint64, uint64) => ebool test 4 (307981806, 307981802)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(307981806), 307981802); + expect(res).to.equal(true); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (3416064, 256)', async function () { - const res = await this.contract5.mul_uint64_euint64(3416064, this.instances5.alice.encrypt64(256)); - expect(res).to.equal(874512384); + it('test operator "gt" overload (uint64, euint64) => ebool test 1 (342213755, 218365735)', async function () { + const res = await this.contract5.gt_uint64_euint64(342213755, this.instances5.alice.encrypt64(218365735)); + expect(res).to.equal(true); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 1 (3416064, 256)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(3416064), 256); - expect(res).to.equal(13344); + it('test operator "gt" overload (uint64, euint64) => ebool test 2 (307981802, 307981806)', async function () { + const res = await this.contract5.gt_uint64_euint64(307981802, this.instances5.alice.encrypt64(307981806)); + expect(res).to.equal(false); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (3416121, 256)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(3416121), 256); - expect(res).to.equal(57); + it('test operator "gt" overload (uint64, euint64) => ebool test 3 (307981806, 307981806)', async function () { + const res = await this.contract5.gt_uint64_euint64(307981806, this.instances5.alice.encrypt64(307981806)); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); + it('test operator "gt" overload (uint64, euint64) => ebool test 4 (307981806, 307981802)', async function () { + const res = await this.contract5.gt_uint64_euint64(307981806, this.instances5.alice.encrypt64(307981802)); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); + it('test operator "le" overload (euint64, uint64) => ebool test 1 (2018662588, 32215999)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(2018662588), 32215999); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.eq_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); + it('test operator "le" overload (euint64, uint64) => ebool test 2 (1848670688, 1848670692)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(1848670688), 1848670692); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.eq_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); - expect(res).to.equal(false); + it('test operator "le" overload (euint64, uint64) => ebool test 3 (1848670692, 1848670692)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(1848670692), 1848670692); + expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); + it('test operator "le" overload (euint64, uint64) => ebool test 4 (1848670692, 1848670688)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(1848670692), 1848670688); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); - expect(res).to.equal(true); - }); - - it('test operator "ne" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.ne_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); + it('test operator "le" overload (uint64, euint64) => ebool test 1 (119652561, 32215999)', async function () { + const res = await this.contract5.le_uint64_euint64(119652561, this.instances5.alice.encrypt64(32215999)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.ne_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); + it('test operator "le" overload (uint64, euint64) => ebool test 2 (1848670688, 1848670692)', async function () { + const res = await this.contract5.le_uint64_euint64(1848670688, this.instances5.alice.encrypt64(1848670692)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); + it('test operator "le" overload (uint64, euint64) => ebool test 3 (1848670692, 1848670692)', async function () { + const res = await this.contract5.le_uint64_euint64(1848670692, this.instances5.alice.encrypt64(1848670692)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); + it('test operator "le" overload (uint64, euint64) => ebool test 4 (1848670692, 1848670688)', async function () { + const res = await this.contract5.le_uint64_euint64(1848670692, this.instances5.alice.encrypt64(1848670688)); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); + it('test operator "lt" overload (euint64, uint64) => ebool test 1 (102600113, 1945807436)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(102600113), 1945807436); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.ge_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); + it('test operator "lt" overload (euint64, uint64) => ebool test 2 (102600109, 102600113)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(102600109), 102600113); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.ge_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); + it('test operator "lt" overload (euint64, uint64) => ebool test 3 (102600113, 102600113)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(102600113), 102600113); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.ge_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); - expect(res).to.equal(true); - }); - - it('test operator "gt" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); + it('test operator "lt" overload (euint64, uint64) => ebool test 4 (102600113, 102600109)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(102600113), 102600109); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); - expect(res).to.equal(false); + it('test operator "lt" overload (uint64, euint64) => ebool test 1 (1582166407, 1945807436)', async function () { + const res = await this.contract5.lt_uint64_euint64(1582166407, this.instances5.alice.encrypt64(1945807436)); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); + it('test operator "lt" overload (uint64, euint64) => ebool test 2 (102600109, 102600113)', async function () { + const res = await this.contract5.lt_uint64_euint64(102600109, this.instances5.alice.encrypt64(102600113)); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.gt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); + it('test operator "lt" overload (uint64, euint64) => ebool test 3 (102600113, 102600113)', async function () { + const res = await this.contract5.lt_uint64_euint64(102600113, this.instances5.alice.encrypt64(102600113)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.gt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); + it('test operator "lt" overload (uint64, euint64) => ebool test 4 (102600113, 102600109)', async function () { + const res = await this.contract5.lt_uint64_euint64(102600113, this.instances5.alice.encrypt64(102600109)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.gt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); - expect(res).to.equal(true); + it('test operator "min" overload (euint64, uint64) => euint64 test 1 (1933734274, 2130607481)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(1933734274), 2130607481); + expect(res).to.equal(1933734274); }); - it('test operator "le" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); - expect(res).to.equal(true); + it('test operator "min" overload (euint64, uint64) => euint64 test 2 (484998266, 484998270)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(484998266), 484998270); + expect(res).to.equal(484998266); }); - it('test operator "le" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); - expect(res).to.equal(true); + it('test operator "min" overload (euint64, uint64) => euint64 test 3 (484998270, 484998270)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(484998270), 484998270); + expect(res).to.equal(484998270); }); - it('test operator "le" overload (euint64, uint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); - expect(res).to.equal(false); + it('test operator "min" overload (euint64, uint64) => euint64 test 4 (484998270, 484998266)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(484998270), 484998266); + expect(res).to.equal(484998266); }); - it('test operator "le" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.le_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); - expect(res).to.equal(true); + it('test operator "min" overload (uint64, euint64) => euint64 test 1 (1509813623, 2130607481)', async function () { + const res = await this.contract5.min_uint64_euint64(1509813623, this.instances5.alice.encrypt64(2130607481)); + expect(res).to.equal(1509813623); }); - it('test operator "le" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.le_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); - expect(res).to.equal(true); + it('test operator "min" overload (uint64, euint64) => euint64 test 2 (484998266, 484998270)', async function () { + const res = await this.contract5.min_uint64_euint64(484998266, this.instances5.alice.encrypt64(484998270)); + expect(res).to.equal(484998266); }); - it('test operator "le" overload (uint64, euint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.le_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); - expect(res).to.equal(false); + it('test operator "min" overload (uint64, euint64) => euint64 test 3 (484998270, 484998270)', async function () { + const res = await this.contract5.min_uint64_euint64(484998270, this.instances5.alice.encrypt64(484998270)); + expect(res).to.equal(484998270); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); - expect(res).to.equal(false); + it('test operator "min" overload (uint64, euint64) => euint64 test 4 (484998270, 484998266)', async function () { + const res = await this.contract5.min_uint64_euint64(484998270, this.instances5.alice.encrypt64(484998266)); + expect(res).to.equal(484998266); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); - expect(res).to.equal(true); + it('test operator "max" overload (euint64, uint64) => euint64 test 1 (1943842367, 447177064)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(1943842367), 447177064); + expect(res).to.equal(1943842367); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); - expect(res).to.equal(false); + it('test operator "max" overload (euint64, uint64) => euint64 test 2 (1448051864, 1448051868)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(1448051864), 1448051868); + expect(res).to.equal(1448051868); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.lt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); - expect(res).to.equal(false); + it('test operator "max" overload (euint64, uint64) => euint64 test 3 (1448051868, 1448051868)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(1448051868), 1448051868); + expect(res).to.equal(1448051868); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.lt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); - expect(res).to.equal(true); + it('test operator "max" overload (euint64, uint64) => euint64 test 4 (1448051868, 1448051864)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(1448051868), 1448051864); + expect(res).to.equal(1448051868); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.lt_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); - expect(res).to.equal(false); + it('test operator "max" overload (uint64, euint64) => euint64 test 1 (776673220, 447177064)', async function () { + const res = await this.contract5.max_uint64_euint64(776673220, this.instances5.alice.encrypt64(447177064)); + expect(res).to.equal(776673220); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); - expect(res).to.equal(3416064); + it('test operator "max" overload (uint64, euint64) => euint64 test 2 (1448051864, 1448051868)', async function () { + const res = await this.contract5.max_uint64_euint64(1448051864, this.instances5.alice.encrypt64(1448051868)); + expect(res).to.equal(1448051868); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); - expect(res).to.equal(3416064); + it('test operator "max" overload (uint64, euint64) => euint64 test 3 (1448051868, 1448051868)', async function () { + const res = await this.contract5.max_uint64_euint64(1448051868, this.instances5.alice.encrypt64(1448051868)); + expect(res).to.equal(1448051868); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); - expect(res).to.equal(3416063); + it('test operator "max" overload (uint64, euint64) => euint64 test 4 (1448051868, 1448051864)', async function () { + const res = await this.contract5.max_uint64_euint64(1448051868, this.instances5.alice.encrypt64(1448051864)); + expect(res).to.equal(1448051868); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.min_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); - expect(res).to.equal(3416064); + it('test operator "shl" overload (euint4, uint8) => euint4 test 1 (1, 9)', async function () { + const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(1), 9); + expect(res).to.equal(0); + }); + + it('test operator "shl" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(4), 8); + expect(res).to.equal(0); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.min_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); - expect(res).to.equal(3416064); + it('test operator "shl" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(8), 8); + expect(res).to.equal(0); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.min_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); - expect(res).to.equal(3416063); + it('test operator "shl" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(8), 4); + expect(res).to.equal(0); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416064); - expect(res).to.equal(3416064); + it('test operator "shr" overload (euint4, uint8) => euint4 test 1 (5, 7)', async function () { + const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(5), 7); + expect(res).to.equal(0); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416065); - expect(res).to.equal(3416065); + it('test operator "shr" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(4), 8); + expect(res).to.equal(0); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(3416064), 3416063); - expect(res).to.equal(3416064); + it('test operator "shr" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(8), 8); + expect(res).to.equal(0); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 1 (3416064, 3416064)', async function () { - const res = await this.contract5.max_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416064)); - expect(res).to.equal(3416064); + it('test operator "shr" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(8), 4); + expect(res).to.equal(0); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 2 (3416064, 3416065)', async function () { - const res = await this.contract5.max_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416065)); - expect(res).to.equal(3416065); + it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (15, 7)', async function () { + const res = await this.contract5.shl_euint8_euint8( + this.instances5.alice.encrypt8(15), + this.instances5.alice.encrypt8(7), + ); + expect(res).to.equal(0); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 3 (3416064, 3416063)', async function () { - const res = await this.contract5.max_uint64_euint64(3416064, this.instances5.alice.encrypt64(3416063)); - expect(res).to.equal(3416064); + it('test operator "shl" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract5.shl_euint8_euint8( + this.instances5.alice.encrypt8(4), + this.instances5.alice.encrypt8(8), + ); + expect(res).to.equal(0); }); - it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (2, 1)', async function () { + it('test operator "shl" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract5.shl_euint8_euint8( - this.instances5.alice.encrypt8(2), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt8(8), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(4); + expect(res).to.equal(0); }); - it('test operator "shl" overload (euint8, euint8) => euint8 test 2 (2, 4)', async function () { + it('test operator "shl" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract5.shl_euint8_euint8( - this.instances5.alice.encrypt8(2), + this.instances5.alice.encrypt8(8), this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(32); + expect(res).to.equal(0); + }); + + it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (15, 173)', async function () { + const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(15), 173); + expect(res).to.equal(0); }); - it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (16, 1)', async function () { - const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(16), 1); - expect(res).to.equal(32); + it('test operator "shl" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(4), 8); + expect(res).to.equal(0); + }); + + it('test operator "shl" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(8), 8); + expect(res).to.equal(0); }); - it('test operator "shl" overload (euint8, uint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(16), 2); - expect(res).to.equal(64); + it('test operator "shl" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(8), 4); + expect(res).to.equal(0); }); - it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (2, 1)', async function () { + it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (113, 7)', async function () { const res = await this.contract5.shr_euint8_euint8( - this.instances5.alice.encrypt8(2), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt8(113), + this.instances5.alice.encrypt8(7), ); - expect(res).to.equal(1); + expect(res).to.equal(0); }); - it('test operator "shr" overload (euint8, euint8) => euint8 test 2 (32, 4)', async function () { + it('test operator "shr" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract5.shr_euint8_euint8( - this.instances5.alice.encrypt8(32), this.instances5.alice.encrypt8(4), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(2); + expect(res).to.equal(0); }); - it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (16, 1)', async function () { - const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(16), 1); - expect(res).to.equal(8); + it('test operator "shr" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract5.shr_euint8_euint8( + this.instances5.alice.encrypt8(8), + this.instances5.alice.encrypt8(8), + ); + expect(res).to.equal(0); }); - it('test operator "shr" overload (euint8, uint8) => euint8 test 2 (16, 2)', async function () { - const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(16), 2); - expect(res).to.equal(4); + it('test operator "shr" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract5.shr_euint8_euint8( + this.instances5.alice.encrypt8(8), + this.instances5.alice.encrypt8(4), + ); + expect(res).to.equal(0); + }); + + it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (113, 128)', async function () { + const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(113), 128); + expect(res).to.equal(113); + }); + + it('test operator "shr" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(4), 8); + expect(res).to.equal(0); }); - it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (4112, 2)', async function () { + it('test operator "shr" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(8), 8); + expect(res).to.equal(0); + }); + + it('test operator "shr" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(8), 4); + expect(res).to.equal(0); + }); + + it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (470, 1)', async function () { const res = await this.contract5.shl_euint16_euint8( - this.instances5.alice.encrypt16(4112), - this.instances5.alice.encrypt8(2), + this.instances5.alice.encrypt16(470), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(16448); + expect(res).to.equal(235); }); - it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (4112, 2)', async function () { - const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(4112), 2); - expect(res).to.equal(16448); + it('test operator "shl" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract5.shl_euint16_euint8( + this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt8(8), + ); + expect(res).to.equal(0); }); - it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (4112, 2)', async function () { - const res = await this.contract5.shr_euint16_euint8( - this.instances5.alice.encrypt16(4112), - this.instances5.alice.encrypt8(2), + it('test operator "shl" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract5.shl_euint16_euint8( + this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(1028); + expect(res).to.equal(0); }); - it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (4112, 2)', async function () { - const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(4112), 2); - expect(res).to.equal(1028); + it('test operator "shl" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract5.shl_euint16_euint8( + this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt8(4), + ); + expect(res).to.equal(0); }); - it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract5.shl_euint32_euint8( - this.instances5.alice.encrypt32(50397184), - this.instances5.alice.encrypt8(3), - ); - expect(res).to.equal(403177472); + it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (60273, 120)', async function () { + const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(60273), 120); + expect(res).to.equal(0); }); - it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(50397184), 3); - expect(res).to.equal(403177472); + it('test operator "shl" overload (euint16, uint8) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(4), 8); + expect(res).to.equal(0); }); - it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract5.shr_euint32_euint8( - this.instances5.alice.encrypt32(50397184), - this.instances5.alice.encrypt8(3), - ); - expect(res).to.equal(6299648); + it('test operator "shl" overload (euint16, uint8) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(8), 8); + expect(res).to.equal(0); }); - it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (50397184, 3)', async function () { - const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(50397184), 3); - expect(res).to.equal(6299648); + it('test operator "shl" overload (euint16, uint8) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(8), 4); + expect(res).to.equal(0); }); - it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract5.shl_euint64_euint8( - this.instances5.alice.encrypt64(50397184), - this.instances5.alice.encrypt8(3), + it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (386, 1)', async function () { + const res = await this.contract5.shr_euint16_euint8( + this.instances5.alice.encrypt16(386), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(403177472); + expect(res).to.equal(193); }); - it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(50397184), 3); - expect(res).to.equal(403177472); + it('test operator "shr" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract5.shr_euint16_euint8( + this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt8(8), + ); + expect(res).to.equal(0); }); - it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract5.shr_euint64_euint8( - this.instances5.alice.encrypt64(50397184), - this.instances5.alice.encrypt8(3), + it('test operator "shr" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract5.shr_euint16_euint8( + this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(6299648); + expect(res).to.equal(0); }); - it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (50397184, 3)', async function () { - const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(50397184), 3); - expect(res).to.equal(6299648); + it('test operator "shr" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract5.shr_euint16_euint8( + this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt8(4), + ); + expect(res).to.equal(0); }); - it('test operator "neg" overload (euint8) => euint8 test 1 (1)', async function () { - const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(1)); - expect(res).to.equal(255); + it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (49490, 216)', async function () { + const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(49490), 216); + expect(res).to.equal(0); }); - it('test operator "neg" overload (euint8) => euint8 test 2 (2)', async function () { - const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(2)); - expect(res).to.equal(254); + it('test operator "shr" overload (euint16, uint8) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(4), 8); + expect(res).to.equal(0); }); - it('test operator "not" overload (euint8) => euint8 test 1 (3)', async function () { - const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(3)); - expect(res).to.equal(252); + it('test operator "shr" overload (euint16, uint8) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(8), 8); + expect(res).to.equal(0); }); - it('test operator "neg" overload (euint16) => euint16 test 1 (1)', async function () { - const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(1)); - expect(res).to.equal(65535); + it('test operator "shr" overload (euint16, uint8) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(8), 4); + expect(res).to.equal(0); }); - it('test operator "neg" overload (euint16) => euint16 test 2 (2)', async function () { - const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(2)); - expect(res).to.equal(65534); + it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (465, 1)', async function () { + const res = await this.contract5.shl_euint32_euint8( + this.instances5.alice.encrypt32(465), + this.instances5.alice.encrypt8(1), + ); + expect(res).to.equal(232); }); - it('test operator "not" overload (euint16) => euint16 test 1 (241)', async function () { - const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(241)); - expect(res).to.equal(65294); + it('test operator "shl" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract5.shl_euint32_euint8( + this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt8(8), + ); + expect(res).to.equal(0); }); - it('test operator "neg" overload (euint32) => euint32 test 1 (1)', async function () { - const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(1)); - expect(res).to.equal(4294967295); + it('test operator "shl" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract5.shl_euint32_euint8( + this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt8(8), + ); + expect(res).to.equal(0); }); - it('test operator "neg" overload (euint32) => euint32 test 2 (2)', async function () { - const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(2)); - expect(res).to.equal(4294967294); + it('test operator "shl" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract5.shl_euint32_euint8( + this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt8(4), + ); + expect(res).to.equal(0); }); - it('test operator "not" overload (euint32) => euint32 test 1 (65534)', async function () { - const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(65534)); - expect(res).to.equal(4294901761); + it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (465, 1)', async function () { + const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(465), 1); + expect(res).to.equal(232); }); - it('test operator "neg" overload (euint64) => euint64 test 1 (1)', async function () { - const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(1)); - expect(res).to.equal(18446744073709551615n); + it('test operator "shl" overload (euint32, uint8) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(4), 8); + expect(res).to.equal(0); }); - it('test operator "neg" overload (euint64) => euint64 test 2 (2)', async function () { - const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(2)); - expect(res).to.equal(18446744073709551614n); + it('test operator "shl" overload (euint32, uint8) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(8), 8); + expect(res).to.equal(0); }); - it('test operator "not" overload (euint64) => euint64 test 1 (65534)', async function () { - const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(65534)); - expect(res).to.equal(18446744073709486081n); + it('test operator "shl" overload (euint32, uint8) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(8), 4); + expect(res).to.equal(0); }); - it('test operator "bin_op_add" overload (euint8, euint8) => euint8 test 1 (3, 4)', async function () { - const res = await this.contract6.bin_op_add_euint8_euint8( - this.instances6.alice.encrypt8(3), - this.instances6.alice.encrypt8(4), + it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (315, 1)', async function () { + const res = await this.contract5.shr_euint32_euint8( + this.instances5.alice.encrypt32(315), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(7); + expect(res).to.equal(157); }); - it('test operator "bin_op_sub" overload (euint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract6.bin_op_sub_euint8_euint8( - this.instances6.alice.encrypt8(4), - this.instances6.alice.encrypt8(3), + it('test operator "shr" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract5.shr_euint32_euint8( + this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(1); + expect(res).to.equal(0); }); - it('test operator "bin_op_mul" overload (euint8, euint8) => euint8 test 1 (4, 3)', async function () { - const res = await this.contract6.bin_op_mul_euint8_euint8( - this.instances6.alice.encrypt8(4), - this.instances6.alice.encrypt8(3), + it('test operator "shr" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract5.shr_euint32_euint8( + this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(12); + expect(res).to.equal(0); }); - it('test operator "bin_op_and" overload (euint8, euint8) => euint8 test 1 (239, 240)', async function () { - const res = await this.contract6.bin_op_and_euint8_euint8( - this.instances6.alice.encrypt8(239), - this.instances6.alice.encrypt8(240), + it('test operator "shr" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract5.shr_euint32_euint8( + this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(224); + expect(res).to.equal(0); }); - it('test operator "bin_op_or" overload (euint8, euint8) => euint8 test 1 (239, 240)', async function () { - const res = await this.contract6.bin_op_or_euint8_euint8( - this.instances6.alice.encrypt8(239), - this.instances6.alice.encrypt8(240), - ); - expect(res).to.equal(255); + it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (315, 1)', async function () { + const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(315), 1); + expect(res).to.equal(157); }); - it('test operator "bin_op_xor" overload (euint8, euint8) => euint8 test 1 (239, 240)', async function () { - const res = await this.contract6.bin_op_xor_euint8_euint8( - this.instances6.alice.encrypt8(239), - this.instances6.alice.encrypt8(240), - ); - expect(res).to.equal(31); + it('test operator "shr" overload (euint32, uint8) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(4), 8); + expect(res).to.equal(0); }); - it('test operator "unary_op_neg" overload (euint8) => euint8 test 1 (2)', async function () { - const res = await this.contract6.unary_op_neg_euint8(this.instances6.alice.encrypt8(2)); - expect(res).to.equal(254); + it('test operator "shr" overload (euint32, uint8) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(8), 8); + expect(res).to.equal(0); }); - it('test operator "unary_op_not" overload (euint8) => euint8 test 1 (15)', async function () { - const res = await this.contract6.unary_op_not_euint8(this.instances6.alice.encrypt8(15)); - expect(res).to.equal(240); + it('test operator "shr" overload (euint32, uint8) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(8), 4); + expect(res).to.equal(0); }); - it('test operator "bin_op_add" overload (euint16, euint16) => euint16 test 1 (259, 516)', async function () { - const res = await this.contract6.bin_op_add_euint16_euint16( - this.instances6.alice.encrypt16(259), - this.instances6.alice.encrypt16(516), + it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (449, 1)', async function () { + const res = await this.contract5.shl_euint64_euint8( + this.instances5.alice.encrypt64(449), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(775); + expect(res).to.equal(224); }); - it('test operator "bin_op_sub" overload (euint16, euint16) => euint16 test 1 (516, 259)', async function () { - const res = await this.contract6.bin_op_sub_euint16_euint16( - this.instances6.alice.encrypt16(516), - this.instances6.alice.encrypt16(259), + it('test operator "shl" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract5.shl_euint64_euint8( + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(257); + expect(res).to.equal(0); }); - it('test operator "bin_op_mul" overload (euint16, euint16) => euint16 test 1 (260, 3)', async function () { - const res = await this.contract6.bin_op_mul_euint16_euint16( - this.instances6.alice.encrypt16(260), - this.instances6.alice.encrypt16(3), + it('test operator "shl" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract5.shl_euint64_euint8( + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(780); + expect(res).to.equal(0); }); - it('test operator "bin_op_and" overload (euint16, euint16) => euint16 test 1 (61423, 61680)', async function () { - const res = await this.contract6.bin_op_and_euint16_euint16( - this.instances6.alice.encrypt16(61423), - this.instances6.alice.encrypt16(61680), + it('test operator "shl" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract5.shl_euint64_euint8( + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(57568); + expect(res).to.equal(0); }); - it('test operator "bin_op_or" overload (euint16, euint16) => euint16 test 1 (61423, 496)', async function () { - const res = await this.contract6.bin_op_or_euint16_euint16( - this.instances6.alice.encrypt16(61423), - this.instances6.alice.encrypt16(496), - ); - expect(res).to.equal(61439); + it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (1886374881, 60)', async function () { + const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(1886374881), 60); + expect(res).to.equal(7); }); - it('test operator "bin_op_xor" overload (euint16, euint16) => euint16 test 1 (61423, 61680)', async function () { - const res = await this.contract6.bin_op_xor_euint16_euint16( - this.instances6.alice.encrypt16(61423), - this.instances6.alice.encrypt16(61680), - ); - expect(res).to.equal(7967); + it('test operator "shl" overload (euint64, uint8) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(4), 8); + expect(res).to.equal(0); }); - it('test operator "unary_op_neg" overload (euint16) => euint16 test 1 (3)', async function () { - const res = await this.contract6.unary_op_neg_euint16(this.instances6.alice.encrypt16(3)); - expect(res).to.equal(65533); + it('test operator "shl" overload (euint64, uint8) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(8), 8); + expect(res).to.equal(0); }); - it('test operator "unary_op_not" overload (euint16) => euint16 test 1 (3855)', async function () { - const res = await this.contract6.unary_op_not_euint16(this.instances6.alice.encrypt16(3855)); - expect(res).to.equal(61680); + it('test operator "shl" overload (euint64, uint8) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(8), 4); + expect(res).to.equal(0); }); - it('test operator "bin_op_add" overload (euint32, euint32) => euint32 test 1 (1048835, 4194820)', async function () { - const res = await this.contract6.bin_op_add_euint32_euint32( - this.instances6.alice.encrypt32(1048835), - this.instances6.alice.encrypt32(4194820), + it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (443, 1)', async function () { + const res = await this.contract5.shr_euint64_euint8( + this.instances5.alice.encrypt64(443), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(5243655); + expect(res).to.equal(221); }); - it('test operator "bin_op_sub" overload (euint32, euint32) => euint32 test 1 (2415919620, 1342177539)', async function () { - const res = await this.contract6.bin_op_sub_euint32_euint32( - this.instances6.alice.encrypt32(2415919620), - this.instances6.alice.encrypt32(1342177539), + it('test operator "shr" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract5.shr_euint64_euint8( + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(1073742081); + expect(res).to.equal(0); }); - it('test operator "bin_op_mul" overload (euint32, euint32) => euint32 test 1 (33554692, 3)', async function () { - const res = await this.contract6.bin_op_mul_euint32_euint32( - this.instances6.alice.encrypt32(33554692), - this.instances6.alice.encrypt32(3), + it('test operator "shr" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract5.shr_euint64_euint8( + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(100664076); + expect(res).to.equal(0); }); - it('test operator "bin_op_and" overload (euint32, euint32) => euint32 test 1 (4025479151, 4042322160)', async function () { - const res = await this.contract6.bin_op_and_euint32_euint32( - this.instances6.alice.encrypt32(4025479151), - this.instances6.alice.encrypt32(4042322160), + it('test operator "shr" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract5.shr_euint64_euint8( + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(3772834016); + expect(res).to.equal(0); }); - it('test operator "bin_op_or" overload (euint32, euint32) => euint32 test 1 (4025479151, 32506352)', async function () { - const res = await this.contract6.bin_op_or_euint32_euint32( - this.instances6.alice.encrypt32(4025479151), - this.instances6.alice.encrypt32(32506352), - ); - expect(res).to.equal(4026527743); + it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (29073964, 153)', async function () { + const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(29073964), 153); + expect(res).to.equal(0); }); - it('test operator "bin_op_xor" overload (euint32, euint32) => euint32 test 1 (4025479151, 4042322160)', async function () { - const res = await this.contract6.bin_op_xor_euint32_euint32( - this.instances6.alice.encrypt32(4025479151), - this.instances6.alice.encrypt32(4042322160), - ); - expect(res).to.equal(522133279); + it('test operator "shr" overload (euint64, uint8) => euint64 test 2 (4, 8)', async function () { + const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(4), 8); + expect(res).to.equal(0); }); - it('test operator "unary_op_neg" overload (euint32) => euint32 test 1 (4)', async function () { - const res = await this.contract6.unary_op_neg_euint32(this.instances6.alice.encrypt32(4)); - expect(res).to.equal(4294967292); + it('test operator "shr" overload (euint64, uint8) => euint64 test 3 (8, 8)', async function () { + const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(8), 8); + expect(res).to.equal(0); }); - it('test operator "unary_op_not" overload (euint32) => euint32 test 1 (252645135)', async function () { - const res = await this.contract6.unary_op_not_euint32(this.instances6.alice.encrypt32(252645135)); - expect(res).to.equal(4042322160); + it('test operator "shr" overload (euint64, uint8) => euint64 test 4 (8, 4)', async function () { + const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(8), 4); + expect(res).to.equal(0); }); - it('test operator "bin_op_add" overload (euint64, euint64) => euint64 test 1 (1048835, 4194820)', async function () { - const res = await this.contract6.bin_op_add_euint64_euint64( - this.instances6.alice.encrypt64(1048835), - this.instances6.alice.encrypt64(4194820), - ); - expect(res).to.equal(5243655); + it('test operator "neg" overload (euint4) => euint4 test 1 (10)', async function () { + const res = await this.contract5.neg_euint4(this.instances5.alice.encrypt4(10)); + expect(res).to.equal(5); }); - it('test operator "bin_op_sub" overload (euint64, euint64) => euint64 test 1 (2415919620, 1342177539)', async function () { - const res = await this.contract6.bin_op_sub_euint64_euint64( - this.instances6.alice.encrypt64(2415919620), - this.instances6.alice.encrypt64(1342177539), - ); - expect(res).to.equal(1073742081); + it('test operator "not" overload (euint4) => euint4 test 1 (2)', async function () { + const res = await this.contract5.not_euint4(this.instances5.alice.encrypt4(2)); + expect(res).to.equal(13); }); - it('test operator "bin_op_mul" overload (euint64, euint64) => euint64 test 1 (33554692, 3)', async function () { - const res = await this.contract6.bin_op_mul_euint64_euint64( - this.instances6.alice.encrypt64(33554692), - this.instances6.alice.encrypt64(3), - ); - expect(res).to.equal(100664076); + it('test operator "neg" overload (euint8) => euint8 test 1 (29)', async function () { + const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(29)); + expect(res).to.equal(226); }); - it('test operator "bin_op_and" overload (euint64, euint64) => euint64 test 1 (4025479151, 4042322160)', async function () { - const res = await this.contract6.bin_op_and_euint64_euint64( - this.instances6.alice.encrypt64(4025479151), - this.instances6.alice.encrypt64(4042322160), - ); - expect(res).to.equal(3772834016); + it('test operator "not" overload (euint8) => euint8 test 1 (151)', async function () { + const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(151)); + expect(res).to.equal(104); }); - it('test operator "bin_op_or" overload (euint64, euint64) => euint64 test 1 (4025479151, 32506352)', async function () { - const res = await this.contract6.bin_op_or_euint64_euint64( - this.instances6.alice.encrypt64(4025479151), - this.instances6.alice.encrypt64(32506352), - ); - expect(res).to.equal(4026527743); + it('test operator "neg" overload (euint16) => euint16 test 1 (55816)', async function () { + const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(55816)); + expect(res).to.equal(9719); }); - it('test operator "bin_op_xor" overload (euint64, euint64) => euint64 test 1 (4025479151, 4042322160)', async function () { - const res = await this.contract6.bin_op_xor_euint64_euint64( - this.instances6.alice.encrypt64(4025479151), - this.instances6.alice.encrypt64(4042322160), - ); - expect(res).to.equal(522133279); + it('test operator "not" overload (euint16) => euint16 test 1 (58147)', async function () { + const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(58147)); + expect(res).to.equal(7388); + }); + + it('test operator "neg" overload (euint32) => euint32 test 1 (384529386)', async function () { + const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(384529386)); + expect(res).to.equal(1762954261); + }); + + it('test operator "not" overload (euint32) => euint32 test 1 (1014323468)', async function () { + const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(1014323468)); + expect(res).to.equal(1133160179); }); - it('test operator "unary_op_neg" overload (euint64) => euint64 test 1 (4)', async function () { - const res = await this.contract6.unary_op_neg_euint64(this.instances6.alice.encrypt64(4)); - expect(res).to.equal(18446744073709551612n); + it('test operator "neg" overload (euint64) => euint64 test 1 (2136222472)', async function () { + const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(2136222472)); + expect(res).to.equal(11261175); }); - it('test operator "unary_op_not" overload (euint64) => euint64 test 1 (252645135)', async function () { - const res = await this.contract6.unary_op_not_euint64(this.instances6.alice.encrypt64(252645135)); - expect(res).to.equal(18446744073456906480n); + it('test operator "not" overload (euint64) => euint64 test 1 (566602200)', async function () { + const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(566602200)); + expect(res).to.equal(1580881447); }); }); From c75594016fb6723b8871faf78a048351dbe8bf9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Thu, 29 Feb 2024 16:27:31 +0100 Subject: [PATCH 07/12] fix: fix all tests --- codegen/generateOverloads.ts | 153 +- codegen/overloadTests.ts | 11 +- codegen/overloads.json | 3248 ++++---- codegen/testgen.ts | 1 - test/tfheOperations/tfheOperations.ts | 10360 ++++++++++++------------ 5 files changed, 6915 insertions(+), 6858 deletions(-) diff --git a/codegen/generateOverloads.ts b/codegen/generateOverloads.ts index f5675279..f0bbf5ea 100644 --- a/codegen/generateOverloads.ts +++ b/codegen/generateOverloads.ts @@ -1,6 +1,6 @@ type Test = { inputs: number[]; - output: number | boolean; + output: number | boolean | bigint; }; type SupportedFunctions = { @@ -9,7 +9,7 @@ type SupportedFunctions = { type SupportedFunctionParams = { supportedBits: number[]; - scalarSameType?: boolean; + safeMin?: boolean; noScalar?: boolean; lhsHigher?: boolean; scalarOnly?: boolean; @@ -20,127 +20,176 @@ type SupportedFunction = SupportedFunctionParams & ( | { unary?: false; - evalTest: (lhs: number, rhs: number) => number | boolean; + evalTest: (lhsNumber: number, rhsNumber: number, lhs: number, rhs: number) => number | boolean | bigint; } | { unary: true; - evalTest: (lhs: number, bits: number) => number | boolean; + evalTest: (lhs: number, bits: number) => number | boolean | bigint; } ); -export const SUPPORTED_UINT = [8, 16, 32, 64, 128, 256]; -export const SUPPORTED_BITS = [4, 8, 16, 32, 64]; +(BigInt as any).prototype['toJSON'] = function () { + return this.toString(); +}; + +const SUPPORTED_UINT = [8, 16, 32, 64, 128, 256]; +const SUPPORTED_BITS = [4, 8, 16, 32, 64]; const generateNumber = (bits: number) => { - return Math.max(Math.floor(Math.random() * (Math.pow(2, Math.min(bits, 31)) - 1)), 1); + return Math.max(Math.floor(Math.random() * (Math.pow(2, Math.min(bits, 28)) - 1)), 1); }; -const safeEval = (fn: (lhs: number, rhs: number) => number | boolean, lhs: number, rhs: number, bits: number) => { - let result = fn(lhs, rhs); +const safeEval = ( + fn: (lhsNumber: number, rhsNumber: number, lhs: number, rhs: number) => number | boolean | bigint, + lhsNumber: number, + rhsNumber: number, + lhs: number, + rhs: number, + safeMin: boolean = false, +) => { + const bitResults = safeMin ? Math.min(lhs, rhs) : Math.max(lhs, rhs); + let result = fn(lhsNumber, rhsNumber, lhs, rhs); const logs: any[] = []; if (typeof result === 'number') { - while ((result as number) > Math.pow(2, bits) - 1) { - lhs = Math.max(Math.floor(lhs / 2), 1); - rhs = Math.max(Math.floor(rhs / 2), 1); - result = fn(lhs, rhs); - logs.push([lhs, rhs, result]); + while ((result as number) > Math.pow(2, bitResults) - 1) { + lhsNumber = Math.max(Math.floor(lhsNumber / 2), 1); + rhsNumber = Math.max(Math.floor(rhsNumber / 2), 1); + result = fn(lhsNumber, rhsNumber, lhs, rhs); + logs.push([lhsNumber, rhsNumber, result]); } } - return { inputs: [lhs, rhs], output: result }; + return { inputs: [lhsNumber, rhsNumber], output: result }; }; export const SUPPORTED_FUNCTIONS: SupportedFunctions = { add: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => lhs + rhs, + safeMin: true, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber + rhsNumber, }, sub: { supportedBits: SUPPORTED_BITS, lhsHigher: true, - evalTest: (lhs: number, rhs: number) => lhs - rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber - rhsNumber, }, mul: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => lhs * rhs, + safeMin: true, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber * rhsNumber, }, div: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => Math.floor(lhs / rhs), + evalTest: (lhsNumber: number, rhsNumber: number) => Math.floor(lhsNumber / rhsNumber), scalarOnly: true, }, rem: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => lhs % rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber % rhsNumber, scalarOnly: true, }, le: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => lhs <= rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber <= rhsNumber, }, lt: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => lhs < rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber < rhsNumber, }, ge: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => lhs >= rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber >= rhsNumber, }, gt: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => lhs > rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber > rhsNumber, }, eq: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => lhs === rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber === rhsNumber, }, ne: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => lhs !== rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber !== rhsNumber, }, shl: { supportedBits: SUPPORTED_BITS, limit: 'bits', - evalTest: (lhs: number, rhs: number) => lhs >> rhs, + evalTest: (lhsNumber: number, rhsNumber: number, lhs: number, rhs: number) => { + const bits = `${new Array(256).fill('0').join('')}${lhsNumber.toString(2)}`.slice(-lhs).split(''); + const r = bits.map((_, index) => { + const newIndex = index + (rhsNumber % lhs); + return newIndex >= bits.length ? '0' : bits[newIndex]; + }); + return parseInt(r.join(''), 2); + }, }, shr: { supportedBits: SUPPORTED_BITS, limit: 'bits', - evalTest: (lhs: number, rhs: number) => lhs >> rhs, + evalTest: (lhsNumber: number, rhsNumber: number, lhs: number, rhs: number) => { + const bits = `${new Array(256).fill('0').join('')}${lhsNumber.toString(2)}`.slice(-lhs).split(''); + const r = bits.map((_, index) => { + const newIndex = index - (rhsNumber % lhs); + return newIndex < 0 ? '0' : bits[newIndex]; + }); + return parseInt(r.join(''), 2); + }, }, max: { supportedBits: SUPPORTED_BITS, unary: false, - evalTest: (lhs: number, rhs: number) => (lhs > rhs ? lhs : rhs), + evalTest: (lhsNumber: number, rhsNumber: number) => (lhsNumber > rhsNumber ? lhsNumber : rhsNumber), }, min: { supportedBits: SUPPORTED_BITS, - evalTest: (lhs: number, rhs: number) => (lhs < rhs ? lhs : rhs), + evalTest: (lhsNumber: number, rhsNumber: number) => (lhsNumber < rhsNumber ? lhsNumber : rhsNumber), }, or: { supportedBits: SUPPORTED_BITS, - // scalarSameType: true, noScalar: true, - evalTest: (lhs: number, rhs: number) => lhs | rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber | rhsNumber, }, and: { supportedBits: SUPPORTED_BITS, noScalar: true, - evalTest: (lhs: number, rhs: number) => lhs & rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber & rhsNumber, }, xor: { supportedBits: SUPPORTED_BITS, noScalar: true, - evalTest: (lhs: number, rhs: number) => lhs ^ rhs, + evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber ^ rhsNumber, }, not: { supportedBits: SUPPORTED_BITS, unary: true, - evalTest: (lhs: number, bits: number) => (~lhs >>> 0) & (Math.pow(2, Math.min(bits, 31)) - 1), + evalTest: (lhsNumber: number, bits: number) => { + const val = `${new Array(256).fill('0').join('')}${lhsNumber.toString(2)}`.slice(-bits).split(''); + return BigInt( + `0b${val + .map((v) => { + if (v === '1') return '0'; + return '1'; + }) + .join('')}`, + ); + }, }, neg: { supportedBits: SUPPORTED_BITS, unary: true, - evalTest: (lhs: number, bits: number) => (~lhs >>> 0) & (Math.pow(2, Math.min(bits, 31)) - 1), + evalTest: (lhsNumber: number, bits: number) => { + const val = `${new Array(256).fill('0').join('')}${lhsNumber.toString(2)}`.slice(-bits).split(''); + return ( + BigInt( + `0b${val + .map((v) => { + if (v === '1') return '0'; + return '1'; + }) + .join('')}`, + ) + 1n + ); + }, }, }; @@ -173,28 +222,28 @@ export const generateTests = () => { const encryptedTestName = [functionName, `euint${lhs}`, `euint${rhs}`].join('_'); const encryptedTests: Test[] = []; if (!test.lhsHigher) { - encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, bitResults)); - encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, bitResults)); + encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, lhs, rhs, test.safeMin)); } - encryptedTests.push(safeEval(test.evalTest, smallest, smallest, bitResults)); - encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, bitResults)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, lhs, rhs, test.safeMin)); tests[encryptedTestName] = encryptedTests; } - const scalarCondition = - !test.noScalar && - (lhs === rhs || (!test.scalarSameType && ((rhs == 8 && lhs == 4) || (rhs == 4 && lhs == 8)))); + const scalarCondition = !test.noScalar && (lhs === rhs || (rhs == 8 && lhs == 4) || (rhs == 4 && lhs == 8)); if (SUPPORTED_UINT.includes(rhs) && (only8bits || (test.limit !== 'bits' && scalarCondition))) { - rhsNumber = generateNumber(bitResults); + if (test.limit !== 'bits') { + rhsNumber = generateNumber(bitResults); + } const encryptedTestName = [functionName, `euint${lhs}`, `uint${rhs}`].join('_'); const encryptedTests: Test[] = []; if (!test.lhsHigher) { - encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, bitResults)); - encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, bitResults)); + encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, lhs, rhs, test.safeMin)); } - encryptedTests.push(safeEval(test.evalTest, smallest, smallest, bitResults)); - encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, bitResults)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, lhs, rhs, test.safeMin)); tests[encryptedTestName] = encryptedTests; } if (SUPPORTED_UINT.includes(lhs) && test.limit !== 'bits' && scalarCondition && !test.scalarOnly) { @@ -202,11 +251,11 @@ export const generateTests = () => { const encryptedTestName = [functionName, `uint${lhs}`, `euint${rhs}`].join('_'); const encryptedTests: Test[] = []; if (!test.lhsHigher) { - encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, bitResults)); - encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, bitResults)); + encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, lhs, rhs, test.safeMin)); } - encryptedTests.push(safeEval(test.evalTest, smallest, smallest, bitResults)); - encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, bitResults)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, lhs, rhs, test.safeMin)); tests[encryptedTestName] = encryptedTests; } }); diff --git a/codegen/overloadTests.ts b/codegen/overloadTests.ts index edcfe055..11444e16 100644 --- a/codegen/overloadTests.ts +++ b/codegen/overloadTests.ts @@ -3,7 +3,16 @@ import { OverloadSignature, signatureContractMethodName } from './testgen'; type OverloadTest = { inputs: number[]; - output: boolean | number | bigint; + output: boolean | number | bigint | string; }; +const transformBigInt = (o: { [methodName: string]: OverloadTest[] }) => { + Object.keys(o).forEach((k) => { + o[k].forEach((test) => { + if (typeof test.output === 'string') test.output = BigInt(test.output); + }); + }); +}; + +transformBigInt(overloads); export const overloadTests: { [methodName: string]: OverloadTest[] } = overloads; diff --git a/codegen/overloads.json b/codegen/overloads.json index 8252cff1..240c8465 100644 --- a/codegen/overloads.json +++ b/codegen/overloads.json @@ -1,30 +1,30 @@ { "add_euint4_euint4": [ - { "inputs": [5, 3], "output": 8 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [4, 4], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [5, 5], "output": 10 }, + { "inputs": [3, 5], "output": 8 }, + { "inputs": [5, 5], "output": 10 }, + { "inputs": [5, 3], "output": 8 } ], "add_euint4_euint8": [ - { "inputs": [1, 7], "output": 8 }, + { "inputs": [1, 8], "output": 9 }, { "inputs": [3, 5], "output": 8 }, { "inputs": [5, 5], "output": 10 }, { "inputs": [5, 3], "output": 8 } ], "add_euint4_uint8": [ - { "inputs": [11, 1], "output": 12 }, + { "inputs": [5, 3], "output": 8 }, { "inputs": [3, 5], "output": 8 }, { "inputs": [5, 5], "output": 10 }, { "inputs": [5, 3], "output": 8 } ], "add_euint4_euint16": [ - { "inputs": [1, 14], "output": 15 }, + { "inputs": [1, 10], "output": 11 }, { "inputs": [3, 5], "output": 8 }, { "inputs": [5, 5], "output": 10 }, { "inputs": [5, 3], "output": 8 } ], "add_euint4_euint32": [ - { "inputs": [1, 10], "output": 11 }, + { "inputs": [1, 14], "output": 15 }, { "inputs": [3, 5], "output": 8 }, { "inputs": [5, 5], "output": 10 }, { "inputs": [5, 3], "output": 8 } @@ -36,94 +36,94 @@ { "inputs": [5, 3], "output": 8 } ], "add_euint8_euint4": [ - { "inputs": [7, 1], "output": 8 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [4, 4], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [11, 1], "output": 12 }, + { "inputs": [3, 5], "output": 8 }, + { "inputs": [5, 5], "output": 10 }, + { "inputs": [5, 3], "output": 8 } ], "add_uint8_euint4": [ - { "inputs": [8, 4], "output": 12 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [4, 4], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [6, 5], "output": 11 }, + { "inputs": [3, 5], "output": 8 }, + { "inputs": [5, 5], "output": 10 }, + { "inputs": [5, 3], "output": 8 } ], "add_euint8_euint8": [ - { "inputs": [8, 73], "output": 81 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 16 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [13, 130], "output": 143 }, + { "inputs": [9, 13], "output": 22 }, + { "inputs": [13, 13], "output": 26 }, + { "inputs": [13, 9], "output": 22 } ], "add_euint8_uint8": [ - { "inputs": [8, 136], "output": 144 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 16 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [13, 50], "output": 63 }, + { "inputs": [9, 13], "output": 22 }, + { "inputs": [13, 13], "output": 26 }, + { "inputs": [13, 9], "output": 22 } ], "add_uint8_euint8": [ - { "inputs": [1, 136], "output": 137 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 16 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [104, 50], "output": 154 }, + { "inputs": [9, 13], "output": 22 }, + { "inputs": [13, 13], "output": 26 }, + { "inputs": [13, 9], "output": 22 } ], "add_euint8_euint16": [ - { "inputs": [1, 251], "output": 252 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 16 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [1, 237], "output": 238 }, + { "inputs": [100, 104], "output": 204 }, + { "inputs": [104, 104], "output": 208 }, + { "inputs": [104, 100], "output": 204 } ], "add_euint8_euint32": [ - { "inputs": [1, 207], "output": 208 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 16 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [1, 147], "output": 148 }, + { "inputs": [100, 104], "output": 204 }, + { "inputs": [104, 104], "output": 208 }, + { "inputs": [104, 100], "output": 204 } ], "add_euint8_euint64": [ - { "inputs": [1, 212], "output": 213 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 16 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [1, 159], "output": 160 }, + { "inputs": [100, 104], "output": 204 }, + { "inputs": [104, 104], "output": 208 }, + { "inputs": [104, 100], "output": 204 } ], "add_euint16_euint4": [ - { "inputs": [14, 1], "output": 15 }, + { "inputs": [7, 1], "output": 8 }, { "inputs": [4, 8], "output": 12 }, { "inputs": [4, 4], "output": 8 }, { "inputs": [8, 4], "output": 12 } ], "add_euint16_euint8": [ - { "inputs": [236, 1], "output": 237 }, - { "inputs": [99, 101], "output": 200 }, - { "inputs": [101, 101], "output": 202 }, - { "inputs": [101, 99], "output": 200 } + { "inputs": [246, 2], "output": 248 }, + { "inputs": [90, 92], "output": 182 }, + { "inputs": [92, 92], "output": 184 }, + { "inputs": [92, 90], "output": 182 } ], "add_euint16_euint16": [ - { "inputs": [30233, 31275], "output": 61508 }, - { "inputs": [30229, 30233], "output": 60462 }, - { "inputs": [30233, 30233], "output": 60466 }, - { "inputs": [30233, 30229], "output": 60462 } + { "inputs": [15771, 31424], "output": 47195 }, + { "inputs": [15767, 15771], "output": 31538 }, + { "inputs": [15771, 15771], "output": 31542 }, + { "inputs": [15771, 15767], "output": 31538 } ], "add_euint16_uint16": [ - { "inputs": [30233, 10584], "output": 40817 }, - { "inputs": [30229, 30233], "output": 60462 }, - { "inputs": [30233, 30233], "output": 60466 }, - { "inputs": [30233, 30229], "output": 60462 } + { "inputs": [7885, 25213], "output": 33098 }, + { "inputs": [15767, 15771], "output": 31538 }, + { "inputs": [15771, 15771], "output": 31542 }, + { "inputs": [15771, 15767], "output": 31538 } ], "add_uint16_euint16": [ - { "inputs": [27830, 10584], "output": 38414 }, - { "inputs": [30229, 30233], "output": 60462 }, - { "inputs": [30233, 30233], "output": 60466 }, - { "inputs": [30233, 30229], "output": 60462 } + { "inputs": [13949, 25213], "output": 39162 }, + { "inputs": [15767, 15771], "output": 31538 }, + { "inputs": [15771, 15771], "output": 31542 }, + { "inputs": [15771, 15767], "output": 31538 } ], "add_euint16_euint32": [ - { "inputs": [1, 40500], "output": 40501 }, - { "inputs": [27826, 27830], "output": 55656 }, - { "inputs": [27830, 27830], "output": 55660 }, - { "inputs": [27830, 27826], "output": 55656 } + { "inputs": [6, 46282], "output": 46288 }, + { "inputs": [27895, 27899], "output": 55794 }, + { "inputs": [27899, 27899], "output": 55798 }, + { "inputs": [27899, 27895], "output": 55794 } ], "add_euint16_euint64": [ - { "inputs": [1, 46642], "output": 46643 }, - { "inputs": [27826, 27830], "output": 55656 }, - { "inputs": [27830, 27830], "output": 55660 }, - { "inputs": [27830, 27826], "output": 55656 } + { "inputs": [108, 51831], "output": 51939 }, + { "inputs": [27895, 27899], "output": 55794 }, + { "inputs": [27899, 27899], "output": 55798 }, + { "inputs": [27899, 27895], "output": 55794 } ], "add_euint32_euint4": [ { "inputs": [10, 1], "output": 11 }, @@ -132,106 +132,106 @@ { "inputs": [8, 4], "output": 12 } ], "add_euint32_euint8": [ - { "inputs": [162, 1], "output": 163 }, - { "inputs": [115, 117], "output": 232 }, - { "inputs": [117, 117], "output": 234 }, - { "inputs": [117, 115], "output": 232 } + { "inputs": [165, 1], "output": 166 }, + { "inputs": [13, 17], "output": 30 }, + { "inputs": [17, 17], "output": 34 }, + { "inputs": [17, 13], "output": 30 } ], "add_euint32_euint16": [ - { "inputs": [41642, 13], "output": 41655 }, - { "inputs": [28344, 28348], "output": 56692 }, - { "inputs": [28348, 28348], "output": 56696 }, - { "inputs": [28348, 28344], "output": 56692 } + { "inputs": [42385, 126], "output": 42511 }, + { "inputs": [32398, 32400], "output": 64798 }, + { "inputs": [32400, 32400], "output": 64800 }, + { "inputs": [32400, 32398], "output": 64798 } ], "add_euint32_euint32": [ - { "inputs": [85283614, 1389046047], "output": 1474329661 }, - { "inputs": [85283610, 85283614], "output": 170567224 }, - { "inputs": [85283614, 85283614], "output": 170567228 }, - { "inputs": [85283614, 85283610], "output": 170567224 } + { "inputs": [21701237, 233681477], "output": 255382714 }, + { "inputs": [21701233, 21701237], "output": 43402470 }, + { "inputs": [21701237, 21701237], "output": 43402474 }, + { "inputs": [21701237, 21701233], "output": 43402470 } ], "add_euint32_uint32": [ - { "inputs": [85283614, 1598412404], "output": 1683696018 }, - { "inputs": [85283610, 85283614], "output": 170567224 }, - { "inputs": [85283614, 85283614], "output": 170567228 }, - { "inputs": [85283614, 85283610], "output": 170567224 } + { "inputs": [21701237, 252093913], "output": 273795150 }, + { "inputs": [21701233, 21701237], "output": 43402470 }, + { "inputs": [21701237, 21701237], "output": 43402474 }, + { "inputs": [21701237, 21701233], "output": 43402470 } ], "add_uint32_euint32": [ - { "inputs": [343329587, 1598412404], "output": 1941741991 }, - { "inputs": [85283610, 85283614], "output": 170567224 }, - { "inputs": [85283614, 85283614], "output": 170567228 }, - { "inputs": [85283614, 85283610], "output": 170567224 } + { "inputs": [203659740, 252093913], "output": 455753653 }, + { "inputs": [21701233, 21701237], "output": 43402470 }, + { "inputs": [21701237, 21701237], "output": 43402474 }, + { "inputs": [21701237, 21701233], "output": 43402470 } ], "add_euint32_euint64": [ - { "inputs": [343329587, 532996009], "output": 876325596 }, - { "inputs": [343329583, 343329587], "output": 686659170 }, - { "inputs": [343329587, 343329587], "output": 686659174 }, - { "inputs": [343329587, 343329583], "output": 686659170 } + { "inputs": [203659740, 114096043], "output": 317755783 }, + { "inputs": [114096039, 114096043], "output": 228192082 }, + { "inputs": [114096043, 114096043], "output": 228192086 }, + { "inputs": [114096043, 114096039], "output": 228192082 } ], "add_euint64_euint4": [ - { "inputs": [11, 1], "output": 12 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [4, 4], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [13, 1], "output": 14 }, + { "inputs": [3, 5], "output": 8 }, + { "inputs": [5, 5], "output": 10 }, + { "inputs": [5, 3], "output": 8 } ], "add_euint64_euint8": [ - { "inputs": [181, 1], "output": 182 }, - { "inputs": [66, 68], "output": 134 }, - { "inputs": [68, 68], "output": 136 }, - { "inputs": [68, 66], "output": 134 } + { "inputs": [222, 1], "output": 223 }, + { "inputs": [78, 82], "output": 160 }, + { "inputs": [82, 82], "output": 164 }, + { "inputs": [82, 78], "output": 160 } ], "add_euint64_euint16": [ - { "inputs": [46497, 1], "output": 46498 }, - { "inputs": [1781, 1785], "output": 3566 }, - { "inputs": [1785, 1785], "output": 3570 }, - { "inputs": [1785, 1781], "output": 3566 } + { "inputs": [57062, 3], "output": 57065 }, + { "inputs": [16133, 16137], "output": 32270 }, + { "inputs": [16137, 16137], "output": 32274 }, + { "inputs": [16137, 16133], "output": 32270 } ], "add_euint64_euint32": [ - { "inputs": [761810509, 2065807481], "output": 2827617990 }, - { "inputs": [761810505, 761810509], "output": 1523621014 }, - { "inputs": [761810509, 761810509], "output": 1523621018 }, - { "inputs": [761810509, 761810505], "output": 1523621014 } + { "inputs": [233729261, 108243872], "output": 341973133 }, + { "inputs": [108243868, 108243872], "output": 216487740 }, + { "inputs": [108243872, 108243872], "output": 216487744 }, + { "inputs": [108243872, 108243868], "output": 216487740 } ], "add_euint64_euint64": [ - { "inputs": [761810509, 74167544], "output": 835978053 }, - { "inputs": [74167540, 74167544], "output": 148335084 }, - { "inputs": [74167544, 74167544], "output": 148335088 }, - { "inputs": [74167544, 74167540], "output": 148335084 } + { "inputs": [233729261, 36139823], "output": 269869084 }, + { "inputs": [36139819, 36139823], "output": 72279642 }, + { "inputs": [36139823, 36139823], "output": 72279646 }, + { "inputs": [36139823, 36139819], "output": 72279642 } ], "add_euint64_uint64": [ - { "inputs": [761810509, 1968908307], "output": 2730718816 }, - { "inputs": [74167540, 74167544], "output": 148335084 }, - { "inputs": [74167544, 74167544], "output": 148335088 }, - { "inputs": [74167544, 74167540], "output": 148335084 } + { "inputs": [233729261, 163957114], "output": 397686375 }, + { "inputs": [36139819, 36139823], "output": 72279642 }, + { "inputs": [36139823, 36139823], "output": 72279646 }, + { "inputs": [36139823, 36139819], "output": 72279642 } ], "add_uint64_euint64": [ - { "inputs": [1954867210, 1968908307], "output": 3923775517 }, - { "inputs": [74167540, 74167544], "output": 148335084 }, - { "inputs": [74167544, 74167544], "output": 148335088 }, - { "inputs": [74167544, 74167540], "output": 148335084 } + { "inputs": [35664883, 163957114], "output": 199621997 }, + { "inputs": [36139819, 36139823], "output": 72279642 }, + { "inputs": [36139823, 36139823], "output": 72279646 }, + { "inputs": [36139823, 36139819], "output": 72279642 } ], "sub_euint4_euint4": [ - { "inputs": [9, 9], "output": 0 }, - { "inputs": [9, 5], "output": 4 } + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } ], "sub_euint4_euint8": [ - { "inputs": [12, 12], "output": 0 }, - { "inputs": [12, 8], "output": 4 } + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } ], "sub_euint4_uint8": [ - { "inputs": [12, 12], "output": 0 }, - { "inputs": [12, 8], "output": 4 } + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } ], "sub_euint4_euint16": [ - { "inputs": [12, 12], "output": 0 }, - { "inputs": [12, 8], "output": 4 } + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } ], "sub_euint4_euint32": [ - { "inputs": [12, 12], "output": 0 }, - { "inputs": [12, 8], "output": 4 } + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } ], "sub_euint4_euint64": [ - { "inputs": [12, 12], "output": 0 }, - { "inputs": [12, 8], "output": 4 } + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } ], "sub_euint8_euint4": [ { "inputs": [8, 8], "output": 0 }, @@ -242,2629 +242,2629 @@ { "inputs": [8, 4], "output": 4 } ], "sub_euint8_euint8": [ - { "inputs": [14, 14], "output": 0 }, - { "inputs": [14, 10], "output": 4 } + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } ], "sub_euint8_uint8": [ - { "inputs": [14, 14], "output": 0 }, - { "inputs": [14, 10], "output": 4 } + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } ], "sub_uint8_euint8": [ - { "inputs": [14, 14], "output": 0 }, - { "inputs": [14, 10], "output": 4 } + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } ], "sub_euint8_euint16": [ - { "inputs": [62, 62], "output": 0 }, - { "inputs": [62, 58], "output": 4 } + { "inputs": [145, 145], "output": 0 }, + { "inputs": [145, 141], "output": 4 } ], "sub_euint8_euint32": [ - { "inputs": [62, 62], "output": 0 }, - { "inputs": [62, 58], "output": 4 } + { "inputs": [145, 145], "output": 0 }, + { "inputs": [145, 141], "output": 4 } ], "sub_euint8_euint64": [ - { "inputs": [62, 62], "output": 0 }, - { "inputs": [62, 58], "output": 4 } + { "inputs": [145, 145], "output": 0 }, + { "inputs": [145, 141], "output": 4 } ], "sub_euint16_euint4": [ { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 4 } ], "sub_euint16_euint8": [ - { "inputs": [100, 100], "output": 0 }, - { "inputs": [100, 96], "output": 4 } + { "inputs": [167, 167], "output": 0 }, + { "inputs": [167, 163], "output": 4 } ], "sub_euint16_euint16": [ - { "inputs": [7674, 7674], "output": 0 }, - { "inputs": [7674, 7670], "output": 4 } + { "inputs": [20069, 20069], "output": 0 }, + { "inputs": [20069, 20065], "output": 4 } ], "sub_euint16_uint16": [ - { "inputs": [7674, 7674], "output": 0 }, - { "inputs": [7674, 7670], "output": 4 } + { "inputs": [20069, 20069], "output": 0 }, + { "inputs": [20069, 20065], "output": 4 } ], "sub_uint16_euint16": [ - { "inputs": [7674, 7674], "output": 0 }, - { "inputs": [7674, 7670], "output": 4 } + { "inputs": [20069, 20069], "output": 0 }, + { "inputs": [20069, 20065], "output": 4 } ], "sub_euint16_euint32": [ - { "inputs": [34964, 34964], "output": 0 }, - { "inputs": [34964, 34960], "output": 4 } + { "inputs": [63598, 63598], "output": 0 }, + { "inputs": [63598, 63594], "output": 4 } ], "sub_euint16_euint64": [ - { "inputs": [34964, 34964], "output": 0 }, - { "inputs": [34964, 34960], "output": 4 } + { "inputs": [63598, 63598], "output": 0 }, + { "inputs": [63598, 63594], "output": 4 } ], "sub_euint32_euint4": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 4 } ], "sub_euint32_euint8": [ - { "inputs": [239, 239], "output": 0 }, - { "inputs": [239, 235], "output": 4 } + { "inputs": [123, 123], "output": 0 }, + { "inputs": [123, 119], "output": 4 } ], "sub_euint32_euint16": [ - { "inputs": [4191, 4191], "output": 0 }, - { "inputs": [4191, 4187], "output": 4 } + { "inputs": [43081, 43081], "output": 0 }, + { "inputs": [43081, 43077], "output": 4 } ], "sub_euint32_euint32": [ - { "inputs": [949346704, 949346704], "output": 0 }, - { "inputs": [949346704, 949346700], "output": 4 } + { "inputs": [142194314, 142194314], "output": 0 }, + { "inputs": [142194314, 142194310], "output": 4 } ], "sub_euint32_uint32": [ - { "inputs": [949346704, 949346704], "output": 0 }, - { "inputs": [949346704, 949346700], "output": 4 } + { "inputs": [142194314, 142194314], "output": 0 }, + { "inputs": [142194314, 142194310], "output": 4 } ], "sub_uint32_euint32": [ - { "inputs": [949346704, 949346704], "output": 0 }, - { "inputs": [949346704, 949346700], "output": 4 } + { "inputs": [142194314, 142194314], "output": 0 }, + { "inputs": [142194314, 142194310], "output": 4 } ], "sub_euint32_euint64": [ - { "inputs": [108582607, 108582607], "output": 0 }, - { "inputs": [108582607, 108582603], "output": 4 } + { "inputs": [116748811, 116748811], "output": 0 }, + { "inputs": [116748811, 116748807], "output": 4 } ], "sub_euint64_euint4": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [13, 13], "output": 0 }, + { "inputs": [13, 9], "output": 4 } ], "sub_euint64_euint8": [ { "inputs": [236, 236], "output": 0 }, { "inputs": [236, 232], "output": 4 } ], "sub_euint64_euint16": [ - { "inputs": [42609, 42609], "output": 0 }, - { "inputs": [42609, 42605], "output": 4 } + { "inputs": [23608, 23608], "output": 0 }, + { "inputs": [23608, 23604], "output": 4 } ], "sub_euint64_euint32": [ - { "inputs": [1679860005, 1679860005], "output": 0 }, - { "inputs": [1679860005, 1679860001], "output": 4 } + { "inputs": [279607, 279607], "output": 0 }, + { "inputs": [279607, 279603], "output": 4 } ], "sub_euint64_euint64": [ - { "inputs": [1450674385, 1450674385], "output": 0 }, - { "inputs": [1450674385, 1450674381], "output": 4 } + { "inputs": [279607, 279607], "output": 0 }, + { "inputs": [279607, 279603], "output": 4 } ], "sub_euint64_uint64": [ - { "inputs": [1450674385, 1450674385], "output": 0 }, - { "inputs": [1450674385, 1450674381], "output": 4 } + { "inputs": [279607, 279607], "output": 0 }, + { "inputs": [279607, 279603], "output": 4 } ], "sub_uint64_euint64": [ - { "inputs": [1450674385, 1450674385], "output": 0 }, - { "inputs": [1450674385, 1450674381], "output": 4 } + { "inputs": [279607, 279607], "output": 0 }, + { "inputs": [279607, 279603], "output": 4 } ], "mul_euint4_euint4": [ - { "inputs": [1, 4], "output": 4 }, - { "inputs": [2, 4], "output": 8 }, { "inputs": [2, 2], "output": 4 }, - { "inputs": [4, 2], "output": 8 } + { "inputs": [3, 5], "output": 15 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [5, 3], "output": 15 } ], "mul_euint4_euint8": [ - { "inputs": [1, 8], "output": 8 }, - { "inputs": [2, 4], "output": 8 }, + { "inputs": [1, 6], "output": 6 }, + { "inputs": [3, 5], "output": 15 }, { "inputs": [2, 2], "output": 4 }, - { "inputs": [4, 2], "output": 8 } + { "inputs": [5, 3], "output": 15 } ], "mul_euint4_uint8": [ - { "inputs": [1, 7], "output": 7 }, - { "inputs": [2, 4], "output": 8 }, + { "inputs": [10, 1], "output": 10 }, + { "inputs": [3, 5], "output": 15 }, { "inputs": [2, 2], "output": 4 }, - { "inputs": [4, 2], "output": 8 } + { "inputs": [5, 3], "output": 15 } ], "mul_euint4_euint16": [ - { "inputs": [1, 8], "output": 8 }, - { "inputs": [2, 4], "output": 8 }, + { "inputs": [1, 13], "output": 13 }, + { "inputs": [3, 5], "output": 15 }, { "inputs": [2, 2], "output": 4 }, - { "inputs": [4, 2], "output": 8 } + { "inputs": [5, 3], "output": 15 } ], "mul_euint4_euint32": [ { "inputs": [1, 15], "output": 15 }, - { "inputs": [2, 4], "output": 8 }, + { "inputs": [3, 5], "output": 15 }, { "inputs": [2, 2], "output": 4 }, - { "inputs": [4, 2], "output": 8 } + { "inputs": [5, 3], "output": 15 } ], "mul_euint4_euint64": [ - { "inputs": [1, 10], "output": 10 }, - { "inputs": [2, 4], "output": 8 }, + { "inputs": [1, 13], "output": 13 }, + { "inputs": [3, 5], "output": 15 }, { "inputs": [2, 2], "output": 4 }, - { "inputs": [4, 2], "output": 8 } + { "inputs": [5, 3], "output": 15 } ], "mul_euint8_euint4": [ - { "inputs": [13, 1], "output": 13 }, + { "inputs": [5, 1], "output": 5 }, { "inputs": [2, 4], "output": 8 }, { "inputs": [2, 2], "output": 4 }, { "inputs": [4, 2], "output": 8 } ], "mul_uint8_euint4": [ - { "inputs": [6, 2], "output": 12 }, + { "inputs": [2, 2], "output": 4 }, { "inputs": [2, 4], "output": 8 }, { "inputs": [2, 2], "output": 4 }, { "inputs": [4, 2], "output": 8 } ], "mul_euint8_euint8": [ - { "inputs": [6, 19], "output": 114 }, - { "inputs": [8, 12], "output": 96 }, - { "inputs": [12, 12], "output": 144 }, - { "inputs": [12, 8], "output": 96 } + { "inputs": [2, 98], "output": 196 }, + { "inputs": [4, 8], "output": 32 }, + { "inputs": [8, 8], "output": 64 }, + { "inputs": [8, 4], "output": 32 } ], "mul_euint8_uint8": [ - { "inputs": [3, 48], "output": 144 }, - { "inputs": [8, 12], "output": 96 }, - { "inputs": [12, 12], "output": 144 }, - { "inputs": [12, 8], "output": 96 } + { "inputs": [2, 119], "output": 238 }, + { "inputs": [4, 8], "output": 32 }, + { "inputs": [8, 8], "output": 64 }, + { "inputs": [8, 4], "output": 32 } ], "mul_uint8_euint8": [ - { "inputs": [11, 12], "output": 132 }, - { "inputs": [8, 12], "output": 96 }, - { "inputs": [12, 12], "output": 144 }, - { "inputs": [12, 8], "output": 96 } + { "inputs": [8, 29], "output": 232 }, + { "inputs": [4, 8], "output": 32 }, + { "inputs": [8, 8], "output": 64 }, + { "inputs": [8, 4], "output": 32 } ], "mul_euint8_euint16": [ - { "inputs": [2, 33], "output": 66 }, - { "inputs": [11, 11], "output": 121 }, - { "inputs": [11, 11], "output": 121 }, - { "inputs": [11, 11], "output": 121 } + { "inputs": [1, 161], "output": 161 }, + { "inputs": [8, 8], "output": 64 }, + { "inputs": [8, 8], "output": 64 }, + { "inputs": [8, 8], "output": 64 } ], "mul_euint8_euint32": [ { "inputs": [1, 174], "output": 174 }, - { "inputs": [11, 11], "output": 121 }, - { "inputs": [11, 11], "output": 121 }, - { "inputs": [11, 11], "output": 121 } + { "inputs": [8, 8], "output": 64 }, + { "inputs": [8, 8], "output": 64 }, + { "inputs": [8, 8], "output": 64 } ], "mul_euint8_euint64": [ - { "inputs": [1, 145], "output": 145 }, - { "inputs": [11, 11], "output": 121 }, - { "inputs": [11, 11], "output": 121 }, - { "inputs": [11, 11], "output": 121 } + { "inputs": [1, 154], "output": 154 }, + { "inputs": [8, 8], "output": 64 }, + { "inputs": [8, 8], "output": 64 }, + { "inputs": [8, 8], "output": 64 } ], "mul_euint16_euint4": [ - { "inputs": [13, 1], "output": 13 }, + { "inputs": [8, 1], "output": 8 }, { "inputs": [2, 3], "output": 6 }, { "inputs": [3, 3], "output": 9 }, { "inputs": [3, 2], "output": 6 } ], "mul_euint16_euint8": [ - { "inputs": [221, 1], "output": 221 }, - { "inputs": [12, 13], "output": 156 }, - { "inputs": [13, 13], "output": 169 }, - { "inputs": [13, 12], "output": 156 } + { "inputs": [136, 1], "output": 136 }, + { "inputs": [13, 15], "output": 195 }, + { "inputs": [15, 15], "output": 225 }, + { "inputs": [15, 13], "output": 195 } ], "mul_euint16_euint16": [ - { "inputs": [221, 180], "output": 39780 }, - { "inputs": [180, 180], "output": 32400 }, - { "inputs": [180, 180], "output": 32400 }, - { "inputs": [180, 180], "output": 32400 } + { "inputs": [68, 599], "output": 40732 }, + { "inputs": [136, 136], "output": 18496 }, + { "inputs": [136, 136], "output": 18496 }, + { "inputs": [136, 136], "output": 18496 } ], "mul_euint16_uint16": [ - { "inputs": [442, 133], "output": 58786 }, - { "inputs": [180, 180], "output": 32400 }, - { "inputs": [180, 180], "output": 32400 }, - { "inputs": [180, 180], "output": 32400 } + { "inputs": [136, 406], "output": 55216 }, + { "inputs": [136, 136], "output": 18496 }, + { "inputs": [136, 136], "output": 18496 }, + { "inputs": [136, 136], "output": 18496 } ], "mul_uint16_euint16": [ - { "inputs": [288, 133], "output": 38304 }, - { "inputs": [180, 180], "output": 32400 }, - { "inputs": [180, 180], "output": 32400 }, - { "inputs": [180, 180], "output": 32400 } + { "inputs": [308, 203], "output": 62524 }, + { "inputs": [136, 136], "output": 18496 }, + { "inputs": [136, 136], "output": 18496 }, + { "inputs": [136, 136], "output": 18496 } ], "mul_euint16_euint32": [ - { "inputs": [1, 39192], "output": 39192 }, - { "inputs": [144, 144], "output": 20736 }, - { "inputs": [144, 144], "output": 20736 }, - { "inputs": [144, 144], "output": 20736 } + { "inputs": [4, 14667], "output": 58668 }, + { "inputs": [154, 154], "output": 23716 }, + { "inputs": [154, 154], "output": 23716 }, + { "inputs": [154, 154], "output": 23716 } ], "mul_euint16_euint64": [ - { "inputs": [1, 22059], "output": 22059 }, - { "inputs": [144, 144], "output": 20736 }, - { "inputs": [144, 144], "output": 20736 }, - { "inputs": [144, 144], "output": 20736 } + { "inputs": [2, 16788], "output": 33576 }, + { "inputs": [154, 154], "output": 23716 }, + { "inputs": [154, 154], "output": 23716 }, + { "inputs": [154, 154], "output": 23716 } ], "mul_euint32_euint4": [ - { "inputs": [13, 1], "output": 13 }, - { "inputs": [2, 3], "output": 6 }, - { "inputs": [3, 3], "output": 9 }, - { "inputs": [3, 2], "output": 6 } + { "inputs": [9, 1], "output": 9 }, + { "inputs": [3, 5], "output": 15 }, + { "inputs": [2, 2], "output": 4 }, + { "inputs": [5, 3], "output": 15 } ], "mul_euint32_euint8": [ - { "inputs": [222, 1], "output": 222 }, - { "inputs": [10, 14], "output": 140 }, - { "inputs": [14, 14], "output": 196 }, - { "inputs": [14, 10], "output": 140 } + { "inputs": [146, 1], "output": 146 }, + { "inputs": [9, 10], "output": 90 }, + { "inputs": [10, 10], "output": 100 }, + { "inputs": [10, 9], "output": 90 } ], "mul_euint32_euint16": [ - { "inputs": [56978, 1], "output": 56978 }, - { "inputs": [159, 159], "output": 25281 }, - { "inputs": [159, 159], "output": 25281 }, - { "inputs": [159, 159], "output": 25281 } + { "inputs": [9346, 3], "output": 28038 }, + { "inputs": [206, 206], "output": 42436 }, + { "inputs": [206, 206], "output": 42436 }, + { "inputs": [206, 206], "output": 42436 } ], "mul_euint32_euint32": [ - { "inputs": [28489, 38748], "output": 1103891772 }, - { "inputs": [56978, 56978], "output": 3246492484 }, - { "inputs": [56978, 56978], "output": 3246492484 }, - { "inputs": [56978, 56978], "output": 3246492484 } + { "inputs": [74769, 34417], "output": 2573324673 }, + { "inputs": [34417, 34417], "output": 1184529889 }, + { "inputs": [34417, 34417], "output": 1184529889 }, + { "inputs": [34417, 34417], "output": 1184529889 } ], "mul_euint32_uint32": [ - { "inputs": [28489, 51753], "output": 1474391217 }, - { "inputs": [56978, 56978], "output": 3246492484 }, - { "inputs": [56978, 56978], "output": 3246492484 }, - { "inputs": [56978, 56978], "output": 3246492484 } + { "inputs": [37384, 56630], "output": 2117055920 }, + { "inputs": [34417, 34417], "output": 1184529889 }, + { "inputs": [34417, 34417], "output": 1184529889 }, + { "inputs": [34417, 34417], "output": 1184529889 } ], "mul_uint32_euint32": [ - { "inputs": [72675, 51753], "output": 3761149275 }, - { "inputs": [56978, 56978], "output": 3246492484 }, - { "inputs": [56978, 56978], "output": 3246492484 }, - { "inputs": [56978, 56978], "output": 3246492484 } + { "inputs": [5396, 226523], "output": 1222318108 }, + { "inputs": [34417, 34417], "output": 1184529889 }, + { "inputs": [34417, 34417], "output": 1184529889 }, + { "inputs": [34417, 34417], "output": 1184529889 } ], "mul_euint32_euint64": [ - { "inputs": [145351, 9637], "output": 1400747587 }, - { "inputs": [38548, 38548], "output": 1485948304 }, - { "inputs": [38548, 38548], "output": 1485948304 }, - { "inputs": [38548, 38548], "output": 1485948304 } + { "inputs": [10792, 161277], "output": 1740501384 }, + { "inputs": [43171, 43171], "output": 1863735241 }, + { "inputs": [43171, 43171], "output": 1863735241 }, + { "inputs": [43171, 43171], "output": 1863735241 } ], "mul_euint64_euint4": [ - { "inputs": [8, 1], "output": 8 }, - { "inputs": [2, 4], "output": 8 }, + { "inputs": [11, 1], "output": 11 }, + { "inputs": [3, 5], "output": 15 }, { "inputs": [2, 2], "output": 4 }, - { "inputs": [4, 2], "output": 8 } + { "inputs": [5, 3], "output": 15 } ], "mul_euint64_euint8": [ - { "inputs": [132, 1], "output": 132 }, - { "inputs": [14, 15], "output": 210 }, - { "inputs": [15, 15], "output": 225 }, - { "inputs": [15, 14], "output": 210 } + { "inputs": [177, 1], "output": 177 }, + { "inputs": [10, 10], "output": 100 }, + { "inputs": [10, 10], "output": 100 }, + { "inputs": [10, 10], "output": 100 } ], "mul_euint64_euint16": [ - { "inputs": [16971, 3], "output": 50913 }, - { "inputs": [227, 227], "output": 51529 }, - { "inputs": [227, 227], "output": 51529 }, - { "inputs": [227, 227], "output": 51529 } + { "inputs": [11381, 2], "output": 22762 }, + { "inputs": [150, 150], "output": 22500 }, + { "inputs": [150, 150], "output": 22500 }, + { "inputs": [150, 150], "output": 22500 } ], "mul_euint64_euint32": [ - { "inputs": [33943, 59095], "output": 2005861585 }, - { "inputs": [33943, 33943], "output": 1152127249 }, - { "inputs": [33943, 33943], "output": 1152127249 }, - { "inputs": [33943, 33943], "output": 1152127249 } + { "inputs": [91048, 15465], "output": 1408057320 }, + { "inputs": [61860, 61860], "output": 3826659600 }, + { "inputs": [61860, 61860], "output": 3826659600 }, + { "inputs": [61860, 61860], "output": 3826659600 } ], "mul_euint64_euint64": [ - { "inputs": [278067877, 1869129475], "output": 519744864951374600 }, - { "inputs": [278067873, 278067877], "output": 77321743107015620 }, - { "inputs": [278067877, 278067877], "output": 77321744219287140 }, - { "inputs": [278067877, 278067873], "output": 77321743107015620 } + { "inputs": [186466494, 16277264], "output": 3035164349992416 }, + { "inputs": [16277260, 16277264], "output": 264949258216640 }, + { "inputs": [16277264, 16277264], "output": 264949323325696 }, + { "inputs": [16277264, 16277260], "output": 264949258216640 } ], "mul_euint64_uint64": [ - { "inputs": [278067877, 45641442], "output": 12691418880158634 }, - { "inputs": [278067873, 278067877], "output": 77321743107015620 }, - { "inputs": [278067877, 278067877], "output": 77321744219287140 }, - { "inputs": [278067877, 278067873], "output": 77321743107015620 } + { "inputs": [186466494, 244564286], "output": 45603044968033280 }, + { "inputs": [16277260, 16277264], "output": 264949258216640 }, + { "inputs": [16277264, 16277264], "output": 264949323325696 }, + { "inputs": [16277264, 16277260], "output": 264949258216640 } ], "mul_uint64_euint64": [ - { "inputs": [1066035620, 45641442], "output": 48655402920164040 }, - { "inputs": [278067873, 278067877], "output": 77321743107015620 }, - { "inputs": [278067877, 278067877], "output": 77321744219287140 }, - { "inputs": [278067877, 278067873], "output": 77321743107015620 } + { "inputs": [8323036, 244564286], "output": 2035517356692296 }, + { "inputs": [16277260, 16277264], "output": 264949258216640 }, + { "inputs": [16277264, 16277264], "output": 264949323325696 }, + { "inputs": [16277264, 16277260], "output": 264949258216640 } ], "div_euint4_uint8": [ - { "inputs": [2, 8], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 1 }, - { "inputs": [8, 4], "output": 2 } + { "inputs": [14, 2], "output": 7 }, + { "inputs": [10, 14], "output": 0 }, + { "inputs": [14, 14], "output": 1 }, + { "inputs": [14, 10], "output": 1 } ], "div_euint8_uint8": [ - { "inputs": [209, 108], "output": 1 }, - { "inputs": [112, 116], "output": 0 }, - { "inputs": [116, 116], "output": 1 }, - { "inputs": [116, 112], "output": 1 } + { "inputs": [72, 21], "output": 3 }, + { "inputs": [68, 72], "output": 0 }, + { "inputs": [72, 72], "output": 1 }, + { "inputs": [72, 68], "output": 1 } ], "div_euint16_uint16": [ - { "inputs": [30116, 13141], "output": 2 }, - { "inputs": [8385, 8389], "output": 0 }, - { "inputs": [8389, 8389], "output": 1 }, - { "inputs": [8389, 8385], "output": 1 } + { "inputs": [34461, 47014], "output": 0 }, + { "inputs": [34457, 34461], "output": 0 }, + { "inputs": [34461, 34461], "output": 1 }, + { "inputs": [34461, 34457], "output": 1 } ], "div_euint32_uint32": [ - { "inputs": [836400951, 1557627728], "output": 0 }, - { "inputs": [392005478, 392005482], "output": 0 }, - { "inputs": [392005482, 392005482], "output": 1 }, - { "inputs": [392005482, 392005478], "output": 1 } + { "inputs": [20956235, 20556991], "output": 1 }, + { "inputs": [20956231, 20956235], "output": 0 }, + { "inputs": [20956235, 20956235], "output": 1 }, + { "inputs": [20956235, 20956231], "output": 1 } ], "div_euint64_uint64": [ - { "inputs": [1965907341, 1364383301], "output": 1 }, - { "inputs": [16210309, 16210313], "output": 0 }, - { "inputs": [16210313, 16210313], "output": 1 }, - { "inputs": [16210313, 16210309], "output": 1 } + { "inputs": [253358888, 98592501], "output": 2 }, + { "inputs": [216552409, 216552413], "output": 0 }, + { "inputs": [216552413, 216552413], "output": 1 }, + { "inputs": [216552413, 216552409], "output": 1 } ], "rem_euint4_uint8": [ - { "inputs": [12, 1], "output": 0 }, - { "inputs": [8, 12], "output": 8 }, - { "inputs": [12, 12], "output": 0 }, - { "inputs": [12, 8], "output": 4 } + { "inputs": [3, 5], "output": 3 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } ], "rem_euint8_uint8": [ - { "inputs": [242, 190], "output": 52 }, - { "inputs": [177, 181], "output": 177 }, - { "inputs": [181, 181], "output": 0 }, - { "inputs": [181, 177], "output": 4 } + { "inputs": [97, 233], "output": 97 }, + { "inputs": [93, 97], "output": 93 }, + { "inputs": [97, 97], "output": 0 }, + { "inputs": [97, 93], "output": 4 } ], "rem_euint16_uint16": [ - { "inputs": [50030, 38531], "output": 11499 }, - { "inputs": [13739, 13743], "output": 13739 }, - { "inputs": [13743, 13743], "output": 0 }, - { "inputs": [13743, 13739], "output": 4 } + { "inputs": [302, 42308], "output": 302 }, + { "inputs": [298, 302], "output": 298 }, + { "inputs": [302, 302], "output": 0 }, + { "inputs": [302, 298], "output": 4 } ], "rem_euint32_uint32": [ - { "inputs": [1083212025, 1390178884], "output": 1083212025 }, - { "inputs": [1083212021, 1083212025], "output": 1083212021 }, - { "inputs": [1083212025, 1083212025], "output": 0 }, - { "inputs": [1083212025, 1083212021], "output": 4 } + { "inputs": [227728407, 99085597], "output": 29557213 }, + { "inputs": [187916193, 187916197], "output": 187916193 }, + { "inputs": [187916197, 187916197], "output": 0 }, + { "inputs": [187916197, 187916193], "output": 4 } ], "rem_euint64_uint64": [ - { "inputs": [1066501377, 1975528768], "output": 1066501377 }, - { "inputs": [1066501373, 1066501377], "output": 1066501373 }, - { "inputs": [1066501377, 1066501377], "output": 0 }, - { "inputs": [1066501377, 1066501373], "output": 4 } + { "inputs": [188635834, 135019919], "output": 53615915 }, + { "inputs": [188635830, 188635834], "output": 188635830 }, + { "inputs": [188635834, 188635834], "output": 0 }, + { "inputs": [188635834, 188635830], "output": 4 } ], "le_euint4_euint4": [ - { "inputs": [6, 9], "output": true }, + { "inputs": [11, 2], "output": false }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "le_euint4_euint8": [ - { "inputs": [6, 104], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": [11, 100], "output": true }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } ], "le_euint4_uint8": [ - { "inputs": [6, 1], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": [11, 11], "output": true }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } ], "le_euint4_euint16": [ - { "inputs": [6, 39475], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": [11, 61718], "output": true }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } ], "le_euint4_euint32": [ - { "inputs": [6, 204501643], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": [11, 204607742], "output": true }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } ], "le_euint4_euint64": [ - { "inputs": [6, 102260366], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": [11, 54749600], "output": true }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } ], "le_euint8_euint4": [ - { "inputs": [85, 9], "output": false }, - { "inputs": [5, 9], "output": true }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": false } + { "inputs": [157, 14], "output": false }, + { "inputs": [10, 14], "output": true }, + { "inputs": [14, 14], "output": true }, + { "inputs": [14, 10], "output": false } ], "le_uint8_euint4": [ - { "inputs": [9, 9], "output": true }, - { "inputs": [5, 9], "output": true }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": false } + { "inputs": [7, 14], "output": true }, + { "inputs": [10, 14], "output": true }, + { "inputs": [14, 14], "output": true }, + { "inputs": [14, 10], "output": false } ], "le_euint8_euint8": [ - { "inputs": [9, 136], "output": true }, - { "inputs": [5, 9], "output": true }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": false } + { "inputs": [7, 208], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } ], "le_euint8_uint8": [ - { "inputs": [9, 180], "output": true }, - { "inputs": [5, 9], "output": true }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": false } + { "inputs": [7, 168], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } ], "le_uint8_euint8": [ - { "inputs": [52, 180], "output": true }, - { "inputs": [5, 9], "output": true }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": false } + { "inputs": [44, 168], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } ], "le_euint8_euint16": [ - { "inputs": [52, 17587], "output": true }, - { "inputs": [48, 52], "output": true }, - { "inputs": [52, 52], "output": true }, - { "inputs": [52, 48], "output": false } + { "inputs": [44, 23355], "output": true }, + { "inputs": [40, 44], "output": true }, + { "inputs": [44, 44], "output": true }, + { "inputs": [44, 40], "output": false } ], "le_euint8_euint32": [ - { "inputs": [52, 1808707750], "output": true }, - { "inputs": [48, 52], "output": true }, - { "inputs": [52, 52], "output": true }, - { "inputs": [52, 48], "output": false } + { "inputs": [44, 91863139], "output": true }, + { "inputs": [40, 44], "output": true }, + { "inputs": [44, 44], "output": true }, + { "inputs": [44, 40], "output": false } ], "le_euint8_euint64": [ - { "inputs": [52, 1397250357], "output": true }, - { "inputs": [48, 52], "output": true }, - { "inputs": [52, 52], "output": true }, - { "inputs": [52, 48], "output": false } + { "inputs": [44, 264172669], "output": true }, + { "inputs": [40, 44], "output": true }, + { "inputs": [44, 44], "output": true }, + { "inputs": [44, 40], "output": false } ], "le_euint16_euint4": [ - { "inputs": [5574, 6], "output": false }, + { "inputs": [11868, 2], "output": false }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "le_euint16_euint8": [ - { "inputs": [5574, 242], "output": false }, - { "inputs": [238, 242], "output": true }, - { "inputs": [242, 242], "output": true }, - { "inputs": [242, 238], "output": false } + { "inputs": [11868, 206], "output": false }, + { "inputs": [202, 206], "output": true }, + { "inputs": [206, 206], "output": true }, + { "inputs": [206, 202], "output": false } ], "le_euint16_euint16": [ - { "inputs": [5574, 28657], "output": true }, - { "inputs": [5570, 5574], "output": true }, - { "inputs": [5574, 5574], "output": true }, - { "inputs": [5574, 5570], "output": false } + { "inputs": [11868, 62015], "output": true }, + { "inputs": [11864, 11868], "output": true }, + { "inputs": [11868, 11868], "output": true }, + { "inputs": [11868, 11864], "output": false } ], "le_euint16_uint16": [ - { "inputs": [5574, 3979], "output": false }, - { "inputs": [5570, 5574], "output": true }, - { "inputs": [5574, 5574], "output": true }, - { "inputs": [5574, 5570], "output": false } + { "inputs": [11868, 63783], "output": true }, + { "inputs": [11864, 11868], "output": true }, + { "inputs": [11868, 11868], "output": true }, + { "inputs": [11868, 11864], "output": false } ], "le_uint16_euint16": [ - { "inputs": [63255, 3979], "output": false }, - { "inputs": [5570, 5574], "output": true }, - { "inputs": [5574, 5574], "output": true }, - { "inputs": [5574, 5570], "output": false } + { "inputs": [2104, 63783], "output": true }, + { "inputs": [11864, 11868], "output": true }, + { "inputs": [11868, 11868], "output": true }, + { "inputs": [11868, 11864], "output": false } ], "le_euint16_euint32": [ - { "inputs": [63255, 340383439], "output": true }, - { "inputs": [63251, 63255], "output": true }, - { "inputs": [63255, 63255], "output": true }, - { "inputs": [63255, 63251], "output": false } + { "inputs": [2104, 130166929], "output": true }, + { "inputs": [2100, 2104], "output": true }, + { "inputs": [2104, 2104], "output": true }, + { "inputs": [2104, 2100], "output": false } ], "le_euint16_euint64": [ - { "inputs": [63255, 1184396370], "output": true }, - { "inputs": [63251, 63255], "output": true }, - { "inputs": [63255, 63255], "output": true }, - { "inputs": [63255, 63251], "output": false } + { "inputs": [2104, 188633784], "output": true }, + { "inputs": [2100, 2104], "output": true }, + { "inputs": [2104, 2104], "output": true }, + { "inputs": [2104, 2100], "output": false } ], "le_euint32_euint4": [ - { "inputs": [523722139, 11], "output": false }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [232635457, 13], "output": false }, + { "inputs": [9, 13], "output": true }, + { "inputs": [13, 13], "output": true }, + { "inputs": [13, 9], "output": false } ], "le_euint32_euint8": [ - { "inputs": [523722139, 41], "output": false }, - { "inputs": [37, 41], "output": true }, - { "inputs": [41, 41], "output": true }, - { "inputs": [41, 37], "output": false } + { "inputs": [232635457, 170], "output": false }, + { "inputs": [166, 170], "output": true }, + { "inputs": [170, 170], "output": true }, + { "inputs": [170, 166], "output": false } ], "le_euint32_euint16": [ - { "inputs": [523722139, 51250], "output": false }, - { "inputs": [51246, 51250], "output": true }, - { "inputs": [51250, 51250], "output": true }, - { "inputs": [51250, 51246], "output": false } + { "inputs": [232635457, 42879], "output": false }, + { "inputs": [42875, 42879], "output": true }, + { "inputs": [42879, 42879], "output": true }, + { "inputs": [42879, 42875], "output": false } ], "le_euint32_euint32": [ - { "inputs": [523722139, 878801545], "output": true }, - { "inputs": [523722135, 523722139], "output": true }, - { "inputs": [523722139, 523722139], "output": true }, - { "inputs": [523722139, 523722135], "output": false } + { "inputs": [232635457, 156819794], "output": false }, + { "inputs": [156819790, 156819794], "output": true }, + { "inputs": [156819794, 156819794], "output": true }, + { "inputs": [156819794, 156819790], "output": false } ], "le_euint32_uint32": [ - { "inputs": [523722139, 1994886988], "output": true }, - { "inputs": [523722135, 523722139], "output": true }, - { "inputs": [523722139, 523722139], "output": true }, - { "inputs": [523722139, 523722135], "output": false } + { "inputs": [232635457, 92190924], "output": false }, + { "inputs": [156819790, 156819794], "output": true }, + { "inputs": [156819794, 156819794], "output": true }, + { "inputs": [156819794, 156819790], "output": false } ], "le_uint32_euint32": [ - { "inputs": [1167528973, 1994886988], "output": true }, - { "inputs": [523722135, 523722139], "output": true }, - { "inputs": [523722139, 523722139], "output": true }, - { "inputs": [523722139, 523722135], "output": false } + { "inputs": [239805571, 92190924], "output": false }, + { "inputs": [156819790, 156819794], "output": true }, + { "inputs": [156819794, 156819794], "output": true }, + { "inputs": [156819794, 156819790], "output": false } ], "le_euint32_euint64": [ - { "inputs": [1167528973, 1661227936], "output": true }, - { "inputs": [1167528969, 1167528973], "output": true }, - { "inputs": [1167528973, 1167528973], "output": true }, - { "inputs": [1167528973, 1167528969], "output": false } + { "inputs": [239805571, 15147063], "output": false }, + { "inputs": [15147059, 15147063], "output": true }, + { "inputs": [15147063, 15147063], "output": true }, + { "inputs": [15147063, 15147059], "output": false } ], "le_euint64_euint4": [ - { "inputs": [2018662588, 9], "output": false }, - { "inputs": [5, 9], "output": true }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": false } + { "inputs": [4853853, 7], "output": false }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } ], "le_euint64_euint8": [ - { "inputs": [2018662588, 245], "output": false }, - { "inputs": [241, 245], "output": true }, - { "inputs": [245, 245], "output": true }, - { "inputs": [245, 241], "output": false } + { "inputs": [4853853, 164], "output": false }, + { "inputs": [160, 164], "output": true }, + { "inputs": [164, 164], "output": true }, + { "inputs": [164, 160], "output": false } ], "le_euint64_euint16": [ - { "inputs": [2018662588, 22989], "output": false }, - { "inputs": [22985, 22989], "output": true }, - { "inputs": [22989, 22989], "output": true }, - { "inputs": [22989, 22985], "output": false } + { "inputs": [4853853, 22531], "output": false }, + { "inputs": [22527, 22531], "output": true }, + { "inputs": [22531, 22531], "output": true }, + { "inputs": [22531, 22527], "output": false } ], "le_euint64_euint32": [ - { "inputs": [2018662588, 812190927], "output": false }, - { "inputs": [812190923, 812190927], "output": true }, - { "inputs": [812190927, 812190927], "output": true }, - { "inputs": [812190927, 812190923], "output": false } + { "inputs": [4853853, 119615921], "output": true }, + { "inputs": [4853849, 4853853], "output": true }, + { "inputs": [4853853, 4853853], "output": true }, + { "inputs": [4853853, 4853849], "output": false } ], "le_euint64_euint64": [ - { "inputs": [2018662588, 1848670692], "output": false }, - { "inputs": [1848670688, 1848670692], "output": true }, - { "inputs": [1848670692, 1848670692], "output": true }, - { "inputs": [1848670692, 1848670688], "output": false } + { "inputs": [4853853, 166520373], "output": true }, + { "inputs": [4853849, 4853853], "output": true }, + { "inputs": [4853853, 4853853], "output": true }, + { "inputs": [4853853, 4853849], "output": false } ], "le_euint64_uint64": [ - { "inputs": [2018662588, 32215999], "output": false }, - { "inputs": [1848670688, 1848670692], "output": true }, - { "inputs": [1848670692, 1848670692], "output": true }, - { "inputs": [1848670692, 1848670688], "output": false } + { "inputs": [4853853, 71100277], "output": true }, + { "inputs": [4853849, 4853853], "output": true }, + { "inputs": [4853853, 4853853], "output": true }, + { "inputs": [4853853, 4853849], "output": false } ], "le_uint64_euint64": [ - { "inputs": [119652561, 32215999], "output": false }, - { "inputs": [1848670688, 1848670692], "output": true }, - { "inputs": [1848670692, 1848670692], "output": true }, - { "inputs": [1848670692, 1848670688], "output": false } + { "inputs": [111458198, 71100277], "output": false }, + { "inputs": [4853849, 4853853], "output": true }, + { "inputs": [4853853, 4853853], "output": true }, + { "inputs": [4853853, 4853849], "output": false } ], "lt_euint4_euint4": [ - { "inputs": [4, 6], "output": true }, + { "inputs": [8, 8], "output": false }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint4_euint8": [ - { "inputs": [4, 236], "output": true }, + { "inputs": [8, 52], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint4_uint8": [ - { "inputs": [4, 1], "output": false }, + { "inputs": [8, 10], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint4_euint16": [ - { "inputs": [4, 31822], "output": true }, + { "inputs": [8, 46388], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint4_euint32": [ - { "inputs": [4, 329229639], "output": true }, + { "inputs": [8, 223282425], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint4_euint64": [ - { "inputs": [4, 1152793041], "output": true }, + { "inputs": [8, 103658240], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint8_euint4": [ - { "inputs": [50, 8], "output": false }, + { "inputs": [209, 1], "output": false }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_uint8_euint4": [ - { "inputs": [3, 8], "output": true }, + { "inputs": [5, 1], "output": false }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint8_euint8": [ - { "inputs": [3, 82], "output": true }, + { "inputs": [5, 181], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint8_uint8": [ - { "inputs": [3, 223], "output": true }, + { "inputs": [5, 37], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_uint8_euint8": [ - { "inputs": [148, 223], "output": true }, + { "inputs": [165, 37], "output": false }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint8_euint16": [ - { "inputs": [148, 35784], "output": true }, - { "inputs": [144, 148], "output": true }, - { "inputs": [148, 148], "output": false }, - { "inputs": [148, 144], "output": false } + { "inputs": [165, 15128], "output": true }, + { "inputs": [161, 165], "output": true }, + { "inputs": [165, 165], "output": false }, + { "inputs": [165, 161], "output": false } ], "lt_euint8_euint32": [ - { "inputs": [148, 1735514833], "output": true }, - { "inputs": [144, 148], "output": true }, - { "inputs": [148, 148], "output": false }, - { "inputs": [148, 144], "output": false } + { "inputs": [165, 242355822], "output": true }, + { "inputs": [161, 165], "output": true }, + { "inputs": [165, 165], "output": false }, + { "inputs": [165, 161], "output": false } ], "lt_euint8_euint64": [ - { "inputs": [148, 1575025918], "output": true }, - { "inputs": [144, 148], "output": true }, - { "inputs": [148, 148], "output": false }, - { "inputs": [148, 144], "output": false } + { "inputs": [165, 87596497], "output": true }, + { "inputs": [161, 165], "output": true }, + { "inputs": [165, 165], "output": false }, + { "inputs": [165, 161], "output": false } ], "lt_euint16_euint4": [ - { "inputs": [64394, 14], "output": false }, - { "inputs": [10, 14], "output": true }, - { "inputs": [14, 14], "output": false }, - { "inputs": [14, 10], "output": false } + { "inputs": [13005, 11], "output": false }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": false }, + { "inputs": [11, 7], "output": false } ], "lt_euint16_euint8": [ - { "inputs": [64394, 92], "output": false }, - { "inputs": [88, 92], "output": true }, - { "inputs": [92, 92], "output": false }, - { "inputs": [92, 88], "output": false } + { "inputs": [13005, 103], "output": false }, + { "inputs": [99, 103], "output": true }, + { "inputs": [103, 103], "output": false }, + { "inputs": [103, 99], "output": false } ], "lt_euint16_euint16": [ - { "inputs": [64394, 46201], "output": false }, - { "inputs": [46197, 46201], "output": true }, - { "inputs": [46201, 46201], "output": false }, - { "inputs": [46201, 46197], "output": false } + { "inputs": [13005, 22857], "output": true }, + { "inputs": [13001, 13005], "output": true }, + { "inputs": [13005, 13005], "output": false }, + { "inputs": [13005, 13001], "output": false } ], "lt_euint16_uint16": [ - { "inputs": [64394, 5464], "output": false }, - { "inputs": [46197, 46201], "output": true }, - { "inputs": [46201, 46201], "output": false }, - { "inputs": [46201, 46197], "output": false } + { "inputs": [13005, 41485], "output": true }, + { "inputs": [13001, 13005], "output": true }, + { "inputs": [13005, 13005], "output": false }, + { "inputs": [13005, 13001], "output": false } ], "lt_uint16_euint16": [ - { "inputs": [50578, 5464], "output": false }, - { "inputs": [46197, 46201], "output": true }, - { "inputs": [46201, 46201], "output": false }, - { "inputs": [46201, 46197], "output": false } + { "inputs": [6215, 41485], "output": true }, + { "inputs": [13001, 13005], "output": true }, + { "inputs": [13005, 13005], "output": false }, + { "inputs": [13005, 13001], "output": false } ], "lt_euint16_euint32": [ - { "inputs": [50578, 1677650454], "output": true }, - { "inputs": [50574, 50578], "output": true }, - { "inputs": [50578, 50578], "output": false }, - { "inputs": [50578, 50574], "output": false } + { "inputs": [6215, 187516000], "output": true }, + { "inputs": [6211, 6215], "output": true }, + { "inputs": [6215, 6215], "output": false }, + { "inputs": [6215, 6211], "output": false } ], "lt_euint16_euint64": [ - { "inputs": [50578, 1995209966], "output": true }, - { "inputs": [50574, 50578], "output": true }, - { "inputs": [50578, 50578], "output": false }, - { "inputs": [50578, 50574], "output": false } + { "inputs": [6215, 123133979], "output": true }, + { "inputs": [6211, 6215], "output": true }, + { "inputs": [6215, 6215], "output": false }, + { "inputs": [6215, 6211], "output": false } ], "lt_euint32_euint4": [ - { "inputs": [1044281941, 14], "output": false }, - { "inputs": [10, 14], "output": true }, - { "inputs": [14, 14], "output": false }, - { "inputs": [14, 10], "output": false } + { "inputs": [89546642, 8], "output": false }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } ], "lt_euint32_euint8": [ - { "inputs": [1044281941, 77], "output": false }, - { "inputs": [73, 77], "output": true }, - { "inputs": [77, 77], "output": false }, - { "inputs": [77, 73], "output": false } + { "inputs": [89546642, 186], "output": false }, + { "inputs": [182, 186], "output": true }, + { "inputs": [186, 186], "output": false }, + { "inputs": [186, 182], "output": false } ], "lt_euint32_euint16": [ - { "inputs": [1044281941, 44435], "output": false }, - { "inputs": [44431, 44435], "output": true }, - { "inputs": [44435, 44435], "output": false }, - { "inputs": [44435, 44431], "output": false } + { "inputs": [89546642, 11355], "output": false }, + { "inputs": [11351, 11355], "output": true }, + { "inputs": [11355, 11355], "output": false }, + { "inputs": [11355, 11351], "output": false } ], "lt_euint32_euint32": [ - { "inputs": [1044281941, 27475171], "output": false }, - { "inputs": [27475167, 27475171], "output": true }, - { "inputs": [27475171, 27475171], "output": false }, - { "inputs": [27475171, 27475167], "output": false } + { "inputs": [89546642, 135434402], "output": true }, + { "inputs": [89546638, 89546642], "output": true }, + { "inputs": [89546642, 89546642], "output": false }, + { "inputs": [89546642, 89546638], "output": false } ], "lt_euint32_uint32": [ - { "inputs": [1044281941, 1474237696], "output": true }, - { "inputs": [27475167, 27475171], "output": true }, - { "inputs": [27475171, 27475171], "output": false }, - { "inputs": [27475171, 27475167], "output": false } + { "inputs": [89546642, 53290899], "output": false }, + { "inputs": [89546638, 89546642], "output": true }, + { "inputs": [89546642, 89546642], "output": false }, + { "inputs": [89546642, 89546638], "output": false } ], "lt_uint32_euint32": [ - { "inputs": [1829077110, 1474237696], "output": false }, - { "inputs": [27475167, 27475171], "output": true }, - { "inputs": [27475171, 27475171], "output": false }, - { "inputs": [27475171, 27475167], "output": false } + { "inputs": [87828731, 53290899], "output": false }, + { "inputs": [89546638, 89546642], "output": true }, + { "inputs": [89546642, 89546642], "output": false }, + { "inputs": [89546642, 89546638], "output": false } ], "lt_euint32_euint64": [ - { "inputs": [1829077110, 871332370], "output": false }, - { "inputs": [871332366, 871332370], "output": true }, - { "inputs": [871332370, 871332370], "output": false }, - { "inputs": [871332370, 871332366], "output": false } + { "inputs": [87828731, 91983750], "output": true }, + { "inputs": [87828727, 87828731], "output": true }, + { "inputs": [87828731, 87828731], "output": false }, + { "inputs": [87828731, 87828727], "output": false } ], "lt_euint64_euint4": [ - { "inputs": [102600113, 13], "output": false }, - { "inputs": [9, 13], "output": true }, - { "inputs": [13, 13], "output": false }, - { "inputs": [13, 9], "output": false } + { "inputs": [109092109, 11], "output": false }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": false }, + { "inputs": [11, 7], "output": false } ], "lt_euint64_euint8": [ - { "inputs": [102600113, 117], "output": false }, - { "inputs": [113, 117], "output": true }, - { "inputs": [117, 117], "output": false }, - { "inputs": [117, 113], "output": false } + { "inputs": [109092109, 64], "output": false }, + { "inputs": [60, 64], "output": true }, + { "inputs": [64, 64], "output": false }, + { "inputs": [64, 60], "output": false } ], "lt_euint64_euint16": [ - { "inputs": [102600113, 19620], "output": false }, - { "inputs": [19616, 19620], "output": true }, - { "inputs": [19620, 19620], "output": false }, - { "inputs": [19620, 19616], "output": false } + { "inputs": [109092109, 63916], "output": false }, + { "inputs": [63912, 63916], "output": true }, + { "inputs": [63916, 63916], "output": false }, + { "inputs": [63916, 63912], "output": false } ], "lt_euint64_euint32": [ - { "inputs": [102600113, 1018674751], "output": true }, - { "inputs": [102600109, 102600113], "output": true }, - { "inputs": [102600113, 102600113], "output": false }, - { "inputs": [102600113, 102600109], "output": false } + { "inputs": [109092109, 83205790], "output": false }, + { "inputs": [83205786, 83205790], "output": true }, + { "inputs": [83205790, 83205790], "output": false }, + { "inputs": [83205790, 83205786], "output": false } ], "lt_euint64_euint64": [ - { "inputs": [102600113, 1772405733], "output": true }, - { "inputs": [102600109, 102600113], "output": true }, - { "inputs": [102600113, 102600113], "output": false }, - { "inputs": [102600113, 102600109], "output": false } + { "inputs": [109092109, 141689285], "output": true }, + { "inputs": [109092105, 109092109], "output": true }, + { "inputs": [109092109, 109092109], "output": false }, + { "inputs": [109092109, 109092105], "output": false } ], "lt_euint64_uint64": [ - { "inputs": [102600113, 1945807436], "output": true }, - { "inputs": [102600109, 102600113], "output": true }, - { "inputs": [102600113, 102600113], "output": false }, - { "inputs": [102600113, 102600109], "output": false } + { "inputs": [109092109, 187709038], "output": true }, + { "inputs": [109092105, 109092109], "output": true }, + { "inputs": [109092109, 109092109], "output": false }, + { "inputs": [109092109, 109092105], "output": false } ], "lt_uint64_euint64": [ - { "inputs": [1582166407, 1945807436], "output": true }, - { "inputs": [102600109, 102600113], "output": true }, - { "inputs": [102600113, 102600113], "output": false }, - { "inputs": [102600113, 102600109], "output": false } + { "inputs": [191874287, 187709038], "output": false }, + { "inputs": [109092105, 109092109], "output": true }, + { "inputs": [109092109, 109092109], "output": false }, + { "inputs": [109092109, 109092105], "output": false } ], "ge_euint4_euint4": [ - { "inputs": [7, 14], "output": false }, + { "inputs": [2, 13], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint4_euint8": [ - { "inputs": [7, 148], "output": false }, + { "inputs": [2, 171], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint4_uint8": [ - { "inputs": [7, 6], "output": true }, + { "inputs": [2, 3], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint4_euint16": [ - { "inputs": [7, 22312], "output": false }, + { "inputs": [2, 31122], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint4_euint32": [ - { "inputs": [7, 2084141274], "output": false }, + { "inputs": [2, 94282146], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint4_euint64": [ - { "inputs": [7, 1017706709], "output": false }, + { "inputs": [2, 125028010], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint8_euint4": [ - { "inputs": [182, 3], "output": true }, + { "inputs": [3, 1], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_uint8_euint4": [ - { "inputs": [8, 3], "output": true }, + { "inputs": [2, 1], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint8_euint8": [ - { "inputs": [8, 253], "output": false }, + { "inputs": [2, 203], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint8_uint8": [ - { "inputs": [8, 73], "output": false }, + { "inputs": [2, 65], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_uint8_euint8": [ - { "inputs": [97, 73], "output": true }, + { "inputs": [254, 65], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint8_euint16": [ - { "inputs": [97, 54950], "output": false }, - { "inputs": [93, 97], "output": false }, - { "inputs": [97, 97], "output": true }, - { "inputs": [97, 93], "output": true } + { "inputs": [254, 25447], "output": false }, + { "inputs": [250, 254], "output": false }, + { "inputs": [254, 254], "output": true }, + { "inputs": [254, 250], "output": true } ], "ge_euint8_euint32": [ - { "inputs": [97, 1858963305], "output": false }, - { "inputs": [93, 97], "output": false }, - { "inputs": [97, 97], "output": true }, - { "inputs": [97, 93], "output": true } + { "inputs": [254, 174513350], "output": false }, + { "inputs": [250, 254], "output": false }, + { "inputs": [254, 254], "output": true }, + { "inputs": [254, 250], "output": true } ], "ge_euint8_euint64": [ - { "inputs": [97, 24079369], "output": false }, - { "inputs": [93, 97], "output": false }, - { "inputs": [97, 97], "output": true }, - { "inputs": [97, 93], "output": true } + { "inputs": [254, 249856292], "output": false }, + { "inputs": [250, 254], "output": false }, + { "inputs": [254, 254], "output": true }, + { "inputs": [254, 250], "output": true } ], "ge_euint16_euint4": [ - { "inputs": [44342, 8], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": [2319, 9], "output": true }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": true } ], "ge_euint16_euint8": [ - { "inputs": [44342, 190], "output": true }, - { "inputs": [186, 190], "output": false }, - { "inputs": [190, 190], "output": true }, - { "inputs": [190, 186], "output": true } + { "inputs": [2319, 170], "output": true }, + { "inputs": [166, 170], "output": false }, + { "inputs": [170, 170], "output": true }, + { "inputs": [170, 166], "output": true } ], "ge_euint16_euint16": [ - { "inputs": [44342, 57666], "output": false }, - { "inputs": [44338, 44342], "output": false }, - { "inputs": [44342, 44342], "output": true }, - { "inputs": [44342, 44338], "output": true } + { "inputs": [2319, 22034], "output": false }, + { "inputs": [2315, 2319], "output": false }, + { "inputs": [2319, 2319], "output": true }, + { "inputs": [2319, 2315], "output": true } ], "ge_euint16_uint16": [ - { "inputs": [44342, 6260], "output": true }, - { "inputs": [44338, 44342], "output": false }, - { "inputs": [44342, 44342], "output": true }, - { "inputs": [44342, 44338], "output": true } + { "inputs": [2319, 46898], "output": false }, + { "inputs": [2315, 2319], "output": false }, + { "inputs": [2319, 2319], "output": true }, + { "inputs": [2319, 2315], "output": true } ], "ge_uint16_euint16": [ - { "inputs": [64532, 6260], "output": true }, - { "inputs": [44338, 44342], "output": false }, - { "inputs": [44342, 44342], "output": true }, - { "inputs": [44342, 44338], "output": true } + { "inputs": [15004, 46898], "output": false }, + { "inputs": [2315, 2319], "output": false }, + { "inputs": [2319, 2319], "output": true }, + { "inputs": [2319, 2315], "output": true } ], "ge_euint16_euint32": [ - { "inputs": [64532, 892657805], "output": false }, - { "inputs": [64528, 64532], "output": false }, - { "inputs": [64532, 64532], "output": true }, - { "inputs": [64532, 64528], "output": true } + { "inputs": [15004, 215912519], "output": false }, + { "inputs": [15000, 15004], "output": false }, + { "inputs": [15004, 15004], "output": true }, + { "inputs": [15004, 15000], "output": true } ], "ge_euint16_euint64": [ - { "inputs": [64532, 1819047757], "output": false }, - { "inputs": [64528, 64532], "output": false }, - { "inputs": [64532, 64532], "output": true }, - { "inputs": [64532, 64528], "output": true } + { "inputs": [15004, 5255422], "output": false }, + { "inputs": [15000, 15004], "output": false }, + { "inputs": [15004, 15004], "output": true }, + { "inputs": [15004, 15000], "output": true } ], "ge_euint32_euint4": [ - { "inputs": [627970552, 13], "output": true }, - { "inputs": [9, 13], "output": false }, - { "inputs": [13, 13], "output": true }, - { "inputs": [13, 9], "output": true } + { "inputs": [182035180, 9], "output": true }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": true } ], "ge_euint32_euint8": [ - { "inputs": [627970552, 5], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": [182035180, 64], "output": true }, + { "inputs": [60, 64], "output": false }, + { "inputs": [64, 64], "output": true }, + { "inputs": [64, 60], "output": true } ], "ge_euint32_euint16": [ - { "inputs": [627970552, 58999], "output": true }, - { "inputs": [58995, 58999], "output": false }, - { "inputs": [58999, 58999], "output": true }, - { "inputs": [58999, 58995], "output": true } + { "inputs": [182035180, 57858], "output": true }, + { "inputs": [57854, 57858], "output": false }, + { "inputs": [57858, 57858], "output": true }, + { "inputs": [57858, 57854], "output": true } ], "ge_euint32_euint32": [ - { "inputs": [627970552, 2136326684], "output": false }, - { "inputs": [627970548, 627970552], "output": false }, - { "inputs": [627970552, 627970552], "output": true }, - { "inputs": [627970552, 627970548], "output": true } + { "inputs": [182035180, 102858487], "output": true }, + { "inputs": [102858483, 102858487], "output": false }, + { "inputs": [102858487, 102858487], "output": true }, + { "inputs": [102858487, 102858483], "output": true } ], "ge_euint32_uint32": [ - { "inputs": [627970552, 1986041075], "output": false }, - { "inputs": [627970548, 627970552], "output": false }, - { "inputs": [627970552, 627970552], "output": true }, - { "inputs": [627970552, 627970548], "output": true } + { "inputs": [182035180, 57241334], "output": true }, + { "inputs": [102858483, 102858487], "output": false }, + { "inputs": [102858487, 102858487], "output": true }, + { "inputs": [102858487, 102858483], "output": true } ], "ge_uint32_euint32": [ - { "inputs": [1972025848, 1986041075], "output": false }, - { "inputs": [627970548, 627970552], "output": false }, - { "inputs": [627970552, 627970552], "output": true }, - { "inputs": [627970552, 627970548], "output": true } + { "inputs": [173909597, 57241334], "output": true }, + { "inputs": [102858483, 102858487], "output": false }, + { "inputs": [102858487, 102858487], "output": true }, + { "inputs": [102858487, 102858483], "output": true } ], "ge_euint32_euint64": [ - { "inputs": [1972025848, 1698971084], "output": true }, - { "inputs": [1698971080, 1698971084], "output": false }, - { "inputs": [1698971084, 1698971084], "output": true }, - { "inputs": [1698971084, 1698971080], "output": true } + { "inputs": [173909597, 200114020], "output": false }, + { "inputs": [173909593, 173909597], "output": false }, + { "inputs": [173909597, 173909597], "output": true }, + { "inputs": [173909597, 173909593], "output": true } ], "ge_euint64_euint4": [ - { "inputs": [1885602752, 6], "output": true }, + { "inputs": [105082351, 8], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint64_euint8": [ - { "inputs": [1885602752, 64], "output": true }, - { "inputs": [60, 64], "output": false }, - { "inputs": [64, 64], "output": true }, - { "inputs": [64, 60], "output": true } + { "inputs": [105082351, 165], "output": true }, + { "inputs": [161, 165], "output": false }, + { "inputs": [165, 165], "output": true }, + { "inputs": [165, 161], "output": true } ], "ge_euint64_euint16": [ - { "inputs": [1885602752, 42598], "output": true }, - { "inputs": [42594, 42598], "output": false }, - { "inputs": [42598, 42598], "output": true }, - { "inputs": [42598, 42594], "output": true } + { "inputs": [105082351, 16536], "output": true }, + { "inputs": [16532, 16536], "output": false }, + { "inputs": [16536, 16536], "output": true }, + { "inputs": [16536, 16532], "output": true } ], "ge_euint64_euint32": [ - { "inputs": [1885602752, 2120758041], "output": false }, - { "inputs": [1885602748, 1885602752], "output": false }, - { "inputs": [1885602752, 1885602752], "output": true }, - { "inputs": [1885602752, 1885602748], "output": true } + { "inputs": [105082351, 181571496], "output": false }, + { "inputs": [105082347, 105082351], "output": false }, + { "inputs": [105082351, 105082351], "output": true }, + { "inputs": [105082351, 105082347], "output": true } ], "ge_euint64_euint64": [ - { "inputs": [1885602752, 1033076257], "output": true }, - { "inputs": [1033076253, 1033076257], "output": false }, - { "inputs": [1033076257, 1033076257], "output": true }, - { "inputs": [1033076257, 1033076253], "output": true } + { "inputs": [105082351, 33126302], "output": true }, + { "inputs": [33126298, 33126302], "output": false }, + { "inputs": [33126302, 33126302], "output": true }, + { "inputs": [33126302, 33126298], "output": true } ], "ge_euint64_uint64": [ - { "inputs": [1885602752, 494320060], "output": true }, - { "inputs": [1033076253, 1033076257], "output": false }, - { "inputs": [1033076257, 1033076257], "output": true }, - { "inputs": [1033076257, 1033076253], "output": true } + { "inputs": [105082351, 48493907], "output": true }, + { "inputs": [33126298, 33126302], "output": false }, + { "inputs": [33126302, 33126302], "output": true }, + { "inputs": [33126302, 33126298], "output": true } ], "ge_uint64_euint64": [ - { "inputs": [1544604409, 494320060], "output": true }, - { "inputs": [1033076253, 1033076257], "output": false }, - { "inputs": [1033076257, 1033076257], "output": true }, - { "inputs": [1033076257, 1033076253], "output": true } + { "inputs": [322150, 48493907], "output": false }, + { "inputs": [33126298, 33126302], "output": false }, + { "inputs": [33126302, 33126302], "output": true }, + { "inputs": [33126302, 33126298], "output": true } ], "gt_euint4_euint4": [ - { "inputs": [6, 9], "output": false }, + { "inputs": [7, 6], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint4_euint8": [ - { "inputs": [6, 250], "output": false }, + { "inputs": [7, 6], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint4_uint8": [ - { "inputs": [6, 1], "output": true }, + { "inputs": [7, 1], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint4_euint16": [ - { "inputs": [6, 26898], "output": false }, + { "inputs": [7, 37404], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint4_euint32": [ - { "inputs": [6, 1743193522], "output": false }, + { "inputs": [7, 78307322], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint4_euint64": [ - { "inputs": [6, 8303014], "output": false }, + { "inputs": [7, 25447544], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint8_euint4": [ - { "inputs": [37, 9], "output": true }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": false }, - { "inputs": [9, 5], "output": true } + { "inputs": [211, 13], "output": true }, + { "inputs": [9, 13], "output": false }, + { "inputs": [13, 13], "output": false }, + { "inputs": [13, 9], "output": true } ], "gt_uint8_euint4": [ - { "inputs": [1, 9], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": false }, - { "inputs": [9, 5], "output": true } + { "inputs": [3, 13], "output": false }, + { "inputs": [9, 13], "output": false }, + { "inputs": [13, 13], "output": false }, + { "inputs": [13, 9], "output": true } ], "gt_euint8_euint8": [ - { "inputs": [1, 112], "output": false }, + { "inputs": [3, 44], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint8_uint8": [ - { "inputs": [1, 127], "output": false }, + { "inputs": [3, 110], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_uint8_euint8": [ - { "inputs": [79, 127], "output": false }, + { "inputs": [240, 110], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint8_euint16": [ - { "inputs": [79, 20669], "output": false }, - { "inputs": [75, 79], "output": false }, - { "inputs": [79, 79], "output": false }, - { "inputs": [79, 75], "output": true } + { "inputs": [240, 31410], "output": false }, + { "inputs": [236, 240], "output": false }, + { "inputs": [240, 240], "output": false }, + { "inputs": [240, 236], "output": true } ], "gt_euint8_euint32": [ - { "inputs": [79, 2069042933], "output": false }, - { "inputs": [75, 79], "output": false }, - { "inputs": [79, 79], "output": false }, - { "inputs": [79, 75], "output": true } + { "inputs": [240, 230709034], "output": false }, + { "inputs": [236, 240], "output": false }, + { "inputs": [240, 240], "output": false }, + { "inputs": [240, 236], "output": true } ], "gt_euint8_euint64": [ - { "inputs": [79, 1487732246], "output": false }, - { "inputs": [75, 79], "output": false }, - { "inputs": [79, 79], "output": false }, - { "inputs": [79, 75], "output": true } + { "inputs": [240, 179585345], "output": false }, + { "inputs": [236, 240], "output": false }, + { "inputs": [240, 240], "output": false }, + { "inputs": [240, 236], "output": true } ], "gt_euint16_euint4": [ - { "inputs": [42324, 1], "output": true }, + { "inputs": [39995, 5], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint16_euint8": [ - { "inputs": [42324, 76], "output": true }, - { "inputs": [72, 76], "output": false }, - { "inputs": [76, 76], "output": false }, - { "inputs": [76, 72], "output": true } + { "inputs": [39995, 222], "output": true }, + { "inputs": [218, 222], "output": false }, + { "inputs": [222, 222], "output": false }, + { "inputs": [222, 218], "output": true } ], "gt_euint16_euint16": [ - { "inputs": [42324, 60441], "output": false }, - { "inputs": [42320, 42324], "output": false }, - { "inputs": [42324, 42324], "output": false }, - { "inputs": [42324, 42320], "output": true } + { "inputs": [39995, 43029], "output": false }, + { "inputs": [39991, 39995], "output": false }, + { "inputs": [39995, 39995], "output": false }, + { "inputs": [39995, 39991], "output": true } ], "gt_euint16_uint16": [ - { "inputs": [42324, 7407], "output": true }, - { "inputs": [42320, 42324], "output": false }, - { "inputs": [42324, 42324], "output": false }, - { "inputs": [42324, 42320], "output": true } + { "inputs": [39995, 40403], "output": false }, + { "inputs": [39991, 39995], "output": false }, + { "inputs": [39995, 39995], "output": false }, + { "inputs": [39995, 39991], "output": true } ], "gt_uint16_euint16": [ - { "inputs": [47205, 7407], "output": true }, - { "inputs": [42320, 42324], "output": false }, - { "inputs": [42324, 42324], "output": false }, - { "inputs": [42324, 42320], "output": true } + { "inputs": [31594, 40403], "output": false }, + { "inputs": [39991, 39995], "output": false }, + { "inputs": [39995, 39995], "output": false }, + { "inputs": [39995, 39991], "output": true } ], "gt_euint16_euint32": [ - { "inputs": [47205, 1988625224], "output": false }, - { "inputs": [47201, 47205], "output": false }, - { "inputs": [47205, 47205], "output": false }, - { "inputs": [47205, 47201], "output": true } + { "inputs": [31594, 222562117], "output": false }, + { "inputs": [31590, 31594], "output": false }, + { "inputs": [31594, 31594], "output": false }, + { "inputs": [31594, 31590], "output": true } ], "gt_euint16_euint64": [ - { "inputs": [47205, 1792915583], "output": false }, - { "inputs": [47201, 47205], "output": false }, - { "inputs": [47205, 47205], "output": false }, - { "inputs": [47205, 47201], "output": true } + { "inputs": [31594, 160571558], "output": false }, + { "inputs": [31590, 31594], "output": false }, + { "inputs": [31594, 31594], "output": false }, + { "inputs": [31594, 31590], "output": true } ], "gt_euint32_euint4": [ - { "inputs": [1801714413, 14], "output": true }, + { "inputs": [228583889, 14], "output": true }, { "inputs": [10, 14], "output": false }, { "inputs": [14, 14], "output": false }, { "inputs": [14, 10], "output": true } ], "gt_euint32_euint8": [ - { "inputs": [1801714413, 95], "output": true }, - { "inputs": [91, 95], "output": false }, - { "inputs": [95, 95], "output": false }, - { "inputs": [95, 91], "output": true } + { "inputs": [228583889, 150], "output": true }, + { "inputs": [146, 150], "output": false }, + { "inputs": [150, 150], "output": false }, + { "inputs": [150, 146], "output": true } ], "gt_euint32_euint16": [ - { "inputs": [1801714413, 56461], "output": true }, - { "inputs": [56457, 56461], "output": false }, - { "inputs": [56461, 56461], "output": false }, - { "inputs": [56461, 56457], "output": true } + { "inputs": [228583889, 65231], "output": true }, + { "inputs": [65227, 65231], "output": false }, + { "inputs": [65231, 65231], "output": false }, + { "inputs": [65231, 65227], "output": true } ], "gt_euint32_euint32": [ - { "inputs": [1801714413, 831227104], "output": true }, - { "inputs": [831227100, 831227104], "output": false }, - { "inputs": [831227104, 831227104], "output": false }, - { "inputs": [831227104, 831227100], "output": true } + { "inputs": [228583889, 44696680], "output": true }, + { "inputs": [44696676, 44696680], "output": false }, + { "inputs": [44696680, 44696680], "output": false }, + { "inputs": [44696680, 44696676], "output": true } ], "gt_euint32_uint32": [ - { "inputs": [1801714413, 448229258], "output": true }, - { "inputs": [831227100, 831227104], "output": false }, - { "inputs": [831227104, 831227104], "output": false }, - { "inputs": [831227104, 831227100], "output": true } + { "inputs": [228583889, 207183969], "output": true }, + { "inputs": [44696676, 44696680], "output": false }, + { "inputs": [44696680, 44696680], "output": false }, + { "inputs": [44696680, 44696676], "output": true } ], "gt_uint32_euint32": [ - { "inputs": [258393672, 448229258], "output": false }, - { "inputs": [831227100, 831227104], "output": false }, - { "inputs": [831227104, 831227104], "output": false }, - { "inputs": [831227104, 831227100], "output": true } + { "inputs": [51988955, 207183969], "output": false }, + { "inputs": [44696676, 44696680], "output": false }, + { "inputs": [44696680, 44696680], "output": false }, + { "inputs": [44696680, 44696676], "output": true } ], "gt_euint32_euint64": [ - { "inputs": [258393672, 1790809342], "output": false }, - { "inputs": [258393668, 258393672], "output": false }, - { "inputs": [258393672, 258393672], "output": false }, - { "inputs": [258393672, 258393668], "output": true } + { "inputs": [51988955, 19324508], "output": true }, + { "inputs": [19324504, 19324508], "output": false }, + { "inputs": [19324508, 19324508], "output": false }, + { "inputs": [19324508, 19324504], "output": true } ], "gt_euint64_euint4": [ - { "inputs": [307981806, 12], "output": true }, - { "inputs": [8, 12], "output": false }, - { "inputs": [12, 12], "output": false }, - { "inputs": [12, 8], "output": true } + { "inputs": [264058266, 10], "output": true }, + { "inputs": [6, 10], "output": false }, + { "inputs": [10, 10], "output": false }, + { "inputs": [10, 6], "output": true } ], "gt_euint64_euint8": [ - { "inputs": [307981806, 246], "output": true }, - { "inputs": [242, 246], "output": false }, - { "inputs": [246, 246], "output": false }, - { "inputs": [246, 242], "output": true } + { "inputs": [264058266, 147], "output": true }, + { "inputs": [143, 147], "output": false }, + { "inputs": [147, 147], "output": false }, + { "inputs": [147, 143], "output": true } ], "gt_euint64_euint16": [ - { "inputs": [307981806, 10827], "output": true }, - { "inputs": [10823, 10827], "output": false }, - { "inputs": [10827, 10827], "output": false }, - { "inputs": [10827, 10823], "output": true } + { "inputs": [264058266, 4272], "output": true }, + { "inputs": [4268, 4272], "output": false }, + { "inputs": [4272, 4272], "output": false }, + { "inputs": [4272, 4268], "output": true } ], "gt_euint64_euint32": [ - { "inputs": [307981806, 973826729], "output": false }, - { "inputs": [307981802, 307981806], "output": false }, - { "inputs": [307981806, 307981806], "output": false }, - { "inputs": [307981806, 307981802], "output": true } + { "inputs": [264058266, 243897804], "output": true }, + { "inputs": [243897800, 243897804], "output": false }, + { "inputs": [243897804, 243897804], "output": false }, + { "inputs": [243897804, 243897800], "output": true } ], "gt_euint64_euint64": [ - { "inputs": [307981806, 618210327], "output": false }, - { "inputs": [307981802, 307981806], "output": false }, - { "inputs": [307981806, 307981806], "output": false }, - { "inputs": [307981806, 307981802], "output": true } + { "inputs": [264058266, 143096333], "output": true }, + { "inputs": [143096329, 143096333], "output": false }, + { "inputs": [143096333, 143096333], "output": false }, + { "inputs": [143096333, 143096329], "output": true } ], "gt_euint64_uint64": [ - { "inputs": [307981806, 218365735], "output": true }, - { "inputs": [307981802, 307981806], "output": false }, - { "inputs": [307981806, 307981806], "output": false }, - { "inputs": [307981806, 307981802], "output": true } + { "inputs": [264058266, 101035647], "output": true }, + { "inputs": [143096329, 143096333], "output": false }, + { "inputs": [143096333, 143096333], "output": false }, + { "inputs": [143096333, 143096329], "output": true } ], "gt_uint64_euint64": [ - { "inputs": [342213755, 218365735], "output": true }, - { "inputs": [307981802, 307981806], "output": false }, - { "inputs": [307981806, 307981806], "output": false }, - { "inputs": [307981806, 307981802], "output": true } + { "inputs": [236395744, 101035647], "output": true }, + { "inputs": [143096329, 143096333], "output": false }, + { "inputs": [143096333, 143096333], "output": false }, + { "inputs": [143096333, 143096329], "output": true } ], "eq_euint4_euint4": [ - { "inputs": [11, 12], "output": false }, - { "inputs": [7, 11], "output": false }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [10, 1], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } ], "eq_euint4_euint8": [ - { "inputs": [11, 134], "output": false }, - { "inputs": [7, 11], "output": false }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [10, 106], "output": false }, + { "inputs": [6, 10], "output": false }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "eq_euint4_uint8": [ - { "inputs": [11, 3], "output": false }, - { "inputs": [7, 11], "output": false }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [10, 10], "output": true }, + { "inputs": [6, 10], "output": false }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "eq_euint4_euint16": [ - { "inputs": [11, 56998], "output": false }, - { "inputs": [7, 11], "output": false }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [10, 50800], "output": false }, + { "inputs": [6, 10], "output": false }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "eq_euint4_euint32": [ - { "inputs": [11, 991467756], "output": false }, - { "inputs": [7, 11], "output": false }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [10, 253749712], "output": false }, + { "inputs": [6, 10], "output": false }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "eq_euint4_euint64": [ - { "inputs": [11, 1242271547], "output": false }, - { "inputs": [7, 11], "output": false }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [10, 97288685], "output": false }, + { "inputs": [6, 10], "output": false }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "eq_euint8_euint4": [ - { "inputs": [59, 2], "output": false }, + { "inputs": [129, 1], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_uint8_euint4": [ - { "inputs": [6, 2], "output": false }, + { "inputs": [8, 1], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_euint8_euint8": [ - { "inputs": [6, 193], "output": false }, + { "inputs": [8, 206], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_euint8_uint8": [ - { "inputs": [6, 35], "output": false }, + { "inputs": [8, 233], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_uint8_euint8": [ - { "inputs": [224, 35], "output": false }, + { "inputs": [92, 233], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_euint8_euint16": [ - { "inputs": [224, 28749], "output": false }, - { "inputs": [220, 224], "output": false }, - { "inputs": [224, 224], "output": true }, - { "inputs": [224, 220], "output": false } + { "inputs": [92, 49874], "output": false }, + { "inputs": [88, 92], "output": false }, + { "inputs": [92, 92], "output": true }, + { "inputs": [92, 88], "output": false } ], "eq_euint8_euint32": [ - { "inputs": [224, 1978797433], "output": false }, - { "inputs": [220, 224], "output": false }, - { "inputs": [224, 224], "output": true }, - { "inputs": [224, 220], "output": false } + { "inputs": [92, 74149594], "output": false }, + { "inputs": [88, 92], "output": false }, + { "inputs": [92, 92], "output": true }, + { "inputs": [92, 88], "output": false } ], "eq_euint8_euint64": [ - { "inputs": [224, 1900324216], "output": false }, - { "inputs": [220, 224], "output": false }, - { "inputs": [224, 224], "output": true }, - { "inputs": [224, 220], "output": false } + { "inputs": [92, 249397548], "output": false }, + { "inputs": [88, 92], "output": false }, + { "inputs": [92, 92], "output": true }, + { "inputs": [92, 88], "output": false } ], "eq_euint16_euint4": [ - { "inputs": [5627, 12], "output": false }, - { "inputs": [8, 12], "output": false }, - { "inputs": [12, 12], "output": true }, - { "inputs": [12, 8], "output": false } + { "inputs": [44634, 3], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } ], "eq_euint16_euint8": [ - { "inputs": [5627, 83], "output": false }, - { "inputs": [79, 83], "output": false }, - { "inputs": [83, 83], "output": true }, - { "inputs": [83, 79], "output": false } + { "inputs": [44634, 93], "output": false }, + { "inputs": [89, 93], "output": false }, + { "inputs": [93, 93], "output": true }, + { "inputs": [93, 89], "output": false } ], "eq_euint16_euint16": [ - { "inputs": [5627, 4536], "output": false }, - { "inputs": [4532, 4536], "output": false }, - { "inputs": [4536, 4536], "output": true }, - { "inputs": [4536, 4532], "output": false } + { "inputs": [44634, 41626], "output": false }, + { "inputs": [41622, 41626], "output": false }, + { "inputs": [41626, 41626], "output": true }, + { "inputs": [41626, 41622], "output": false } ], "eq_euint16_uint16": [ - { "inputs": [5627, 53030], "output": false }, - { "inputs": [4532, 4536], "output": false }, - { "inputs": [4536, 4536], "output": true }, - { "inputs": [4536, 4532], "output": false } + { "inputs": [44634, 11079], "output": false }, + { "inputs": [41622, 41626], "output": false }, + { "inputs": [41626, 41626], "output": true }, + { "inputs": [41626, 41622], "output": false } ], "eq_uint16_euint16": [ - { "inputs": [65041, 53030], "output": false }, - { "inputs": [4532, 4536], "output": false }, - { "inputs": [4536, 4536], "output": true }, - { "inputs": [4536, 4532], "output": false } + { "inputs": [58427, 11079], "output": false }, + { "inputs": [41622, 41626], "output": false }, + { "inputs": [41626, 41626], "output": true }, + { "inputs": [41626, 41622], "output": false } ], "eq_euint16_euint32": [ - { "inputs": [65041, 696957537], "output": false }, - { "inputs": [65037, 65041], "output": false }, - { "inputs": [65041, 65041], "output": true }, - { "inputs": [65041, 65037], "output": false } + { "inputs": [58427, 33310393], "output": false }, + { "inputs": [58423, 58427], "output": false }, + { "inputs": [58427, 58427], "output": true }, + { "inputs": [58427, 58423], "output": false } ], "eq_euint16_euint64": [ - { "inputs": [65041, 1498344478], "output": false }, - { "inputs": [65037, 65041], "output": false }, - { "inputs": [65041, 65041], "output": true }, - { "inputs": [65041, 65037], "output": false } + { "inputs": [58427, 265593759], "output": false }, + { "inputs": [58423, 58427], "output": false }, + { "inputs": [58427, 58427], "output": true }, + { "inputs": [58427, 58423], "output": false } ], "eq_euint32_euint4": [ - { "inputs": [1270694518, 8], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": [82686069, 12], "output": false }, + { "inputs": [8, 12], "output": false }, + { "inputs": [12, 12], "output": true }, + { "inputs": [12, 8], "output": false } ], "eq_euint32_euint8": [ - { "inputs": [1270694518, 11], "output": false }, - { "inputs": [7, 11], "output": false }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [82686069, 42], "output": false }, + { "inputs": [38, 42], "output": false }, + { "inputs": [42, 42], "output": true }, + { "inputs": [42, 38], "output": false } ], "eq_euint32_euint16": [ - { "inputs": [1270694518, 22132], "output": false }, - { "inputs": [22128, 22132], "output": false }, - { "inputs": [22132, 22132], "output": true }, - { "inputs": [22132, 22128], "output": false } + { "inputs": [82686069, 20674], "output": false }, + { "inputs": [20670, 20674], "output": false }, + { "inputs": [20674, 20674], "output": true }, + { "inputs": [20674, 20670], "output": false } ], "eq_euint32_euint32": [ - { "inputs": [1270694518, 247535168], "output": false }, - { "inputs": [247535164, 247535168], "output": false }, - { "inputs": [247535168, 247535168], "output": true }, - { "inputs": [247535168, 247535164], "output": false } + { "inputs": [82686069, 111825281], "output": false }, + { "inputs": [82686065, 82686069], "output": false }, + { "inputs": [82686069, 82686069], "output": true }, + { "inputs": [82686069, 82686065], "output": false } ], "eq_euint32_uint32": [ - { "inputs": [1270694518, 945618490], "output": false }, - { "inputs": [247535164, 247535168], "output": false }, - { "inputs": [247535168, 247535168], "output": true }, - { "inputs": [247535168, 247535164], "output": false } + { "inputs": [82686069, 99342572], "output": false }, + { "inputs": [82686065, 82686069], "output": false }, + { "inputs": [82686069, 82686069], "output": true }, + { "inputs": [82686069, 82686065], "output": false } ], "eq_uint32_euint32": [ - { "inputs": [1877579186, 945618490], "output": false }, - { "inputs": [247535164, 247535168], "output": false }, - { "inputs": [247535168, 247535168], "output": true }, - { "inputs": [247535168, 247535164], "output": false } + { "inputs": [6049542, 99342572], "output": false }, + { "inputs": [82686065, 82686069], "output": false }, + { "inputs": [82686069, 82686069], "output": true }, + { "inputs": [82686069, 82686065], "output": false } ], "eq_euint32_euint64": [ - { "inputs": [1877579186, 1428129540], "output": false }, - { "inputs": [1428129536, 1428129540], "output": false }, - { "inputs": [1428129540, 1428129540], "output": true }, - { "inputs": [1428129540, 1428129536], "output": false } + { "inputs": [6049542, 40221551], "output": false }, + { "inputs": [6049538, 6049542], "output": false }, + { "inputs": [6049542, 6049542], "output": true }, + { "inputs": [6049542, 6049538], "output": false } ], "eq_euint64_euint4": [ - { "inputs": [2078992513, 6], "output": false }, + { "inputs": [173975280, 4], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_euint64_euint8": [ - { "inputs": [2078992513, 51], "output": false }, - { "inputs": [47, 51], "output": false }, - { "inputs": [51, 51], "output": true }, - { "inputs": [51, 47], "output": false } + { "inputs": [173975280, 29], "output": false }, + { "inputs": [25, 29], "output": false }, + { "inputs": [29, 29], "output": true }, + { "inputs": [29, 25], "output": false } ], "eq_euint64_euint16": [ - { "inputs": [2078992513, 32629], "output": false }, - { "inputs": [32625, 32629], "output": false }, - { "inputs": [32629, 32629], "output": true }, - { "inputs": [32629, 32625], "output": false } + { "inputs": [173975280, 43434], "output": false }, + { "inputs": [43430, 43434], "output": false }, + { "inputs": [43434, 43434], "output": true }, + { "inputs": [43434, 43430], "output": false } ], "eq_euint64_euint32": [ - { "inputs": [2078992513, 810545451], "output": false }, - { "inputs": [810545447, 810545451], "output": false }, - { "inputs": [810545451, 810545451], "output": true }, - { "inputs": [810545451, 810545447], "output": false } + { "inputs": [173975280, 95821853], "output": false }, + { "inputs": [95821849, 95821853], "output": false }, + { "inputs": [95821853, 95821853], "output": true }, + { "inputs": [95821853, 95821849], "output": false } ], "eq_euint64_euint64": [ - { "inputs": [2078992513, 1060802657], "output": false }, - { "inputs": [1060802653, 1060802657], "output": false }, - { "inputs": [1060802657, 1060802657], "output": true }, - { "inputs": [1060802657, 1060802653], "output": false } + { "inputs": [173975280, 53304343], "output": false }, + { "inputs": [53304339, 53304343], "output": false }, + { "inputs": [53304343, 53304343], "output": true }, + { "inputs": [53304343, 53304339], "output": false } ], "eq_euint64_uint64": [ - { "inputs": [2078992513, 415471663], "output": false }, - { "inputs": [1060802653, 1060802657], "output": false }, - { "inputs": [1060802657, 1060802657], "output": true }, - { "inputs": [1060802657, 1060802653], "output": false } + { "inputs": [173975280, 166663710], "output": false }, + { "inputs": [53304339, 53304343], "output": false }, + { "inputs": [53304343, 53304343], "output": true }, + { "inputs": [53304343, 53304339], "output": false } ], "eq_uint64_euint64": [ - { "inputs": [810072111, 415471663], "output": false }, - { "inputs": [1060802653, 1060802657], "output": false }, - { "inputs": [1060802657, 1060802657], "output": true }, - { "inputs": [1060802657, 1060802653], "output": false } + { "inputs": [122047770, 166663710], "output": false }, + { "inputs": [53304339, 53304343], "output": false }, + { "inputs": [53304343, 53304343], "output": true }, + { "inputs": [53304343, 53304339], "output": false } ], "ne_euint4_euint4": [ - { "inputs": [2, 13], "output": true }, + { "inputs": [1, 3], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint4_euint8": [ - { "inputs": [2, 86], "output": true }, + { "inputs": [1, 141], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint4_uint8": [ - { "inputs": [2, 3], "output": true }, + { "inputs": [1, 10], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint4_euint16": [ - { "inputs": [2, 15611], "output": true }, + { "inputs": [1, 28941], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint4_euint32": [ - { "inputs": [2, 2115089145], "output": true }, + { "inputs": [1, 54078590], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint4_euint64": [ - { "inputs": [2, 537819520], "output": true }, + { "inputs": [1, 146059192], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint8_euint4": [ - { "inputs": [18, 13], "output": true }, + { "inputs": [63, 13], "output": true }, { "inputs": [9, 13], "output": true }, { "inputs": [13, 13], "output": false }, { "inputs": [13, 9], "output": true } ], "ne_uint8_euint4": [ - { "inputs": [11, 13], "output": true }, + { "inputs": [7, 13], "output": true }, { "inputs": [9, 13], "output": true }, { "inputs": [13, 13], "output": false }, { "inputs": [13, 9], "output": true } ], "ne_euint8_euint8": [ - { "inputs": [11, 49], "output": true }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": false }, - { "inputs": [11, 7], "output": true } + { "inputs": [7, 41], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } ], "ne_euint8_uint8": [ - { "inputs": [11, 2], "output": true }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": false }, - { "inputs": [11, 7], "output": true } + { "inputs": [7, 100], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } ], "ne_uint8_euint8": [ - { "inputs": [223, 2], "output": true }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": false }, - { "inputs": [11, 7], "output": true } + { "inputs": [147, 100], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } ], "ne_euint8_euint16": [ - { "inputs": [223, 38601], "output": true }, - { "inputs": [219, 223], "output": true }, - { "inputs": [223, 223], "output": false }, - { "inputs": [223, 219], "output": true } + { "inputs": [147, 20222], "output": true }, + { "inputs": [143, 147], "output": true }, + { "inputs": [147, 147], "output": false }, + { "inputs": [147, 143], "output": true } ], "ne_euint8_euint32": [ - { "inputs": [223, 19817588], "output": true }, - { "inputs": [219, 223], "output": true }, - { "inputs": [223, 223], "output": false }, - { "inputs": [223, 219], "output": true } + { "inputs": [147, 134200275], "output": true }, + { "inputs": [143, 147], "output": true }, + { "inputs": [147, 147], "output": false }, + { "inputs": [147, 143], "output": true } ], "ne_euint8_euint64": [ - { "inputs": [223, 1747152964], "output": true }, - { "inputs": [219, 223], "output": true }, - { "inputs": [223, 223], "output": false }, - { "inputs": [223, 219], "output": true } + { "inputs": [147, 43277666], "output": true }, + { "inputs": [143, 147], "output": true }, + { "inputs": [147, 147], "output": false }, + { "inputs": [147, 143], "output": true } ], "ne_euint16_euint4": [ - { "inputs": [20601, 5], "output": true }, + { "inputs": [58512, 7], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint16_euint8": [ - { "inputs": [20601, 251], "output": true }, - { "inputs": [247, 251], "output": true }, - { "inputs": [251, 251], "output": false }, - { "inputs": [251, 247], "output": true } + { "inputs": [58512, 116], "output": true }, + { "inputs": [112, 116], "output": true }, + { "inputs": [116, 116], "output": false }, + { "inputs": [116, 112], "output": true } ], "ne_euint16_euint16": [ - { "inputs": [20601, 31416], "output": true }, - { "inputs": [20597, 20601], "output": true }, - { "inputs": [20601, 20601], "output": false }, - { "inputs": [20601, 20597], "output": true } + { "inputs": [58512, 41579], "output": true }, + { "inputs": [41575, 41579], "output": true }, + { "inputs": [41579, 41579], "output": false }, + { "inputs": [41579, 41575], "output": true } ], "ne_euint16_uint16": [ - { "inputs": [20601, 24726], "output": true }, - { "inputs": [20597, 20601], "output": true }, - { "inputs": [20601, 20601], "output": false }, - { "inputs": [20601, 20597], "output": true } + { "inputs": [58512, 5930], "output": true }, + { "inputs": [41575, 41579], "output": true }, + { "inputs": [41579, 41579], "output": false }, + { "inputs": [41579, 41575], "output": true } ], "ne_uint16_euint16": [ - { "inputs": [16027, 24726], "output": true }, - { "inputs": [20597, 20601], "output": true }, - { "inputs": [20601, 20601], "output": false }, - { "inputs": [20601, 20597], "output": true } + { "inputs": [22739, 5930], "output": true }, + { "inputs": [41575, 41579], "output": true }, + { "inputs": [41579, 41579], "output": false }, + { "inputs": [41579, 41575], "output": true } ], "ne_euint16_euint32": [ - { "inputs": [16027, 1143925973], "output": true }, - { "inputs": [16023, 16027], "output": true }, - { "inputs": [16027, 16027], "output": false }, - { "inputs": [16027, 16023], "output": true } + { "inputs": [22739, 149626103], "output": true }, + { "inputs": [22735, 22739], "output": true }, + { "inputs": [22739, 22739], "output": false }, + { "inputs": [22739, 22735], "output": true } ], "ne_euint16_euint64": [ - { "inputs": [16027, 1755085159], "output": true }, - { "inputs": [16023, 16027], "output": true }, - { "inputs": [16027, 16027], "output": false }, - { "inputs": [16027, 16023], "output": true } + { "inputs": [22739, 233045312], "output": true }, + { "inputs": [22735, 22739], "output": true }, + { "inputs": [22739, 22739], "output": false }, + { "inputs": [22739, 22735], "output": true } ], "ne_euint32_euint4": [ - { "inputs": [1211702728, 8], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": [3660714, 9], "output": true }, + { "inputs": [5, 9], "output": true }, + { "inputs": [9, 9], "output": false }, + { "inputs": [9, 5], "output": true } ], "ne_euint32_euint8": [ - { "inputs": [1211702728, 132], "output": true }, - { "inputs": [128, 132], "output": true }, - { "inputs": [132, 132], "output": false }, - { "inputs": [132, 128], "output": true } + { "inputs": [3660714, 206], "output": true }, + { "inputs": [202, 206], "output": true }, + { "inputs": [206, 206], "output": false }, + { "inputs": [206, 202], "output": true } ], "ne_euint32_euint16": [ - { "inputs": [1211702728, 13344], "output": true }, - { "inputs": [13340, 13344], "output": true }, - { "inputs": [13344, 13344], "output": false }, - { "inputs": [13344, 13340], "output": true } + { "inputs": [3660714, 6484], "output": true }, + { "inputs": [6480, 6484], "output": true }, + { "inputs": [6484, 6484], "output": false }, + { "inputs": [6484, 6480], "output": true } ], "ne_euint32_euint32": [ - { "inputs": [1211702728, 563095027], "output": true }, - { "inputs": [563095023, 563095027], "output": true }, - { "inputs": [563095027, 563095027], "output": false }, - { "inputs": [563095027, 563095023], "output": true } + { "inputs": [3660714, 184322766], "output": true }, + { "inputs": [3660710, 3660714], "output": true }, + { "inputs": [3660714, 3660714], "output": false }, + { "inputs": [3660714, 3660710], "output": true } ], "ne_euint32_uint32": [ - { "inputs": [1211702728, 426850373], "output": true }, - { "inputs": [563095023, 563095027], "output": true }, - { "inputs": [563095027, 563095027], "output": false }, - { "inputs": [563095027, 563095023], "output": true } + { "inputs": [3660714, 206743981], "output": true }, + { "inputs": [3660710, 3660714], "output": true }, + { "inputs": [3660714, 3660714], "output": false }, + { "inputs": [3660714, 3660710], "output": true } ], "ne_uint32_euint32": [ - { "inputs": [1464361694, 426850373], "output": true }, - { "inputs": [563095023, 563095027], "output": true }, - { "inputs": [563095027, 563095027], "output": false }, - { "inputs": [563095027, 563095023], "output": true } + { "inputs": [223424023, 206743981], "output": true }, + { "inputs": [3660710, 3660714], "output": true }, + { "inputs": [3660714, 3660714], "output": false }, + { "inputs": [3660714, 3660710], "output": true } ], "ne_euint32_euint64": [ - { "inputs": [1464361694, 2125136992], "output": true }, - { "inputs": [1464361690, 1464361694], "output": true }, - { "inputs": [1464361694, 1464361694], "output": false }, - { "inputs": [1464361694, 1464361690], "output": true } + { "inputs": [223424023, 59824452], "output": true }, + { "inputs": [59824448, 59824452], "output": true }, + { "inputs": [59824452, 59824452], "output": false }, + { "inputs": [59824452, 59824448], "output": true } ], "ne_euint64_euint4": [ - { "inputs": [1037057063, 9], "output": true }, - { "inputs": [5, 9], "output": true }, - { "inputs": [9, 9], "output": false }, - { "inputs": [9, 5], "output": true } + { "inputs": [86198263, 13], "output": true }, + { "inputs": [9, 13], "output": true }, + { "inputs": [13, 13], "output": false }, + { "inputs": [13, 9], "output": true } ], "ne_euint64_euint8": [ - { "inputs": [1037057063, 209], "output": true }, - { "inputs": [205, 209], "output": true }, - { "inputs": [209, 209], "output": false }, - { "inputs": [209, 205], "output": true } + { "inputs": [86198263, 223], "output": true }, + { "inputs": [219, 223], "output": true }, + { "inputs": [223, 223], "output": false }, + { "inputs": [223, 219], "output": true } ], "ne_euint64_euint16": [ - { "inputs": [1037057063, 50271], "output": true }, - { "inputs": [50267, 50271], "output": true }, - { "inputs": [50271, 50271], "output": false }, - { "inputs": [50271, 50267], "output": true } + { "inputs": [86198263, 29976], "output": true }, + { "inputs": [29972, 29976], "output": true }, + { "inputs": [29976, 29976], "output": false }, + { "inputs": [29976, 29972], "output": true } ], "ne_euint64_euint32": [ - { "inputs": [1037057063, 358604604], "output": true }, - { "inputs": [358604600, 358604604], "output": true }, - { "inputs": [358604604, 358604604], "output": false }, - { "inputs": [358604604, 358604600], "output": true } + { "inputs": [86198263, 155458175], "output": true }, + { "inputs": [86198259, 86198263], "output": true }, + { "inputs": [86198263, 86198263], "output": false }, + { "inputs": [86198263, 86198259], "output": true } ], "ne_euint64_euint64": [ - { "inputs": [1037057063, 451065562], "output": true }, - { "inputs": [451065558, 451065562], "output": true }, - { "inputs": [451065562, 451065562], "output": false }, - { "inputs": [451065562, 451065558], "output": true } + { "inputs": [86198263, 178805096], "output": true }, + { "inputs": [86198259, 86198263], "output": true }, + { "inputs": [86198263, 86198263], "output": false }, + { "inputs": [86198263, 86198259], "output": true } ], "ne_euint64_uint64": [ - { "inputs": [1037057063, 1794841801], "output": true }, - { "inputs": [451065558, 451065562], "output": true }, - { "inputs": [451065562, 451065562], "output": false }, - { "inputs": [451065562, 451065558], "output": true } + { "inputs": [86198263, 40246882], "output": true }, + { "inputs": [86198259, 86198263], "output": true }, + { "inputs": [86198263, 86198263], "output": false }, + { "inputs": [86198263, 86198259], "output": true } ], "ne_uint64_euint64": [ - { "inputs": [1447708235, 1794841801], "output": true }, - { "inputs": [451065558, 451065562], "output": true }, - { "inputs": [451065562, 451065562], "output": false }, - { "inputs": [451065562, 451065558], "output": true } + { "inputs": [167642465, 40246882], "output": true }, + { "inputs": [86198259, 86198263], "output": true }, + { "inputs": [86198263, 86198263], "output": false }, + { "inputs": [86198263, 86198259], "output": true } ], "shl_euint4_uint8": [ - { "inputs": [1, 9], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [1, 7], "output": 8 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } ], "shl_euint8_euint8": [ - { "inputs": [15, 7], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [89, 1], "output": 178 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 128 } ], "shl_euint8_uint8": [ - { "inputs": [15, 173], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [89, 1], "output": 178 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 128 } ], "shl_euint16_euint8": [ - { "inputs": [470, 1], "output": 235 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [52308, 7], "output": 10752 }, + { "inputs": [4, 8], "output": 1024 }, + { "inputs": [8, 8], "output": 2048 }, + { "inputs": [8, 4], "output": 128 } ], "shl_euint16_uint8": [ - { "inputs": [60273, 120], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [52308, 7], "output": 10752 }, + { "inputs": [4, 8], "output": 1024 }, + { "inputs": [8, 8], "output": 2048 }, + { "inputs": [8, 4], "output": 128 } ], "shl_euint32_euint8": [ - { "inputs": [465, 1], "output": 232 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [136621573, 1], "output": 273243146 }, + { "inputs": [4, 8], "output": 1024 }, + { "inputs": [8, 8], "output": 2048 }, + { "inputs": [8, 4], "output": 128 } ], "shl_euint32_uint8": [ - { "inputs": [465, 1], "output": 232 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [136621573, 1], "output": 273243146 }, + { "inputs": [4, 8], "output": 1024 }, + { "inputs": [8, 8], "output": 2048 }, + { "inputs": [8, 4], "output": 128 } ], "shl_euint64_euint8": [ - { "inputs": [449, 1], "output": 224 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [163054538, 3], "output": 1304436304 }, + { "inputs": [4, 8], "output": 1024 }, + { "inputs": [8, 8], "output": 2048 }, + { "inputs": [8, 4], "output": 128 } ], "shl_euint64_uint8": [ - { "inputs": [1886374881, 60], "output": 7 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [163054538, 3], "output": 1304436304 }, + { "inputs": [4, 8], "output": 1024 }, + { "inputs": [8, 8], "output": 2048 }, + { "inputs": [8, 4], "output": 128 } ], "shr_euint4_uint8": [ - { "inputs": [5, 7], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [6, 5], "output": 3 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } ], "shr_euint8_euint8": [ - { "inputs": [113, 7], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, + { "inputs": [83, 5], "output": 2 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint8_uint8": [ - { "inputs": [113, 128], "output": 113 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, + { "inputs": [83, 5], "output": 2 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint16_euint8": [ - { "inputs": [386, 1], "output": 193 }, + { "inputs": [60963, 1], "output": 30481 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint16_uint8": [ - { "inputs": [49490, 216], "output": 0 }, + { "inputs": [60963, 1], "output": 30481 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint32_euint8": [ - { "inputs": [315, 1], "output": 157 }, + { "inputs": [157098209, 6], "output": 2454659 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint32_uint8": [ - { "inputs": [315, 1], "output": 157 }, + { "inputs": [157098209, 6], "output": 2454659 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint64_euint8": [ - { "inputs": [443, 1], "output": 221 }, + { "inputs": [151463759, 7], "output": 1183310 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint64_uint8": [ - { "inputs": [29073964, 153], "output": 0 }, + { "inputs": [151463759, 7], "output": 1183310 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "max_euint4_euint4": [ - { "inputs": [1, 12], "output": 12 }, + { "inputs": [13, 2], "output": 13 }, { "inputs": [4, 8], "output": 8 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], "max_euint4_euint8": [ - { "inputs": [1, 8], "output": 8 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": [13, 155], "output": 155 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "max_euint4_uint8": [ - { "inputs": [1, 4], "output": 4 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": [13, 8], "output": 13 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "max_euint4_euint16": [ - { "inputs": [1, 14], "output": 14 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": [13, 4074], "output": 4074 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "max_euint4_euint32": [ - { "inputs": [1, 11], "output": 11 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": [13, 183893221], "output": 183893221 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "max_euint4_euint64": [ - { "inputs": [1, 12], "output": 12 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": [13, 66326451], "output": 66326451 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "max_euint8_euint4": [ - { "inputs": [11, 8], "output": 11 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": [39, 11], "output": 39 }, + { "inputs": [7, 11], "output": 11 }, + { "inputs": [11, 11], "output": 11 }, + { "inputs": [11, 7], "output": 11 } ], "max_uint8_euint4": [ - { "inputs": [2, 8], "output": 8 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": [6, 11], "output": 11 }, + { "inputs": [7, 11], "output": 11 }, + { "inputs": [11, 11], "output": 11 }, + { "inputs": [11, 7], "output": 11 } ], "max_euint8_euint8": [ - { "inputs": [2, 44], "output": 44 }, + { "inputs": [6, 151], "output": 151 }, { "inputs": [4, 8], "output": 8 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], "max_euint8_uint8": [ - { "inputs": [2, 123], "output": 123 }, + { "inputs": [6, 28], "output": 28 }, { "inputs": [4, 8], "output": 8 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], "max_uint8_euint8": [ - { "inputs": [178, 123], "output": 178 }, + { "inputs": [250, 28], "output": 250 }, { "inputs": [4, 8], "output": 8 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], "max_euint8_euint16": [ - { "inputs": [1, 173], "output": 173 }, - { "inputs": [174, 178], "output": 178 }, - { "inputs": [178, 178], "output": 178 }, - { "inputs": [178, 174], "output": 178 } + { "inputs": [250, 47824], "output": 47824 }, + { "inputs": [246, 250], "output": 250 }, + { "inputs": [250, 250], "output": 250 }, + { "inputs": [250, 246], "output": 250 } ], "max_euint8_euint32": [ - { "inputs": [1, 176], "output": 176 }, - { "inputs": [174, 178], "output": 178 }, - { "inputs": [178, 178], "output": 178 }, - { "inputs": [178, 174], "output": 178 } + { "inputs": [250, 157022809], "output": 157022809 }, + { "inputs": [246, 250], "output": 250 }, + { "inputs": [250, 250], "output": 250 }, + { "inputs": [250, 246], "output": 250 } ], "max_euint8_euint64": [ - { "inputs": [1, 143], "output": 143 }, - { "inputs": [174, 178], "output": 178 }, - { "inputs": [178, 178], "output": 178 }, - { "inputs": [178, 174], "output": 178 } + { "inputs": [250, 147804883], "output": 147804883 }, + { "inputs": [246, 250], "output": 250 }, + { "inputs": [250, 250], "output": 250 }, + { "inputs": [250, 246], "output": 250 } ], "max_euint16_euint4": [ - { "inputs": [10, 1], "output": 10 }, + { "inputs": [45745, 1], "output": 45745 }, { "inputs": [4, 8], "output": 8 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], "max_euint16_euint8": [ - { "inputs": [168, 1], "output": 168 }, - { "inputs": [62, 66], "output": 66 }, - { "inputs": [66, 66], "output": 66 }, - { "inputs": [66, 62], "output": 66 } + { "inputs": [45745, 137], "output": 45745 }, + { "inputs": [133, 137], "output": 137 }, + { "inputs": [137, 137], "output": 137 }, + { "inputs": [137, 133], "output": 137 } ], "max_euint16_euint16": [ - { "inputs": [43071, 37043], "output": 43071 }, - { "inputs": [37039, 37043], "output": 37043 }, - { "inputs": [37043, 37043], "output": 37043 }, - { "inputs": [37043, 37039], "output": 37043 } + { "inputs": [45745, 24760], "output": 45745 }, + { "inputs": [24756, 24760], "output": 24760 }, + { "inputs": [24760, 24760], "output": 24760 }, + { "inputs": [24760, 24756], "output": 24760 } ], "max_euint16_uint16": [ - { "inputs": [43071, 57395], "output": 57395 }, - { "inputs": [37039, 37043], "output": 37043 }, - { "inputs": [37043, 37043], "output": 37043 }, - { "inputs": [37043, 37039], "output": 37043 } + { "inputs": [45745, 18939], "output": 45745 }, + { "inputs": [24756, 24760], "output": 24760 }, + { "inputs": [24760, 24760], "output": 24760 }, + { "inputs": [24760, 24756], "output": 24760 } ], "max_uint16_euint16": [ - { "inputs": [31971, 57395], "output": 57395 }, - { "inputs": [37039, 37043], "output": 37043 }, - { "inputs": [37043, 37043], "output": 37043 }, - { "inputs": [37043, 37039], "output": 37043 } + { "inputs": [47912, 18939], "output": 47912 }, + { "inputs": [24756, 24760], "output": 24760 }, + { "inputs": [24760, 24760], "output": 24760 }, + { "inputs": [24760, 24756], "output": 24760 } ], "max_euint16_euint32": [ - { "inputs": [1, 46246], "output": 46246 }, - { "inputs": [31967, 31971], "output": 31971 }, - { "inputs": [31971, 31971], "output": 31971 }, - { "inputs": [31971, 31967], "output": 31971 } + { "inputs": [47912, 251556706], "output": 251556706 }, + { "inputs": [47908, 47912], "output": 47912 }, + { "inputs": [47912, 47912], "output": 47912 }, + { "inputs": [47912, 47908], "output": 47912 } ], "max_euint16_euint64": [ - { "inputs": [3, 35170], "output": 35170 }, - { "inputs": [31967, 31971], "output": 31971 }, - { "inputs": [31971, 31971], "output": 31971 }, - { "inputs": [31971, 31967], "output": 31971 } + { "inputs": [47912, 227727600], "output": 227727600 }, + { "inputs": [47908, 47912], "output": 47912 }, + { "inputs": [47912, 47912], "output": 47912 }, + { "inputs": [47912, 47908], "output": 47912 } ], "max_euint32_euint4": [ - { "inputs": [8, 1], "output": 8 }, - { "inputs": [7, 11], "output": 11 }, - { "inputs": [11, 11], "output": 11 }, - { "inputs": [11, 7], "output": 11 } + { "inputs": [8800615, 7], "output": 8800615 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } ], "max_euint32_euint8": [ - { "inputs": [135, 1], "output": 135 }, - { "inputs": [81, 85], "output": 85 }, - { "inputs": [85, 85], "output": 85 }, - { "inputs": [85, 81], "output": 85 } + { "inputs": [8800615, 210], "output": 8800615 }, + { "inputs": [206, 210], "output": 210 }, + { "inputs": [210, 210], "output": 210 }, + { "inputs": [210, 206], "output": 210 } ], "max_euint32_euint16": [ - { "inputs": [34584, 1], "output": 34584 }, - { "inputs": [2745, 2749], "output": 2749 }, - { "inputs": [2749, 2749], "output": 2749 }, - { "inputs": [2749, 2745], "output": 2749 } + { "inputs": [8800615, 31093], "output": 8800615 }, + { "inputs": [31089, 31093], "output": 31093 }, + { "inputs": [31093, 31093], "output": 31093 }, + { "inputs": [31093, 31089], "output": 31093 } ], "max_euint32_euint32": [ - { "inputs": [283314521, 1686574997], "output": 1686574997 }, - { "inputs": [283314517, 283314521], "output": 283314521 }, - { "inputs": [283314521, 283314521], "output": 283314521 }, - { "inputs": [283314521, 283314517], "output": 283314521 } + { "inputs": [8800615, 151759654], "output": 151759654 }, + { "inputs": [8800611, 8800615], "output": 8800615 }, + { "inputs": [8800615, 8800615], "output": 8800615 }, + { "inputs": [8800615, 8800611], "output": 8800615 } ], "max_euint32_uint32": [ - { "inputs": [283314521, 1397934692], "output": 1397934692 }, - { "inputs": [283314517, 283314521], "output": 283314521 }, - { "inputs": [283314521, 283314521], "output": 283314521 }, - { "inputs": [283314521, 283314517], "output": 283314521 } + { "inputs": [8800615, 201659044], "output": 201659044 }, + { "inputs": [8800611, 8800615], "output": 8800615 }, + { "inputs": [8800615, 8800615], "output": 8800615 }, + { "inputs": [8800615, 8800611], "output": 8800615 } ], "max_uint32_euint32": [ - { "inputs": [1446821827, 1397934692], "output": 1446821827 }, - { "inputs": [283314517, 283314521], "output": 283314521 }, - { "inputs": [283314521, 283314521], "output": 283314521 }, - { "inputs": [283314521, 283314517], "output": 283314521 } + { "inputs": [220335343, 201659044], "output": 220335343 }, + { "inputs": [8800611, 8800615], "output": 8800615 }, + { "inputs": [8800615, 8800615], "output": 8800615 }, + { "inputs": [8800615, 8800611], "output": 8800615 } ], "max_euint32_euint64": [ - { "inputs": [1446821827, 98162433], "output": 1446821827 }, - { "inputs": [98162429, 98162433], "output": 98162433 }, - { "inputs": [98162433, 98162433], "output": 98162433 }, - { "inputs": [98162433, 98162429], "output": 98162433 } + { "inputs": [220335343, 138563730], "output": 220335343 }, + { "inputs": [138563726, 138563730], "output": 138563730 }, + { "inputs": [138563730, 138563730], "output": 138563730 }, + { "inputs": [138563730, 138563726], "output": 138563730 } ], "max_euint64_euint4": [ - { "inputs": [14, 1], "output": 14 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": [18255176, 3], "output": 18255176 }, + { "inputs": [4, 8], "output": 8 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 8 } ], "max_euint64_euint8": [ - { "inputs": [231, 1], "output": 231 }, - { "inputs": [210, 214], "output": 214 }, - { "inputs": [214, 214], "output": 214 }, - { "inputs": [214, 210], "output": 214 } + { "inputs": [18255176, 147], "output": 18255176 }, + { "inputs": [143, 147], "output": 147 }, + { "inputs": [147, 147], "output": 147 }, + { "inputs": [147, 143], "output": 147 } ], "max_euint64_euint16": [ - { "inputs": [59321, 1], "output": 59321 }, - { "inputs": [49394, 49398], "output": 49398 }, - { "inputs": [49398, 49398], "output": 49398 }, - { "inputs": [49398, 49394], "output": 49398 } + { "inputs": [18255176, 7223], "output": 18255176 }, + { "inputs": [7219, 7223], "output": 7223 }, + { "inputs": [7223, 7223], "output": 7223 }, + { "inputs": [7223, 7219], "output": 7223 } ], "max_euint64_euint32": [ - { "inputs": [1943842367, 2024517605], "output": 2024517605 }, - { "inputs": [1943842363, 1943842367], "output": 1943842367 }, - { "inputs": [1943842367, 1943842367], "output": 1943842367 }, - { "inputs": [1943842367, 1943842363], "output": 1943842367 } + { "inputs": [18255176, 254973729], "output": 254973729 }, + { "inputs": [18255172, 18255176], "output": 18255176 }, + { "inputs": [18255176, 18255176], "output": 18255176 }, + { "inputs": [18255176, 18255172], "output": 18255176 } ], "max_euint64_euint64": [ - { "inputs": [1943842367, 1448051868], "output": 1943842367 }, - { "inputs": [1448051864, 1448051868], "output": 1448051868 }, - { "inputs": [1448051868, 1448051868], "output": 1448051868 }, - { "inputs": [1448051868, 1448051864], "output": 1448051868 } + { "inputs": [18255176, 49337889], "output": 49337889 }, + { "inputs": [18255172, 18255176], "output": 18255176 }, + { "inputs": [18255176, 18255176], "output": 18255176 }, + { "inputs": [18255176, 18255172], "output": 18255176 } ], "max_euint64_uint64": [ - { "inputs": [1943842367, 447177064], "output": 1943842367 }, - { "inputs": [1448051864, 1448051868], "output": 1448051868 }, - { "inputs": [1448051868, 1448051868], "output": 1448051868 }, - { "inputs": [1448051868, 1448051864], "output": 1448051868 } + { "inputs": [18255176, 62769148], "output": 62769148 }, + { "inputs": [18255172, 18255176], "output": 18255176 }, + { "inputs": [18255176, 18255176], "output": 18255176 }, + { "inputs": [18255176, 18255172], "output": 18255176 } ], "max_uint64_euint64": [ - { "inputs": [776673220, 447177064], "output": 776673220 }, - { "inputs": [1448051864, 1448051868], "output": 1448051868 }, - { "inputs": [1448051868, 1448051868], "output": 1448051868 }, - { "inputs": [1448051868, 1448051864], "output": 1448051868 } + { "inputs": [31807553, 62769148], "output": 62769148 }, + { "inputs": [18255172, 18255176], "output": 18255176 }, + { "inputs": [18255176, 18255176], "output": 18255176 }, + { "inputs": [18255176, 18255172], "output": 18255176 } ], "min_euint4_euint4": [ - { "inputs": [6, 11], "output": 6 }, + { "inputs": [14, 6], "output": 6 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], "min_euint4_euint8": [ - { "inputs": [6, 1], "output": 1 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [14, 175], "output": 14 }, + { "inputs": [10, 14], "output": 10 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 10 } ], "min_euint4_uint8": [ - { "inputs": [6, 3], "output": 3 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [14, 9], "output": 9 }, + { "inputs": [10, 14], "output": 10 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 10 } ], "min_euint4_euint16": [ - { "inputs": [6, 45682], "output": 6 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [14, 38985], "output": 14 }, + { "inputs": [10, 14], "output": 10 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 10 } ], "min_euint4_euint32": [ - { "inputs": [6, 629182656], "output": 6 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [14, 38819587], "output": 14 }, + { "inputs": [10, 14], "output": 10 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 10 } ], "min_euint4_euint64": [ - { "inputs": [6, 1380027485], "output": 6 }, + { "inputs": [14, 249375209], "output": 14 }, + { "inputs": [10, 14], "output": 10 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 10 } + ], + "min_euint8_euint4": [ + { "inputs": [69, 8], "output": 8 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], - "min_euint8_euint4": [ - { "inputs": [79, 12], "output": 12 }, - { "inputs": [8, 12], "output": 8 }, - { "inputs": [12, 12], "output": 12 }, - { "inputs": [12, 8], "output": 8 } - ], "min_uint8_euint4": [ - { "inputs": [11, 12], "output": 11 }, - { "inputs": [8, 12], "output": 8 }, - { "inputs": [12, 12], "output": 12 }, - { "inputs": [12, 8], "output": 8 } + { "inputs": [5, 8], "output": 5 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } ], "min_euint8_euint8": [ - { "inputs": [11, 214], "output": 11 }, - { "inputs": [7, 11], "output": 7 }, - { "inputs": [11, 11], "output": 11 }, - { "inputs": [11, 7], "output": 7 } + { "inputs": [5, 106], "output": 5 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } ], "min_euint8_uint8": [ - { "inputs": [11, 200], "output": 11 }, - { "inputs": [7, 11], "output": 7 }, - { "inputs": [11, 11], "output": 11 }, - { "inputs": [11, 7], "output": 7 } + { "inputs": [5, 110], "output": 5 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } ], "min_uint8_euint8": [ - { "inputs": [45, 200], "output": 45 }, - { "inputs": [7, 11], "output": 7 }, - { "inputs": [11, 11], "output": 11 }, - { "inputs": [11, 7], "output": 7 } + { "inputs": [39, 110], "output": 39 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } ], "min_euint8_euint16": [ - { "inputs": [45, 12728], "output": 45 }, - { "inputs": [41, 45], "output": 41 }, - { "inputs": [45, 45], "output": 45 }, - { "inputs": [45, 41], "output": 41 } + { "inputs": [39, 40958], "output": 39 }, + { "inputs": [35, 39], "output": 35 }, + { "inputs": [39, 39], "output": 39 }, + { "inputs": [39, 35], "output": 35 } ], "min_euint8_euint32": [ - { "inputs": [45, 1572730534], "output": 45 }, - { "inputs": [41, 45], "output": 41 }, - { "inputs": [45, 45], "output": 45 }, - { "inputs": [45, 41], "output": 41 } + { "inputs": [39, 262725927], "output": 39 }, + { "inputs": [35, 39], "output": 35 }, + { "inputs": [39, 39], "output": 39 }, + { "inputs": [39, 35], "output": 35 } ], "min_euint8_euint64": [ - { "inputs": [45, 1376771886], "output": 45 }, - { "inputs": [41, 45], "output": 41 }, - { "inputs": [45, 45], "output": 45 }, - { "inputs": [45, 41], "output": 41 } + { "inputs": [39, 57110634], "output": 39 }, + { "inputs": [35, 39], "output": 35 }, + { "inputs": [39, 39], "output": 39 }, + { "inputs": [39, 35], "output": 35 } ], "min_euint16_euint4": [ - { "inputs": [3854, 8], "output": 8 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [59594, 13], "output": 13 }, + { "inputs": [9, 13], "output": 9 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 9 } ], "min_euint16_euint8": [ - { "inputs": [3854, 166], "output": 166 }, - { "inputs": [162, 166], "output": 162 }, - { "inputs": [166, 166], "output": 166 }, - { "inputs": [166, 162], "output": 162 } + { "inputs": [59594, 150], "output": 150 }, + { "inputs": [146, 150], "output": 146 }, + { "inputs": [150, 150], "output": 150 }, + { "inputs": [150, 146], "output": 146 } ], "min_euint16_euint16": [ - { "inputs": [3854, 29273], "output": 3854 }, - { "inputs": [3850, 3854], "output": 3850 }, - { "inputs": [3854, 3854], "output": 3854 }, - { "inputs": [3854, 3850], "output": 3850 } + { "inputs": [59594, 35028], "output": 35028 }, + { "inputs": [35024, 35028], "output": 35024 }, + { "inputs": [35028, 35028], "output": 35028 }, + { "inputs": [35028, 35024], "output": 35024 } ], "min_euint16_uint16": [ - { "inputs": [3854, 54603], "output": 3854 }, - { "inputs": [3850, 3854], "output": 3850 }, - { "inputs": [3854, 3854], "output": 3854 }, - { "inputs": [3854, 3850], "output": 3850 } + { "inputs": [59594, 37209], "output": 37209 }, + { "inputs": [35024, 35028], "output": 35024 }, + { "inputs": [35028, 35028], "output": 35028 }, + { "inputs": [35028, 35024], "output": 35024 } ], "min_uint16_euint16": [ - { "inputs": [27643, 54603], "output": 27643 }, - { "inputs": [3850, 3854], "output": 3850 }, - { "inputs": [3854, 3854], "output": 3854 }, - { "inputs": [3854, 3850], "output": 3850 } + { "inputs": [24863, 37209], "output": 24863 }, + { "inputs": [35024, 35028], "output": 35024 }, + { "inputs": [35028, 35028], "output": 35028 }, + { "inputs": [35028, 35024], "output": 35024 } ], "min_euint16_euint32": [ - { "inputs": [27643, 2066729287], "output": 27643 }, - { "inputs": [27639, 27643], "output": 27639 }, - { "inputs": [27643, 27643], "output": 27643 }, - { "inputs": [27643, 27639], "output": 27639 } + { "inputs": [24863, 17029307], "output": 24863 }, + { "inputs": [24859, 24863], "output": 24859 }, + { "inputs": [24863, 24863], "output": 24863 }, + { "inputs": [24863, 24859], "output": 24859 } ], "min_euint16_euint64": [ - { "inputs": [27643, 1529181739], "output": 27643 }, - { "inputs": [27639, 27643], "output": 27639 }, - { "inputs": [27643, 27643], "output": 27643 }, - { "inputs": [27643, 27639], "output": 27639 } + { "inputs": [24863, 217108470], "output": 24863 }, + { "inputs": [24859, 24863], "output": 24859 }, + { "inputs": [24863, 24863], "output": 24863 }, + { "inputs": [24863, 24859], "output": 24859 } ], "min_euint32_euint4": [ - { "inputs": [390943086, 2], "output": 2 }, + { "inputs": [58829340, 8], "output": 8 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], "min_euint32_euint8": [ - { "inputs": [390943086, 113], "output": 113 }, - { "inputs": [109, 113], "output": 109 }, - { "inputs": [113, 113], "output": 113 }, - { "inputs": [113, 109], "output": 109 } + { "inputs": [58829340, 181], "output": 181 }, + { "inputs": [177, 181], "output": 177 }, + { "inputs": [181, 181], "output": 181 }, + { "inputs": [181, 177], "output": 177 } ], "min_euint32_euint16": [ - { "inputs": [390943086, 41085], "output": 41085 }, - { "inputs": [41081, 41085], "output": 41081 }, - { "inputs": [41085, 41085], "output": 41085 }, - { "inputs": [41085, 41081], "output": 41081 } + { "inputs": [58829340, 33486], "output": 33486 }, + { "inputs": [33482, 33486], "output": 33482 }, + { "inputs": [33486, 33486], "output": 33486 }, + { "inputs": [33486, 33482], "output": 33482 } ], "min_euint32_euint32": [ - { "inputs": [390943086, 2102211879], "output": 390943086 }, - { "inputs": [390943082, 390943086], "output": 390943082 }, - { "inputs": [390943086, 390943086], "output": 390943086 }, - { "inputs": [390943086, 390943082], "output": 390943082 } + { "inputs": [58829340, 209742110], "output": 58829340 }, + { "inputs": [58829336, 58829340], "output": 58829336 }, + { "inputs": [58829340, 58829340], "output": 58829340 }, + { "inputs": [58829340, 58829336], "output": 58829336 } ], "min_euint32_uint32": [ - { "inputs": [390943086, 304405118], "output": 304405118 }, - { "inputs": [390943082, 390943086], "output": 390943082 }, - { "inputs": [390943086, 390943086], "output": 390943086 }, - { "inputs": [390943086, 390943082], "output": 390943082 } + { "inputs": [58829340, 90321027], "output": 58829340 }, + { "inputs": [58829336, 58829340], "output": 58829336 }, + { "inputs": [58829340, 58829340], "output": 58829340 }, + { "inputs": [58829340, 58829336], "output": 58829336 } ], "min_uint32_euint32": [ - { "inputs": [1819271941, 304405118], "output": 304405118 }, - { "inputs": [390943082, 390943086], "output": 390943082 }, - { "inputs": [390943086, 390943086], "output": 390943086 }, - { "inputs": [390943086, 390943082], "output": 390943082 } + { "inputs": [20594417, 90321027], "output": 20594417 }, + { "inputs": [58829336, 58829340], "output": 58829336 }, + { "inputs": [58829340, 58829340], "output": 58829340 }, + { "inputs": [58829340, 58829336], "output": 58829336 } ], "min_euint32_euint64": [ - { "inputs": [1819271941, 1588645185], "output": 1588645185 }, - { "inputs": [1588645181, 1588645185], "output": 1588645181 }, - { "inputs": [1588645185, 1588645185], "output": 1588645185 }, - { "inputs": [1588645185, 1588645181], "output": 1588645181 } + { "inputs": [20594417, 150398136], "output": 20594417 }, + { "inputs": [20594413, 20594417], "output": 20594413 }, + { "inputs": [20594417, 20594417], "output": 20594417 }, + { "inputs": [20594417, 20594413], "output": 20594413 } ], "min_euint64_euint4": [ - { "inputs": [1933734274, 2], "output": 2 }, + { "inputs": [244314733, 7], "output": 7 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], "min_euint64_euint8": [ - { "inputs": [1933734274, 92], "output": 92 }, - { "inputs": [88, 92], "output": 88 }, - { "inputs": [92, 92], "output": 92 }, - { "inputs": [92, 88], "output": 88 } + { "inputs": [244314733, 93], "output": 93 }, + { "inputs": [89, 93], "output": 89 }, + { "inputs": [93, 93], "output": 93 }, + { "inputs": [93, 89], "output": 89 } ], "min_euint64_euint16": [ - { "inputs": [1933734274, 63835], "output": 63835 }, - { "inputs": [63831, 63835], "output": 63831 }, - { "inputs": [63835, 63835], "output": 63835 }, - { "inputs": [63835, 63831], "output": 63831 } + { "inputs": [244314733, 6873], "output": 6873 }, + { "inputs": [6869, 6873], "output": 6869 }, + { "inputs": [6873, 6873], "output": 6873 }, + { "inputs": [6873, 6869], "output": 6869 } ], "min_euint64_euint32": [ - { "inputs": [1933734274, 1600509978], "output": 1600509978 }, - { "inputs": [1600509974, 1600509978], "output": 1600509974 }, - { "inputs": [1600509978, 1600509978], "output": 1600509978 }, - { "inputs": [1600509978, 1600509974], "output": 1600509974 } + { "inputs": [244314733, 157421113], "output": 157421113 }, + { "inputs": [157421109, 157421113], "output": 157421109 }, + { "inputs": [157421113, 157421113], "output": 157421113 }, + { "inputs": [157421113, 157421109], "output": 157421109 } ], "min_euint64_euint64": [ - { "inputs": [1933734274, 484998270], "output": 484998270 }, - { "inputs": [484998266, 484998270], "output": 484998266 }, - { "inputs": [484998270, 484998270], "output": 484998270 }, - { "inputs": [484998270, 484998266], "output": 484998266 } + { "inputs": [244314733, 181820547], "output": 181820547 }, + { "inputs": [181820543, 181820547], "output": 181820543 }, + { "inputs": [181820547, 181820547], "output": 181820547 }, + { "inputs": [181820547, 181820543], "output": 181820543 } ], "min_euint64_uint64": [ - { "inputs": [1933734274, 2130607481], "output": 1933734274 }, - { "inputs": [484998266, 484998270], "output": 484998266 }, - { "inputs": [484998270, 484998270], "output": 484998270 }, - { "inputs": [484998270, 484998266], "output": 484998266 } + { "inputs": [244314733, 105400651], "output": 105400651 }, + { "inputs": [181820543, 181820547], "output": 181820543 }, + { "inputs": [181820547, 181820547], "output": 181820547 }, + { "inputs": [181820547, 181820543], "output": 181820543 } ], "min_uint64_euint64": [ - { "inputs": [1509813623, 2130607481], "output": 1509813623 }, - { "inputs": [484998266, 484998270], "output": 484998266 }, - { "inputs": [484998270, 484998270], "output": 484998270 }, - { "inputs": [484998270, 484998266], "output": 484998266 } + { "inputs": [92885905, 105400651], "output": 92885905 }, + { "inputs": [181820543, 181820547], "output": 181820543 }, + { "inputs": [181820547, 181820547], "output": 181820547 }, + { "inputs": [181820547, 181820543], "output": 181820543 } ], "or_euint4_euint4": [ - { "inputs": [5, 9], "output": 13 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [13, 13], "output": 13 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "or_euint4_euint8": [ - { "inputs": [1, 13], "output": 13 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [13, 189], "output": 189 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "or_euint4_euint16": [ - { "inputs": [1, 12], "output": 13 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [13, 42674], "output": 42687 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "or_euint4_euint32": [ - { "inputs": [1, 11], "output": 11 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [13, 65951556], "output": 65951565 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "or_euint4_euint64": [ - { "inputs": [1, 10], "output": 11 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [13, 265617259], "output": 265617263 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "or_euint8_euint4": [ - { "inputs": [11, 1], "output": 11 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [120, 12], "output": 124 }, + { "inputs": [8, 12], "output": 12 }, + { "inputs": [12, 12], "output": 12 }, + { "inputs": [12, 8], "output": 12 } ], "or_euint8_euint8": [ - { "inputs": [93, 243], "output": 255 }, - { "inputs": [89, 93], "output": 93 }, - { "inputs": [93, 93], "output": 93 }, - { "inputs": [93, 89], "output": 93 } + { "inputs": [120, 101], "output": 125 }, + { "inputs": [97, 101], "output": 101 }, + { "inputs": [101, 101], "output": 101 }, + { "inputs": [101, 97], "output": 101 } ], "or_euint8_euint16": [ - { "inputs": [1, 196], "output": 197 }, - { "inputs": [89, 93], "output": 93 }, - { "inputs": [93, 93], "output": 93 }, - { "inputs": [93, 89], "output": 93 } + { "inputs": [120, 47218], "output": 47226 }, + { "inputs": [116, 120], "output": 124 }, + { "inputs": [120, 120], "output": 120 }, + { "inputs": [120, 116], "output": 124 } ], "or_euint8_euint32": [ - { "inputs": [1, 143], "output": 143 }, - { "inputs": [89, 93], "output": 93 }, - { "inputs": [93, 93], "output": 93 }, - { "inputs": [93, 89], "output": 93 } + { "inputs": [120, 230647135], "output": 230647167 }, + { "inputs": [116, 120], "output": 124 }, + { "inputs": [120, 120], "output": 120 }, + { "inputs": [120, 116], "output": 124 } ], "or_euint8_euint64": [ - { "inputs": [1, 139], "output": 139 }, - { "inputs": [89, 93], "output": 93 }, - { "inputs": [93, 93], "output": 93 }, - { "inputs": [93, 89], "output": 93 } + { "inputs": [120, 225077141], "output": 225077245 }, + { "inputs": [116, 120], "output": 124 }, + { "inputs": [120, 120], "output": 120 }, + { "inputs": [120, 116], "output": 124 } ], "or_euint16_euint4": [ - { "inputs": [15, 1], "output": 15 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [61878, 13], "output": 61887 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "or_euint16_euint8": [ - { "inputs": [241, 1], "output": 241 }, - { "inputs": [120, 124], "output": 124 }, - { "inputs": [124, 124], "output": 124 }, - { "inputs": [124, 120], "output": 124 } + { "inputs": [61878, 247], "output": 61943 }, + { "inputs": [243, 247], "output": 247 }, + { "inputs": [247, 247], "output": 247 }, + { "inputs": [247, 243], "output": 247 } ], "or_euint16_euint16": [ - { "inputs": [15468, 53935], "output": 65263 }, - { "inputs": [15464, 15468], "output": 15468 }, - { "inputs": [15468, 15468], "output": 15468 }, - { "inputs": [15468, 15464], "output": 15468 } + { "inputs": [61878, 7772], "output": 65534 }, + { "inputs": [7768, 7772], "output": 7772 }, + { "inputs": [7772, 7772], "output": 7772 }, + { "inputs": [7772, 7768], "output": 7772 } ], "or_euint16_euint32": [ - { "inputs": [1, 37057], "output": 37057 }, - { "inputs": [15464, 15468], "output": 15468 }, - { "inputs": [15468, 15468], "output": 15468 }, - { "inputs": [15468, 15464], "output": 15468 } + { "inputs": [61878, 213802596], "output": 213843958 }, + { "inputs": [61874, 61878], "output": 61878 }, + { "inputs": [61878, 61878], "output": 61878 }, + { "inputs": [61878, 61874], "output": 61878 } ], "or_euint16_euint64": [ - { "inputs": [1, 52075], "output": 52075 }, - { "inputs": [15464, 15468], "output": 15468 }, - { "inputs": [15468, 15468], "output": 15468 }, - { "inputs": [15468, 15464], "output": 15468 } + { "inputs": [61878, 192916939], "output": 192937471 }, + { "inputs": [61874, 61878], "output": 61878 }, + { "inputs": [61878, 61878], "output": 61878 }, + { "inputs": [61878, 61874], "output": 61878 } ], "or_euint32_euint4": [ - { "inputs": [9, 1], "output": 9 }, - { "inputs": [10, 14], "output": 14 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 14 } + { "inputs": [51366153, 1], "output": 51366153 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } ], "or_euint32_euint8": [ - { "inputs": [156, 1], "output": 157 }, - { "inputs": [25, 29], "output": 29 }, - { "inputs": [29, 29], "output": 29 }, - { "inputs": [29, 25], "output": 29 } + { "inputs": [51366153, 56], "output": 51366201 }, + { "inputs": [52, 56], "output": 60 }, + { "inputs": [56, 56], "output": 56 }, + { "inputs": [56, 52], "output": 60 } ], "or_euint32_euint16": [ - { "inputs": [40006, 1], "output": 40007 }, - { "inputs": [46882, 46886], "output": 46886 }, - { "inputs": [46886, 46886], "output": 46886 }, - { "inputs": [46886, 46882], "output": 46886 } + { "inputs": [51366153, 45753], "output": 51379129 }, + { "inputs": [45749, 45753], "output": 45757 }, + { "inputs": [45753, 45753], "output": 45753 }, + { "inputs": [45753, 45749], "output": 45757 } ], "or_euint32_euint32": [ - { "inputs": [1310933534, 968535512], "output": 2143023070 }, - { "inputs": [968535508, 968535512], "output": 968535516 }, - { "inputs": [968535512, 968535512], "output": 968535512 }, - { "inputs": [968535512, 968535508], "output": 968535516 } + { "inputs": [51366153, 128317949], "output": 128973309 }, + { "inputs": [51366149, 51366153], "output": 51366157 }, + { "inputs": [51366153, 51366153], "output": 51366153 }, + { "inputs": [51366153, 51366149], "output": 51366157 } ], "or_euint32_euint64": [ - { "inputs": [1310933534, 287712997], "output": 1596417791 }, - { "inputs": [287712993, 287712997], "output": 287712997 }, - { "inputs": [287712997, 287712997], "output": 287712997 }, - { "inputs": [287712997, 287712993], "output": 287712997 } + { "inputs": [51366153, 141446953], "output": 191876905 }, + { "inputs": [51366149, 51366153], "output": 51366157 }, + { "inputs": [51366153, 51366153], "output": 51366153 }, + { "inputs": [51366153, 51366149], "output": 51366157 } ], "or_euint64_euint4": [ - { "inputs": [10, 1], "output": 11 }, + { "inputs": [144995790, 3], "output": 144995791 }, { "inputs": [4, 8], "output": 12 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 12 } ], "or_euint64_euint8": [ - { "inputs": [167, 1], "output": 167 }, - { "inputs": [97, 101], "output": 101 }, - { "inputs": [101, 101], "output": 101 }, - { "inputs": [101, 97], "output": 101 } + { "inputs": [144995790, 114], "output": 144995838 }, + { "inputs": [110, 114], "output": 126 }, + { "inputs": [114, 114], "output": 114 }, + { "inputs": [114, 110], "output": 126 } ], "or_euint64_euint16": [ - { "inputs": [42889, 1], "output": 42889 }, - { "inputs": [21447, 21451], "output": 21455 }, - { "inputs": [21451, 21451], "output": 21451 }, - { "inputs": [21451, 21447], "output": 21455 } + { "inputs": [144995790, 62529], "output": 145028559 }, + { "inputs": [62525, 62529], "output": 62589 }, + { "inputs": [62529, 62529], "output": 62529 }, + { "inputs": [62529, 62525], "output": 62589 } ], "or_euint64_euint32": [ - { "inputs": [1405387766, 963544644], "output": 2079229942 }, - { "inputs": [963544640, 963544644], "output": 963544644 }, - { "inputs": [963544644, 963544644], "output": 963544644 }, - { "inputs": [963544644, 963544640], "output": 963544644 } + { "inputs": [144995790, 109170461], "output": 245759967 }, + { "inputs": [109170457, 109170461], "output": 109170461 }, + { "inputs": [109170461, 109170461], "output": 109170461 }, + { "inputs": [109170461, 109170457], "output": 109170461 } ], "or_euint64_euint64": [ - { "inputs": [1405387766, 1463413902], "output": 1476259838 }, - { "inputs": [1405387762, 1405387766], "output": 1405387766 }, - { "inputs": [1405387766, 1405387766], "output": 1405387766 }, - { "inputs": [1405387766, 1405387762], "output": 1405387766 } + { "inputs": [144995790, 193337091], "output": 195459023 }, + { "inputs": [144995786, 144995790], "output": 144995790 }, + { "inputs": [144995790, 144995790], "output": 144995790 }, + { "inputs": [144995790, 144995786], "output": 144995790 } ], "and_euint4_euint4": [ - { "inputs": [6, 2], "output": 2 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [13, 13], "output": 13 }, + { "inputs": [9, 13], "output": 9 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 9 } ], "and_euint4_euint8": [ - { "inputs": [6, 41], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [13, 163], "output": 1 }, + { "inputs": [9, 13], "output": 9 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 9 } ], "and_euint4_euint16": [ - { "inputs": [6, 28819], "output": 2 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [13, 55998], "output": 12 }, + { "inputs": [9, 13], "output": 9 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 9 } ], "and_euint4_euint32": [ - { "inputs": [6, 159427402], "output": 2 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [13, 34206859], "output": 9 }, + { "inputs": [9, 13], "output": 9 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 9 } ], "and_euint4_euint64": [ - { "inputs": [6, 698915120], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [13, 94000820], "output": 4 }, + { "inputs": [9, 13], "output": 9 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 9 } ], "and_euint8_euint4": [ - { "inputs": [209, 7], "output": 1 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [79, 9], "output": 9 }, + { "inputs": [5, 9], "output": 1 }, + { "inputs": [9, 9], "output": 9 }, + { "inputs": [9, 5], "output": 1 } ], "and_euint8_euint8": [ - { "inputs": [209, 109], "output": 65 }, - { "inputs": [105, 109], "output": 105 }, - { "inputs": [109, 109], "output": 109 }, - { "inputs": [109, 105], "output": 105 } + { "inputs": [79, 88], "output": 72 }, + { "inputs": [75, 79], "output": 75 }, + { "inputs": [79, 79], "output": 79 }, + { "inputs": [79, 75], "output": 75 } ], "and_euint8_euint16": [ - { "inputs": [209, 33383], "output": 65 }, - { "inputs": [205, 209], "output": 193 }, - { "inputs": [209, 209], "output": 209 }, - { "inputs": [209, 205], "output": 193 } + { "inputs": [79, 63031], "output": 7 }, + { "inputs": [75, 79], "output": 75 }, + { "inputs": [79, 79], "output": 79 }, + { "inputs": [79, 75], "output": 75 } ], "and_euint8_euint32": [ - { "inputs": [209, 527165394], "output": 208 }, - { "inputs": [205, 209], "output": 193 }, - { "inputs": [209, 209], "output": 209 }, - { "inputs": [209, 205], "output": 193 } + { "inputs": [79, 262235113], "output": 73 }, + { "inputs": [75, 79], "output": 75 }, + { "inputs": [79, 79], "output": 79 }, + { "inputs": [79, 75], "output": 75 } ], "and_euint8_euint64": [ - { "inputs": [209, 1641438334], "output": 80 }, - { "inputs": [205, 209], "output": 193 }, - { "inputs": [209, 209], "output": 209 }, - { "inputs": [209, 205], "output": 193 } + { "inputs": [79, 112002348], "output": 12 }, + { "inputs": [75, 79], "output": 75 }, + { "inputs": [79, 79], "output": 79 }, + { "inputs": [79, 75], "output": 75 } ], "and_euint16_euint4": [ - { "inputs": [14563, 10], "output": 2 }, - { "inputs": [6, 10], "output": 2 }, - { "inputs": [10, 10], "output": 10 }, - { "inputs": [10, 6], "output": 2 } + { "inputs": [26290, 1], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } ], "and_euint16_euint8": [ - { "inputs": [14563, 200], "output": 192 }, - { "inputs": [196, 200], "output": 192 }, - { "inputs": [200, 200], "output": 200 }, - { "inputs": [200, 196], "output": 192 } + { "inputs": [26290, 248], "output": 176 }, + { "inputs": [244, 248], "output": 240 }, + { "inputs": [248, 248], "output": 248 }, + { "inputs": [248, 244], "output": 240 } ], "and_euint16_euint16": [ - { "inputs": [14563, 4918], "output": 4130 }, - { "inputs": [4914, 4918], "output": 4914 }, - { "inputs": [4918, 4918], "output": 4918 }, - { "inputs": [4918, 4914], "output": 4914 } + { "inputs": [26290, 23750], "output": 17538 }, + { "inputs": [23746, 23750], "output": 23746 }, + { "inputs": [23750, 23750], "output": 23750 }, + { "inputs": [23750, 23746], "output": 23746 } ], "and_euint16_euint32": [ - { "inputs": [14563, 408583146], "output": 14562 }, - { "inputs": [14559, 14563], "output": 14531 }, - { "inputs": [14563, 14563], "output": 14563 }, - { "inputs": [14563, 14559], "output": 14531 } + { "inputs": [26290, 142339715], "output": 26242 }, + { "inputs": [26286, 26290], "output": 26274 }, + { "inputs": [26290, 26290], "output": 26290 }, + { "inputs": [26290, 26286], "output": 26274 } ], "and_euint16_euint64": [ - { "inputs": [14563, 1642657503], "output": 12483 }, - { "inputs": [14559, 14563], "output": 14531 }, - { "inputs": [14563, 14563], "output": 14563 }, - { "inputs": [14563, 14559], "output": 14531 } + { "inputs": [26290, 78773969], "output": 26256 }, + { "inputs": [26286, 26290], "output": 26274 }, + { "inputs": [26290, 26290], "output": 26290 }, + { "inputs": [26290, 26286], "output": 26274 } ], "and_euint32_euint4": [ - { "inputs": [1757898274, 2], "output": 2 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [241094180, 10], "output": 0 }, + { "inputs": [6, 10], "output": 2 }, + { "inputs": [10, 10], "output": 10 }, + { "inputs": [10, 6], "output": 2 } ], "and_euint32_euint8": [ - { "inputs": [1757898274, 2], "output": 2 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [241094180, 159], "output": 4 }, + { "inputs": [155, 159], "output": 155 }, + { "inputs": [159, 159], "output": 159 }, + { "inputs": [159, 155], "output": 155 } ], "and_euint32_euint16": [ - { "inputs": [1757898274, 20019], "output": 17954 }, - { "inputs": [20015, 20019], "output": 20003 }, - { "inputs": [20019, 20019], "output": 20019 }, - { "inputs": [20019, 20015], "output": 20003 } + { "inputs": [241094180, 53800], "output": 49696 }, + { "inputs": [53796, 53800], "output": 53792 }, + { "inputs": [53800, 53800], "output": 53800 }, + { "inputs": [53800, 53796], "output": 53792 } ], "and_euint32_euint32": [ - { "inputs": [1757898274, 1599687665], "output": 1212236320 }, - { "inputs": [1599687661, 1599687665], "output": 1599687649 }, - { "inputs": [1599687665, 1599687665], "output": 1599687665 }, - { "inputs": [1599687665, 1599687661], "output": 1599687649 } + { "inputs": [241094180, 79267520], "output": 68716032 }, + { "inputs": [79267516, 79267520], "output": 79267456 }, + { "inputs": [79267520, 79267520], "output": 79267520 }, + { "inputs": [79267520, 79267516], "output": 79267456 } ], "and_euint32_euint64": [ - { "inputs": [1757898274, 276645072], "output": 4539392 }, - { "inputs": [276645068, 276645072], "output": 276645056 }, - { "inputs": [276645072, 276645072], "output": 276645072 }, - { "inputs": [276645072, 276645068], "output": 276645056 } + { "inputs": [241094180, 246901357], "output": 236341796 }, + { "inputs": [241094176, 241094180], "output": 241094176 }, + { "inputs": [241094180, 241094180], "output": 241094180 }, + { "inputs": [241094180, 241094176], "output": 241094176 } ], "and_euint64_euint4": [ - { "inputs": [1294685955, 14], "output": 2 }, - { "inputs": [10, 14], "output": 10 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 10 } + { "inputs": [190497921, 5], "output": 1 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } ], "and_euint64_euint8": [ - { "inputs": [1294685955, 133], "output": 1 }, - { "inputs": [129, 133], "output": 129 }, - { "inputs": [133, 133], "output": 133 }, - { "inputs": [133, 129], "output": 129 } + { "inputs": [190497921, 253], "output": 129 }, + { "inputs": [249, 253], "output": 249 }, + { "inputs": [253, 253], "output": 253 }, + { "inputs": [253, 249], "output": 249 } ], "and_euint64_euint16": [ - { "inputs": [1294685955, 63959], "output": 20739 }, - { "inputs": [63955, 63959], "output": 63955 }, - { "inputs": [63959, 63959], "output": 63959 }, - { "inputs": [63959, 63955], "output": 63955 } + { "inputs": [190497921, 60802], "output": 50304 }, + { "inputs": [60798, 60802], "output": 60674 }, + { "inputs": [60802, 60802], "output": 60802 }, + { "inputs": [60802, 60798], "output": 60674 } ], "and_euint64_euint32": [ - { "inputs": [1294685955, 1745450667], "output": 1208571395 }, - { "inputs": [1294685951, 1294685955], "output": 1294685699 }, - { "inputs": [1294685955, 1294685955], "output": 1294685955 }, - { "inputs": [1294685955, 1294685951], "output": 1294685699 } + { "inputs": [190497921, 164161585], "output": 155762689 }, + { "inputs": [164161581, 164161585], "output": 164161569 }, + { "inputs": [164161585, 164161585], "output": 164161585 }, + { "inputs": [164161585, 164161581], "output": 164161569 } ], "and_euint64_euint64": [ - { "inputs": [1294685955, 55045679], "output": 16991747 }, - { "inputs": [55045675, 55045679], "output": 55045675 }, - { "inputs": [55045679, 55045679], "output": 55045679 }, - { "inputs": [55045679, 55045675], "output": 55045675 } + { "inputs": [190497921, 34355274], "output": 34078720 }, + { "inputs": [34355270, 34355274], "output": 34355266 }, + { "inputs": [34355274, 34355274], "output": 34355274 }, + { "inputs": [34355274, 34355270], "output": 34355266 } ], "xor_euint4_euint4": [ - { "inputs": [10, 9], "output": 3 }, - { "inputs": [5, 9], "output": 12 }, - { "inputs": [9, 9], "output": 0 }, - { "inputs": [9, 5], "output": 12 } + { "inputs": [10, 6], "output": 12 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } ], "xor_euint4_euint8": [ - { "inputs": [5, 12], "output": 9 }, + { "inputs": [10, 102], "output": 108 }, { "inputs": [6, 10], "output": 12 }, { "inputs": [10, 10], "output": 0 }, { "inputs": [10, 6], "output": 12 } ], "xor_euint4_euint16": [ - { "inputs": [1, 15], "output": 14 }, + { "inputs": [10, 28735], "output": 28725 }, { "inputs": [6, 10], "output": 12 }, { "inputs": [10, 10], "output": 0 }, { "inputs": [10, 6], "output": 12 } ], "xor_euint4_euint32": [ - { "inputs": [1, 15], "output": 14 }, + { "inputs": [10, 89478471], "output": 89478477 }, { "inputs": [6, 10], "output": 12 }, { "inputs": [10, 10], "output": 0 }, { "inputs": [10, 6], "output": 12 } ], "xor_euint4_euint64": [ - { "inputs": [1, 11], "output": 10 }, + { "inputs": [10, 241197687], "output": 241197693 }, { "inputs": [6, 10], "output": 12 }, { "inputs": [10, 10], "output": 0 }, { "inputs": [10, 6], "output": 12 } ], "xor_euint8_euint4": [ - { "inputs": [1, 11], "output": 10 }, + { "inputs": [44, 8], "output": 36 }, { "inputs": [4, 8], "output": 12 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 12 } ], "xor_euint8_euint8": [ - { "inputs": [1, 166], "output": 167 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [44, 19], "output": 63 }, + { "inputs": [15, 19], "output": 28 }, + { "inputs": [19, 19], "output": 0 }, + { "inputs": [19, 15], "output": 28 } ], "xor_euint8_euint16": [ - { "inputs": [1, 217], "output": 216 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [44, 50547], "output": 50527 }, + { "inputs": [40, 44], "output": 4 }, + { "inputs": [44, 44], "output": 0 }, + { "inputs": [44, 40], "output": 4 } ], "xor_euint8_euint32": [ - { "inputs": [1, 186], "output": 187 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [44, 19360952], "output": 19360916 }, + { "inputs": [40, 44], "output": 4 }, + { "inputs": [44, 44], "output": 0 }, + { "inputs": [44, 40], "output": 4 } ], "xor_euint8_euint64": [ - { "inputs": [1, 136], "output": 137 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [44, 222033695], "output": 222033715 }, + { "inputs": [40, 44], "output": 4 }, + { "inputs": [44, 44], "output": 0 }, + { "inputs": [44, 40], "output": 4 } ], "xor_euint16_euint4": [ - { "inputs": [11, 1], "output": 10 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [36773, 10], "output": 36783 }, + { "inputs": [6, 10], "output": 12 }, + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 12 } ], "xor_euint16_euint8": [ - { "inputs": [187, 1], "output": 186 }, - { "inputs": [25, 29], "output": 4 }, - { "inputs": [29, 29], "output": 0 }, - { "inputs": [29, 25], "output": 4 } + { "inputs": [36773, 131], "output": 36646 }, + { "inputs": [127, 131], "output": 252 }, + { "inputs": [131, 131], "output": 0 }, + { "inputs": [131, 127], "output": 252 } ], "xor_euint16_euint16": [ - { "inputs": [48081, 52727], "output": 30246 }, - { "inputs": [48077, 48081], "output": 28 }, - { "inputs": [48081, 48081], "output": 0 }, - { "inputs": [48081, 48077], "output": 28 } + { "inputs": [36773, 46302], "output": 15227 }, + { "inputs": [36769, 36773], "output": 4 }, + { "inputs": [36773, 36773], "output": 0 }, + { "inputs": [36773, 36769], "output": 4 } ], "xor_euint16_euint32": [ - { "inputs": [1, 33460], "output": 33461 }, - { "inputs": [48077, 48081], "output": 28 }, - { "inputs": [48081, 48081], "output": 0 }, - { "inputs": [48081, 48077], "output": 28 } + { "inputs": [36773, 153920052], "output": 153890193 }, + { "inputs": [36769, 36773], "output": 4 }, + { "inputs": [36773, 36773], "output": 0 }, + { "inputs": [36773, 36769], "output": 4 } ], "xor_euint16_euint64": [ - { "inputs": [5, 40064], "output": 40069 }, - { "inputs": [48077, 48081], "output": 28 }, - { "inputs": [48081, 48081], "output": 0 }, - { "inputs": [48081, 48077], "output": 28 } + { "inputs": [36773, 191475857], "output": 191446836 }, + { "inputs": [36769, 36773], "output": 4 }, + { "inputs": [36773, 36773], "output": 0 }, + { "inputs": [36773, 36769], "output": 4 } ], "xor_euint32_euint4": [ - { "inputs": [13, 1], "output": 12 }, + { "inputs": [30847431, 8], "output": 30847439 }, { "inputs": [4, 8], "output": 12 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 12 } ], "xor_euint32_euint8": [ - { "inputs": [210, 1], "output": 211 }, - { "inputs": [54, 58], "output": 12 }, - { "inputs": [58, 58], "output": 0 }, - { "inputs": [58, 54], "output": 12 } + { "inputs": [30847431, 23], "output": 30847440 }, + { "inputs": [19, 23], "output": 4 }, + { "inputs": [23, 23], "output": 0 }, + { "inputs": [23, 19], "output": 4 } ], "xor_euint32_euint16": [ - { "inputs": [53760, 15], "output": 53775 }, - { "inputs": [64891, 64895], "output": 4 }, - { "inputs": [64895, 64895], "output": 0 }, - { "inputs": [64895, 64891], "output": 4 } + { "inputs": [30847431, 51762], "output": 30833653 }, + { "inputs": [51758, 51762], "output": 28 }, + { "inputs": [51762, 51762], "output": 0 }, + { "inputs": [51762, 51758], "output": 28 } ], "xor_euint32_euint32": [ - { "inputs": [220202687, 1588836729], "output": 1402191814 }, - { "inputs": [220202683, 220202687], "output": 4 }, - { "inputs": [220202687, 220202687], "output": 0 }, - { "inputs": [220202687, 220202683], "output": 4 } + { "inputs": [30847431, 53515901], "output": 48637882 }, + { "inputs": [30847427, 30847431], "output": 4 }, + { "inputs": [30847431, 30847431], "output": 0 }, + { "inputs": [30847431, 30847427], "output": 4 } ], "xor_euint32_euint64": [ - { "inputs": [220202687, 58005830], "output": 240459769 }, - { "inputs": [58005826, 58005830], "output": 4 }, - { "inputs": [58005830, 58005830], "output": 0 }, - { "inputs": [58005830, 58005826], "output": 4 } + { "inputs": [30847431, 224936709], "output": 213840578 }, + { "inputs": [30847427, 30847431], "output": 4 }, + { "inputs": [30847431, 30847431], "output": 0 }, + { "inputs": [30847431, 30847427], "output": 4 } ], "xor_euint64_euint4": [ - { "inputs": [15, 1], "output": 14 }, + { "inputs": [236438189, 1], "output": 236438188 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } + ], + "xor_euint64_euint8": [ + { "inputs": [236438189, 12], "output": 236438177 }, { "inputs": [8, 12], "output": 4 }, { "inputs": [12, 12], "output": 0 }, { "inputs": [12, 8], "output": 4 } ], - "xor_euint64_euint8": [ - { "inputs": [246, 1], "output": 247 }, - { "inputs": [22, 26], "output": 12 }, - { "inputs": [26, 26], "output": 0 }, - { "inputs": [26, 22], "output": 12 } - ], "xor_euint64_euint16": [ - { "inputs": [63024, 2], "output": 63026 }, - { "inputs": [33630, 33634], "output": 60 }, - { "inputs": [33634, 33634], "output": 0 }, - { "inputs": [33634, 33630], "output": 60 } + { "inputs": [236438189, 51285], "output": 236391160 }, + { "inputs": [51281, 51285], "output": 4 }, + { "inputs": [51285, 51285], "output": 0 }, + { "inputs": [51285, 51281], "output": 4 } ], "xor_euint64_euint32": [ - { "inputs": [1032596672, 1451108916], "output": 1811023604 }, - { "inputs": [1032596668, 1032596672], "output": 124 }, - { "inputs": [1032596672, 1032596672], "output": 0 }, - { "inputs": [1032596672, 1032596668], "output": 124 } + { "inputs": [236438189, 33113563], "output": 267290486 }, + { "inputs": [33113559, 33113563], "output": 12 }, + { "inputs": [33113563, 33113563], "output": 0 }, + { "inputs": [33113563, 33113559], "output": 12 } ], "xor_euint64_euint64": [ - { "inputs": [1032596672, 34433579], "output": 1065436907 }, - { "inputs": [34433575, 34433579], "output": 12 }, - { "inputs": [34433579, 34433579], "output": 0 }, - { "inputs": [34433579, 34433575], "output": 12 } - ], - "not_euint4": [{ "inputs": [2], "output": 13 }], - "not_euint8": [{ "inputs": [151], "output": 104 }], - "not_euint16": [{ "inputs": [58147], "output": 7388 }], - "not_euint32": [{ "inputs": [1014323468], "output": 1133160179 }], - "not_euint64": [{ "inputs": [566602200], "output": 1580881447 }], - "neg_euint4": [{ "inputs": [10], "output": 5 }], - "neg_euint8": [{ "inputs": [29], "output": 226 }], - "neg_euint16": [{ "inputs": [55816], "output": 9719 }], - "neg_euint32": [{ "inputs": [384529386], "output": 1762954261 }], - "neg_euint64": [{ "inputs": [2136222472], "output": 11261175 }] + { "inputs": [236438189, 150524138], "output": 116331079 }, + { "inputs": [150524134, 150524138], "output": 12 }, + { "inputs": [150524138, 150524138], "output": 0 }, + { "inputs": [150524138, 150524134], "output": 12 } + ], + "not_euint4": [{ "inputs": [9], "output": "6" }], + "not_euint8": [{ "inputs": [30], "output": "225" }], + "not_euint16": [{ "inputs": [15626], "output": "49909" }], + "not_euint32": [{ "inputs": [22116422], "output": "4272850873" }], + "not_euint64": [{ "inputs": [172305424], "output": "18446744073537246191" }], + "neg_euint4": [{ "inputs": [11], "output": "5" }], + "neg_euint8": [{ "inputs": [177], "output": "79" }], + "neg_euint16": [{ "inputs": [26575], "output": "38961" }], + "neg_euint32": [{ "inputs": [204914882], "output": "4090052414" }], + "neg_euint64": [{ "inputs": [39253840], "output": "18446744073670297776" }] } diff --git a/codegen/testgen.ts b/codegen/testgen.ts index 8a92109b..d12408e9 100644 --- a/codegen/testgen.ts +++ b/codegen/testgen.ts @@ -129,7 +129,6 @@ async function deployTfheTestFixture${os.shardNumber}(): Promise ensureNumberAcceptableInBitRange(o.arguments[index].bits, input)); if (typeof t.output === 'number') { ensureNumberAcceptableInBitRange(o.returnType.bits, t.output); diff --git a/test/tfheOperations/tfheOperations.ts b/test/tfheOperations/tfheOperations.ts index 83f9619f..0679e9bf 100644 --- a/test/tfheOperations/tfheOperations.ts +++ b/test/tfheOperations/tfheOperations.ts @@ -100,68 +100,68 @@ describe('TFHE operations', function () { this.instances5 = instances5; }); - it('test operator "add" overload (euint4, euint4) => euint4 test 1 (5, 3)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 1 (5, 5)', async function () { const res = await this.contract1.add_euint4_euint4( this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(8); + expect(res).to.equal(10); }); - it('test operator "add" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 2 (3, 5)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(12); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint4, euint4) => euint4 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 3 (5, 5)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(8); + expect(res).to.equal(10); }); - it('test operator "add" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 4 (5, 3)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(12); + expect(res).to.equal(8); }); - it('test operator "sub" overload (euint4, euint4) => euint4 test 1 (9, 9)', async function () { + it('test operator "sub" overload (euint4, euint4) => euint4 test 1 (8, 8)', async function () { const res = await this.contract1.sub_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, euint4) => euint4 test 2 (9, 5)', async function () { + it('test operator "sub" overload (euint4, euint4) => euint4 test 2 (8, 4)', async function () { const res = await this.contract1.sub_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 1 (1, 4)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 1 (2, 2)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(2), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); it('test operator "mul" overload (euint4, euint4) => euint4 test 3 (2, 2)', async function () { @@ -172,146 +172,146 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); - it('test operator "and" overload (euint4, euint4) => euint4 test 1 (6, 2)', async function () { + it('test operator "and" overload (euint4, euint4) => euint4 test 1 (13, 13)', async function () { const res = await this.contract1.and_euint4_euint4( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(13), ); - expect(res).to.equal(2); + expect(res).to.equal(13); }); - it('test operator "and" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint4, euint4) => euint4 test 2 (9, 13)', async function () { const res = await this.contract1.and_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(13), ); - expect(res).to.equal(0); + expect(res).to.equal(9); }); - it('test operator "and" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint4, euint4) => euint4 test 3 (13, 13)', async function () { const res = await this.contract1.and_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "and" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint4, euint4) => euint4 test 4 (13, 9)', async function () { const res = await this.contract1.and_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(0); + expect(res).to.equal(9); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 1 (5, 9)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 1 (13, 13)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(13), ); expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 2 (9, 13)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(13), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 3 (13, 13)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 4 (13, 9)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "xor" overload (euint4, euint4) => euint4 test 1 (10, 9)', async function () { + it('test operator "xor" overload (euint4, euint4) => euint4 test 1 (10, 6)', async function () { const res = await this.contract1.xor_euint4_euint4( this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(6), ); - expect(res).to.equal(3); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint4, euint4) => euint4 test 2 (5, 9)', async function () { + it('test operator "xor" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { const res = await this.contract1.xor_euint4_euint4( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(12); }); - it('test operator "xor" overload (euint4, euint4) => euint4 test 3 (9, 9)', async function () { + it('test operator "xor" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { const res = await this.contract1.xor_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint4, euint4) => euint4 test 4 (9, 5)', async function () { + it('test operator "xor" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { const res = await this.contract1.xor_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); expect(res).to.equal(12); }); - it('test operator "eq" overload (euint4, euint4) => ebool test 1 (11, 12)', async function () { + it('test operator "eq" overload (euint4, euint4) => ebool test 1 (10, 1)', async function () { const res = await this.contract1.eq_euint4_euint4( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(1), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint4) => ebool test 2 (7, 11)', async function () { + it('test operator "eq" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.eq_euint4_euint4( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint4) => ebool test 3 (11, 11)', async function () { + it('test operator "eq" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.eq_euint4_euint4( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint4) => ebool test 4 (11, 7)', async function () { + it('test operator "eq" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.eq_euint4_euint4( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint4) => ebool test 1 (2, 13)', async function () { + it('test operator "ne" overload (euint4, euint4) => ebool test 1 (1, 3)', async function () { const res = await this.contract1.ne_euint4_euint4( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(3), ); expect(res).to.equal(true); }); @@ -340,10 +340,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint4) => ebool test 1 (7, 14)', async function () { + it('test operator "ge" overload (euint4, euint4) => ebool test 1 (2, 13)', async function () { const res = await this.contract1.ge_euint4_euint4( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(13), ); expect(res).to.equal(false); }); @@ -372,12 +372,12 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 1 (6, 9)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 1 (7, 6)', async function () { const res = await this.contract1.gt_euint4_euint4( + this.instances1.alice.encrypt4(7), this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "gt" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { @@ -404,12 +404,12 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint4) => ebool test 1 (6, 9)', async function () { + it('test operator "le" overload (euint4, euint4) => ebool test 1 (11, 2)', async function () { const res = await this.contract1.le_euint4_euint4( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "le" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { @@ -436,12 +436,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint4) => ebool test 1 (4, 6)', async function () { + it('test operator "lt" overload (euint4, euint4) => ebool test 1 (8, 8)', async function () { const res = await this.contract1.lt_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "lt" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { @@ -468,10 +468,10 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint4) => euint4 test 1 (6, 11)', async function () { + it('test operator "min" overload (euint4, euint4) => euint4 test 1 (14, 6)', async function () { const res = await this.contract1.min_euint4_euint4( + this.instances1.alice.encrypt4(14), this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt4(11), ); expect(res).to.equal(6); }); @@ -500,12 +500,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "max" overload (euint4, euint4) => euint4 test 1 (1, 12)', async function () { + it('test operator "max" overload (euint4, euint4) => euint4 test 1 (13, 2)', async function () { const res = await this.contract1.max_euint4_euint4( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); it('test operator "max" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -532,12 +532,12 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "add" overload (euint4, euint8) => euint8 test 1 (1, 7)', async function () { + it('test operator "add" overload (euint4, euint8) => euint8 test 1 (1, 8)', async function () { const res = await this.contract1.add_euint4_euint8( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(7), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(8); + expect(res).to.equal(9); }); it('test operator "add" overload (euint4, euint8) => euint8 test 2 (3, 5)', async function () { @@ -564,36 +564,36 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "sub" overload (euint4, euint8) => euint8 test 1 (12, 12)', async function () { + it('test operator "sub" overload (euint4, euint8) => euint8 test 1 (8, 8)', async function () { const res = await this.contract1.sub_euint4_euint8( - this.instances1.alice.encrypt4(12), - this.instances1.alice.encrypt8(12), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, euint8) => euint8 test 2 (12, 8)', async function () { + it('test operator "sub" overload (euint4, euint8) => euint8 test 2 (8, 4)', async function () { const res = await this.contract1.sub_euint4_euint8( - this.instances1.alice.encrypt4(12), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 1 (1, 8)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 1 (1, 6)', async function () { const res = await this.contract1.mul_euint4_euint8( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt8(6), ); - expect(res).to.equal(8); + expect(res).to.equal(6); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint4_euint8( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(5), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); it('test operator "mul" overload (euint4, euint8) => euint8 test 3 (2, 2)', async function () { @@ -604,84 +604,84 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(2), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(3), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 1 (6, 41)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 1 (13, 163)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt8(41), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(163), ); - expect(res).to.equal(0); + expect(res).to.equal(1); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 2 (9, 13)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(13), ); - expect(res).to.equal(0); + expect(res).to.equal(9); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 3 (13, 13)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 4 (13, 9)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(9), ); - expect(res).to.equal(0); + expect(res).to.equal(9); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 1 (1, 13)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 1 (13, 189)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(189), ); - expect(res).to.equal(13); + expect(res).to.equal(189); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 2 (9, 13)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(13), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 3 (13, 13)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 4 (13, 9)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(9), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 1 (5, 12)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 1 (10, 102)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt8(12), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(102), ); - expect(res).to.equal(9); + expect(res).to.equal(108); }); it('test operator "xor" overload (euint4, euint8) => euint8 test 2 (6, 10)', async function () { @@ -708,42 +708,42 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 1 (11, 134)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 1 (10, 106)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt8(134), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(106), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 2 (7, 11)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 2 (6, 10)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt8(11), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt8(10), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 3 (11, 11)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 3 (10, 10)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt8(11), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(10), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 4 (11, 7)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 4 (10, 6)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt8(7), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(6), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint8) => ebool test 1 (2, 86)', async function () { + it('test operator "ne" overload (euint4, euint8) => ebool test 1 (1, 141)', async function () { const res = await this.contract1.ne_euint4_euint8( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt8(86), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(141), ); expect(res).to.equal(true); }); @@ -772,10 +772,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 1 (7, 148)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 1 (2, 171)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt8(148), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt8(171), ); expect(res).to.equal(false); }); @@ -804,12 +804,12 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint8) => ebool test 1 (6, 250)', async function () { + it('test operator "gt" overload (euint4, euint8) => ebool test 1 (7, 6)', async function () { const res = await this.contract1.gt_euint4_euint8( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt8(250), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(6), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "gt" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { @@ -836,42 +836,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 1 (6, 104)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 1 (11, 100)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt8(104), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(100), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 2 (7, 11)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(11), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 3 (11, 11)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(11), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 4 (11, 7)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(7), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint8) => ebool test 1 (4, 236)', async function () { + it('test operator "lt" overload (euint4, euint8) => ebool test 1 (8, 52)', async function () { const res = await this.contract1.lt_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(236), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(52), ); expect(res).to.equal(true); }); @@ -900,76 +900,76 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 1 (6, 1)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 1 (14, 175)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt8(1), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(175), ); - expect(res).to.equal(1); + expect(res).to.equal(14); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 2 (10, 14)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(14), ); - expect(res).to.equal(4); + expect(res).to.equal(10); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 3 (14, 14)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(14), ); - expect(res).to.equal(8); + expect(res).to.equal(14); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 4 (14, 10)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(10), ); - expect(res).to.equal(4); + expect(res).to.equal(10); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 1 (1, 8)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 1 (13, 155)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(155), ); - expect(res).to.equal(8); + expect(res).to.equal(155); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 2 (9, 13)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 3 (13, 13)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 4 (13, 9)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(9), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 1 (1, 14)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 1 (1, 10)', async function () { const res = await this.contract1.add_euint4_euint16( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(14), + this.instances1.alice.encrypt16(10), ); - expect(res).to.equal(15); + expect(res).to.equal(11); }); it('test operator "add" overload (euint4, euint16) => euint16 test 2 (3, 5)', async function () { @@ -996,36 +996,36 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "sub" overload (euint4, euint16) => euint16 test 1 (12, 12)', async function () { + it('test operator "sub" overload (euint4, euint16) => euint16 test 1 (8, 8)', async function () { const res = await this.contract1.sub_euint4_euint16( - this.instances1.alice.encrypt4(12), - this.instances1.alice.encrypt16(12), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, euint16) => euint16 test 2 (12, 8)', async function () { + it('test operator "sub" overload (euint4, euint16) => euint16 test 2 (8, 4)', async function () { const res = await this.contract1.sub_euint4_euint16( - this.instances1.alice.encrypt4(12), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint16) => euint16 test 1 (1, 8)', async function () { + it('test operator "mul" overload (euint4, euint16) => euint16 test 1 (1, 13)', async function () { const res = await this.contract1.mul_euint4_euint16( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt16(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "mul" overload (euint4, euint16) => euint16 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint4, euint16) => euint16 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint4_euint16( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt16(5), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); it('test operator "mul" overload (euint4, euint16) => euint16 test 3 (2, 2)', async function () { @@ -1036,84 +1036,84 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint16) => euint16 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint4, euint16) => euint16 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(2), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(3), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 1 (6, 28819)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 1 (13, 55998)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt16(28819), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(55998), ); - expect(res).to.equal(2); + expect(res).to.equal(12); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 2 (9, 13)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(13), ); - expect(res).to.equal(0); + expect(res).to.equal(9); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 3 (13, 13)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 4 (13, 9)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(9), ); - expect(res).to.equal(0); + expect(res).to.equal(9); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 1 (1, 12)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 1 (13, 42674)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(12), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(42674), ); - expect(res).to.equal(13); + expect(res).to.equal(42687); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 2 (9, 13)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(13), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 3 (13, 13)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 4 (13, 9)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(9), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "xor" overload (euint4, euint16) => euint16 test 1 (1, 15)', async function () { + it('test operator "xor" overload (euint4, euint16) => euint16 test 1 (10, 28735)', async function () { const res = await this.contract1.xor_euint4_euint16( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(15), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(28735), ); - expect(res).to.equal(14); + expect(res).to.equal(28725); }); it('test operator "xor" overload (euint4, euint16) => euint16 test 2 (6, 10)', async function () { @@ -1140,42 +1140,42 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 1 (11, 56998)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 1 (10, 50800)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt16(56998), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(50800), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 2 (7, 11)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 2 (6, 10)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt16(11), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(10), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 3 (11, 11)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 3 (10, 10)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt16(11), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(10), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 4 (11, 7)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 4 (10, 6)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt16(7), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(6), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint16) => ebool test 1 (2, 15611)', async function () { + it('test operator "ne" overload (euint4, euint16) => ebool test 1 (1, 28941)', async function () { const res = await this.contract1.ne_euint4_euint16( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt16(15611), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(28941), ); expect(res).to.equal(true); }); @@ -1204,10 +1204,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 1 (7, 22312)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 1 (2, 31122)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt16(22312), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(31122), ); expect(res).to.equal(false); }); @@ -1236,10 +1236,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 1 (6, 26898)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 1 (7, 37404)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt16(26898), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt16(37404), ); expect(res).to.equal(false); }); @@ -1268,42 +1268,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 1 (6, 39475)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 1 (11, 61718)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt16(39475), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt16(61718), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 2 (7, 11)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt16(11), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 3 (11, 11)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt16(11), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 4 (11, 7)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt16(7), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint16) => ebool test 1 (4, 31822)', async function () { + it('test operator "lt" overload (euint4, euint16) => ebool test 1 (8, 46388)', async function () { const res = await this.contract1.lt_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(31822), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(46388), ); expect(res).to.equal(true); }); @@ -1332,76 +1332,76 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 1 (6, 45682)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 1 (14, 38985)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt16(45682), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt16(38985), ); - expect(res).to.equal(6); + expect(res).to.equal(14); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 2 (10, 14)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(14), ); - expect(res).to.equal(4); + expect(res).to.equal(10); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 3 (14, 14)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt16(14), ); - expect(res).to.equal(8); + expect(res).to.equal(14); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 4 (14, 10)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt16(10), ); - expect(res).to.equal(4); + expect(res).to.equal(10); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 1 (1, 14)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 1 (13, 4074)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(14), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(4074), ); - expect(res).to.equal(14); + expect(res).to.equal(4074); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 2 (9, 13)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 3 (13, 13)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 4 (13, 9)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(9), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "add" overload (euint4, euint32) => euint32 test 1 (1, 10)', async function () { + it('test operator "add" overload (euint4, euint32) => euint32 test 1 (1, 14)', async function () { const res = await this.contract1.add_euint4_euint32( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(10), + this.instances1.alice.encrypt32(14), ); - expect(res).to.equal(11); + expect(res).to.equal(15); }); it('test operator "add" overload (euint4, euint32) => euint32 test 2 (3, 5)', async function () { @@ -1428,18 +1428,18 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "sub" overload (euint4, euint32) => euint32 test 1 (12, 12)', async function () { + it('test operator "sub" overload (euint4, euint32) => euint32 test 1 (8, 8)', async function () { const res = await this.contract1.sub_euint4_euint32( - this.instances1.alice.encrypt4(12), - this.instances1.alice.encrypt32(12), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, euint32) => euint32 test 2 (12, 8)', async function () { + it('test operator "sub" overload (euint4, euint32) => euint32 test 2 (8, 4)', async function () { const res = await this.contract1.sub_euint4_euint32( - this.instances1.alice.encrypt4(12), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(4); }); @@ -1452,12 +1452,12 @@ describe('TFHE operations', function () { expect(res).to.equal(15); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint4_euint32( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt32(5), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); it('test operator "mul" overload (euint4, euint32) => euint32 test 3 (2, 2)', async function () { @@ -1468,84 +1468,84 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(2), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(3), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); - it('test operator "and" overload (euint4, euint32) => euint32 test 1 (6, 159427402)', async function () { + it('test operator "and" overload (euint4, euint32) => euint32 test 1 (13, 34206859)', async function () { const res = await this.contract1.and_euint4_euint32( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt32(159427402), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(34206859), ); - expect(res).to.equal(2); + expect(res).to.equal(9); }); - it('test operator "and" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint4, euint32) => euint32 test 2 (9, 13)', async function () { const res = await this.contract1.and_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(13), ); - expect(res).to.equal(0); + expect(res).to.equal(9); }); - it('test operator "and" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint4, euint32) => euint32 test 3 (13, 13)', async function () { const res = await this.contract1.and_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "and" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint4, euint32) => euint32 test 4 (13, 9)', async function () { const res = await this.contract1.and_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(9), ); - expect(res).to.equal(0); + expect(res).to.equal(9); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 1 (1, 11)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 1 (13, 65951556)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(11), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(65951556), ); - expect(res).to.equal(11); + expect(res).to.equal(65951565); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 2 (9, 13)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(13), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 3 (13, 13)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 4 (13, 9)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(9), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "xor" overload (euint4, euint32) => euint32 test 1 (1, 15)', async function () { + it('test operator "xor" overload (euint4, euint32) => euint32 test 1 (10, 89478471)', async function () { const res = await this.contract1.xor_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(15), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(89478471), ); - expect(res).to.equal(14); + expect(res).to.equal(89478477); }); it('test operator "xor" overload (euint4, euint32) => euint32 test 2 (6, 10)', async function () { @@ -1572,42 +1572,42 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 1 (11, 991467756)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 1 (10, 253749712)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt32(991467756), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(253749712), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 2 (7, 11)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 2 (6, 10)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt32(11), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(10), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 3 (11, 11)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 3 (10, 10)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt32(11), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(10), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 4 (11, 7)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 4 (10, 6)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt32(7), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(6), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint32) => ebool test 1 (2, 2115089145)', async function () { + it('test operator "ne" overload (euint4, euint32) => ebool test 1 (1, 54078590)', async function () { const res = await this.contract1.ne_euint4_euint32( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt32(2115089145), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(54078590), ); expect(res).to.equal(true); }); @@ -1636,10 +1636,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 1 (7, 2084141274)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 1 (2, 94282146)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt32(2084141274), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt32(94282146), ); expect(res).to.equal(false); }); @@ -1668,10 +1668,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 1 (6, 1743193522)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 1 (7, 78307322)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt32(1743193522), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt32(78307322), ); expect(res).to.equal(false); }); @@ -1700,42 +1700,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 1 (6, 204501643)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 1 (11, 204607742)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt32(204501643), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(204607742), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 2 (7, 11)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt32(11), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 3 (11, 11)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(11), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 4 (11, 7)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(7), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint32) => ebool test 1 (4, 329229639)', async function () { + it('test operator "lt" overload (euint4, euint32) => ebool test 1 (8, 223282425)', async function () { const res = await this.contract1.lt_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(329229639), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(223282425), ); expect(res).to.equal(true); }); @@ -1764,68 +1764,68 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint32) => euint32 test 1 (6, 629182656)', async function () { + it('test operator "min" overload (euint4, euint32) => euint32 test 1 (14, 38819587)', async function () { const res = await this.contract1.min_euint4_euint32( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt32(629182656), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt32(38819587), ); - expect(res).to.equal(6); + expect(res).to.equal(14); }); - it('test operator "min" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint4, euint32) => euint32 test 2 (10, 14)', async function () { const res = await this.contract1.min_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(14), ); - expect(res).to.equal(4); + expect(res).to.equal(10); }); - it('test operator "min" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint4, euint32) => euint32 test 3 (14, 14)', async function () { const res = await this.contract1.min_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt32(14), ); - expect(res).to.equal(8); + expect(res).to.equal(14); }); - it('test operator "min" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint4, euint32) => euint32 test 4 (14, 10)', async function () { const res = await this.contract1.min_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt32(10), ); - expect(res).to.equal(4); + expect(res).to.equal(10); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 1 (1, 11)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 1 (13, 183893221)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(11), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(183893221), ); - expect(res).to.equal(11); + expect(res).to.equal(183893221); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 2 (9, 13)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 3 (13, 13)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 4 (13, 9)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(9), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); it('test operator "add" overload (euint4, euint64) => euint64 test 1 (1, 7)', async function () { @@ -1860,36 +1860,36 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "sub" overload (euint4, euint64) => euint64 test 1 (12, 12)', async function () { + it('test operator "sub" overload (euint4, euint64) => euint64 test 1 (8, 8)', async function () { const res = await this.contract1.sub_euint4_euint64( - this.instances1.alice.encrypt4(12), - this.instances1.alice.encrypt64(12), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, euint64) => euint64 test 2 (12, 8)', async function () { + it('test operator "sub" overload (euint4, euint64) => euint64 test 2 (8, 4)', async function () { const res = await this.contract1.sub_euint4_euint64( - this.instances1.alice.encrypt4(12), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 1 (1, 10)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 1 (1, 13)', async function () { const res = await this.contract1.mul_euint4_euint64( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt64(13), ); - expect(res).to.equal(10); + expect(res).to.equal(13); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint4_euint64( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt64(5), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); it('test operator "mul" overload (euint4, euint64) => euint64 test 3 (2, 2)', async function () { @@ -1900,84 +1900,84 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(2), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt64(3), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); - it('test operator "and" overload (euint4, euint64) => euint64 test 1 (6, 698915120)', async function () { + it('test operator "and" overload (euint4, euint64) => euint64 test 1 (13, 94000820)', async function () { const res = await this.contract1.and_euint4_euint64( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt64(698915120), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(94000820), ); - expect(res).to.equal(0); + expect(res).to.equal(4); }); - it('test operator "and" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint4, euint64) => euint64 test 2 (9, 13)', async function () { const res = await this.contract1.and_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(13), ); - expect(res).to.equal(0); + expect(res).to.equal(9); }); - it('test operator "and" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint4, euint64) => euint64 test 3 (13, 13)', async function () { const res = await this.contract1.and_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "and" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint4, euint64) => euint64 test 4 (13, 9)', async function () { const res = await this.contract1.and_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(9), ); - expect(res).to.equal(0); + expect(res).to.equal(9); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 1 (1, 10)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 1 (13, 265617259)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(265617259), ); - expect(res).to.equal(11); + expect(res).to.equal(265617263); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 2 (9, 13)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(13), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 3 (13, 13)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 4 (13, 9)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(9), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "xor" overload (euint4, euint64) => euint64 test 1 (1, 11)', async function () { + it('test operator "xor" overload (euint4, euint64) => euint64 test 1 (10, 241197687)', async function () { const res = await this.contract1.xor_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(11), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(241197687), ); - expect(res).to.equal(10); + expect(res).to.equal(241197693); }); it('test operator "xor" overload (euint4, euint64) => euint64 test 2 (6, 10)', async function () { @@ -2004,42 +2004,42 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 1 (11, 1242271547)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 1 (10, 97288685)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt64(1242271547), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(97288685), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 2 (7, 11)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 2 (6, 10)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt64(11), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(10), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 3 (11, 11)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 3 (10, 10)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt64(11), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(10), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 4 (11, 7)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 4 (10, 6)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt64(7), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(6), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint64) => ebool test 1 (2, 537819520)', async function () { + it('test operator "ne" overload (euint4, euint64) => ebool test 1 (1, 146059192)', async function () { const res = await this.contract1.ne_euint4_euint64( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt64(537819520), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(146059192), ); expect(res).to.equal(true); }); @@ -2068,10 +2068,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 1 (7, 1017706709)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 1 (2, 125028010)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt64(1017706709), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt64(125028010), ); expect(res).to.equal(false); }); @@ -2100,10 +2100,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint64) => ebool test 1 (6, 8303014)', async function () { + it('test operator "gt" overload (euint4, euint64) => ebool test 1 (7, 25447544)', async function () { const res = await this.contract1.gt_euint4_euint64( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt64(8303014), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt64(25447544), ); expect(res).to.equal(false); }); @@ -2132,42 +2132,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 1 (6, 102260366)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 1 (11, 54749600)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt64(102260366), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(54749600), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 2 (7, 11)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt64(11), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 3 (11, 11)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(11), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 4 (11, 7)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(7), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint64) => ebool test 1 (4, 1152793041)', async function () { + it('test operator "lt" overload (euint4, euint64) => ebool test 1 (8, 103658240)', async function () { const res = await this.contract1.lt_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(1152793041), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(103658240), ); expect(res).to.equal(true); }); @@ -2196,73 +2196,73 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint64) => euint64 test 1 (6, 1380027485)', async function () { + it('test operator "min" overload (euint4, euint64) => euint64 test 1 (14, 249375209)', async function () { const res = await this.contract1.min_euint4_euint64( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt64(1380027485), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt64(249375209), ); - expect(res).to.equal(6); + expect(res).to.equal(14); }); - it('test operator "min" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint4, euint64) => euint64 test 2 (10, 14)', async function () { const res = await this.contract1.min_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(14), ); - expect(res).to.equal(4); + expect(res).to.equal(10); }); - it('test operator "min" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint4, euint64) => euint64 test 3 (14, 14)', async function () { const res = await this.contract1.min_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt64(14), ); - expect(res).to.equal(8); + expect(res).to.equal(14); }); - it('test operator "min" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint4, euint64) => euint64 test 4 (14, 10)', async function () { const res = await this.contract1.min_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt64(10), ); - expect(res).to.equal(4); + expect(res).to.equal(10); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 1 (1, 12)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 1 (13, 66326451)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(12), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(66326451), ); - expect(res).to.equal(12); + expect(res).to.equal(66326451); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 2 (9, 13)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 3 (13, 13)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 4 (13, 9)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(9), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "add" overload (euint4, uint8) => euint4 test 1 (11, 1)', async function () { - const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(11), 1); - expect(res).to.equal(12); + it('test operator "add" overload (euint4, uint8) => euint4 test 1 (5, 3)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(5), 3); + expect(res).to.equal(8); }); it('test operator "add" overload (euint4, uint8) => euint4 test 2 (3, 5)', async function () { @@ -2280,33 +2280,33 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 1 (8, 4)', async function () { - const res = await this.contract1.add_uint8_euint4(8, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(12); + it('test operator "add" overload (uint8, euint4) => euint4 test 1 (6, 5)', async function () { + const res = await this.contract1.add_uint8_euint4(6, this.instances1.alice.encrypt4(5)); + expect(res).to.equal(11); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { - const res = await this.contract1.add_uint8_euint4(4, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(12); + it('test operator "add" overload (uint8, euint4) => euint4 test 2 (3, 5)', async function () { + const res = await this.contract1.add_uint8_euint4(3, this.instances1.alice.encrypt4(5)); + expect(res).to.equal(8); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 3 (4, 4)', async function () { - const res = await this.contract1.add_uint8_euint4(4, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(8); + it('test operator "add" overload (uint8, euint4) => euint4 test 3 (5, 5)', async function () { + const res = await this.contract1.add_uint8_euint4(5, this.instances1.alice.encrypt4(5)); + expect(res).to.equal(10); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { - const res = await this.contract1.add_uint8_euint4(8, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(12); + it('test operator "add" overload (uint8, euint4) => euint4 test 4 (5, 3)', async function () { + const res = await this.contract1.add_uint8_euint4(5, this.instances1.alice.encrypt4(3)); + expect(res).to.equal(8); }); - it('test operator "sub" overload (euint4, uint8) => euint4 test 1 (12, 12)', async function () { - const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(12), 12); + it('test operator "sub" overload (euint4, uint8) => euint4 test 1 (8, 8)', async function () { + const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(8), 8); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, uint8) => euint4 test 2 (12, 8)', async function () { - const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(12), 8); + it('test operator "sub" overload (euint4, uint8) => euint4 test 2 (8, 4)', async function () { + const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(8), 4); expect(res).to.equal(4); }); @@ -2320,14 +2320,14 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 1 (1, 7)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(1), 7); - expect(res).to.equal(7); + it('test operator "mul" overload (euint4, uint8) => euint4 test 1 (10, 1)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(10), 1); + expect(res).to.equal(10); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 2 (2, 4)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(2), 4); - expect(res).to.equal(8); + it('test operator "mul" overload (euint4, uint8) => euint4 test 2 (3, 5)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(3), 5); + expect(res).to.equal(15); }); it('test operator "mul" overload (euint4, uint8) => euint4 test 3 (2, 2)', async function () { @@ -2335,14 +2335,14 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 4 (4, 2)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(4), 2); - expect(res).to.equal(8); + it('test operator "mul" overload (euint4, uint8) => euint4 test 4 (5, 3)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(5), 3); + expect(res).to.equal(15); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 1 (6, 2)', async function () { - const res = await this.contract1.mul_uint8_euint4(6, this.instances1.alice.encrypt4(2)); - expect(res).to.equal(12); + it('test operator "mul" overload (uint8, euint4) => euint4 test 1 (2, 2)', async function () { + const res = await this.contract1.mul_uint8_euint4(2, this.instances1.alice.encrypt4(2)); + expect(res).to.equal(4); }); it('test operator "mul" overload (uint8, euint4) => euint4 test 2 (2, 4)', async function () { @@ -2360,68 +2360,68 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 1 (2, 8)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(2), 8); - expect(res).to.equal(0); + it('test operator "div" overload (euint4, uint8) => euint4 test 1 (14, 2)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(14), 2); + expect(res).to.equal(7); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + it('test operator "div" overload (euint4, uint8) => euint4 test 2 (10, 14)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(10), 14); expect(res).to.equal(0); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + it('test operator "div" overload (euint4, uint8) => euint4 test 3 (14, 14)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(14), 14); expect(res).to.equal(1); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(8), 4); - expect(res).to.equal(2); + it('test operator "div" overload (euint4, uint8) => euint4 test 4 (14, 10)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(14), 10); + expect(res).to.equal(1); }); - it('test operator "rem" overload (euint4, uint8) => euint4 test 1 (12, 1)', async function () { - const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(12), 1); - expect(res).to.equal(0); + it('test operator "rem" overload (euint4, uint8) => euint4 test 1 (3, 5)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(3), 5); + expect(res).to.equal(3); }); - it('test operator "rem" overload (euint4, uint8) => euint4 test 2 (8, 12)', async function () { - const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(8), 12); - expect(res).to.equal(8); + it('test operator "rem" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + expect(res).to.equal(4); }); - it('test operator "rem" overload (euint4, uint8) => euint4 test 3 (12, 12)', async function () { - const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(12), 12); + it('test operator "rem" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(8), 8); expect(res).to.equal(0); }); - it('test operator "rem" overload (euint4, uint8) => euint4 test 4 (12, 8)', async function () { - const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(12), 8); - expect(res).to.equal(4); + it('test operator "rem" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + expect(res).to.equal(0); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 1 (11, 3)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(11), 3); - expect(res).to.equal(false); + it('test operator "eq" overload (euint4, uint8) => ebool test 1 (10, 10)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(10), 10); + expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 2 (7, 11)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(7), 11); + it('test operator "eq" overload (euint4, uint8) => ebool test 2 (6, 10)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(6), 10); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 3 (11, 11)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(11), 11); + it('test operator "eq" overload (euint4, uint8) => ebool test 3 (10, 10)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(10), 10); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 4 (11, 7)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(11), 7); + it('test operator "eq" overload (euint4, uint8) => ebool test 4 (10, 6)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(10), 6); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint4) => ebool test 1 (6, 2)', async function () { - const res = await this.contract1.eq_uint8_euint4(6, this.instances1.alice.encrypt4(2)); + it('test operator "eq" overload (uint8, euint4) => ebool test 1 (8, 1)', async function () { + const res = await this.contract1.eq_uint8_euint4(8, this.instances1.alice.encrypt4(1)); expect(res).to.equal(false); }); @@ -2440,8 +2440,8 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, uint8) => ebool test 1 (2, 3)', async function () { - const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(2), 3); + it('test operator "ne" overload (euint4, uint8) => ebool test 1 (1, 10)', async function () { + const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(1), 10); expect(res).to.equal(true); }); @@ -2460,8 +2460,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint4) => ebool test 1 (11, 13)', async function () { - const res = await this.contract1.ne_uint8_euint4(11, this.instances1.alice.encrypt4(13)); + it('test operator "ne" overload (uint8, euint4) => ebool test 1 (7, 13)', async function () { + const res = await this.contract1.ne_uint8_euint4(7, this.instances1.alice.encrypt4(13)); expect(res).to.equal(true); }); @@ -2480,9 +2480,9 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 1 (7, 6)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(7), 6); - expect(res).to.equal(true); + it('test operator "ge" overload (euint4, uint8) => ebool test 1 (2, 3)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(2), 3); + expect(res).to.equal(false); }); it('test operator "ge" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { @@ -2500,8 +2500,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint4) => ebool test 1 (8, 3)', async function () { - const res = await this.contract1.ge_uint8_euint4(8, this.instances1.alice.encrypt4(3)); + it('test operator "ge" overload (uint8, euint4) => ebool test 1 (2, 1)', async function () { + const res = await this.contract1.ge_uint8_euint4(2, this.instances1.alice.encrypt4(1)); expect(res).to.equal(true); }); @@ -2520,8 +2520,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, uint8) => ebool test 1 (6, 1)', async function () { - const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(6), 1); + it('test operator "gt" overload (euint4, uint8) => ebool test 1 (7, 1)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(7), 1); expect(res).to.equal(true); }); @@ -2540,69 +2540,69 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 1 (1, 9)', async function () { - const res = await this.contract1.gt_uint8_euint4(1, this.instances1.alice.encrypt4(9)); + it('test operator "gt" overload (uint8, euint4) => ebool test 1 (3, 13)', async function () { + const res = await this.contract1.gt_uint8_euint4(3, this.instances1.alice.encrypt4(13)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 2 (5, 9)', async function () { - const res = await this.contract1.gt_uint8_euint4(5, this.instances1.alice.encrypt4(9)); + it('test operator "gt" overload (uint8, euint4) => ebool test 2 (9, 13)', async function () { + const res = await this.contract1.gt_uint8_euint4(9, this.instances1.alice.encrypt4(13)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 3 (9, 9)', async function () { - const res = await this.contract1.gt_uint8_euint4(9, this.instances1.alice.encrypt4(9)); + it('test operator "gt" overload (uint8, euint4) => ebool test 3 (13, 13)', async function () { + const res = await this.contract1.gt_uint8_euint4(13, this.instances1.alice.encrypt4(13)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 4 (9, 5)', async function () { - const res = await this.contract1.gt_uint8_euint4(9, this.instances1.alice.encrypt4(5)); + it('test operator "gt" overload (uint8, euint4) => ebool test 4 (13, 9)', async function () { + const res = await this.contract1.gt_uint8_euint4(13, this.instances1.alice.encrypt4(9)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 1 (6, 1)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(6), 1); - expect(res).to.equal(false); + it('test operator "le" overload (euint4, uint8) => ebool test 1 (11, 11)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(11), 11); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + it('test operator "le" overload (euint4, uint8) => ebool test 2 (7, 11)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(7), 11); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + it('test operator "le" overload (euint4, uint8) => ebool test 3 (11, 11)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(11), 11); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + it('test operator "le" overload (euint4, uint8) => ebool test 4 (11, 7)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(11), 7); expect(res).to.equal(false); }); - it('test operator "le" overload (uint8, euint4) => ebool test 1 (9, 9)', async function () { - const res = await this.contract1.le_uint8_euint4(9, this.instances1.alice.encrypt4(9)); + it('test operator "le" overload (uint8, euint4) => ebool test 1 (7, 14)', async function () { + const res = await this.contract1.le_uint8_euint4(7, this.instances1.alice.encrypt4(14)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint4) => ebool test 2 (5, 9)', async function () { - const res = await this.contract1.le_uint8_euint4(5, this.instances1.alice.encrypt4(9)); + it('test operator "le" overload (uint8, euint4) => ebool test 2 (10, 14)', async function () { + const res = await this.contract1.le_uint8_euint4(10, this.instances1.alice.encrypt4(14)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint4) => ebool test 3 (9, 9)', async function () { - const res = await this.contract1.le_uint8_euint4(9, this.instances1.alice.encrypt4(9)); + it('test operator "le" overload (uint8, euint4) => ebool test 3 (14, 14)', async function () { + const res = await this.contract1.le_uint8_euint4(14, this.instances1.alice.encrypt4(14)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint4) => ebool test 4 (9, 5)', async function () { - const res = await this.contract1.le_uint8_euint4(9, this.instances1.alice.encrypt4(5)); + it('test operator "le" overload (uint8, euint4) => ebool test 4 (14, 10)', async function () { + const res = await this.contract1.le_uint8_euint4(14, this.instances1.alice.encrypt4(10)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, uint8) => ebool test 1 (4, 1)', async function () { - const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(4), 1); - expect(res).to.equal(false); + it('test operator "lt" overload (euint4, uint8) => ebool test 1 (8, 10)', async function () { + const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(8), 10); + expect(res).to.equal(true); }); it('test operator "lt" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { @@ -2620,9 +2620,9 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint4) => ebool test 1 (3, 8)', async function () { - const res = await this.contract1.lt_uint8_euint4(3, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(true); + it('test operator "lt" overload (uint8, euint4) => ebool test 1 (5, 1)', async function () { + const res = await this.contract1.lt_uint8_euint4(5, this.instances1.alice.encrypt4(1)); + expect(res).to.equal(false); }); it('test operator "lt" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { @@ -2640,116 +2640,116 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 1 (6, 3)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(6), 3); - expect(res).to.equal(3); - }); - - it('test operator "min" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(4), 8); - expect(res).to.equal(4); + it('test operator "min" overload (euint4, uint8) => euint4 test 1 (14, 9)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(14), 9); + expect(res).to.equal(9); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(8), 8); - expect(res).to.equal(8); + it('test operator "min" overload (euint4, uint8) => euint4 test 2 (10, 14)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(10), 14); + expect(res).to.equal(10); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(8), 4); - expect(res).to.equal(4); + it('test operator "min" overload (euint4, uint8) => euint4 test 3 (14, 14)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(14), 14); + expect(res).to.equal(14); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 1 (11, 12)', async function () { - const res = await this.contract1.min_uint8_euint4(11, this.instances1.alice.encrypt4(12)); - expect(res).to.equal(11); + it('test operator "min" overload (euint4, uint8) => euint4 test 4 (14, 10)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(14), 10); + expect(res).to.equal(10); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 2 (8, 12)', async function () { - const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(12)); - expect(res).to.equal(8); + it('test operator "min" overload (uint8, euint4) => euint4 test 1 (5, 8)', async function () { + const res = await this.contract1.min_uint8_euint4(5, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(5); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 3 (12, 12)', async function () { - const res = await this.contract1.min_uint8_euint4(12, this.instances1.alice.encrypt4(12)); - expect(res).to.equal(12); + it('test operator "min" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.min_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(4); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 4 (12, 8)', async function () { - const res = await this.contract1.min_uint8_euint4(12, this.instances1.alice.encrypt4(8)); + it('test operator "min" overload (uint8, euint4) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(8)); expect(res).to.equal(8); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 1 (1, 4)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(1), 4); + it('test operator "min" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(4)); expect(res).to.equal(4); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(4), 8); - expect(res).to.equal(8); + it('test operator "max" overload (euint4, uint8) => euint4 test 1 (13, 8)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(13), 8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(8), 8); - expect(res).to.equal(8); + it('test operator "max" overload (euint4, uint8) => euint4 test 2 (9, 13)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(9), 13); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(8), 4); - expect(res).to.equal(8); + it('test operator "max" overload (euint4, uint8) => euint4 test 3 (13, 13)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(13), 13); + expect(res).to.equal(13); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 1 (2, 8)', async function () { - const res = await this.contract1.max_uint8_euint4(2, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(8); + it('test operator "max" overload (euint4, uint8) => euint4 test 4 (13, 9)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(13), 9); + expect(res).to.equal(13); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { - const res = await this.contract1.max_uint8_euint4(4, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(8); + it('test operator "max" overload (uint8, euint4) => euint4 test 1 (6, 11)', async function () { + const res = await this.contract1.max_uint8_euint4(6, this.instances1.alice.encrypt4(11)); + expect(res).to.equal(11); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 3 (8, 8)', async function () { - const res = await this.contract1.max_uint8_euint4(8, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(8); + it('test operator "max" overload (uint8, euint4) => euint4 test 2 (7, 11)', async function () { + const res = await this.contract1.max_uint8_euint4(7, this.instances1.alice.encrypt4(11)); + expect(res).to.equal(11); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { - const res = await this.contract1.max_uint8_euint4(8, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(8); + it('test operator "max" overload (uint8, euint4) => euint4 test 3 (11, 11)', async function () { + const res = await this.contract1.max_uint8_euint4(11, this.instances1.alice.encrypt4(11)); + expect(res).to.equal(11); + }); + + it('test operator "max" overload (uint8, euint4) => euint4 test 4 (11, 7)', async function () { + const res = await this.contract1.max_uint8_euint4(11, this.instances1.alice.encrypt4(7)); + expect(res).to.equal(11); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 1 (7, 1)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 1 (11, 1)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(7), + this.instances1.alice.encrypt8(11), this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(8); + expect(res).to.equal(12); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 2 (3, 5)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(3), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(12); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 3 (5, 5)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(4), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(8); + expect(res).to.equal(10); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 4 (5, 3)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(12); + expect(res).to.equal(8); }); it('test operator "sub" overload (euint8, euint4) => euint8 test 1 (8, 8)', async function () { @@ -2768,12 +2768,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 1 (13, 1)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 1 (5, 1)', async function () { const res = await this.contract1.mul_euint8_euint4( - this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt8(5), this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(13); + expect(res).to.equal(5); }); it('test operator "mul" overload (euint8, euint4) => euint8 test 2 (2, 4)', async function () { @@ -2800,76 +2800,76 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "and" overload (euint8, euint4) => euint8 test 1 (209, 7)', async function () { + it('test operator "and" overload (euint8, euint4) => euint8 test 1 (79, 9)', async function () { const res = await this.contract1.and_euint8_euint4( - this.instances1.alice.encrypt8(209), - this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(79), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(1); + expect(res).to.equal(9); }); - it('test operator "and" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint8, euint4) => euint8 test 2 (5, 9)', async function () { const res = await this.contract1.and_euint8_euint4( - this.instances1.alice.encrypt8(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(0); + expect(res).to.equal(1); }); - it('test operator "and" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint8, euint4) => euint8 test 3 (9, 9)', async function () { const res = await this.contract1.and_euint8_euint4( - this.instances1.alice.encrypt8(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(8); + expect(res).to.equal(9); }); - it('test operator "and" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint8, euint4) => euint8 test 4 (9, 5)', async function () { const res = await this.contract1.and_euint8_euint4( - this.instances1.alice.encrypt8(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(0); + expect(res).to.equal(1); }); - it('test operator "or" overload (euint8, euint4) => euint8 test 1 (11, 1)', async function () { + it('test operator "or" overload (euint8, euint4) => euint8 test 1 (120, 12)', async function () { const res = await this.contract1.or_euint8_euint4( - this.instances1.alice.encrypt8(11), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(120), + this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(11); + expect(res).to.equal(124); }); - it('test operator "or" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint8, euint4) => euint8 test 2 (8, 12)', async function () { const res = await this.contract1.or_euint8_euint4( - this.instances1.alice.encrypt8(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(12), ); expect(res).to.equal(12); }); - it('test operator "or" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint8, euint4) => euint8 test 3 (12, 12)', async function () { const res = await this.contract1.or_euint8_euint4( - this.instances1.alice.encrypt8(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(12), + this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(8); + expect(res).to.equal(12); }); - it('test operator "or" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint8, euint4) => euint8 test 4 (12, 8)', async function () { const res = await this.contract1.or_euint8_euint4( - this.instances1.alice.encrypt8(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(12), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(12); }); - it('test operator "xor" overload (euint8, euint4) => euint8 test 1 (1, 11)', async function () { + it('test operator "xor" overload (euint8, euint4) => euint8 test 1 (44, 8)', async function () { const res = await this.contract1.xor_euint8_euint4( - this.instances1.alice.encrypt8(1), - this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(44), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(10); + expect(res).to.equal(36); }); it('test operator "xor" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { @@ -2896,10 +2896,10 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "eq" overload (euint8, euint4) => ebool test 1 (59, 2)', async function () { + it('test operator "eq" overload (euint8, euint4) => ebool test 1 (129, 1)', async function () { const res = await this.contract2.eq_euint8_euint4( - this.instances2.alice.encrypt8(59), - this.instances2.alice.encrypt4(2), + this.instances2.alice.encrypt8(129), + this.instances2.alice.encrypt4(1), ); expect(res).to.equal(false); }); @@ -2928,9 +2928,9 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint4) => ebool test 1 (18, 13)', async function () { + it('test operator "ne" overload (euint8, euint4) => ebool test 1 (63, 13)', async function () { const res = await this.contract2.ne_euint8_euint4( - this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt8(63), this.instances2.alice.encrypt4(13), ); expect(res).to.equal(true); @@ -2960,10 +2960,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint4) => ebool test 1 (182, 3)', async function () { + it('test operator "ge" overload (euint8, euint4) => ebool test 1 (3, 1)', async function () { const res = await this.contract2.ge_euint8_euint4( - this.instances2.alice.encrypt8(182), - this.instances2.alice.encrypt4(3), + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt4(1), ); expect(res).to.equal(true); }); @@ -2992,74 +2992,74 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 1 (37, 9)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 1 (211, 13)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(37), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(211), + this.instances2.alice.encrypt4(13), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 2 (5, 9)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 2 (9, 13)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt4(13), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 3 (9, 9)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 3 (13, 13)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(13), + this.instances2.alice.encrypt4(13), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 4 (9, 5)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 4 (13, 9)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt4(5), + this.instances2.alice.encrypt8(13), + this.instances2.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 1 (85, 9)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 1 (157, 14)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(85), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(157), + this.instances2.alice.encrypt4(14), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint8, euint4) => ebool test 2 (5, 9)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 2 (10, 14)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt4(14), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 3 (9, 9)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 3 (14, 14)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt4(14), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 4 (9, 5)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 4 (14, 10)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt4(5), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt4(10), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint4) => ebool test 1 (50, 8)', async function () { + it('test operator "lt" overload (euint8, euint4) => ebool test 1 (209, 1)', async function () { const res = await this.contract2.lt_euint8_euint4( - this.instances2.alice.encrypt8(50), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(209), + this.instances2.alice.encrypt4(1), ); expect(res).to.equal(false); }); @@ -3088,250 +3088,250 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 1 (79, 12)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 1 (69, 8)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt4(12), + this.instances2.alice.encrypt8(69), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 2 (8, 12)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(12), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(4); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 3 (12, 12)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(12), - this.instances2.alice.encrypt4(12), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 4 (12, 8)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(12), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(8); + expect(res).to.equal(4); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 1 (11, 8)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 1 (39, 11)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(39), + this.instances2.alice.encrypt4(11), ); - expect(res).to.equal(11); + expect(res).to.equal(39); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 2 (7, 11)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt4(11), ); - expect(res).to.equal(8); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 3 (11, 11)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt4(11), ); - expect(res).to.equal(8); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 4 (11, 7)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt4(7), ); - expect(res).to.equal(8); + expect(res).to.equal(11); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 1 (8, 73)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 1 (13, 130)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(73), + this.instances2.alice.encrypt8(13), + this.instances2.alice.encrypt8(130), ); - expect(res).to.equal(81); + expect(res).to.equal(143); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 2 (9, 13)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(13), ); - expect(res).to.equal(12); + expect(res).to.equal(22); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 3 (13, 13)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(13), + this.instances2.alice.encrypt8(13), ); - expect(res).to.equal(16); + expect(res).to.equal(26); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 4 (13, 9)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(13), + this.instances2.alice.encrypt8(9), ); - expect(res).to.equal(12); + expect(res).to.equal(22); }); - it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (14, 14)', async function () { + it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (8, 8)', async function () { const res = await this.contract2.sub_euint8_euint8( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, euint8) => euint8 test 2 (14, 10)', async function () { + it('test operator "sub" overload (euint8, euint8) => euint8 test 2 (8, 4)', async function () { const res = await this.contract2.sub_euint8_euint8( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (6, 19)', async function () { + it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (2, 98)', async function () { const res = await this.contract2.mul_euint8_euint8( - this.instances2.alice.encrypt8(6), - this.instances2.alice.encrypt8(19), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(98), ); - expect(res).to.equal(114); + expect(res).to.equal(196); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 2 (8, 12)', async function () { + it('test operator "mul" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.mul_euint8_euint8( + this.instances2.alice.encrypt8(4), this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(12), ); - expect(res).to.equal(96); + expect(res).to.equal(32); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 3 (12, 12)', async function () { + it('test operator "mul" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint8( - this.instances2.alice.encrypt8(12), - this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(144); + expect(res).to.equal(64); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 4 (12, 8)', async function () { + it('test operator "mul" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.mul_euint8_euint8( - this.instances2.alice.encrypt8(12), this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(96); + expect(res).to.equal(32); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 1 (209, 109)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 1 (79, 88)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt8(109), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt8(88), ); - expect(res).to.equal(65); + expect(res).to.equal(72); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 2 (105, 109)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 2 (75, 79)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(105), - this.instances2.alice.encrypt8(109), + this.instances2.alice.encrypt8(75), + this.instances2.alice.encrypt8(79), ); - expect(res).to.equal(105); + expect(res).to.equal(75); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 3 (109, 109)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 3 (79, 79)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(109), - this.instances2.alice.encrypt8(109), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt8(79), ); - expect(res).to.equal(109); + expect(res).to.equal(79); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 4 (109, 105)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 4 (79, 75)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(109), - this.instances2.alice.encrypt8(105), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt8(75), ); - expect(res).to.equal(105); + expect(res).to.equal(75); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 1 (93, 243)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 1 (120, 101)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt8(243), + this.instances2.alice.encrypt8(120), + this.instances2.alice.encrypt8(101), ); - expect(res).to.equal(255); + expect(res).to.equal(125); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 2 (89, 93)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 2 (97, 101)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(89), - this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt8(101), ); - expect(res).to.equal(93); + expect(res).to.equal(101); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 3 (93, 93)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 3 (101, 101)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt8(101), + this.instances2.alice.encrypt8(101), ); - expect(res).to.equal(93); + expect(res).to.equal(101); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 4 (93, 89)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 4 (101, 97)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt8(89), + this.instances2.alice.encrypt8(101), + this.instances2.alice.encrypt8(97), ); - expect(res).to.equal(93); + expect(res).to.equal(101); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (1, 166)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (44, 19)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt8(166), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt8(19), ); - expect(res).to.equal(167); + expect(res).to.equal(63); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 2 (15, 19)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(15), + this.instances2.alice.encrypt8(19), ); - expect(res).to.equal(12); + expect(res).to.equal(28); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 3 (19, 19)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(19), + this.instances2.alice.encrypt8(19), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 4 (19, 15)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(19), + this.instances2.alice.encrypt8(15), ); - expect(res).to.equal(12); + expect(res).to.equal(28); }); - it('test operator "eq" overload (euint8, euint8) => ebool test 1 (6, 193)', async function () { + it('test operator "eq" overload (euint8, euint8) => ebool test 1 (8, 206)', async function () { const res = await this.contract2.eq_euint8_euint8( - this.instances2.alice.encrypt8(6), - this.instances2.alice.encrypt8(193), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(206), ); expect(res).to.equal(false); }); @@ -3360,42 +3360,42 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 1 (11, 49)', async function () { + it('test operator "ne" overload (euint8, euint8) => ebool test 1 (7, 41)', async function () { const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt8(49), + this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt8(41), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 2 (7, 11)', async function () { + it('test operator "ne" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(7), - this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 3 (11, 11)', async function () { + it('test operator "ne" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 4 (11, 7)', async function () { + it('test operator "ne" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint8) => ebool test 1 (8, 253)', async function () { + it('test operator "ge" overload (euint8, euint8) => ebool test 1 (2, 203)', async function () { const res = await this.contract2.ge_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(253), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(203), ); expect(res).to.equal(false); }); @@ -3424,10 +3424,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint8) => ebool test 1 (1, 112)', async function () { + it('test operator "gt" overload (euint8, euint8) => ebool test 1 (3, 44)', async function () { const res = await this.contract2.gt_euint8_euint8( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt8(112), + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt8(44), ); expect(res).to.equal(false); }); @@ -3456,42 +3456,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 1 (9, 136)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 1 (7, 208)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt8(136), + this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt8(208), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 2 (5, 9)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 3 (9, 9)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 4 (9, 5)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint8) => ebool test 1 (3, 82)', async function () { + it('test operator "lt" overload (euint8, euint8) => ebool test 1 (5, 181)', async function () { const res = await this.contract2.lt_euint8_euint8( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt8(82), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt8(181), ); expect(res).to.equal(true); }); @@ -3520,44 +3520,44 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 1 (11, 214)', async function () { + it('test operator "min" overload (euint8, euint8) => euint8 test 1 (5, 106)', async function () { const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt8(214), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt8(106), ); - expect(res).to.equal(11); + expect(res).to.equal(5); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 2 (7, 11)', async function () { + it('test operator "min" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(7), - this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(7); + expect(res).to.equal(4); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 3 (11, 11)', async function () { + it('test operator "min" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 4 (11, 7)', async function () { + it('test operator "min" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(7); + expect(res).to.equal(4); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 1 (2, 44)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 1 (6, 151)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt8(6), + this.instances2.alice.encrypt8(151), ); - expect(res).to.equal(44); + expect(res).to.equal(151); }); it('test operator "max" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -3584,482 +3584,482 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 1 (1, 251)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 1 (1, 237)', async function () { const res = await this.contract2.add_euint8_euint16( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(251), + this.instances2.alice.encrypt16(237), ); - expect(res).to.equal(252); + expect(res).to.equal(238); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 2 (100, 104)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(100), + this.instances2.alice.encrypt16(104), ); - expect(res).to.equal(12); + expect(res).to.equal(204); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 3 (104, 104)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(104), + this.instances2.alice.encrypt16(104), ); - expect(res).to.equal(16); + expect(res).to.equal(208); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 4 (104, 100)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(104), + this.instances2.alice.encrypt16(100), ); - expect(res).to.equal(12); + expect(res).to.equal(204); }); - it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (62, 62)', async function () { + it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (145, 145)', async function () { const res = await this.contract2.sub_euint8_euint16( - this.instances2.alice.encrypt8(62), - this.instances2.alice.encrypt16(62), + this.instances2.alice.encrypt8(145), + this.instances2.alice.encrypt16(145), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, euint16) => euint16 test 2 (62, 58)', async function () { + it('test operator "sub" overload (euint8, euint16) => euint16 test 2 (145, 141)', async function () { const res = await this.contract2.sub_euint8_euint16( - this.instances2.alice.encrypt8(62), - this.instances2.alice.encrypt16(58), + this.instances2.alice.encrypt8(145), + this.instances2.alice.encrypt16(141), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (2, 33)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (1, 161)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt16(33), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt16(161), ); - expect(res).to.equal(66); + expect(res).to.equal(161); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 2 (11, 11)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 2 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt16(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(121); + expect(res).to.equal(64); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 3 (11, 11)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt16(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(121); + expect(res).to.equal(64); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 4 (11, 11)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 4 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt16(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(121); + expect(res).to.equal(64); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 1 (209, 33383)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 1 (79, 63031)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt16(33383), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt16(63031), ); - expect(res).to.equal(65); + expect(res).to.equal(7); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 2 (205, 209)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 2 (75, 79)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(205), - this.instances2.alice.encrypt16(209), + this.instances2.alice.encrypt8(75), + this.instances2.alice.encrypt16(79), ); - expect(res).to.equal(193); + expect(res).to.equal(75); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 3 (209, 209)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 3 (79, 79)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt16(209), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt16(79), ); - expect(res).to.equal(209); + expect(res).to.equal(79); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 4 (209, 205)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 4 (79, 75)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt16(205), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt16(75), ); - expect(res).to.equal(193); + expect(res).to.equal(75); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 1 (1, 196)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 1 (120, 47218)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(196), + this.instances2.alice.encrypt8(120), + this.instances2.alice.encrypt16(47218), ); - expect(res).to.equal(197); + expect(res).to.equal(47226); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 2 (89, 93)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 2 (116, 120)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(89), - this.instances2.alice.encrypt16(93), + this.instances2.alice.encrypt8(116), + this.instances2.alice.encrypt16(120), ); - expect(res).to.equal(93); + expect(res).to.equal(124); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 3 (93, 93)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 3 (120, 120)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt16(93), + this.instances2.alice.encrypt8(120), + this.instances2.alice.encrypt16(120), ); - expect(res).to.equal(93); + expect(res).to.equal(120); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 4 (93, 89)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 4 (120, 116)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt16(89), + this.instances2.alice.encrypt8(120), + this.instances2.alice.encrypt16(116), ); - expect(res).to.equal(93); + expect(res).to.equal(124); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (1, 217)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (44, 50547)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(217), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt16(50547), ); - expect(res).to.equal(216); + expect(res).to.equal(50527); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 2 (40, 44)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(40), + this.instances2.alice.encrypt16(44), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 3 (44, 44)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt16(44), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 4 (44, 40)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt16(40), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 1 (224, 28749)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 1 (92, 49874)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(224), - this.instances2.alice.encrypt16(28749), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt16(49874), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 2 (220, 224)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 2 (88, 92)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(220), - this.instances2.alice.encrypt16(224), + this.instances2.alice.encrypt8(88), + this.instances2.alice.encrypt16(92), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 3 (224, 224)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 3 (92, 92)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(224), - this.instances2.alice.encrypt16(224), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt16(92), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 4 (224, 220)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 4 (92, 88)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(224), - this.instances2.alice.encrypt16(220), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt16(88), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 1 (223, 38601)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 1 (147, 20222)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(223), - this.instances2.alice.encrypt16(38601), + this.instances2.alice.encrypt8(147), + this.instances2.alice.encrypt16(20222), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 2 (219, 223)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 2 (143, 147)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(219), - this.instances2.alice.encrypt16(223), + this.instances2.alice.encrypt8(143), + this.instances2.alice.encrypt16(147), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 3 (223, 223)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 3 (147, 147)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(223), - this.instances2.alice.encrypt16(223), + this.instances2.alice.encrypt8(147), + this.instances2.alice.encrypt16(147), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 4 (223, 219)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 4 (147, 143)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(223), - this.instances2.alice.encrypt16(219), + this.instances2.alice.encrypt8(147), + this.instances2.alice.encrypt16(143), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 1 (97, 54950)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 1 (254, 25447)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(97), - this.instances2.alice.encrypt16(54950), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt16(25447), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 2 (93, 97)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 2 (250, 254)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt16(97), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt16(254), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 3 (97, 97)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 3 (254, 254)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(97), - this.instances2.alice.encrypt16(97), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt16(254), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 4 (97, 93)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 4 (254, 250)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(97), - this.instances2.alice.encrypt16(93), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt16(250), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 1 (79, 20669)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 1 (240, 31410)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt16(20669), + this.instances2.alice.encrypt8(240), + this.instances2.alice.encrypt16(31410), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 2 (75, 79)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 2 (236, 240)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(75), - this.instances2.alice.encrypt16(79), + this.instances2.alice.encrypt8(236), + this.instances2.alice.encrypt16(240), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 3 (79, 79)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 3 (240, 240)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt16(79), + this.instances2.alice.encrypt8(240), + this.instances2.alice.encrypt16(240), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 4 (79, 75)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 4 (240, 236)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt16(75), + this.instances2.alice.encrypt8(240), + this.instances2.alice.encrypt16(236), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 1 (52, 17587)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 1 (44, 23355)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(52), - this.instances2.alice.encrypt16(17587), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt16(23355), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 2 (48, 52)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 2 (40, 44)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(48), - this.instances2.alice.encrypt16(52), + this.instances2.alice.encrypt8(40), + this.instances2.alice.encrypt16(44), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 3 (52, 52)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 3 (44, 44)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(52), - this.instances2.alice.encrypt16(52), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt16(44), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 4 (52, 48)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 4 (44, 40)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(52), - this.instances2.alice.encrypt16(48), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt16(40), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 1 (148, 35784)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 1 (165, 15128)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(148), - this.instances2.alice.encrypt16(35784), + this.instances2.alice.encrypt8(165), + this.instances2.alice.encrypt16(15128), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 2 (144, 148)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 2 (161, 165)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(144), - this.instances2.alice.encrypt16(148), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt16(165), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 3 (148, 148)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 3 (165, 165)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(148), - this.instances2.alice.encrypt16(148), + this.instances2.alice.encrypt8(165), + this.instances2.alice.encrypt16(165), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 4 (148, 144)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 4 (165, 161)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(148), - this.instances2.alice.encrypt16(144), + this.instances2.alice.encrypt8(165), + this.instances2.alice.encrypt16(161), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 1 (45, 12728)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 1 (39, 40958)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(45), - this.instances2.alice.encrypt16(12728), + this.instances2.alice.encrypt8(39), + this.instances2.alice.encrypt16(40958), ); - expect(res).to.equal(45); + expect(res).to.equal(39); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 2 (41, 45)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 2 (35, 39)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(41), - this.instances2.alice.encrypt16(45), + this.instances2.alice.encrypt8(35), + this.instances2.alice.encrypt16(39), ); - expect(res).to.equal(41); + expect(res).to.equal(35); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 3 (45, 45)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 3 (39, 39)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(45), - this.instances2.alice.encrypt16(45), + this.instances2.alice.encrypt8(39), + this.instances2.alice.encrypt16(39), ); - expect(res).to.equal(45); + expect(res).to.equal(39); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 4 (45, 41)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 4 (39, 35)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(45), - this.instances2.alice.encrypt16(41), + this.instances2.alice.encrypt8(39), + this.instances2.alice.encrypt16(35), ); - expect(res).to.equal(41); + expect(res).to.equal(35); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 1 (1, 173)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 1 (250, 47824)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(173), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt16(47824), ); - expect(res).to.equal(173); + expect(res).to.equal(47824); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 2 (174, 178)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 2 (246, 250)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(174), - this.instances2.alice.encrypt16(178), + this.instances2.alice.encrypt8(246), + this.instances2.alice.encrypt16(250), ); - expect(res).to.equal(178); + expect(res).to.equal(250); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 3 (178, 178)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 3 (250, 250)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(178), - this.instances2.alice.encrypt16(178), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt16(250), ); - expect(res).to.equal(178); + expect(res).to.equal(250); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 4 (178, 174)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 4 (250, 246)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(178), - this.instances2.alice.encrypt16(174), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt16(246), ); - expect(res).to.equal(178); + expect(res).to.equal(250); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 1 (1, 207)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 1 (1, 147)', async function () { const res = await this.contract2.add_euint8_euint32( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(207), + this.instances2.alice.encrypt32(147), ); - expect(res).to.equal(208); + expect(res).to.equal(148); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 2 (100, 104)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(100), + this.instances2.alice.encrypt32(104), ); - expect(res).to.equal(12); + expect(res).to.equal(204); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 3 (104, 104)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(104), + this.instances2.alice.encrypt32(104), ); - expect(res).to.equal(16); + expect(res).to.equal(208); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 4 (104, 100)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(104), + this.instances2.alice.encrypt32(100), ); - expect(res).to.equal(12); + expect(res).to.equal(204); }); - it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (62, 62)', async function () { + it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (145, 145)', async function () { const res = await this.contract2.sub_euint8_euint32( - this.instances2.alice.encrypt8(62), - this.instances2.alice.encrypt32(62), + this.instances2.alice.encrypt8(145), + this.instances2.alice.encrypt32(145), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (62, 58)', async function () { + it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (145, 141)', async function () { const res = await this.contract2.sub_euint8_euint32( - this.instances2.alice.encrypt8(62), - this.instances2.alice.encrypt32(58), + this.instances2.alice.encrypt8(145), + this.instances2.alice.encrypt32(141), ); expect(res).to.equal(4); }); @@ -4072,956 +4072,956 @@ describe('TFHE operations', function () { expect(res).to.equal(174); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 2 (11, 11)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 2 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt32(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(121); + expect(res).to.equal(64); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 3 (11, 11)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt32(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(121); + expect(res).to.equal(64); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 4 (11, 11)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 4 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt32(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(121); + expect(res).to.equal(64); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 1 (209, 527165394)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 1 (79, 262235113)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt32(527165394), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt32(262235113), ); - expect(res).to.equal(208); + expect(res).to.equal(73); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 2 (205, 209)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 2 (75, 79)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(205), - this.instances2.alice.encrypt32(209), + this.instances2.alice.encrypt8(75), + this.instances2.alice.encrypt32(79), ); - expect(res).to.equal(193); + expect(res).to.equal(75); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 3 (209, 209)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 3 (79, 79)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt32(209), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt32(79), ); - expect(res).to.equal(209); + expect(res).to.equal(79); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 4 (209, 205)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 4 (79, 75)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt32(205), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt32(75), ); - expect(res).to.equal(193); + expect(res).to.equal(75); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 1 (1, 143)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 1 (120, 230647135)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(143), + this.instances2.alice.encrypt8(120), + this.instances2.alice.encrypt32(230647135), ); - expect(res).to.equal(143); + expect(res).to.equal(230647167); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 2 (89, 93)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 2 (116, 120)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(89), - this.instances2.alice.encrypt32(93), + this.instances2.alice.encrypt8(116), + this.instances2.alice.encrypt32(120), ); - expect(res).to.equal(93); + expect(res).to.equal(124); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 3 (93, 93)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 3 (120, 120)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt32(93), + this.instances2.alice.encrypt8(120), + this.instances2.alice.encrypt32(120), ); - expect(res).to.equal(93); + expect(res).to.equal(120); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 4 (93, 89)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 4 (120, 116)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt32(89), + this.instances2.alice.encrypt8(120), + this.instances2.alice.encrypt32(116), ); - expect(res).to.equal(93); + expect(res).to.equal(124); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (1, 186)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (44, 19360952)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(186), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt32(19360952), ); - expect(res).to.equal(187); + expect(res).to.equal(19360916); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 2 (40, 44)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(40), + this.instances2.alice.encrypt32(44), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 3 (44, 44)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt32(44), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 4 (44, 40)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt32(40), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 1 (224, 1978797433)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 1 (92, 74149594)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(224), - this.instances2.alice.encrypt32(1978797433), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt32(74149594), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 2 (220, 224)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 2 (88, 92)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(220), - this.instances2.alice.encrypt32(224), + this.instances2.alice.encrypt8(88), + this.instances2.alice.encrypt32(92), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 3 (224, 224)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 3 (92, 92)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(224), - this.instances2.alice.encrypt32(224), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt32(92), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 4 (224, 220)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 4 (92, 88)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(224), - this.instances2.alice.encrypt32(220), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt32(88), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 1 (223, 19817588)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 1 (147, 134200275)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(223), - this.instances2.alice.encrypt32(19817588), + this.instances2.alice.encrypt8(147), + this.instances2.alice.encrypt32(134200275), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 2 (219, 223)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 2 (143, 147)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(219), - this.instances2.alice.encrypt32(223), + this.instances2.alice.encrypt8(143), + this.instances2.alice.encrypt32(147), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 3 (223, 223)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 3 (147, 147)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(223), - this.instances2.alice.encrypt32(223), + this.instances2.alice.encrypt8(147), + this.instances2.alice.encrypt32(147), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 4 (223, 219)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 4 (147, 143)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(223), - this.instances2.alice.encrypt32(219), + this.instances2.alice.encrypt8(147), + this.instances2.alice.encrypt32(143), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 1 (97, 1858963305)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 1 (254, 174513350)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(97), - this.instances2.alice.encrypt32(1858963305), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt32(174513350), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 2 (93, 97)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 2 (250, 254)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt32(97), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt32(254), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 3 (97, 97)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 3 (254, 254)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(97), - this.instances2.alice.encrypt32(97), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt32(254), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 4 (97, 93)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 4 (254, 250)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(97), - this.instances2.alice.encrypt32(93), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt32(250), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 1 (79, 2069042933)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 1 (240, 230709034)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt32(2069042933), + this.instances2.alice.encrypt8(240), + this.instances2.alice.encrypt32(230709034), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 2 (75, 79)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 2 (236, 240)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(75), - this.instances2.alice.encrypt32(79), + this.instances2.alice.encrypt8(236), + this.instances2.alice.encrypt32(240), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 3 (79, 79)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 3 (240, 240)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt32(79), + this.instances2.alice.encrypt8(240), + this.instances2.alice.encrypt32(240), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 4 (79, 75)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 4 (240, 236)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt32(75), + this.instances2.alice.encrypt8(240), + this.instances2.alice.encrypt32(236), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 1 (52, 1808707750)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 1 (44, 91863139)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(52), - this.instances2.alice.encrypt32(1808707750), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt32(91863139), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 2 (48, 52)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 2 (40, 44)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(48), - this.instances2.alice.encrypt32(52), + this.instances2.alice.encrypt8(40), + this.instances2.alice.encrypt32(44), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 3 (52, 52)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 3 (44, 44)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(52), - this.instances2.alice.encrypt32(52), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt32(44), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 4 (52, 48)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 4 (44, 40)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(52), - this.instances2.alice.encrypt32(48), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt32(40), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 1 (148, 1735514833)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 1 (165, 242355822)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(148), - this.instances2.alice.encrypt32(1735514833), + this.instances2.alice.encrypt8(165), + this.instances2.alice.encrypt32(242355822), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 2 (144, 148)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 2 (161, 165)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(144), - this.instances2.alice.encrypt32(148), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt32(165), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 3 (148, 148)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 3 (165, 165)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(148), - this.instances2.alice.encrypt32(148), + this.instances2.alice.encrypt8(165), + this.instances2.alice.encrypt32(165), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 4 (148, 144)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 4 (165, 161)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(148), - this.instances2.alice.encrypt32(144), + this.instances2.alice.encrypt8(165), + this.instances2.alice.encrypt32(161), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 1 (45, 1572730534)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 1 (39, 262725927)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(45), - this.instances2.alice.encrypt32(1572730534), + this.instances2.alice.encrypt8(39), + this.instances2.alice.encrypt32(262725927), ); - expect(res).to.equal(45); + expect(res).to.equal(39); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 2 (41, 45)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 2 (35, 39)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(41), - this.instances2.alice.encrypt32(45), + this.instances2.alice.encrypt8(35), + this.instances2.alice.encrypt32(39), ); - expect(res).to.equal(41); + expect(res).to.equal(35); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 3 (45, 45)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 3 (39, 39)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(45), - this.instances2.alice.encrypt32(45), + this.instances2.alice.encrypt8(39), + this.instances2.alice.encrypt32(39), ); - expect(res).to.equal(45); + expect(res).to.equal(39); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 4 (45, 41)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 4 (39, 35)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(45), - this.instances2.alice.encrypt32(41), + this.instances2.alice.encrypt8(39), + this.instances2.alice.encrypt32(35), ); - expect(res).to.equal(41); + expect(res).to.equal(35); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 1 (1, 176)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 1 (250, 157022809)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(176), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt32(157022809), ); - expect(res).to.equal(176); + expect(res).to.equal(157022809); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 2 (174, 178)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 2 (246, 250)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(174), - this.instances2.alice.encrypt32(178), + this.instances2.alice.encrypt8(246), + this.instances2.alice.encrypt32(250), ); - expect(res).to.equal(178); + expect(res).to.equal(250); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 3 (178, 178)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 3 (250, 250)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(178), - this.instances2.alice.encrypt32(178), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt32(250), ); - expect(res).to.equal(178); + expect(res).to.equal(250); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 4 (178, 174)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 4 (250, 246)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(178), - this.instances2.alice.encrypt32(174), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt32(246), ); - expect(res).to.equal(178); + expect(res).to.equal(250); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 1 (1, 212)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 1 (1, 159)', async function () { const res = await this.contract2.add_euint8_euint64( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(212), + this.instances2.alice.encrypt64(159), ); - expect(res).to.equal(213); + expect(res).to.equal(160); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 2 (100, 104)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(100), + this.instances2.alice.encrypt64(104), ); - expect(res).to.equal(12); + expect(res).to.equal(204); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 3 (104, 104)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(104), + this.instances2.alice.encrypt64(104), ); - expect(res).to.equal(16); + expect(res).to.equal(208); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 4 (104, 100)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(104), + this.instances2.alice.encrypt64(100), ); - expect(res).to.equal(12); + expect(res).to.equal(204); }); - it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (62, 62)', async function () { + it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (145, 145)', async function () { const res = await this.contract2.sub_euint8_euint64( - this.instances2.alice.encrypt8(62), - this.instances2.alice.encrypt64(62), + this.instances2.alice.encrypt8(145), + this.instances2.alice.encrypt64(145), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (62, 58)', async function () { + it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (145, 141)', async function () { const res = await this.contract2.sub_euint8_euint64( - this.instances2.alice.encrypt8(62), - this.instances2.alice.encrypt64(58), + this.instances2.alice.encrypt8(145), + this.instances2.alice.encrypt64(141), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (1, 145)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (1, 154)', async function () { const res = await this.contract2.mul_euint8_euint64( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(145), + this.instances2.alice.encrypt64(154), ); - expect(res).to.equal(145); + expect(res).to.equal(154); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 2 (11, 11)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 2 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt64(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(121); + expect(res).to.equal(64); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 3 (11, 11)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt64(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(121); + expect(res).to.equal(64); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 4 (11, 11)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 4 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt64(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(121); + expect(res).to.equal(64); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 1 (209, 1641438334)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 1 (79, 112002348)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt64(1641438334), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt64(112002348), ); - expect(res).to.equal(80); + expect(res).to.equal(12); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 2 (205, 209)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 2 (75, 79)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(205), - this.instances2.alice.encrypt64(209), + this.instances2.alice.encrypt8(75), + this.instances2.alice.encrypt64(79), ); - expect(res).to.equal(193); + expect(res).to.equal(75); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 3 (209, 209)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 3 (79, 79)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt64(209), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt64(79), ); - expect(res).to.equal(209); + expect(res).to.equal(79); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 4 (209, 205)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 4 (79, 75)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt64(205), + this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt64(75), ); - expect(res).to.equal(193); + expect(res).to.equal(75); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 1 (1, 139)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 1 (120, 225077141)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(139), + this.instances2.alice.encrypt8(120), + this.instances2.alice.encrypt64(225077141), ); - expect(res).to.equal(139); + expect(res).to.equal(225077245); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 2 (89, 93)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 2 (116, 120)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(89), - this.instances2.alice.encrypt64(93), + this.instances2.alice.encrypt8(116), + this.instances2.alice.encrypt64(120), ); - expect(res).to.equal(93); + expect(res).to.equal(124); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 3 (93, 93)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 3 (120, 120)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt64(93), + this.instances2.alice.encrypt8(120), + this.instances2.alice.encrypt64(120), ); - expect(res).to.equal(93); + expect(res).to.equal(120); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 4 (93, 89)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 4 (120, 116)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt64(89), + this.instances2.alice.encrypt8(120), + this.instances2.alice.encrypt64(116), ); - expect(res).to.equal(93); + expect(res).to.equal(124); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (1, 136)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (44, 222033695)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(136), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt64(222033695), ); - expect(res).to.equal(137); + expect(res).to.equal(222033715); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 2 (40, 44)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(40), + this.instances2.alice.encrypt64(44), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 3 (44, 44)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt64(44), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 4 (44, 40)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt64(40), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 1 (224, 1900324216)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 1 (92, 249397548)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(224), - this.instances2.alice.encrypt64(1900324216), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt64(249397548), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 2 (220, 224)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 2 (88, 92)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(220), - this.instances2.alice.encrypt64(224), + this.instances2.alice.encrypt8(88), + this.instances2.alice.encrypt64(92), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 3 (224, 224)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 3 (92, 92)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(224), - this.instances2.alice.encrypt64(224), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt64(92), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 4 (224, 220)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 4 (92, 88)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(224), - this.instances2.alice.encrypt64(220), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt64(88), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 1 (223, 1747152964)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 1 (147, 43277666)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(223), - this.instances2.alice.encrypt64(1747152964), + this.instances2.alice.encrypt8(147), + this.instances2.alice.encrypt64(43277666), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 2 (219, 223)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 2 (143, 147)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(219), - this.instances2.alice.encrypt64(223), + this.instances2.alice.encrypt8(143), + this.instances2.alice.encrypt64(147), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 3 (223, 223)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 3 (147, 147)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(223), - this.instances2.alice.encrypt64(223), + this.instances2.alice.encrypt8(147), + this.instances2.alice.encrypt64(147), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 4 (223, 219)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 4 (147, 143)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(223), - this.instances2.alice.encrypt64(219), + this.instances2.alice.encrypt8(147), + this.instances2.alice.encrypt64(143), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 1 (97, 24079369)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 1 (254, 249856292)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(97), - this.instances2.alice.encrypt64(24079369), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt64(249856292), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 2 (93, 97)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 2 (250, 254)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(93), - this.instances2.alice.encrypt64(97), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt64(254), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 3 (97, 97)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 3 (254, 254)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(97), - this.instances2.alice.encrypt64(97), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt64(254), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 4 (97, 93)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 4 (254, 250)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(97), - this.instances2.alice.encrypt64(93), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt64(250), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 1 (79, 1487732246)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 1 (240, 179585345)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt64(1487732246), + this.instances2.alice.encrypt8(240), + this.instances2.alice.encrypt64(179585345), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 2 (75, 79)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 2 (236, 240)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(75), - this.instances2.alice.encrypt64(79), + this.instances2.alice.encrypt8(236), + this.instances2.alice.encrypt64(240), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 3 (79, 79)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 3 (240, 240)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt64(79), + this.instances2.alice.encrypt8(240), + this.instances2.alice.encrypt64(240), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 4 (79, 75)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 4 (240, 236)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt64(75), + this.instances2.alice.encrypt8(240), + this.instances2.alice.encrypt64(236), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 1 (52, 1397250357)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 1 (44, 264172669)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(52), - this.instances2.alice.encrypt64(1397250357), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt64(264172669), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 2 (48, 52)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 2 (40, 44)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(48), - this.instances2.alice.encrypt64(52), + this.instances2.alice.encrypt8(40), + this.instances2.alice.encrypt64(44), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 3 (52, 52)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 3 (44, 44)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(52), - this.instances2.alice.encrypt64(52), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt64(44), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 4 (52, 48)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 4 (44, 40)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(52), - this.instances2.alice.encrypt64(48), + this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt64(40), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 1 (148, 1575025918)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 1 (165, 87596497)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(148), - this.instances2.alice.encrypt64(1575025918), + this.instances2.alice.encrypt8(165), + this.instances2.alice.encrypt64(87596497), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 2 (144, 148)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 2 (161, 165)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(144), - this.instances2.alice.encrypt64(148), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt64(165), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 3 (148, 148)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 3 (165, 165)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(148), - this.instances2.alice.encrypt64(148), + this.instances2.alice.encrypt8(165), + this.instances2.alice.encrypt64(165), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 4 (148, 144)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 4 (165, 161)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(148), - this.instances2.alice.encrypt64(144), + this.instances2.alice.encrypt8(165), + this.instances2.alice.encrypt64(161), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 1 (45, 1376771886)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 1 (39, 57110634)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(45), - this.instances2.alice.encrypt64(1376771886), + this.instances2.alice.encrypt8(39), + this.instances2.alice.encrypt64(57110634), ); - expect(res).to.equal(45); + expect(res).to.equal(39); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 2 (41, 45)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 2 (35, 39)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(41), - this.instances2.alice.encrypt64(45), + this.instances2.alice.encrypt8(35), + this.instances2.alice.encrypt64(39), ); - expect(res).to.equal(41); + expect(res).to.equal(35); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 3 (45, 45)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 3 (39, 39)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(45), - this.instances2.alice.encrypt64(45), + this.instances2.alice.encrypt8(39), + this.instances2.alice.encrypt64(39), ); - expect(res).to.equal(45); + expect(res).to.equal(39); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 4 (45, 41)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 4 (39, 35)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(45), - this.instances2.alice.encrypt64(41), + this.instances2.alice.encrypt8(39), + this.instances2.alice.encrypt64(35), ); - expect(res).to.equal(41); + expect(res).to.equal(35); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 1 (1, 143)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 1 (250, 147804883)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(143), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt64(147804883), ); - expect(res).to.equal(143); + expect(res).to.equal(147804883); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 2 (174, 178)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 2 (246, 250)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(174), - this.instances2.alice.encrypt64(178), + this.instances2.alice.encrypt8(246), + this.instances2.alice.encrypt64(250), ); - expect(res).to.equal(178); + expect(res).to.equal(250); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 3 (178, 178)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 3 (250, 250)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(178), - this.instances2.alice.encrypt64(178), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt64(250), ); - expect(res).to.equal(178); + expect(res).to.equal(250); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 4 (178, 174)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 4 (250, 246)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(178), - this.instances2.alice.encrypt64(174), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt64(246), ); - expect(res).to.equal(178); + expect(res).to.equal(250); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 1 (8, 136)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(8), 136); - expect(res).to.equal(144); + it('test operator "add" overload (euint8, uint8) => euint8 test 1 (13, 50)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(13), 50); + expect(res).to.equal(63); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(4), 8); - expect(res).to.equal(12); + it('test operator "add" overload (euint8, uint8) => euint8 test 2 (9, 13)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(9), 13); + expect(res).to.equal(22); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(8), 8); - expect(res).to.equal(16); + it('test operator "add" overload (euint8, uint8) => euint8 test 3 (13, 13)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(13), 13); + expect(res).to.equal(26); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(12); + it('test operator "add" overload (euint8, uint8) => euint8 test 4 (13, 9)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(13), 9); + expect(res).to.equal(22); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 1 (1, 136)', async function () { - const res = await this.contract2.add_uint8_euint8(1, this.instances2.alice.encrypt8(136)); - expect(res).to.equal(137); + it('test operator "add" overload (uint8, euint8) => euint8 test 1 (104, 50)', async function () { + const res = await this.contract2.add_uint8_euint8(104, this.instances2.alice.encrypt8(50)); + expect(res).to.equal(154); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.add_uint8_euint8(4, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(12); + it('test operator "add" overload (uint8, euint8) => euint8 test 2 (9, 13)', async function () { + const res = await this.contract2.add_uint8_euint8(9, this.instances2.alice.encrypt8(13)); + expect(res).to.equal(22); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.add_uint8_euint8(8, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(16); + it('test operator "add" overload (uint8, euint8) => euint8 test 3 (13, 13)', async function () { + const res = await this.contract2.add_uint8_euint8(13, this.instances2.alice.encrypt8(13)); + expect(res).to.equal(26); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.add_uint8_euint8(8, this.instances2.alice.encrypt8(4)); - expect(res).to.equal(12); + it('test operator "add" overload (uint8, euint8) => euint8 test 4 (13, 9)', async function () { + const res = await this.contract2.add_uint8_euint8(13, this.instances2.alice.encrypt8(9)); + expect(res).to.equal(22); }); - it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (14, 14)', async function () { - const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(14), 14); + it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (8, 8)', async function () { + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(8), 8); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (14, 10)', async function () { - const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(14), 10); + it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (8, 4)', async function () { + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(8), 4); expect(res).to.equal(4); }); - it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (14, 14)', async function () { - const res = await this.contract2.sub_uint8_euint8(14, this.instances2.alice.encrypt8(14)); + it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (8, 8)', async function () { + const res = await this.contract2.sub_uint8_euint8(8, this.instances2.alice.encrypt8(8)); expect(res).to.equal(0); }); - it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (14, 10)', async function () { - const res = await this.contract2.sub_uint8_euint8(14, this.instances2.alice.encrypt8(10)); + it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (8, 4)', async function () { + const res = await this.contract2.sub_uint8_euint8(8, this.instances2.alice.encrypt8(4)); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (3, 48)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(3), 48); - expect(res).to.equal(144); + it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (2, 119)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(2), 119); + expect(res).to.equal(238); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 2 (8, 12)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(8), 12); - expect(res).to.equal(96); + it('test operator "mul" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(32); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 3 (12, 12)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(12), 12); - expect(res).to.equal(144); + it('test operator "mul" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(64); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 4 (12, 8)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(12), 8); - expect(res).to.equal(96); + it('test operator "mul" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(32); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (11, 12)', async function () { - const res = await this.contract2.mul_uint8_euint8(11, this.instances2.alice.encrypt8(12)); - expect(res).to.equal(132); + it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (8, 29)', async function () { + const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(29)); + expect(res).to.equal(232); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 2 (8, 12)', async function () { - const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(12)); - expect(res).to.equal(96); + it('test operator "mul" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.mul_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(32); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 3 (12, 12)', async function () { - const res = await this.contract2.mul_uint8_euint8(12, this.instances2.alice.encrypt8(12)); - expect(res).to.equal(144); + it('test operator "mul" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(64); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 4 (12, 8)', async function () { - const res = await this.contract2.mul_uint8_euint8(12, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(96); + it('test operator "mul" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(32); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 1 (209, 108)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(209), 108); - expect(res).to.equal(1); + it('test operator "div" overload (euint8, uint8) => euint8 test 1 (72, 21)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(72), 21); + expect(res).to.equal(3); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 2 (112, 116)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(112), 116); + it('test operator "div" overload (euint8, uint8) => euint8 test 2 (68, 72)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(68), 72); expect(res).to.equal(0); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 3 (116, 116)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(116), 116); + it('test operator "div" overload (euint8, uint8) => euint8 test 3 (72, 72)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(72), 72); expect(res).to.equal(1); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 4 (116, 112)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(116), 112); + it('test operator "div" overload (euint8, uint8) => euint8 test 4 (72, 68)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(72), 68); expect(res).to.equal(1); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (242, 190)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(242), 190); - expect(res).to.equal(52); + it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (97, 233)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(97), 233); + expect(res).to.equal(97); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 2 (177, 181)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(177), 181); - expect(res).to.equal(177); + it('test operator "rem" overload (euint8, uint8) => euint8 test 2 (93, 97)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(93), 97); + expect(res).to.equal(93); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 3 (181, 181)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(181), 181); + it('test operator "rem" overload (euint8, uint8) => euint8 test 3 (97, 97)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(97), 97); expect(res).to.equal(0); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 4 (181, 177)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(181), 177); + it('test operator "rem" overload (euint8, uint8) => euint8 test 4 (97, 93)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(97), 93); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint8, uint8) => ebool test 1 (6, 35)', async function () { - const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(6), 35); + it('test operator "eq" overload (euint8, uint8) => ebool test 1 (8, 233)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(8), 233); expect(res).to.equal(false); }); @@ -5040,8 +5040,8 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint8) => ebool test 1 (224, 35)', async function () { - const res = await this.contract2.eq_uint8_euint8(224, this.instances2.alice.encrypt8(35)); + it('test operator "eq" overload (uint8, euint8) => ebool test 1 (92, 233)', async function () { + const res = await this.contract2.eq_uint8_euint8(92, this.instances2.alice.encrypt8(233)); expect(res).to.equal(false); }); @@ -5060,48 +5060,48 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 1 (11, 2)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(11), 2); + it('test operator "ne" overload (euint8, uint8) => ebool test 1 (7, 100)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(7), 100); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 2 (7, 11)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(7), 11); + it('test operator "ne" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(4), 8); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 3 (11, 11)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(11), 11); + it('test operator "ne" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(8), 8); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 4 (11, 7)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(11), 7); + it('test operator "ne" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(8), 4); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 1 (223, 2)', async function () { - const res = await this.contract2.ne_uint8_euint8(223, this.instances2.alice.encrypt8(2)); + it('test operator "ne" overload (uint8, euint8) => ebool test 1 (147, 100)', async function () { + const res = await this.contract2.ne_uint8_euint8(147, this.instances2.alice.encrypt8(100)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 2 (7, 11)', async function () { - const res = await this.contract2.ne_uint8_euint8(7, this.instances2.alice.encrypt8(11)); + it('test operator "ne" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.ne_uint8_euint8(4, this.instances2.alice.encrypt8(8)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 3 (11, 11)', async function () { - const res = await this.contract2.ne_uint8_euint8(11, this.instances2.alice.encrypt8(11)); + it('test operator "ne" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.ne_uint8_euint8(8, this.instances2.alice.encrypt8(8)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 4 (11, 7)', async function () { - const res = await this.contract2.ne_uint8_euint8(11, this.instances2.alice.encrypt8(7)); + it('test operator "ne" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.ne_uint8_euint8(8, this.instances2.alice.encrypt8(4)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, uint8) => ebool test 1 (8, 73)', async function () { - const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(8), 73); + it('test operator "ge" overload (euint8, uint8) => ebool test 1 (2, 65)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(2), 65); expect(res).to.equal(false); }); @@ -5120,8 +5120,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint8) => ebool test 1 (97, 73)', async function () { - const res = await this.contract2.ge_uint8_euint8(97, this.instances2.alice.encrypt8(73)); + it('test operator "ge" overload (uint8, euint8) => ebool test 1 (254, 65)', async function () { + const res = await this.contract2.ge_uint8_euint8(254, this.instances2.alice.encrypt8(65)); expect(res).to.equal(true); }); @@ -5140,8 +5140,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, uint8) => ebool test 1 (1, 127)', async function () { - const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(1), 127); + it('test operator "gt" overload (euint8, uint8) => ebool test 1 (3, 110)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(3), 110); expect(res).to.equal(false); }); @@ -5160,9 +5160,9 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (uint8, euint8) => ebool test 1 (79, 127)', async function () { - const res = await this.contract2.gt_uint8_euint8(79, this.instances2.alice.encrypt8(127)); - expect(res).to.equal(false); + it('test operator "gt" overload (uint8, euint8) => ebool test 1 (240, 110)', async function () { + const res = await this.contract2.gt_uint8_euint8(240, this.instances2.alice.encrypt8(110)); + expect(res).to.equal(true); }); it('test operator "gt" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { @@ -5180,48 +5180,48 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 1 (9, 180)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(9), 180); + it('test operator "le" overload (euint8, uint8) => ebool test 1 (7, 168)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(7), 168); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 2 (5, 9)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(5), 9); + it('test operator "le" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(4), 8); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 3 (9, 9)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(9), 9); + it('test operator "le" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(8), 8); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 4 (9, 5)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(9), 5); + it('test operator "le" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(8), 4); expect(res).to.equal(false); }); - it('test operator "le" overload (uint8, euint8) => ebool test 1 (52, 180)', async function () { - const res = await this.contract2.le_uint8_euint8(52, this.instances2.alice.encrypt8(180)); + it('test operator "le" overload (uint8, euint8) => ebool test 1 (44, 168)', async function () { + const res = await this.contract2.le_uint8_euint8(44, this.instances2.alice.encrypt8(168)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint8) => ebool test 2 (5, 9)', async function () { - const res = await this.contract2.le_uint8_euint8(5, this.instances2.alice.encrypt8(9)); + it('test operator "le" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.le_uint8_euint8(4, this.instances2.alice.encrypt8(8)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint8) => ebool test 3 (9, 9)', async function () { - const res = await this.contract2.le_uint8_euint8(9, this.instances2.alice.encrypt8(9)); + it('test operator "le" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.le_uint8_euint8(8, this.instances2.alice.encrypt8(8)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint8) => ebool test 4 (9, 5)', async function () { - const res = await this.contract2.le_uint8_euint8(9, this.instances2.alice.encrypt8(5)); + it('test operator "le" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.le_uint8_euint8(8, this.instances2.alice.encrypt8(4)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, uint8) => ebool test 1 (3, 223)', async function () { - const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(3), 223); + it('test operator "lt" overload (euint8, uint8) => ebool test 1 (5, 37)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(5), 37); expect(res).to.equal(true); }); @@ -5240,9 +5240,9 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint8) => ebool test 1 (148, 223)', async function () { - const res = await this.contract2.lt_uint8_euint8(148, this.instances2.alice.encrypt8(223)); - expect(res).to.equal(true); + it('test operator "lt" overload (uint8, euint8) => ebool test 1 (165, 37)', async function () { + const res = await this.contract2.lt_uint8_euint8(165, this.instances2.alice.encrypt8(37)); + expect(res).to.equal(false); }); it('test operator "lt" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { @@ -5260,49 +5260,49 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 1 (11, 200)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(11), 200); - expect(res).to.equal(11); + it('test operator "min" overload (euint8, uint8) => euint8 test 1 (5, 110)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(5), 110); + expect(res).to.equal(5); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 2 (7, 11)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(7), 11); - expect(res).to.equal(7); + it('test operator "min" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(4); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 3 (11, 11)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(11), 11); - expect(res).to.equal(11); + it('test operator "min" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 4 (11, 7)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(11), 7); - expect(res).to.equal(7); + it('test operator "min" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(4); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 1 (45, 200)', async function () { - const res = await this.contract2.min_uint8_euint8(45, this.instances2.alice.encrypt8(200)); - expect(res).to.equal(45); + it('test operator "min" overload (uint8, euint8) => euint8 test 1 (39, 110)', async function () { + const res = await this.contract2.min_uint8_euint8(39, this.instances2.alice.encrypt8(110)); + expect(res).to.equal(39); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 2 (7, 11)', async function () { - const res = await this.contract2.min_uint8_euint8(7, this.instances2.alice.encrypt8(11)); - expect(res).to.equal(7); + it('test operator "min" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.min_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(4); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 3 (11, 11)', async function () { - const res = await this.contract2.min_uint8_euint8(11, this.instances2.alice.encrypt8(11)); - expect(res).to.equal(11); + it('test operator "min" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.min_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(8); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 4 (11, 7)', async function () { - const res = await this.contract2.min_uint8_euint8(11, this.instances2.alice.encrypt8(7)); - expect(res).to.equal(7); + it('test operator "min" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.min_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(4); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 1 (2, 123)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(2), 123); - expect(res).to.equal(123); + it('test operator "max" overload (euint8, uint8) => euint8 test 1 (6, 28)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(6), 28); + expect(res).to.equal(28); }); it('test operator "max" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { @@ -5320,9 +5320,9 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 1 (178, 123)', async function () { - const res = await this.contract2.max_uint8_euint8(178, this.instances2.alice.encrypt8(123)); - expect(res).to.equal(178); + it('test operator "max" overload (uint8, euint8) => euint8 test 1 (250, 28)', async function () { + const res = await this.contract2.max_uint8_euint8(250, this.instances2.alice.encrypt8(28)); + expect(res).to.equal(250); }); it('test operator "max" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -5340,12 +5340,12 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "add" overload (euint16, euint4) => euint16 test 1 (14, 1)', async function () { + it('test operator "add" overload (euint16, euint4) => euint16 test 1 (7, 1)', async function () { const res = await this.contract2.add_euint16_euint4( - this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt16(7), this.instances2.alice.encrypt4(1), ); - expect(res).to.equal(15); + expect(res).to.equal(8); }); it('test operator "add" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { @@ -5388,12 +5388,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, euint4) => euint16 test 1 (13, 1)', async function () { + it('test operator "mul" overload (euint16, euint4) => euint16 test 1 (8, 1)', async function () { const res = await this.contract2.mul_euint16_euint4( - this.instances2.alice.encrypt16(13), + this.instances2.alice.encrypt16(8), this.instances2.alice.encrypt4(1), ); - expect(res).to.equal(13); + expect(res).to.equal(8); }); it('test operator "mul" overload (euint16, euint4) => euint16 test 2 (2, 3)', async function () { @@ -5420,138 +5420,138 @@ describe('TFHE operations', function () { expect(res).to.equal(6); }); - it('test operator "and" overload (euint16, euint4) => euint16 test 1 (14563, 10)', async function () { + it('test operator "and" overload (euint16, euint4) => euint16 test 1 (26290, 1)', async function () { const res = await this.contract2.and_euint16_euint4( - this.instances2.alice.encrypt16(14563), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt16(26290), + this.instances2.alice.encrypt4(1), ); - expect(res).to.equal(2); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint16, euint4) => euint16 test 2 (6, 10)', async function () { + it('test operator "and" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.and_euint16_euint4( - this.instances2.alice.encrypt16(6), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(2); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint16, euint4) => euint16 test 3 (10, 10)', async function () { + it('test operator "and" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.and_euint16_euint4( - this.instances2.alice.encrypt16(10), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(10); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint16, euint4) => euint16 test 4 (10, 6)', async function () { + it('test operator "and" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.and_euint16_euint4( - this.instances2.alice.encrypt16(10), - this.instances2.alice.encrypt4(6), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(2); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint16, euint4) => euint16 test 1 (15, 1)', async function () { + it('test operator "or" overload (euint16, euint4) => euint16 test 1 (61878, 13)', async function () { const res = await this.contract2.or_euint16_euint4( - this.instances2.alice.encrypt16(15), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt16(61878), + this.instances2.alice.encrypt4(13), ); - expect(res).to.equal(15); + expect(res).to.equal(61887); }); - it('test operator "or" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint16, euint4) => euint16 test 2 (9, 13)', async function () { const res = await this.contract2.or_euint16_euint4( - this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(9), + this.instances2.alice.encrypt4(13), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint16, euint4) => euint16 test 3 (13, 13)', async function () { const res = await this.contract2.or_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(13), + this.instances2.alice.encrypt4(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "or" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint16, euint4) => euint16 test 4 (13, 9)', async function () { const res = await this.contract2.or_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt16(13), + this.instances2.alice.encrypt4(9), ); - expect(res).to.equal(12); + expect(res).to.equal(13); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 1 (11, 1)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 1 (36773, 10)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(11), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt16(36773), + this.instances2.alice.encrypt4(10), ); - expect(res).to.equal(10); + expect(res).to.equal(36783); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 2 (6, 10)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(6), + this.instances2.alice.encrypt4(10), ); expect(res).to.equal(12); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 3 (10, 10)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(10), + this.instances2.alice.encrypt4(10), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 4 (10, 6)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt16(10), + this.instances2.alice.encrypt4(6), ); expect(res).to.equal(12); }); - it('test operator "eq" overload (euint16, euint4) => ebool test 1 (5627, 12)', async function () { + it('test operator "eq" overload (euint16, euint4) => ebool test 1 (44634, 3)', async function () { const res = await this.contract2.eq_euint16_euint4( - this.instances2.alice.encrypt16(5627), - this.instances2.alice.encrypt4(12), + this.instances2.alice.encrypt16(44634), + this.instances2.alice.encrypt4(3), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint4) => ebool test 2 (8, 12)', async function () { + it('test operator "eq" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.eq_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(12), + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint4) => ebool test 3 (12, 12)', async function () { + it('test operator "eq" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.eq_euint16_euint4( - this.instances2.alice.encrypt16(12), - this.instances2.alice.encrypt4(12), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint4) => ebool test 4 (12, 8)', async function () { + it('test operator "eq" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.eq_euint16_euint4( - this.instances2.alice.encrypt16(12), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint4) => ebool test 1 (20601, 5)', async function () { + it('test operator "ne" overload (euint16, euint4) => ebool test 1 (58512, 7)', async function () { const res = await this.contract2.ne_euint16_euint4( - this.instances2.alice.encrypt16(20601), - this.instances2.alice.encrypt4(5), + this.instances2.alice.encrypt16(58512), + this.instances2.alice.encrypt4(7), ); expect(res).to.equal(true); }); @@ -5580,42 +5580,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 1 (44342, 8)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 1 (2319, 9)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(44342), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(2319), + this.instances2.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 2 (5, 9)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(5), + this.instances2.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 3 (9, 9)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(9), + this.instances2.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 4 (9, 5)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt16(9), + this.instances2.alice.encrypt4(5), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint4) => ebool test 1 (42324, 1)', async function () { + it('test operator "gt" overload (euint16, euint4) => ebool test 1 (39995, 5)', async function () { const res = await this.contract2.gt_euint16_euint4( - this.instances2.alice.encrypt16(42324), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt16(39995), + this.instances2.alice.encrypt4(5), ); expect(res).to.equal(true); }); @@ -5644,10 +5644,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint4) => ebool test 1 (5574, 6)', async function () { + it('test operator "le" overload (euint16, euint4) => ebool test 1 (11868, 2)', async function () { const res = await this.contract2.le_euint16_euint4( - this.instances2.alice.encrypt16(5574), - this.instances2.alice.encrypt4(6), + this.instances2.alice.encrypt16(11868), + this.instances2.alice.encrypt4(2), ); expect(res).to.equal(false); }); @@ -5676,76 +5676,76 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint4) => ebool test 1 (64394, 14)', async function () { + it('test operator "lt" overload (euint16, euint4) => ebool test 1 (13005, 11)', async function () { const res = await this.contract2.lt_euint16_euint4( - this.instances2.alice.encrypt16(64394), - this.instances2.alice.encrypt4(14), + this.instances2.alice.encrypt16(13005), + this.instances2.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint4) => ebool test 2 (10, 14)', async function () { + it('test operator "lt" overload (euint16, euint4) => ebool test 2 (7, 11)', async function () { const res = await this.contract2.lt_euint16_euint4( - this.instances2.alice.encrypt16(10), - this.instances2.alice.encrypt4(14), + this.instances2.alice.encrypt16(7), + this.instances2.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint4) => ebool test 3 (14, 14)', async function () { + it('test operator "lt" overload (euint16, euint4) => ebool test 3 (11, 11)', async function () { const res = await this.contract2.lt_euint16_euint4( - this.instances2.alice.encrypt16(14), - this.instances2.alice.encrypt4(14), + this.instances2.alice.encrypt16(11), + this.instances2.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint4) => ebool test 4 (14, 10)', async function () { + it('test operator "lt" overload (euint16, euint4) => ebool test 4 (11, 7)', async function () { const res = await this.contract2.lt_euint16_euint4( - this.instances2.alice.encrypt16(14), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt16(11), + this.instances2.alice.encrypt4(7), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint4) => euint16 test 1 (3854, 8)', async function () { + it('test operator "min" overload (euint16, euint4) => euint16 test 1 (59594, 13)', async function () { const res = await this.contract3.min_euint16_euint4( - this.instances3.alice.encrypt16(3854), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt16(59594), + this.instances3.alice.encrypt4(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "min" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint16, euint4) => euint16 test 2 (9, 13)', async function () { const res = await this.contract3.min_euint16_euint4( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt16(9), + this.instances3.alice.encrypt4(13), ); - expect(res).to.equal(4); + expect(res).to.equal(9); }); - it('test operator "min" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint16, euint4) => euint16 test 3 (13, 13)', async function () { const res = await this.contract3.min_euint16_euint4( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt16(13), + this.instances3.alice.encrypt4(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "min" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint16, euint4) => euint16 test 4 (13, 9)', async function () { const res = await this.contract3.min_euint16_euint4( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt16(13), + this.instances3.alice.encrypt4(9), ); - expect(res).to.equal(4); + expect(res).to.equal(9); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 1 (10, 1)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 1 (45745, 1)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(10), + this.instances3.alice.encrypt16(45745), this.instances3.alice.encrypt4(1), ); - expect(res).to.equal(10); + expect(res).to.equal(45745); }); it('test operator "max" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { @@ -5772,2192 +5772,2192 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 1 (236, 1)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 1 (246, 2)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(236), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt16(246), + this.instances3.alice.encrypt8(2), ); - expect(res).to.equal(237); + expect(res).to.equal(248); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 2 (99, 101)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 2 (90, 92)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(99), - this.instances3.alice.encrypt8(101), + this.instances3.alice.encrypt16(90), + this.instances3.alice.encrypt8(92), ); - expect(res).to.equal(200); + expect(res).to.equal(182); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 3 (101, 101)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 3 (92, 92)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(101), - this.instances3.alice.encrypt8(101), + this.instances3.alice.encrypt16(92), + this.instances3.alice.encrypt8(92), ); - expect(res).to.equal(202); + expect(res).to.equal(184); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 4 (101, 99)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 4 (92, 90)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(101), - this.instances3.alice.encrypt8(99), + this.instances3.alice.encrypt16(92), + this.instances3.alice.encrypt8(90), ); - expect(res).to.equal(200); + expect(res).to.equal(182); }); - it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (100, 100)', async function () { + it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (167, 167)', async function () { const res = await this.contract3.sub_euint16_euint8( - this.instances3.alice.encrypt16(100), - this.instances3.alice.encrypt8(100), + this.instances3.alice.encrypt16(167), + this.instances3.alice.encrypt8(167), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (100, 96)', async function () { + it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (167, 163)', async function () { const res = await this.contract3.sub_euint16_euint8( - this.instances3.alice.encrypt16(100), - this.instances3.alice.encrypt8(96), + this.instances3.alice.encrypt16(167), + this.instances3.alice.encrypt8(163), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (221, 1)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (136, 1)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(221), + this.instances3.alice.encrypt16(136), this.instances3.alice.encrypt8(1), ); - expect(res).to.equal(221); + expect(res).to.equal(136); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 2 (12, 13)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 2 (13, 15)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(12), - this.instances3.alice.encrypt8(13), + this.instances3.alice.encrypt16(13), + this.instances3.alice.encrypt8(15), ); - expect(res).to.equal(156); + expect(res).to.equal(195); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 3 (13, 13)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 3 (15, 15)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(13), - this.instances3.alice.encrypt8(13), + this.instances3.alice.encrypt16(15), + this.instances3.alice.encrypt8(15), ); - expect(res).to.equal(169); + expect(res).to.equal(225); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 4 (13, 12)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 4 (15, 13)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(13), - this.instances3.alice.encrypt8(12), + this.instances3.alice.encrypt16(15), + this.instances3.alice.encrypt8(13), ); - expect(res).to.equal(156); + expect(res).to.equal(195); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 1 (14563, 200)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 1 (26290, 248)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(14563), - this.instances3.alice.encrypt8(200), + this.instances3.alice.encrypt16(26290), + this.instances3.alice.encrypt8(248), ); - expect(res).to.equal(192); + expect(res).to.equal(176); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 2 (196, 200)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 2 (244, 248)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(196), - this.instances3.alice.encrypt8(200), + this.instances3.alice.encrypt16(244), + this.instances3.alice.encrypt8(248), ); - expect(res).to.equal(192); + expect(res).to.equal(240); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 3 (200, 200)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 3 (248, 248)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(200), - this.instances3.alice.encrypt8(200), + this.instances3.alice.encrypt16(248), + this.instances3.alice.encrypt8(248), ); - expect(res).to.equal(200); + expect(res).to.equal(248); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 4 (200, 196)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 4 (248, 244)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(200), - this.instances3.alice.encrypt8(196), + this.instances3.alice.encrypt16(248), + this.instances3.alice.encrypt8(244), ); - expect(res).to.equal(192); + expect(res).to.equal(240); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 1 (241, 1)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 1 (61878, 247)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(241), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt16(61878), + this.instances3.alice.encrypt8(247), ); - expect(res).to.equal(241); + expect(res).to.equal(61943); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 2 (120, 124)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 2 (243, 247)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(120), - this.instances3.alice.encrypt8(124), + this.instances3.alice.encrypt16(243), + this.instances3.alice.encrypt8(247), ); - expect(res).to.equal(124); + expect(res).to.equal(247); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 3 (124, 124)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 3 (247, 247)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(124), - this.instances3.alice.encrypt8(124), + this.instances3.alice.encrypt16(247), + this.instances3.alice.encrypt8(247), ); - expect(res).to.equal(124); + expect(res).to.equal(247); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 4 (124, 120)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 4 (247, 243)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(124), - this.instances3.alice.encrypt8(120), + this.instances3.alice.encrypt16(247), + this.instances3.alice.encrypt8(243), ); - expect(res).to.equal(124); + expect(res).to.equal(247); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (187, 1)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (36773, 131)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(187), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt8(131), ); - expect(res).to.equal(186); + expect(res).to.equal(36646); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (25, 29)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (127, 131)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(25), - this.instances3.alice.encrypt8(29), + this.instances3.alice.encrypt16(127), + this.instances3.alice.encrypt8(131), ); - expect(res).to.equal(4); + expect(res).to.equal(252); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 3 (29, 29)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 3 (131, 131)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(29), - this.instances3.alice.encrypt8(29), + this.instances3.alice.encrypt16(131), + this.instances3.alice.encrypt8(131), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 4 (29, 25)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 4 (131, 127)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(29), - this.instances3.alice.encrypt8(25), + this.instances3.alice.encrypt16(131), + this.instances3.alice.encrypt8(127), ); - expect(res).to.equal(4); + expect(res).to.equal(252); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 1 (5627, 83)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 1 (44634, 93)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(5627), - this.instances3.alice.encrypt8(83), + this.instances3.alice.encrypt16(44634), + this.instances3.alice.encrypt8(93), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 2 (79, 83)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 2 (89, 93)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(79), - this.instances3.alice.encrypt8(83), + this.instances3.alice.encrypt16(89), + this.instances3.alice.encrypt8(93), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 3 (83, 83)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 3 (93, 93)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(83), - this.instances3.alice.encrypt8(83), + this.instances3.alice.encrypt16(93), + this.instances3.alice.encrypt8(93), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 4 (83, 79)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 4 (93, 89)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(83), - this.instances3.alice.encrypt8(79), + this.instances3.alice.encrypt16(93), + this.instances3.alice.encrypt8(89), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 1 (20601, 251)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 1 (58512, 116)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(20601), - this.instances3.alice.encrypt8(251), + this.instances3.alice.encrypt16(58512), + this.instances3.alice.encrypt8(116), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 2 (247, 251)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 2 (112, 116)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(247), - this.instances3.alice.encrypt8(251), + this.instances3.alice.encrypt16(112), + this.instances3.alice.encrypt8(116), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 3 (251, 251)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 3 (116, 116)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(251), - this.instances3.alice.encrypt8(251), + this.instances3.alice.encrypt16(116), + this.instances3.alice.encrypt8(116), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 4 (251, 247)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 4 (116, 112)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(251), - this.instances3.alice.encrypt8(247), + this.instances3.alice.encrypt16(116), + this.instances3.alice.encrypt8(112), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 1 (44342, 190)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 1 (2319, 170)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(44342), - this.instances3.alice.encrypt8(190), + this.instances3.alice.encrypt16(2319), + this.instances3.alice.encrypt8(170), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 2 (186, 190)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 2 (166, 170)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(186), - this.instances3.alice.encrypt8(190), + this.instances3.alice.encrypt16(166), + this.instances3.alice.encrypt8(170), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 3 (190, 190)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 3 (170, 170)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(190), - this.instances3.alice.encrypt8(190), + this.instances3.alice.encrypt16(170), + this.instances3.alice.encrypt8(170), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 4 (190, 186)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 4 (170, 166)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(190), - this.instances3.alice.encrypt8(186), + this.instances3.alice.encrypt16(170), + this.instances3.alice.encrypt8(166), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 1 (42324, 76)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 1 (39995, 222)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(42324), - this.instances3.alice.encrypt8(76), + this.instances3.alice.encrypt16(39995), + this.instances3.alice.encrypt8(222), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 2 (72, 76)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 2 (218, 222)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(72), - this.instances3.alice.encrypt8(76), + this.instances3.alice.encrypt16(218), + this.instances3.alice.encrypt8(222), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 3 (76, 76)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 3 (222, 222)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(76), - this.instances3.alice.encrypt8(76), + this.instances3.alice.encrypt16(222), + this.instances3.alice.encrypt8(222), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 4 (76, 72)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 4 (222, 218)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(76), - this.instances3.alice.encrypt8(72), + this.instances3.alice.encrypt16(222), + this.instances3.alice.encrypt8(218), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 1 (5574, 242)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 1 (11868, 206)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(5574), - this.instances3.alice.encrypt8(242), + this.instances3.alice.encrypt16(11868), + this.instances3.alice.encrypt8(206), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint16, euint8) => ebool test 2 (238, 242)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 2 (202, 206)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(238), - this.instances3.alice.encrypt8(242), + this.instances3.alice.encrypt16(202), + this.instances3.alice.encrypt8(206), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 3 (242, 242)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 3 (206, 206)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(242), - this.instances3.alice.encrypt8(242), + this.instances3.alice.encrypt16(206), + this.instances3.alice.encrypt8(206), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 4 (242, 238)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 4 (206, 202)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(242), - this.instances3.alice.encrypt8(238), + this.instances3.alice.encrypt16(206), + this.instances3.alice.encrypt8(202), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 1 (64394, 92)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 1 (13005, 103)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(64394), - this.instances3.alice.encrypt8(92), + this.instances3.alice.encrypt16(13005), + this.instances3.alice.encrypt8(103), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 2 (88, 92)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 2 (99, 103)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(88), - this.instances3.alice.encrypt8(92), + this.instances3.alice.encrypt16(99), + this.instances3.alice.encrypt8(103), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 3 (92, 92)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 3 (103, 103)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(92), - this.instances3.alice.encrypt8(92), + this.instances3.alice.encrypt16(103), + this.instances3.alice.encrypt8(103), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 4 (92, 88)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 4 (103, 99)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(92), - this.instances3.alice.encrypt8(88), + this.instances3.alice.encrypt16(103), + this.instances3.alice.encrypt8(99), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 1 (3854, 166)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 1 (59594, 150)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(3854), - this.instances3.alice.encrypt8(166), + this.instances3.alice.encrypt16(59594), + this.instances3.alice.encrypt8(150), ); - expect(res).to.equal(166); + expect(res).to.equal(150); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 2 (162, 166)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 2 (146, 150)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(162), - this.instances3.alice.encrypt8(166), + this.instances3.alice.encrypt16(146), + this.instances3.alice.encrypt8(150), ); - expect(res).to.equal(162); + expect(res).to.equal(146); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 3 (166, 166)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 3 (150, 150)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(166), - this.instances3.alice.encrypt8(166), + this.instances3.alice.encrypt16(150), + this.instances3.alice.encrypt8(150), ); - expect(res).to.equal(166); + expect(res).to.equal(150); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 4 (166, 162)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 4 (150, 146)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(166), - this.instances3.alice.encrypt8(162), + this.instances3.alice.encrypt16(150), + this.instances3.alice.encrypt8(146), ); - expect(res).to.equal(162); + expect(res).to.equal(146); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 1 (168, 1)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 1 (45745, 137)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(168), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt16(45745), + this.instances3.alice.encrypt8(137), ); - expect(res).to.equal(168); + expect(res).to.equal(45745); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 2 (62, 66)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 2 (133, 137)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(62), - this.instances3.alice.encrypt8(66), + this.instances3.alice.encrypt16(133), + this.instances3.alice.encrypt8(137), ); - expect(res).to.equal(66); + expect(res).to.equal(137); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 3 (66, 66)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 3 (137, 137)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(66), - this.instances3.alice.encrypt8(66), + this.instances3.alice.encrypt16(137), + this.instances3.alice.encrypt8(137), ); - expect(res).to.equal(66); + expect(res).to.equal(137); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 4 (66, 62)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 4 (137, 133)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(66), - this.instances3.alice.encrypt8(62), + this.instances3.alice.encrypt16(137), + this.instances3.alice.encrypt8(133), ); - expect(res).to.equal(66); + expect(res).to.equal(137); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 1 (30233, 31275)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 1 (15771, 31424)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(30233), - this.instances3.alice.encrypt16(31275), + this.instances3.alice.encrypt16(15771), + this.instances3.alice.encrypt16(31424), ); - expect(res).to.equal(61508); + expect(res).to.equal(47195); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 2 (30229, 30233)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 2 (15767, 15771)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(30229), - this.instances3.alice.encrypt16(30233), + this.instances3.alice.encrypt16(15767), + this.instances3.alice.encrypt16(15771), ); - expect(res).to.equal(60462); + expect(res).to.equal(31538); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 3 (30233, 30233)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 3 (15771, 15771)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(30233), - this.instances3.alice.encrypt16(30233), + this.instances3.alice.encrypt16(15771), + this.instances3.alice.encrypt16(15771), ); - expect(res).to.equal(60466); + expect(res).to.equal(31542); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 4 (30233, 30229)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 4 (15771, 15767)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(30233), - this.instances3.alice.encrypt16(30229), + this.instances3.alice.encrypt16(15771), + this.instances3.alice.encrypt16(15767), ); - expect(res).to.equal(60462); + expect(res).to.equal(31538); }); - it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (7674, 7674)', async function () { + it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (20069, 20069)', async function () { const res = await this.contract3.sub_euint16_euint16( - this.instances3.alice.encrypt16(7674), - this.instances3.alice.encrypt16(7674), + this.instances3.alice.encrypt16(20069), + this.instances3.alice.encrypt16(20069), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, euint16) => euint16 test 2 (7674, 7670)', async function () { + it('test operator "sub" overload (euint16, euint16) => euint16 test 2 (20069, 20065)', async function () { const res = await this.contract3.sub_euint16_euint16( - this.instances3.alice.encrypt16(7674), - this.instances3.alice.encrypt16(7670), + this.instances3.alice.encrypt16(20069), + this.instances3.alice.encrypt16(20065), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (221, 180)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (68, 599)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(221), - this.instances3.alice.encrypt16(180), + this.instances3.alice.encrypt16(68), + this.instances3.alice.encrypt16(599), ); - expect(res).to.equal(39780); + expect(res).to.equal(40732); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 2 (180, 180)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 2 (136, 136)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(180), - this.instances3.alice.encrypt16(180), + this.instances3.alice.encrypt16(136), + this.instances3.alice.encrypt16(136), ); - expect(res).to.equal(32400); + expect(res).to.equal(18496); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 3 (180, 180)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 3 (136, 136)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(180), - this.instances3.alice.encrypt16(180), + this.instances3.alice.encrypt16(136), + this.instances3.alice.encrypt16(136), ); - expect(res).to.equal(32400); + expect(res).to.equal(18496); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 4 (180, 180)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 4 (136, 136)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(180), - this.instances3.alice.encrypt16(180), + this.instances3.alice.encrypt16(136), + this.instances3.alice.encrypt16(136), ); - expect(res).to.equal(32400); + expect(res).to.equal(18496); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 1 (14563, 4918)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 1 (26290, 23750)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(14563), - this.instances3.alice.encrypt16(4918), + this.instances3.alice.encrypt16(26290), + this.instances3.alice.encrypt16(23750), ); - expect(res).to.equal(4130); + expect(res).to.equal(17538); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 2 (4914, 4918)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 2 (23746, 23750)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(4914), - this.instances3.alice.encrypt16(4918), + this.instances3.alice.encrypt16(23746), + this.instances3.alice.encrypt16(23750), ); - expect(res).to.equal(4914); + expect(res).to.equal(23746); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 3 (4918, 4918)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 3 (23750, 23750)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(4918), - this.instances3.alice.encrypt16(4918), + this.instances3.alice.encrypt16(23750), + this.instances3.alice.encrypt16(23750), ); - expect(res).to.equal(4918); + expect(res).to.equal(23750); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 4 (4918, 4914)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 4 (23750, 23746)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(4918), - this.instances3.alice.encrypt16(4914), + this.instances3.alice.encrypt16(23750), + this.instances3.alice.encrypt16(23746), ); - expect(res).to.equal(4914); + expect(res).to.equal(23746); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 1 (15468, 53935)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 1 (61878, 7772)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(15468), - this.instances3.alice.encrypt16(53935), + this.instances3.alice.encrypt16(61878), + this.instances3.alice.encrypt16(7772), ); - expect(res).to.equal(65263); + expect(res).to.equal(65534); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 2 (15464, 15468)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 2 (7768, 7772)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(15464), - this.instances3.alice.encrypt16(15468), + this.instances3.alice.encrypt16(7768), + this.instances3.alice.encrypt16(7772), ); - expect(res).to.equal(15468); + expect(res).to.equal(7772); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 3 (15468, 15468)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 3 (7772, 7772)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(15468), - this.instances3.alice.encrypt16(15468), + this.instances3.alice.encrypt16(7772), + this.instances3.alice.encrypt16(7772), ); - expect(res).to.equal(15468); + expect(res).to.equal(7772); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 4 (15468, 15464)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 4 (7772, 7768)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(15468), - this.instances3.alice.encrypt16(15464), + this.instances3.alice.encrypt16(7772), + this.instances3.alice.encrypt16(7768), ); - expect(res).to.equal(15468); + expect(res).to.equal(7772); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (48081, 52727)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (36773, 46302)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(48081), - this.instances3.alice.encrypt16(52727), + this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt16(46302), ); - expect(res).to.equal(30246); + expect(res).to.equal(15227); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (48077, 48081)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (36769, 36773)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(48077), - this.instances3.alice.encrypt16(48081), + this.instances3.alice.encrypt16(36769), + this.instances3.alice.encrypt16(36773), ); - expect(res).to.equal(28); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 3 (48081, 48081)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 3 (36773, 36773)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(48081), - this.instances3.alice.encrypt16(48081), + this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt16(36773), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 4 (48081, 48077)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 4 (36773, 36769)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(48081), - this.instances3.alice.encrypt16(48077), + this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt16(36769), ); - expect(res).to.equal(28); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 1 (5627, 4536)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 1 (44634, 41626)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(5627), - this.instances3.alice.encrypt16(4536), + this.instances3.alice.encrypt16(44634), + this.instances3.alice.encrypt16(41626), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 2 (4532, 4536)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 2 (41622, 41626)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(4532), - this.instances3.alice.encrypt16(4536), + this.instances3.alice.encrypt16(41622), + this.instances3.alice.encrypt16(41626), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 3 (4536, 4536)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 3 (41626, 41626)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(4536), - this.instances3.alice.encrypt16(4536), + this.instances3.alice.encrypt16(41626), + this.instances3.alice.encrypt16(41626), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 4 (4536, 4532)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 4 (41626, 41622)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(4536), - this.instances3.alice.encrypt16(4532), + this.instances3.alice.encrypt16(41626), + this.instances3.alice.encrypt16(41622), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 1 (20601, 31416)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 1 (58512, 41579)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(20601), - this.instances3.alice.encrypt16(31416), + this.instances3.alice.encrypt16(58512), + this.instances3.alice.encrypt16(41579), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 2 (20597, 20601)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 2 (41575, 41579)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(20597), - this.instances3.alice.encrypt16(20601), + this.instances3.alice.encrypt16(41575), + this.instances3.alice.encrypt16(41579), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 3 (20601, 20601)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 3 (41579, 41579)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(20601), - this.instances3.alice.encrypt16(20601), + this.instances3.alice.encrypt16(41579), + this.instances3.alice.encrypt16(41579), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 4 (20601, 20597)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 4 (41579, 41575)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(20601), - this.instances3.alice.encrypt16(20597), + this.instances3.alice.encrypt16(41579), + this.instances3.alice.encrypt16(41575), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 1 (44342, 57666)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 1 (2319, 22034)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(44342), - this.instances3.alice.encrypt16(57666), + this.instances3.alice.encrypt16(2319), + this.instances3.alice.encrypt16(22034), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 2 (44338, 44342)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 2 (2315, 2319)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(44338), - this.instances3.alice.encrypt16(44342), + this.instances3.alice.encrypt16(2315), + this.instances3.alice.encrypt16(2319), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 3 (44342, 44342)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 3 (2319, 2319)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(44342), - this.instances3.alice.encrypt16(44342), + this.instances3.alice.encrypt16(2319), + this.instances3.alice.encrypt16(2319), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 4 (44342, 44338)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 4 (2319, 2315)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(44342), - this.instances3.alice.encrypt16(44338), + this.instances3.alice.encrypt16(2319), + this.instances3.alice.encrypt16(2315), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 1 (42324, 60441)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 1 (39995, 43029)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(42324), - this.instances3.alice.encrypt16(60441), + this.instances3.alice.encrypt16(39995), + this.instances3.alice.encrypt16(43029), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 2 (42320, 42324)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 2 (39991, 39995)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(42320), - this.instances3.alice.encrypt16(42324), + this.instances3.alice.encrypt16(39991), + this.instances3.alice.encrypt16(39995), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 3 (42324, 42324)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 3 (39995, 39995)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(42324), - this.instances3.alice.encrypt16(42324), + this.instances3.alice.encrypt16(39995), + this.instances3.alice.encrypt16(39995), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 4 (42324, 42320)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 4 (39995, 39991)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(42324), - this.instances3.alice.encrypt16(42320), + this.instances3.alice.encrypt16(39995), + this.instances3.alice.encrypt16(39991), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 1 (5574, 28657)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 1 (11868, 62015)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(5574), - this.instances3.alice.encrypt16(28657), + this.instances3.alice.encrypt16(11868), + this.instances3.alice.encrypt16(62015), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 2 (5570, 5574)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 2 (11864, 11868)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(5570), - this.instances3.alice.encrypt16(5574), + this.instances3.alice.encrypt16(11864), + this.instances3.alice.encrypt16(11868), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 3 (5574, 5574)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 3 (11868, 11868)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(5574), - this.instances3.alice.encrypt16(5574), + this.instances3.alice.encrypt16(11868), + this.instances3.alice.encrypt16(11868), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 4 (5574, 5570)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 4 (11868, 11864)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(5574), - this.instances3.alice.encrypt16(5570), + this.instances3.alice.encrypt16(11868), + this.instances3.alice.encrypt16(11864), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 1 (64394, 46201)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 1 (13005, 22857)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(64394), - this.instances3.alice.encrypt16(46201), + this.instances3.alice.encrypt16(13005), + this.instances3.alice.encrypt16(22857), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 2 (46197, 46201)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 2 (13001, 13005)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(46197), - this.instances3.alice.encrypt16(46201), + this.instances3.alice.encrypt16(13001), + this.instances3.alice.encrypt16(13005), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 3 (46201, 46201)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 3 (13005, 13005)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(46201), - this.instances3.alice.encrypt16(46201), + this.instances3.alice.encrypt16(13005), + this.instances3.alice.encrypt16(13005), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 4 (46201, 46197)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 4 (13005, 13001)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(46201), - this.instances3.alice.encrypt16(46197), + this.instances3.alice.encrypt16(13005), + this.instances3.alice.encrypt16(13001), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 1 (3854, 29273)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 1 (59594, 35028)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(3854), - this.instances3.alice.encrypt16(29273), + this.instances3.alice.encrypt16(59594), + this.instances3.alice.encrypt16(35028), ); - expect(res).to.equal(3854); + expect(res).to.equal(35028); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 2 (3850, 3854)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 2 (35024, 35028)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(3850), - this.instances3.alice.encrypt16(3854), + this.instances3.alice.encrypt16(35024), + this.instances3.alice.encrypt16(35028), ); - expect(res).to.equal(3850); + expect(res).to.equal(35024); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 3 (3854, 3854)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 3 (35028, 35028)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(3854), - this.instances3.alice.encrypt16(3854), + this.instances3.alice.encrypt16(35028), + this.instances3.alice.encrypt16(35028), ); - expect(res).to.equal(3854); + expect(res).to.equal(35028); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 4 (3854, 3850)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 4 (35028, 35024)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(3854), - this.instances3.alice.encrypt16(3850), + this.instances3.alice.encrypt16(35028), + this.instances3.alice.encrypt16(35024), ); - expect(res).to.equal(3850); + expect(res).to.equal(35024); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 1 (43071, 37043)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 1 (45745, 24760)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(43071), - this.instances3.alice.encrypt16(37043), + this.instances3.alice.encrypt16(45745), + this.instances3.alice.encrypt16(24760), ); - expect(res).to.equal(43071); + expect(res).to.equal(45745); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 2 (37039, 37043)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 2 (24756, 24760)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(37039), - this.instances3.alice.encrypt16(37043), + this.instances3.alice.encrypt16(24756), + this.instances3.alice.encrypt16(24760), ); - expect(res).to.equal(37043); + expect(res).to.equal(24760); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 3 (37043, 37043)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 3 (24760, 24760)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(37043), - this.instances3.alice.encrypt16(37043), + this.instances3.alice.encrypt16(24760), + this.instances3.alice.encrypt16(24760), ); - expect(res).to.equal(37043); + expect(res).to.equal(24760); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 4 (37043, 37039)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 4 (24760, 24756)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(37043), - this.instances3.alice.encrypt16(37039), + this.instances3.alice.encrypt16(24760), + this.instances3.alice.encrypt16(24756), ); - expect(res).to.equal(37043); + expect(res).to.equal(24760); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 1 (1, 40500)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 1 (6, 46282)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(40500), + this.instances3.alice.encrypt16(6), + this.instances3.alice.encrypt32(46282), ); - expect(res).to.equal(40501); + expect(res).to.equal(46288); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 2 (27826, 27830)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 2 (27895, 27899)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(27826), - this.instances3.alice.encrypt32(27830), + this.instances3.alice.encrypt16(27895), + this.instances3.alice.encrypt32(27899), ); - expect(res).to.equal(55656); + expect(res).to.equal(55794); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 3 (27830, 27830)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 3 (27899, 27899)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(27830), - this.instances3.alice.encrypt32(27830), + this.instances3.alice.encrypt16(27899), + this.instances3.alice.encrypt32(27899), ); - expect(res).to.equal(55660); + expect(res).to.equal(55798); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 4 (27830, 27826)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 4 (27899, 27895)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(27830), - this.instances3.alice.encrypt32(27826), + this.instances3.alice.encrypt16(27899), + this.instances3.alice.encrypt32(27895), ); - expect(res).to.equal(55656); + expect(res).to.equal(55794); }); - it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (34964, 34964)', async function () { + it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (63598, 63598)', async function () { const res = await this.contract3.sub_euint16_euint32( - this.instances3.alice.encrypt16(34964), - this.instances3.alice.encrypt32(34964), + this.instances3.alice.encrypt16(63598), + this.instances3.alice.encrypt32(63598), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (34964, 34960)', async function () { + it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (63598, 63594)', async function () { const res = await this.contract3.sub_euint16_euint32( - this.instances3.alice.encrypt16(34964), - this.instances3.alice.encrypt32(34960), + this.instances3.alice.encrypt16(63598), + this.instances3.alice.encrypt32(63594), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (1, 39192)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (4, 14667)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(39192), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(14667), ); - expect(res).to.equal(39192); + expect(res).to.equal(58668); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 2 (144, 144)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 2 (154, 154)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(144), - this.instances3.alice.encrypt32(144), + this.instances3.alice.encrypt16(154), + this.instances3.alice.encrypt32(154), ); - expect(res).to.equal(20736); + expect(res).to.equal(23716); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 3 (144, 144)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 3 (154, 154)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(144), - this.instances3.alice.encrypt32(144), + this.instances3.alice.encrypt16(154), + this.instances3.alice.encrypt32(154), ); - expect(res).to.equal(20736); + expect(res).to.equal(23716); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 4 (144, 144)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 4 (154, 154)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(144), - this.instances3.alice.encrypt32(144), + this.instances3.alice.encrypt16(154), + this.instances3.alice.encrypt32(154), ); - expect(res).to.equal(20736); + expect(res).to.equal(23716); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 1 (14563, 408583146)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 1 (26290, 142339715)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(14563), - this.instances3.alice.encrypt32(408583146), + this.instances3.alice.encrypt16(26290), + this.instances3.alice.encrypt32(142339715), ); - expect(res).to.equal(14562); + expect(res).to.equal(26242); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 2 (14559, 14563)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 2 (26286, 26290)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(14559), - this.instances3.alice.encrypt32(14563), + this.instances3.alice.encrypt16(26286), + this.instances3.alice.encrypt32(26290), ); - expect(res).to.equal(14531); + expect(res).to.equal(26274); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 3 (14563, 14563)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 3 (26290, 26290)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(14563), - this.instances3.alice.encrypt32(14563), + this.instances3.alice.encrypt16(26290), + this.instances3.alice.encrypt32(26290), ); - expect(res).to.equal(14563); + expect(res).to.equal(26290); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 4 (14563, 14559)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 4 (26290, 26286)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(14563), - this.instances3.alice.encrypt32(14559), + this.instances3.alice.encrypt16(26290), + this.instances3.alice.encrypt32(26286), ); - expect(res).to.equal(14531); + expect(res).to.equal(26274); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 1 (1, 37057)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 1 (61878, 213802596)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(37057), + this.instances3.alice.encrypt16(61878), + this.instances3.alice.encrypt32(213802596), ); - expect(res).to.equal(37057); + expect(res).to.equal(213843958); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 2 (15464, 15468)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 2 (61874, 61878)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(15464), - this.instances3.alice.encrypt32(15468), + this.instances3.alice.encrypt16(61874), + this.instances3.alice.encrypt32(61878), ); - expect(res).to.equal(15468); + expect(res).to.equal(61878); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 3 (15468, 15468)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 3 (61878, 61878)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(15468), - this.instances3.alice.encrypt32(15468), + this.instances3.alice.encrypt16(61878), + this.instances3.alice.encrypt32(61878), ); - expect(res).to.equal(15468); + expect(res).to.equal(61878); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 4 (15468, 15464)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 4 (61878, 61874)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(15468), - this.instances3.alice.encrypt32(15464), + this.instances3.alice.encrypt16(61878), + this.instances3.alice.encrypt32(61874), ); - expect(res).to.equal(15468); + expect(res).to.equal(61878); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (1, 33460)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (36773, 153920052)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(33460), + this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt32(153920052), ); - expect(res).to.equal(33461); + expect(res).to.equal(153890193); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (48077, 48081)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (36769, 36773)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(48077), - this.instances3.alice.encrypt32(48081), + this.instances3.alice.encrypt16(36769), + this.instances3.alice.encrypt32(36773), ); - expect(res).to.equal(28); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 3 (48081, 48081)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 3 (36773, 36773)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(48081), - this.instances3.alice.encrypt32(48081), + this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt32(36773), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 4 (48081, 48077)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 4 (36773, 36769)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(48081), - this.instances3.alice.encrypt32(48077), + this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt32(36769), ); - expect(res).to.equal(28); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 1 (65041, 696957537)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 1 (58427, 33310393)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(65041), - this.instances3.alice.encrypt32(696957537), + this.instances3.alice.encrypt16(58427), + this.instances3.alice.encrypt32(33310393), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 2 (65037, 65041)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 2 (58423, 58427)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(65037), - this.instances3.alice.encrypt32(65041), + this.instances3.alice.encrypt16(58423), + this.instances3.alice.encrypt32(58427), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 3 (65041, 65041)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 3 (58427, 58427)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(65041), - this.instances3.alice.encrypt32(65041), + this.instances3.alice.encrypt16(58427), + this.instances3.alice.encrypt32(58427), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 4 (65041, 65037)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 4 (58427, 58423)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(65041), - this.instances3.alice.encrypt32(65037), + this.instances3.alice.encrypt16(58427), + this.instances3.alice.encrypt32(58423), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 1 (16027, 1143925973)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 1 (22739, 149626103)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(16027), - this.instances3.alice.encrypt32(1143925973), + this.instances3.alice.encrypt16(22739), + this.instances3.alice.encrypt32(149626103), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 2 (16023, 16027)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 2 (22735, 22739)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(16023), - this.instances3.alice.encrypt32(16027), + this.instances3.alice.encrypt16(22735), + this.instances3.alice.encrypt32(22739), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 3 (16027, 16027)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 3 (22739, 22739)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(16027), - this.instances3.alice.encrypt32(16027), + this.instances3.alice.encrypt16(22739), + this.instances3.alice.encrypt32(22739), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 4 (16027, 16023)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 4 (22739, 22735)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(16027), - this.instances3.alice.encrypt32(16023), + this.instances3.alice.encrypt16(22739), + this.instances3.alice.encrypt32(22735), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 1 (64532, 892657805)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 1 (15004, 215912519)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(64532), - this.instances3.alice.encrypt32(892657805), + this.instances3.alice.encrypt16(15004), + this.instances3.alice.encrypt32(215912519), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 2 (64528, 64532)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 2 (15000, 15004)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(64528), - this.instances3.alice.encrypt32(64532), + this.instances3.alice.encrypt16(15000), + this.instances3.alice.encrypt32(15004), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 3 (64532, 64532)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 3 (15004, 15004)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(64532), - this.instances3.alice.encrypt32(64532), + this.instances3.alice.encrypt16(15004), + this.instances3.alice.encrypt32(15004), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 4 (64532, 64528)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 4 (15004, 15000)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(64532), - this.instances3.alice.encrypt32(64528), + this.instances3.alice.encrypt16(15004), + this.instances3.alice.encrypt32(15000), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 1 (47205, 1988625224)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 1 (31594, 222562117)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(47205), - this.instances3.alice.encrypt32(1988625224), + this.instances3.alice.encrypt16(31594), + this.instances3.alice.encrypt32(222562117), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 2 (47201, 47205)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 2 (31590, 31594)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(47201), - this.instances3.alice.encrypt32(47205), + this.instances3.alice.encrypt16(31590), + this.instances3.alice.encrypt32(31594), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 3 (47205, 47205)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 3 (31594, 31594)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(47205), - this.instances3.alice.encrypt32(47205), + this.instances3.alice.encrypt16(31594), + this.instances3.alice.encrypt32(31594), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 4 (47205, 47201)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 4 (31594, 31590)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(47205), - this.instances3.alice.encrypt32(47201), + this.instances3.alice.encrypt16(31594), + this.instances3.alice.encrypt32(31590), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 1 (63255, 340383439)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 1 (2104, 130166929)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(63255), - this.instances3.alice.encrypt32(340383439), + this.instances3.alice.encrypt16(2104), + this.instances3.alice.encrypt32(130166929), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 2 (63251, 63255)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 2 (2100, 2104)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(63251), - this.instances3.alice.encrypt32(63255), + this.instances3.alice.encrypt16(2100), + this.instances3.alice.encrypt32(2104), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 3 (63255, 63255)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 3 (2104, 2104)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(63255), - this.instances3.alice.encrypt32(63255), + this.instances3.alice.encrypt16(2104), + this.instances3.alice.encrypt32(2104), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 4 (63255, 63251)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 4 (2104, 2100)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(63255), - this.instances3.alice.encrypt32(63251), + this.instances3.alice.encrypt16(2104), + this.instances3.alice.encrypt32(2100), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 1 (50578, 1677650454)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 1 (6215, 187516000)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(50578), - this.instances3.alice.encrypt32(1677650454), + this.instances3.alice.encrypt16(6215), + this.instances3.alice.encrypt32(187516000), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 2 (50574, 50578)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 2 (6211, 6215)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(50574), - this.instances3.alice.encrypt32(50578), + this.instances3.alice.encrypt16(6211), + this.instances3.alice.encrypt32(6215), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 3 (50578, 50578)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 3 (6215, 6215)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(50578), - this.instances3.alice.encrypt32(50578), + this.instances3.alice.encrypt16(6215), + this.instances3.alice.encrypt32(6215), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 4 (50578, 50574)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 4 (6215, 6211)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(50578), - this.instances3.alice.encrypt32(50574), + this.instances3.alice.encrypt16(6215), + this.instances3.alice.encrypt32(6211), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 1 (27643, 2066729287)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 1 (24863, 17029307)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(27643), - this.instances3.alice.encrypt32(2066729287), + this.instances3.alice.encrypt16(24863), + this.instances3.alice.encrypt32(17029307), ); - expect(res).to.equal(27643); + expect(res).to.equal(24863); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 2 (27639, 27643)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 2 (24859, 24863)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(27639), - this.instances3.alice.encrypt32(27643), + this.instances3.alice.encrypt16(24859), + this.instances3.alice.encrypt32(24863), ); - expect(res).to.equal(27639); + expect(res).to.equal(24859); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 3 (27643, 27643)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 3 (24863, 24863)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(27643), - this.instances3.alice.encrypt32(27643), + this.instances3.alice.encrypt16(24863), + this.instances3.alice.encrypt32(24863), ); - expect(res).to.equal(27643); + expect(res).to.equal(24863); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 4 (27643, 27639)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 4 (24863, 24859)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(27643), - this.instances3.alice.encrypt32(27639), + this.instances3.alice.encrypt16(24863), + this.instances3.alice.encrypt32(24859), ); - expect(res).to.equal(27639); + expect(res).to.equal(24859); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 1 (1, 46246)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 1 (47912, 251556706)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(46246), + this.instances3.alice.encrypt16(47912), + this.instances3.alice.encrypt32(251556706), ); - expect(res).to.equal(46246); + expect(res).to.equal(251556706); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 2 (31967, 31971)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 2 (47908, 47912)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(31967), - this.instances3.alice.encrypt32(31971), + this.instances3.alice.encrypt16(47908), + this.instances3.alice.encrypt32(47912), ); - expect(res).to.equal(31971); + expect(res).to.equal(47912); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 3 (31971, 31971)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 3 (47912, 47912)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(31971), - this.instances3.alice.encrypt32(31971), + this.instances3.alice.encrypt16(47912), + this.instances3.alice.encrypt32(47912), ); - expect(res).to.equal(31971); + expect(res).to.equal(47912); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 4 (31971, 31967)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 4 (47912, 47908)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(31971), - this.instances3.alice.encrypt32(31967), + this.instances3.alice.encrypt16(47912), + this.instances3.alice.encrypt32(47908), ); - expect(res).to.equal(31971); + expect(res).to.equal(47912); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 1 (1, 46642)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 1 (108, 51831)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(46642), + this.instances3.alice.encrypt16(108), + this.instances3.alice.encrypt64(51831), ); - expect(res).to.equal(46643); + expect(res).to.equal(51939); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 2 (27826, 27830)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 2 (27895, 27899)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(27826), - this.instances3.alice.encrypt64(27830), + this.instances3.alice.encrypt16(27895), + this.instances3.alice.encrypt64(27899), ); - expect(res).to.equal(55656); + expect(res).to.equal(55794); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 3 (27830, 27830)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 3 (27899, 27899)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(27830), - this.instances3.alice.encrypt64(27830), + this.instances3.alice.encrypt16(27899), + this.instances3.alice.encrypt64(27899), ); - expect(res).to.equal(55660); + expect(res).to.equal(55798); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 4 (27830, 27826)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 4 (27899, 27895)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(27830), - this.instances3.alice.encrypt64(27826), + this.instances3.alice.encrypt16(27899), + this.instances3.alice.encrypt64(27895), ); - expect(res).to.equal(55656); + expect(res).to.equal(55794); }); - it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (34964, 34964)', async function () { + it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (63598, 63598)', async function () { const res = await this.contract3.sub_euint16_euint64( - this.instances3.alice.encrypt16(34964), - this.instances3.alice.encrypt64(34964), + this.instances3.alice.encrypt16(63598), + this.instances3.alice.encrypt64(63598), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (34964, 34960)', async function () { + it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (63598, 63594)', async function () { const res = await this.contract3.sub_euint16_euint64( - this.instances3.alice.encrypt16(34964), - this.instances3.alice.encrypt64(34960), + this.instances3.alice.encrypt16(63598), + this.instances3.alice.encrypt64(63594), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (1, 22059)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (2, 16788)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(22059), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt64(16788), ); - expect(res).to.equal(22059); + expect(res).to.equal(33576); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 2 (144, 144)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 2 (154, 154)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(144), - this.instances3.alice.encrypt64(144), + this.instances3.alice.encrypt16(154), + this.instances3.alice.encrypt64(154), ); - expect(res).to.equal(20736); + expect(res).to.equal(23716); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 3 (144, 144)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 3 (154, 154)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(144), - this.instances3.alice.encrypt64(144), + this.instances3.alice.encrypt16(154), + this.instances3.alice.encrypt64(154), ); - expect(res).to.equal(20736); + expect(res).to.equal(23716); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 4 (144, 144)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 4 (154, 154)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(144), - this.instances3.alice.encrypt64(144), + this.instances3.alice.encrypt16(154), + this.instances3.alice.encrypt64(154), ); - expect(res).to.equal(20736); + expect(res).to.equal(23716); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 1 (14563, 1642657503)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 1 (26290, 78773969)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(14563), - this.instances3.alice.encrypt64(1642657503), + this.instances3.alice.encrypt16(26290), + this.instances3.alice.encrypt64(78773969), ); - expect(res).to.equal(12483); + expect(res).to.equal(26256); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 2 (14559, 14563)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 2 (26286, 26290)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(14559), - this.instances3.alice.encrypt64(14563), + this.instances3.alice.encrypt16(26286), + this.instances3.alice.encrypt64(26290), ); - expect(res).to.equal(14531); + expect(res).to.equal(26274); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 3 (14563, 14563)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 3 (26290, 26290)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(14563), - this.instances3.alice.encrypt64(14563), + this.instances3.alice.encrypt16(26290), + this.instances3.alice.encrypt64(26290), ); - expect(res).to.equal(14563); + expect(res).to.equal(26290); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 4 (14563, 14559)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 4 (26290, 26286)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(14563), - this.instances3.alice.encrypt64(14559), + this.instances3.alice.encrypt16(26290), + this.instances3.alice.encrypt64(26286), ); - expect(res).to.equal(14531); + expect(res).to.equal(26274); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 1 (1, 52075)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 1 (61878, 192916939)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(52075), + this.instances3.alice.encrypt16(61878), + this.instances3.alice.encrypt64(192916939), ); - expect(res).to.equal(52075); + expect(res).to.equal(192937471); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 2 (15464, 15468)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 2 (61874, 61878)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(15464), - this.instances3.alice.encrypt64(15468), + this.instances3.alice.encrypt16(61874), + this.instances3.alice.encrypt64(61878), ); - expect(res).to.equal(15468); + expect(res).to.equal(61878); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 3 (15468, 15468)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 3 (61878, 61878)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(15468), - this.instances3.alice.encrypt64(15468), + this.instances3.alice.encrypt16(61878), + this.instances3.alice.encrypt64(61878), ); - expect(res).to.equal(15468); + expect(res).to.equal(61878); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 4 (15468, 15464)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 4 (61878, 61874)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(15468), - this.instances3.alice.encrypt64(15464), + this.instances3.alice.encrypt16(61878), + this.instances3.alice.encrypt64(61874), ); - expect(res).to.equal(15468); + expect(res).to.equal(61878); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (5, 40064)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (36773, 191475857)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(5), - this.instances3.alice.encrypt64(40064), + this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt64(191475857), ); - expect(res).to.equal(40069); + expect(res).to.equal(191446836); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (48077, 48081)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (36769, 36773)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(48077), - this.instances3.alice.encrypt64(48081), + this.instances3.alice.encrypt16(36769), + this.instances3.alice.encrypt64(36773), ); - expect(res).to.equal(28); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 3 (48081, 48081)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 3 (36773, 36773)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(48081), - this.instances3.alice.encrypt64(48081), + this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt64(36773), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 4 (48081, 48077)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 4 (36773, 36769)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(48081), - this.instances3.alice.encrypt64(48077), + this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt64(36769), ); - expect(res).to.equal(28); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 1 (65041, 1498344478)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 1 (58427, 265593759)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(65041), - this.instances3.alice.encrypt64(1498344478), + this.instances3.alice.encrypt16(58427), + this.instances3.alice.encrypt64(265593759), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 2 (65037, 65041)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 2 (58423, 58427)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(65037), - this.instances3.alice.encrypt64(65041), + this.instances3.alice.encrypt16(58423), + this.instances3.alice.encrypt64(58427), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 3 (65041, 65041)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 3 (58427, 58427)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(65041), - this.instances3.alice.encrypt64(65041), + this.instances3.alice.encrypt16(58427), + this.instances3.alice.encrypt64(58427), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 4 (65041, 65037)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 4 (58427, 58423)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(65041), - this.instances3.alice.encrypt64(65037), + this.instances3.alice.encrypt16(58427), + this.instances3.alice.encrypt64(58423), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 1 (16027, 1755085159)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 1 (22739, 233045312)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(16027), - this.instances3.alice.encrypt64(1755085159), + this.instances3.alice.encrypt16(22739), + this.instances3.alice.encrypt64(233045312), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 2 (16023, 16027)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 2 (22735, 22739)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(16023), - this.instances3.alice.encrypt64(16027), + this.instances3.alice.encrypt16(22735), + this.instances3.alice.encrypt64(22739), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 3 (16027, 16027)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 3 (22739, 22739)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(16027), - this.instances3.alice.encrypt64(16027), + this.instances3.alice.encrypt16(22739), + this.instances3.alice.encrypt64(22739), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 4 (16027, 16023)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 4 (22739, 22735)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(16027), - this.instances3.alice.encrypt64(16023), + this.instances3.alice.encrypt16(22739), + this.instances3.alice.encrypt64(22735), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 1 (64532, 1819047757)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 1 (15004, 5255422)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(64532), - this.instances3.alice.encrypt64(1819047757), + this.instances3.alice.encrypt16(15004), + this.instances3.alice.encrypt64(5255422), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 2 (64528, 64532)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 2 (15000, 15004)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(64528), - this.instances3.alice.encrypt64(64532), + this.instances3.alice.encrypt16(15000), + this.instances3.alice.encrypt64(15004), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 3 (64532, 64532)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 3 (15004, 15004)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(64532), - this.instances3.alice.encrypt64(64532), + this.instances3.alice.encrypt16(15004), + this.instances3.alice.encrypt64(15004), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 4 (64532, 64528)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 4 (15004, 15000)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(64532), - this.instances3.alice.encrypt64(64528), + this.instances3.alice.encrypt16(15004), + this.instances3.alice.encrypt64(15000), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 1 (47205, 1792915583)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 1 (31594, 160571558)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(47205), - this.instances3.alice.encrypt64(1792915583), + this.instances3.alice.encrypt16(31594), + this.instances3.alice.encrypt64(160571558), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 2 (47201, 47205)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 2 (31590, 31594)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(47201), - this.instances3.alice.encrypt64(47205), + this.instances3.alice.encrypt16(31590), + this.instances3.alice.encrypt64(31594), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 3 (47205, 47205)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 3 (31594, 31594)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(47205), - this.instances3.alice.encrypt64(47205), + this.instances3.alice.encrypt16(31594), + this.instances3.alice.encrypt64(31594), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 4 (47205, 47201)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 4 (31594, 31590)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(47205), - this.instances3.alice.encrypt64(47201), + this.instances3.alice.encrypt16(31594), + this.instances3.alice.encrypt64(31590), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 1 (63255, 1184396370)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 1 (2104, 188633784)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(63255), - this.instances3.alice.encrypt64(1184396370), + this.instances3.alice.encrypt16(2104), + this.instances3.alice.encrypt64(188633784), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 2 (63251, 63255)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 2 (2100, 2104)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(63251), - this.instances3.alice.encrypt64(63255), + this.instances3.alice.encrypt16(2100), + this.instances3.alice.encrypt64(2104), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 3 (63255, 63255)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 3 (2104, 2104)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(63255), - this.instances3.alice.encrypt64(63255), + this.instances3.alice.encrypt16(2104), + this.instances3.alice.encrypt64(2104), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 4 (63255, 63251)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 4 (2104, 2100)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(63255), - this.instances3.alice.encrypt64(63251), + this.instances3.alice.encrypt16(2104), + this.instances3.alice.encrypt64(2100), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 1 (50578, 1995209966)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 1 (6215, 123133979)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(50578), - this.instances3.alice.encrypt64(1995209966), + this.instances3.alice.encrypt16(6215), + this.instances3.alice.encrypt64(123133979), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 2 (50574, 50578)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 2 (6211, 6215)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(50574), - this.instances3.alice.encrypt64(50578), + this.instances3.alice.encrypt16(6211), + this.instances3.alice.encrypt64(6215), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 3 (50578, 50578)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 3 (6215, 6215)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(50578), - this.instances3.alice.encrypt64(50578), + this.instances3.alice.encrypt16(6215), + this.instances3.alice.encrypt64(6215), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 4 (50578, 50574)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 4 (6215, 6211)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(50578), - this.instances3.alice.encrypt64(50574), + this.instances3.alice.encrypt16(6215), + this.instances3.alice.encrypt64(6211), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 1 (27643, 1529181739)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 1 (24863, 217108470)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(27643), - this.instances3.alice.encrypt64(1529181739), + this.instances3.alice.encrypt16(24863), + this.instances3.alice.encrypt64(217108470), ); - expect(res).to.equal(27643); + expect(res).to.equal(24863); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 2 (27639, 27643)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 2 (24859, 24863)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(27639), - this.instances3.alice.encrypt64(27643), + this.instances3.alice.encrypt16(24859), + this.instances3.alice.encrypt64(24863), ); - expect(res).to.equal(27639); + expect(res).to.equal(24859); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 3 (27643, 27643)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 3 (24863, 24863)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(27643), - this.instances3.alice.encrypt64(27643), + this.instances3.alice.encrypt16(24863), + this.instances3.alice.encrypt64(24863), ); - expect(res).to.equal(27643); + expect(res).to.equal(24863); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 4 (27643, 27639)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 4 (24863, 24859)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(27643), - this.instances3.alice.encrypt64(27639), + this.instances3.alice.encrypt16(24863), + this.instances3.alice.encrypt64(24859), ); - expect(res).to.equal(27639); + expect(res).to.equal(24859); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 1 (3, 35170)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 1 (47912, 227727600)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(3), - this.instances3.alice.encrypt64(35170), + this.instances3.alice.encrypt16(47912), + this.instances3.alice.encrypt64(227727600), ); - expect(res).to.equal(35170); + expect(res).to.equal(227727600); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 2 (31967, 31971)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 2 (47908, 47912)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(31967), - this.instances3.alice.encrypt64(31971), + this.instances3.alice.encrypt16(47908), + this.instances3.alice.encrypt64(47912), ); - expect(res).to.equal(31971); + expect(res).to.equal(47912); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 3 (31971, 31971)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 3 (47912, 47912)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(31971), - this.instances3.alice.encrypt64(31971), + this.instances3.alice.encrypt16(47912), + this.instances3.alice.encrypt64(47912), ); - expect(res).to.equal(31971); + expect(res).to.equal(47912); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 4 (31971, 31967)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 4 (47912, 47908)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(31971), - this.instances3.alice.encrypt64(31967), + this.instances3.alice.encrypt16(47912), + this.instances3.alice.encrypt64(47908), ); - expect(res).to.equal(31971); + expect(res).to.equal(47912); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 1 (30233, 10584)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(30233), 10584); - expect(res).to.equal(40817); + it('test operator "add" overload (euint16, uint16) => euint16 test 1 (7885, 25213)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(7885), 25213); + expect(res).to.equal(33098); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 2 (30229, 30233)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(30229), 30233); - expect(res).to.equal(60462); + it('test operator "add" overload (euint16, uint16) => euint16 test 2 (15767, 15771)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(15767), 15771); + expect(res).to.equal(31538); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 3 (30233, 30233)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(30233), 30233); - expect(res).to.equal(60466); + it('test operator "add" overload (euint16, uint16) => euint16 test 3 (15771, 15771)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(15771), 15771); + expect(res).to.equal(31542); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 4 (30233, 30229)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(30233), 30229); - expect(res).to.equal(60462); + it('test operator "add" overload (euint16, uint16) => euint16 test 4 (15771, 15767)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(15771), 15767); + expect(res).to.equal(31538); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 1 (27830, 10584)', async function () { - const res = await this.contract3.add_uint16_euint16(27830, this.instances3.alice.encrypt16(10584)); - expect(res).to.equal(38414); + it('test operator "add" overload (uint16, euint16) => euint16 test 1 (13949, 25213)', async function () { + const res = await this.contract3.add_uint16_euint16(13949, this.instances3.alice.encrypt16(25213)); + expect(res).to.equal(39162); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 2 (30229, 30233)', async function () { - const res = await this.contract3.add_uint16_euint16(30229, this.instances3.alice.encrypt16(30233)); - expect(res).to.equal(60462); + it('test operator "add" overload (uint16, euint16) => euint16 test 2 (15767, 15771)', async function () { + const res = await this.contract3.add_uint16_euint16(15767, this.instances3.alice.encrypt16(15771)); + expect(res).to.equal(31538); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 3 (30233, 30233)', async function () { - const res = await this.contract3.add_uint16_euint16(30233, this.instances3.alice.encrypt16(30233)); - expect(res).to.equal(60466); + it('test operator "add" overload (uint16, euint16) => euint16 test 3 (15771, 15771)', async function () { + const res = await this.contract3.add_uint16_euint16(15771, this.instances3.alice.encrypt16(15771)); + expect(res).to.equal(31542); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 4 (30233, 30229)', async function () { - const res = await this.contract3.add_uint16_euint16(30233, this.instances3.alice.encrypt16(30229)); - expect(res).to.equal(60462); + it('test operator "add" overload (uint16, euint16) => euint16 test 4 (15771, 15767)', async function () { + const res = await this.contract3.add_uint16_euint16(15771, this.instances3.alice.encrypt16(15767)); + expect(res).to.equal(31538); }); - it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (7674, 7674)', async function () { - const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(7674), 7674); + it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (20069, 20069)', async function () { + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(20069), 20069); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, uint16) => euint16 test 2 (7674, 7670)', async function () { - const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(7674), 7670); + it('test operator "sub" overload (euint16, uint16) => euint16 test 2 (20069, 20065)', async function () { + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(20069), 20065); expect(res).to.equal(4); }); - it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (7674, 7674)', async function () { - const res = await this.contract3.sub_uint16_euint16(7674, this.instances3.alice.encrypt16(7674)); + it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (20069, 20069)', async function () { + const res = await this.contract3.sub_uint16_euint16(20069, this.instances3.alice.encrypt16(20069)); expect(res).to.equal(0); }); - it('test operator "sub" overload (uint16, euint16) => euint16 test 2 (7674, 7670)', async function () { - const res = await this.contract3.sub_uint16_euint16(7674, this.instances3.alice.encrypt16(7670)); + it('test operator "sub" overload (uint16, euint16) => euint16 test 2 (20069, 20065)', async function () { + const res = await this.contract3.sub_uint16_euint16(20069, this.instances3.alice.encrypt16(20065)); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (442, 133)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(442), 133); - expect(res).to.equal(58786); + it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (136, 406)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(136), 406); + expect(res).to.equal(55216); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 2 (180, 180)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(180), 180); - expect(res).to.equal(32400); + it('test operator "mul" overload (euint16, uint16) => euint16 test 2 (136, 136)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(136), 136); + expect(res).to.equal(18496); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 3 (180, 180)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(180), 180); - expect(res).to.equal(32400); + it('test operator "mul" overload (euint16, uint16) => euint16 test 3 (136, 136)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(136), 136); + expect(res).to.equal(18496); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 4 (180, 180)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(180), 180); - expect(res).to.equal(32400); + it('test operator "mul" overload (euint16, uint16) => euint16 test 4 (136, 136)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(136), 136); + expect(res).to.equal(18496); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (288, 133)', async function () { - const res = await this.contract3.mul_uint16_euint16(288, this.instances3.alice.encrypt16(133)); - expect(res).to.equal(38304); + it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (308, 203)', async function () { + const res = await this.contract3.mul_uint16_euint16(308, this.instances3.alice.encrypt16(203)); + expect(res).to.equal(62524); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 2 (180, 180)', async function () { - const res = await this.contract3.mul_uint16_euint16(180, this.instances3.alice.encrypt16(180)); - expect(res).to.equal(32400); + it('test operator "mul" overload (uint16, euint16) => euint16 test 2 (136, 136)', async function () { + const res = await this.contract3.mul_uint16_euint16(136, this.instances3.alice.encrypt16(136)); + expect(res).to.equal(18496); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 3 (180, 180)', async function () { - const res = await this.contract3.mul_uint16_euint16(180, this.instances3.alice.encrypt16(180)); - expect(res).to.equal(32400); + it('test operator "mul" overload (uint16, euint16) => euint16 test 3 (136, 136)', async function () { + const res = await this.contract3.mul_uint16_euint16(136, this.instances3.alice.encrypt16(136)); + expect(res).to.equal(18496); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 4 (180, 180)', async function () { - const res = await this.contract3.mul_uint16_euint16(180, this.instances3.alice.encrypt16(180)); - expect(res).to.equal(32400); + it('test operator "mul" overload (uint16, euint16) => euint16 test 4 (136, 136)', async function () { + const res = await this.contract3.mul_uint16_euint16(136, this.instances3.alice.encrypt16(136)); + expect(res).to.equal(18496); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 1 (30116, 13141)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(30116), 13141); - expect(res).to.equal(2); + it('test operator "div" overload (euint16, uint16) => euint16 test 1 (34461, 47014)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(34461), 47014); + expect(res).to.equal(0); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 2 (8385, 8389)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(8385), 8389); + it('test operator "div" overload (euint16, uint16) => euint16 test 2 (34457, 34461)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(34457), 34461); expect(res).to.equal(0); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 3 (8389, 8389)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(8389), 8389); + it('test operator "div" overload (euint16, uint16) => euint16 test 3 (34461, 34461)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(34461), 34461); expect(res).to.equal(1); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 4 (8389, 8385)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(8389), 8385); + it('test operator "div" overload (euint16, uint16) => euint16 test 4 (34461, 34457)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(34461), 34457); expect(res).to.equal(1); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (50030, 38531)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(50030), 38531); - expect(res).to.equal(11499); + it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (302, 42308)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(302), 42308); + expect(res).to.equal(302); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 2 (13739, 13743)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(13739), 13743); - expect(res).to.equal(13739); + it('test operator "rem" overload (euint16, uint16) => euint16 test 2 (298, 302)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(298), 302); + expect(res).to.equal(298); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 3 (13743, 13743)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(13743), 13743); + it('test operator "rem" overload (euint16, uint16) => euint16 test 3 (302, 302)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(302), 302); expect(res).to.equal(0); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 4 (13743, 13739)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(13743), 13739); + it('test operator "rem" overload (euint16, uint16) => euint16 test 4 (302, 298)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(302), 298); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 1 (5627, 53030)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5627), 53030); + it('test operator "eq" overload (euint16, uint16) => ebool test 1 (44634, 11079)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(44634), 11079); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 2 (4532, 4536)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(4532), 4536); + it('test operator "eq" overload (euint16, uint16) => ebool test 2 (41622, 41626)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(41622), 41626); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 3 (4536, 4536)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(4536), 4536); + it('test operator "eq" overload (euint16, uint16) => ebool test 3 (41626, 41626)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(41626), 41626); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 4 (4536, 4532)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(4536), 4532); + it('test operator "eq" overload (euint16, uint16) => ebool test 4 (41626, 41622)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(41626), 41622); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 1 (65041, 53030)', async function () { - const res = await this.contract3.eq_uint16_euint16(65041, this.instances3.alice.encrypt16(53030)); + it('test operator "eq" overload (uint16, euint16) => ebool test 1 (58427, 11079)', async function () { + const res = await this.contract3.eq_uint16_euint16(58427, this.instances3.alice.encrypt16(11079)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 2 (4532, 4536)', async function () { - const res = await this.contract3.eq_uint16_euint16(4532, this.instances3.alice.encrypt16(4536)); + it('test operator "eq" overload (uint16, euint16) => ebool test 2 (41622, 41626)', async function () { + const res = await this.contract3.eq_uint16_euint16(41622, this.instances3.alice.encrypt16(41626)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 3 (4536, 4536)', async function () { - const res = await this.contract3.eq_uint16_euint16(4536, this.instances3.alice.encrypt16(4536)); + it('test operator "eq" overload (uint16, euint16) => ebool test 3 (41626, 41626)', async function () { + const res = await this.contract3.eq_uint16_euint16(41626, this.instances3.alice.encrypt16(41626)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 4 (4536, 4532)', async function () { - const res = await this.contract3.eq_uint16_euint16(4536, this.instances3.alice.encrypt16(4532)); + it('test operator "eq" overload (uint16, euint16) => ebool test 4 (41626, 41622)', async function () { + const res = await this.contract3.eq_uint16_euint16(41626, this.instances3.alice.encrypt16(41622)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 1 (20601, 24726)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(20601), 24726); + it('test operator "ne" overload (euint16, uint16) => ebool test 1 (58512, 5930)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(58512), 5930); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 2 (20597, 20601)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(20597), 20601); + it('test operator "ne" overload (euint16, uint16) => ebool test 2 (41575, 41579)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(41575), 41579); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 3 (20601, 20601)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(20601), 20601); + it('test operator "ne" overload (euint16, uint16) => ebool test 3 (41579, 41579)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(41579), 41579); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 4 (20601, 20597)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(20601), 20597); + it('test operator "ne" overload (euint16, uint16) => ebool test 4 (41579, 41575)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(41579), 41575); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 1 (16027, 24726)', async function () { - const res = await this.contract3.ne_uint16_euint16(16027, this.instances3.alice.encrypt16(24726)); + it('test operator "ne" overload (uint16, euint16) => ebool test 1 (22739, 5930)', async function () { + const res = await this.contract3.ne_uint16_euint16(22739, this.instances3.alice.encrypt16(5930)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 2 (20597, 20601)', async function () { - const res = await this.contract3.ne_uint16_euint16(20597, this.instances3.alice.encrypt16(20601)); + it('test operator "ne" overload (uint16, euint16) => ebool test 2 (41575, 41579)', async function () { + const res = await this.contract3.ne_uint16_euint16(41575, this.instances3.alice.encrypt16(41579)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 3 (20601, 20601)', async function () { - const res = await this.contract3.ne_uint16_euint16(20601, this.instances3.alice.encrypt16(20601)); + it('test operator "ne" overload (uint16, euint16) => ebool test 3 (41579, 41579)', async function () { + const res = await this.contract3.ne_uint16_euint16(41579, this.instances3.alice.encrypt16(41579)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 4 (20601, 20597)', async function () { - const res = await this.contract3.ne_uint16_euint16(20601, this.instances3.alice.encrypt16(20597)); + it('test operator "ne" overload (uint16, euint16) => ebool test 4 (41579, 41575)', async function () { + const res = await this.contract3.ne_uint16_euint16(41579, this.instances3.alice.encrypt16(41575)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 1 (44342, 6260)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(44342), 6260); - expect(res).to.equal(true); + it('test operator "ge" overload (euint16, uint16) => ebool test 1 (2319, 46898)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(2319), 46898); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 2 (44338, 44342)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(44338), 44342); + it('test operator "ge" overload (euint16, uint16) => ebool test 2 (2315, 2319)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(2315), 2319); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 3 (44342, 44342)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(44342), 44342); + it('test operator "ge" overload (euint16, uint16) => ebool test 3 (2319, 2319)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(2319), 2319); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 4 (44342, 44338)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(44342), 44338); + it('test operator "ge" overload (euint16, uint16) => ebool test 4 (2319, 2315)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(2319), 2315); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 1 (64532, 6260)', async function () { - const res = await this.contract3.ge_uint16_euint16(64532, this.instances3.alice.encrypt16(6260)); - expect(res).to.equal(true); + it('test operator "ge" overload (uint16, euint16) => ebool test 1 (15004, 46898)', async function () { + const res = await this.contract3.ge_uint16_euint16(15004, this.instances3.alice.encrypt16(46898)); + expect(res).to.equal(false); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 2 (44338, 44342)', async function () { - const res = await this.contract3.ge_uint16_euint16(44338, this.instances3.alice.encrypt16(44342)); + it('test operator "ge" overload (uint16, euint16) => ebool test 2 (2315, 2319)', async function () { + const res = await this.contract3.ge_uint16_euint16(2315, this.instances3.alice.encrypt16(2319)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 3 (44342, 44342)', async function () { - const res = await this.contract3.ge_uint16_euint16(44342, this.instances3.alice.encrypt16(44342)); + it('test operator "ge" overload (uint16, euint16) => ebool test 3 (2319, 2319)', async function () { + const res = await this.contract3.ge_uint16_euint16(2319, this.instances3.alice.encrypt16(2319)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 4 (44342, 44338)', async function () { - const res = await this.contract3.ge_uint16_euint16(44342, this.instances3.alice.encrypt16(44338)); + it('test operator "ge" overload (uint16, euint16) => ebool test 4 (2319, 2315)', async function () { + const res = await this.contract3.ge_uint16_euint16(2319, this.instances3.alice.encrypt16(2315)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 1 (42324, 7407)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(42324), 7407); - expect(res).to.equal(true); + it('test operator "gt" overload (euint16, uint16) => ebool test 1 (39995, 40403)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(39995), 40403); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 2 (42320, 42324)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(42320), 42324); + it('test operator "gt" overload (euint16, uint16) => ebool test 2 (39991, 39995)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(39991), 39995); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 3 (42324, 42324)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(42324), 42324); + it('test operator "gt" overload (euint16, uint16) => ebool test 3 (39995, 39995)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(39995), 39995); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 4 (42324, 42320)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(42324), 42320); + it('test operator "gt" overload (euint16, uint16) => ebool test 4 (39995, 39991)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(39995), 39991); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 1 (47205, 7407)', async function () { - const res = await this.contract3.gt_uint16_euint16(47205, this.instances3.alice.encrypt16(7407)); - expect(res).to.equal(true); + it('test operator "gt" overload (uint16, euint16) => ebool test 1 (31594, 40403)', async function () { + const res = await this.contract3.gt_uint16_euint16(31594, this.instances3.alice.encrypt16(40403)); + expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 2 (42320, 42324)', async function () { - const res = await this.contract3.gt_uint16_euint16(42320, this.instances3.alice.encrypt16(42324)); + it('test operator "gt" overload (uint16, euint16) => ebool test 2 (39991, 39995)', async function () { + const res = await this.contract3.gt_uint16_euint16(39991, this.instances3.alice.encrypt16(39995)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 3 (42324, 42324)', async function () { - const res = await this.contract3.gt_uint16_euint16(42324, this.instances3.alice.encrypt16(42324)); + it('test operator "gt" overload (uint16, euint16) => ebool test 3 (39995, 39995)', async function () { + const res = await this.contract3.gt_uint16_euint16(39995, this.instances3.alice.encrypt16(39995)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 4 (42324, 42320)', async function () { - const res = await this.contract3.gt_uint16_euint16(42324, this.instances3.alice.encrypt16(42320)); + it('test operator "gt" overload (uint16, euint16) => ebool test 4 (39995, 39991)', async function () { + const res = await this.contract3.gt_uint16_euint16(39995, this.instances3.alice.encrypt16(39991)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 1 (5574, 3979)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(5574), 3979); - expect(res).to.equal(false); + it('test operator "le" overload (euint16, uint16) => ebool test 1 (11868, 63783)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(11868), 63783); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 2 (5570, 5574)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(5570), 5574); + it('test operator "le" overload (euint16, uint16) => ebool test 2 (11864, 11868)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(11864), 11868); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 3 (5574, 5574)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(5574), 5574); + it('test operator "le" overload (euint16, uint16) => ebool test 3 (11868, 11868)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(11868), 11868); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 4 (5574, 5570)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(5574), 5570); + it('test operator "le" overload (euint16, uint16) => ebool test 4 (11868, 11864)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(11868), 11864); expect(res).to.equal(false); }); - it('test operator "le" overload (uint16, euint16) => ebool test 1 (63255, 3979)', async function () { - const res = await this.contract3.le_uint16_euint16(63255, this.instances3.alice.encrypt16(3979)); - expect(res).to.equal(false); + it('test operator "le" overload (uint16, euint16) => ebool test 1 (2104, 63783)', async function () { + const res = await this.contract3.le_uint16_euint16(2104, this.instances3.alice.encrypt16(63783)); + expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 2 (5570, 5574)', async function () { - const res = await this.contract3.le_uint16_euint16(5570, this.instances3.alice.encrypt16(5574)); + it('test operator "le" overload (uint16, euint16) => ebool test 2 (11864, 11868)', async function () { + const res = await this.contract3.le_uint16_euint16(11864, this.instances3.alice.encrypt16(11868)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 3 (5574, 5574)', async function () { - const res = await this.contract3.le_uint16_euint16(5574, this.instances3.alice.encrypt16(5574)); + it('test operator "le" overload (uint16, euint16) => ebool test 3 (11868, 11868)', async function () { + const res = await this.contract3.le_uint16_euint16(11868, this.instances3.alice.encrypt16(11868)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 4 (5574, 5570)', async function () { - const res = await this.contract3.le_uint16_euint16(5574, this.instances3.alice.encrypt16(5570)); + it('test operator "le" overload (uint16, euint16) => ebool test 4 (11868, 11864)', async function () { + const res = await this.contract3.le_uint16_euint16(11868, this.instances3.alice.encrypt16(11864)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 1 (64394, 5464)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(64394), 5464); - expect(res).to.equal(false); + it('test operator "lt" overload (euint16, uint16) => ebool test 1 (13005, 41485)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(13005), 41485); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 2 (46197, 46201)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(46197), 46201); + it('test operator "lt" overload (euint16, uint16) => ebool test 2 (13001, 13005)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(13001), 13005); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 3 (46201, 46201)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(46201), 46201); + it('test operator "lt" overload (euint16, uint16) => ebool test 3 (13005, 13005)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(13005), 13005); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 4 (46201, 46197)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(46201), 46197); + it('test operator "lt" overload (euint16, uint16) => ebool test 4 (13005, 13001)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(13005), 13001); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 1 (50578, 5464)', async function () { - const res = await this.contract3.lt_uint16_euint16(50578, this.instances3.alice.encrypt16(5464)); - expect(res).to.equal(false); + it('test operator "lt" overload (uint16, euint16) => ebool test 1 (6215, 41485)', async function () { + const res = await this.contract3.lt_uint16_euint16(6215, this.instances3.alice.encrypt16(41485)); + expect(res).to.equal(true); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 2 (46197, 46201)', async function () { - const res = await this.contract3.lt_uint16_euint16(46197, this.instances3.alice.encrypt16(46201)); + it('test operator "lt" overload (uint16, euint16) => ebool test 2 (13001, 13005)', async function () { + const res = await this.contract3.lt_uint16_euint16(13001, this.instances3.alice.encrypt16(13005)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 3 (46201, 46201)', async function () { - const res = await this.contract3.lt_uint16_euint16(46201, this.instances3.alice.encrypt16(46201)); + it('test operator "lt" overload (uint16, euint16) => ebool test 3 (13005, 13005)', async function () { + const res = await this.contract3.lt_uint16_euint16(13005, this.instances3.alice.encrypt16(13005)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 4 (46201, 46197)', async function () { - const res = await this.contract3.lt_uint16_euint16(46201, this.instances3.alice.encrypt16(46197)); + it('test operator "lt" overload (uint16, euint16) => ebool test 4 (13005, 13001)', async function () { + const res = await this.contract3.lt_uint16_euint16(13005, this.instances3.alice.encrypt16(13001)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 1 (3854, 54603)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(3854), 54603); - expect(res).to.equal(3854); + it('test operator "min" overload (euint16, uint16) => euint16 test 1 (59594, 37209)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(59594), 37209); + expect(res).to.equal(37209); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 2 (3850, 3854)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(3850), 3854); - expect(res).to.equal(3850); + it('test operator "min" overload (euint16, uint16) => euint16 test 2 (35024, 35028)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(35024), 35028); + expect(res).to.equal(35024); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 3 (3854, 3854)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(3854), 3854); - expect(res).to.equal(3854); + it('test operator "min" overload (euint16, uint16) => euint16 test 3 (35028, 35028)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(35028), 35028); + expect(res).to.equal(35028); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 4 (3854, 3850)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(3854), 3850); - expect(res).to.equal(3850); + it('test operator "min" overload (euint16, uint16) => euint16 test 4 (35028, 35024)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(35028), 35024); + expect(res).to.equal(35024); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 1 (27643, 54603)', async function () { - const res = await this.contract3.min_uint16_euint16(27643, this.instances3.alice.encrypt16(54603)); - expect(res).to.equal(27643); + it('test operator "min" overload (uint16, euint16) => euint16 test 1 (24863, 37209)', async function () { + const res = await this.contract3.min_uint16_euint16(24863, this.instances3.alice.encrypt16(37209)); + expect(res).to.equal(24863); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 2 (3850, 3854)', async function () { - const res = await this.contract3.min_uint16_euint16(3850, this.instances3.alice.encrypt16(3854)); - expect(res).to.equal(3850); + it('test operator "min" overload (uint16, euint16) => euint16 test 2 (35024, 35028)', async function () { + const res = await this.contract3.min_uint16_euint16(35024, this.instances3.alice.encrypt16(35028)); + expect(res).to.equal(35024); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 3 (3854, 3854)', async function () { - const res = await this.contract3.min_uint16_euint16(3854, this.instances3.alice.encrypt16(3854)); - expect(res).to.equal(3854); + it('test operator "min" overload (uint16, euint16) => euint16 test 3 (35028, 35028)', async function () { + const res = await this.contract3.min_uint16_euint16(35028, this.instances3.alice.encrypt16(35028)); + expect(res).to.equal(35028); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 4 (3854, 3850)', async function () { - const res = await this.contract3.min_uint16_euint16(3854, this.instances3.alice.encrypt16(3850)); - expect(res).to.equal(3850); + it('test operator "min" overload (uint16, euint16) => euint16 test 4 (35028, 35024)', async function () { + const res = await this.contract3.min_uint16_euint16(35028, this.instances3.alice.encrypt16(35024)); + expect(res).to.equal(35024); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 1 (43071, 57395)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(43071), 57395); - expect(res).to.equal(57395); + it('test operator "max" overload (euint16, uint16) => euint16 test 1 (45745, 18939)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(45745), 18939); + expect(res).to.equal(45745); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 2 (37039, 37043)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37039), 37043); - expect(res).to.equal(37043); + it('test operator "max" overload (euint16, uint16) => euint16 test 2 (24756, 24760)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(24756), 24760); + expect(res).to.equal(24760); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 3 (37043, 37043)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37043), 37043); - expect(res).to.equal(37043); + it('test operator "max" overload (euint16, uint16) => euint16 test 3 (24760, 24760)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(24760), 24760); + expect(res).to.equal(24760); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 4 (37043, 37039)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37043), 37039); - expect(res).to.equal(37043); + it('test operator "max" overload (euint16, uint16) => euint16 test 4 (24760, 24756)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(24760), 24756); + expect(res).to.equal(24760); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 1 (31971, 57395)', async function () { - const res = await this.contract3.max_uint16_euint16(31971, this.instances3.alice.encrypt16(57395)); - expect(res).to.equal(57395); + it('test operator "max" overload (uint16, euint16) => euint16 test 1 (47912, 18939)', async function () { + const res = await this.contract3.max_uint16_euint16(47912, this.instances3.alice.encrypt16(18939)); + expect(res).to.equal(47912); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 2 (37039, 37043)', async function () { - const res = await this.contract3.max_uint16_euint16(37039, this.instances3.alice.encrypt16(37043)); - expect(res).to.equal(37043); + it('test operator "max" overload (uint16, euint16) => euint16 test 2 (24756, 24760)', async function () { + const res = await this.contract3.max_uint16_euint16(24756, this.instances3.alice.encrypt16(24760)); + expect(res).to.equal(24760); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 3 (37043, 37043)', async function () { - const res = await this.contract3.max_uint16_euint16(37043, this.instances3.alice.encrypt16(37043)); - expect(res).to.equal(37043); + it('test operator "max" overload (uint16, euint16) => euint16 test 3 (24760, 24760)', async function () { + const res = await this.contract3.max_uint16_euint16(24760, this.instances3.alice.encrypt16(24760)); + expect(res).to.equal(24760); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 4 (37043, 37039)', async function () { - const res = await this.contract3.max_uint16_euint16(37043, this.instances3.alice.encrypt16(37039)); - expect(res).to.equal(37043); + it('test operator "max" overload (uint16, euint16) => euint16 test 4 (24760, 24756)', async function () { + const res = await this.contract3.max_uint16_euint16(24760, this.instances3.alice.encrypt16(24756)); + expect(res).to.equal(24760); }); it('test operator "add" overload (euint32, euint4) => euint32 test 1 (10, 1)', async function () { @@ -7992,124 +7992,124 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "sub" overload (euint32, euint4) => euint32 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint32, euint4) => euint32 test 1 (10, 10)', async function () { const res = await this.contract3.sub_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(10), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, euint4) => euint32 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint32, euint4) => euint32 test 2 (10, 6)', async function () { const res = await this.contract3.sub_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(6), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 1 (13, 1)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 1 (9, 1)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt32(9), this.instances3.alice.encrypt4(1), ); - expect(res).to.equal(13); + expect(res).to.equal(9); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 2 (2, 3)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 2 (3, 5)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(2), - this.instances3.alice.encrypt4(3), + this.instances3.alice.encrypt32(3), + this.instances3.alice.encrypt4(5), ); - expect(res).to.equal(6); + expect(res).to.equal(15); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 3 (3, 3)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 3 (2, 2)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(3), - this.instances3.alice.encrypt4(3), + this.instances3.alice.encrypt32(2), + this.instances3.alice.encrypt4(2), ); - expect(res).to.equal(9); + expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 4 (3, 2)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 4 (5, 3)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(3), - this.instances3.alice.encrypt4(2), + this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt4(3), ); - expect(res).to.equal(6); + expect(res).to.equal(15); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 1 (1757898274, 2)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 1 (241094180, 10)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(1757898274), - this.instances3.alice.encrypt4(2), + this.instances3.alice.encrypt32(241094180), + this.instances3.alice.encrypt4(10), ); - expect(res).to.equal(2); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 2 (6, 10)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(6), + this.instances3.alice.encrypt4(10), ); - expect(res).to.equal(0); + expect(res).to.equal(2); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 3 (10, 10)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(10), ); - expect(res).to.equal(8); + expect(res).to.equal(10); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 4 (10, 6)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(6), ); - expect(res).to.equal(0); + expect(res).to.equal(2); }); - it('test operator "or" overload (euint32, euint4) => euint32 test 1 (9, 1)', async function () { + it('test operator "or" overload (euint32, euint4) => euint32 test 1 (51366153, 1)', async function () { const res = await this.contract3.or_euint32_euint4( - this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt32(51366153), this.instances3.alice.encrypt4(1), ); - expect(res).to.equal(9); + expect(res).to.equal(51366153); }); - it('test operator "or" overload (euint32, euint4) => euint32 test 2 (10, 14)', async function () { + it('test operator "or" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.or_euint32_euint4( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(14); + expect(res).to.equal(12); }); - it('test operator "or" overload (euint32, euint4) => euint32 test 3 (14, 14)', async function () { + it('test operator "or" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.or_euint32_euint4( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8); }); - it('test operator "or" overload (euint32, euint4) => euint32 test 4 (14, 10)', async function () { + it('test operator "or" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.or_euint32_euint4( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt4(10), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(14); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 1 (13, 1)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 1 (30847431, 8)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(13), - this.instances3.alice.encrypt4(1), + this.instances3.alice.encrypt32(30847431), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(30847439); }); it('test operator "xor" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { @@ -8136,105 +8136,105 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 1 (1270694518, 8)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 1 (82686069, 12)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(1270694518), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(82686069), + this.instances3.alice.encrypt4(12), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 2 (8, 12)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(12), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 3 (12, 12)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt4(12), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 4 (12, 8)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 1 (1211702728, 8)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 1 (3660714, 9)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(1211702728), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(3660714), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 2 (5, 9)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 3 (9, 9)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 4 (9, 5)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(5), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 1 (627970552, 13)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 1 (182035180, 9)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(627970552), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt32(182035180), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 2 (9, 13)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 2 (5, 9)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(9), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 3 (13, 13)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 3 (9, 9)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(13), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 4 (13, 9)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 4 (9, 5)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(13), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(5), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint4) => ebool test 1 (1801714413, 14)', async function () { + it('test operator "gt" overload (euint32, euint4) => ebool test 1 (228583889, 14)', async function () { const res = await this.contract3.gt_euint32_euint4( - this.instances3.alice.encrypt32(1801714413), + this.instances3.alice.encrypt32(228583889), this.instances3.alice.encrypt4(14), ); expect(res).to.equal(true); @@ -8264,76 +8264,76 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 1 (523722139, 11)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 1 (232635457, 13)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(523722139), - this.instances3.alice.encrypt4(11), + this.instances3.alice.encrypt32(232635457), + this.instances3.alice.encrypt4(13), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint4) => ebool test 2 (7, 11)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 2 (9, 13)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(7), - this.instances3.alice.encrypt4(11), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(13), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 3 (11, 11)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 3 (13, 13)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(11), - this.instances3.alice.encrypt4(11), + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(13), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 4 (11, 7)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 4 (13, 9)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(11), - this.instances3.alice.encrypt4(7), + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 1 (1044281941, 14)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 1 (89546642, 8)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(1044281941), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(89546642), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 2 (10, 14)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 3 (14, 14)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 4 (14, 10)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt4(10), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint4) => euint32 test 1 (390943086, 2)', async function () { + it('test operator "min" overload (euint32, euint4) => euint32 test 1 (58829340, 8)', async function () { const res = await this.contract3.min_euint32_euint4( - this.instances3.alice.encrypt32(390943086), - this.instances3.alice.encrypt4(2), + this.instances3.alice.encrypt32(58829340), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(2); + expect(res).to.equal(8); }); it('test operator "min" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { @@ -8360,2288 +8360,2288 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 1 (8, 1)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 1 (8800615, 7)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(1), + this.instances3.alice.encrypt32(8800615), + this.instances3.alice.encrypt4(7), ); - expect(res).to.equal(8); + expect(res).to.equal(8800615); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 2 (7, 11)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(7), - this.instances3.alice.encrypt4(11), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 3 (11, 11)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(11), - this.instances3.alice.encrypt4(11), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 4 (11, 7)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(11), - this.instances3.alice.encrypt4(7), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(11); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 1 (162, 1)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 1 (165, 1)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(162), + this.instances3.alice.encrypt32(165), this.instances3.alice.encrypt8(1), ); - expect(res).to.equal(163); + expect(res).to.equal(166); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 2 (115, 117)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 2 (13, 17)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(115), - this.instances3.alice.encrypt8(117), + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt8(17), ); - expect(res).to.equal(232); + expect(res).to.equal(30); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 3 (117, 117)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 3 (17, 17)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(117), - this.instances3.alice.encrypt8(117), + this.instances3.alice.encrypt32(17), + this.instances3.alice.encrypt8(17), ); - expect(res).to.equal(234); + expect(res).to.equal(34); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 4 (117, 115)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 4 (17, 13)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(117), - this.instances3.alice.encrypt8(115), + this.instances3.alice.encrypt32(17), + this.instances3.alice.encrypt8(13), ); - expect(res).to.equal(232); + expect(res).to.equal(30); }); - it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (239, 239)', async function () { + it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (123, 123)', async function () { const res = await this.contract3.sub_euint32_euint8( - this.instances3.alice.encrypt32(239), - this.instances3.alice.encrypt8(239), + this.instances3.alice.encrypt32(123), + this.instances3.alice.encrypt8(123), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, euint8) => euint32 test 2 (239, 235)', async function () { + it('test operator "sub" overload (euint32, euint8) => euint32 test 2 (123, 119)', async function () { const res = await this.contract3.sub_euint32_euint8( - this.instances3.alice.encrypt32(239), - this.instances3.alice.encrypt8(235), + this.instances3.alice.encrypt32(123), + this.instances3.alice.encrypt8(119), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 1 (222, 1)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 1 (146, 1)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(222), + this.instances3.alice.encrypt32(146), this.instances3.alice.encrypt8(1), ); - expect(res).to.equal(222); + expect(res).to.equal(146); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 2 (10, 14)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 2 (9, 10)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt8(14), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt8(10), ); - expect(res).to.equal(140); + expect(res).to.equal(90); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 3 (14, 14)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 3 (10, 10)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt8(14), + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt8(10), ); - expect(res).to.equal(196); + expect(res).to.equal(100); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 4 (14, 10)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 4 (10, 9)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt8(10), + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt8(9), ); - expect(res).to.equal(140); + expect(res).to.equal(90); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 1 (1757898274, 2)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 1 (241094180, 159)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(1757898274), - this.instances3.alice.encrypt8(2), + this.instances3.alice.encrypt32(241094180), + this.instances3.alice.encrypt8(159), ); - expect(res).to.equal(2); + expect(res).to.equal(4); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 2 (155, 159)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt32(155), + this.instances3.alice.encrypt8(159), ); - expect(res).to.equal(0); + expect(res).to.equal(155); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 3 (159, 159)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt32(159), + this.instances3.alice.encrypt8(159), ); - expect(res).to.equal(8); + expect(res).to.equal(159); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 4 (159, 155)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt32(159), + this.instances3.alice.encrypt8(155), ); - expect(res).to.equal(0); + expect(res).to.equal(155); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 1 (156, 1)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 1 (51366153, 56)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(156), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt32(51366153), + this.instances4.alice.encrypt8(56), ); - expect(res).to.equal(157); + expect(res).to.equal(51366201); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 2 (25, 29)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 2 (52, 56)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(25), - this.instances4.alice.encrypt8(29), + this.instances4.alice.encrypt32(52), + this.instances4.alice.encrypt8(56), ); - expect(res).to.equal(29); + expect(res).to.equal(60); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 3 (29, 29)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 3 (56, 56)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(29), - this.instances4.alice.encrypt8(29), + this.instances4.alice.encrypt32(56), + this.instances4.alice.encrypt8(56), ); - expect(res).to.equal(29); + expect(res).to.equal(56); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 4 (29, 25)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 4 (56, 52)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(29), - this.instances4.alice.encrypt8(25), + this.instances4.alice.encrypt32(56), + this.instances4.alice.encrypt8(52), ); - expect(res).to.equal(29); + expect(res).to.equal(60); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (210, 1)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (30847431, 23)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(210), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt32(30847431), + this.instances4.alice.encrypt8(23), ); - expect(res).to.equal(211); + expect(res).to.equal(30847440); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (54, 58)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (19, 23)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(54), - this.instances4.alice.encrypt8(58), + this.instances4.alice.encrypt32(19), + this.instances4.alice.encrypt8(23), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 3 (58, 58)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 3 (23, 23)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(58), - this.instances4.alice.encrypt8(58), + this.instances4.alice.encrypt32(23), + this.instances4.alice.encrypt8(23), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 4 (58, 54)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 4 (23, 19)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(58), - this.instances4.alice.encrypt8(54), + this.instances4.alice.encrypt32(23), + this.instances4.alice.encrypt8(19), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 1 (1270694518, 11)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 1 (82686069, 42)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(1270694518), - this.instances4.alice.encrypt8(11), + this.instances4.alice.encrypt32(82686069), + this.instances4.alice.encrypt8(42), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 2 (7, 11)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 2 (38, 42)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(7), - this.instances4.alice.encrypt8(11), + this.instances4.alice.encrypt32(38), + this.instances4.alice.encrypt8(42), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 3 (11, 11)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 3 (42, 42)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(11), - this.instances4.alice.encrypt8(11), + this.instances4.alice.encrypt32(42), + this.instances4.alice.encrypt8(42), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 4 (11, 7)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 4 (42, 38)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(11), - this.instances4.alice.encrypt8(7), + this.instances4.alice.encrypt32(42), + this.instances4.alice.encrypt8(38), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 1 (1211702728, 132)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 1 (3660714, 206)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(1211702728), - this.instances4.alice.encrypt8(132), + this.instances4.alice.encrypt32(3660714), + this.instances4.alice.encrypt8(206), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 2 (128, 132)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 2 (202, 206)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(128), - this.instances4.alice.encrypt8(132), + this.instances4.alice.encrypt32(202), + this.instances4.alice.encrypt8(206), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 3 (132, 132)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 3 (206, 206)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(132), - this.instances4.alice.encrypt8(132), + this.instances4.alice.encrypt32(206), + this.instances4.alice.encrypt8(206), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 4 (132, 128)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 4 (206, 202)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(132), - this.instances4.alice.encrypt8(128), + this.instances4.alice.encrypt32(206), + this.instances4.alice.encrypt8(202), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 1 (627970552, 5)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 1 (182035180, 64)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(627970552), - this.instances4.alice.encrypt8(5), + this.instances4.alice.encrypt32(182035180), + this.instances4.alice.encrypt8(64), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 2 (60, 64)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(60), + this.instances4.alice.encrypt8(64), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 3 (64, 64)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(64), + this.instances4.alice.encrypt8(64), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 4 (64, 60)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(64), + this.instances4.alice.encrypt8(60), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 1 (1801714413, 95)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 1 (228583889, 150)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(1801714413), - this.instances4.alice.encrypt8(95), + this.instances4.alice.encrypt32(228583889), + this.instances4.alice.encrypt8(150), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 2 (91, 95)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 2 (146, 150)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(91), - this.instances4.alice.encrypt8(95), + this.instances4.alice.encrypt32(146), + this.instances4.alice.encrypt8(150), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 3 (95, 95)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 3 (150, 150)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(95), - this.instances4.alice.encrypt8(95), + this.instances4.alice.encrypt32(150), + this.instances4.alice.encrypt8(150), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 4 (95, 91)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 4 (150, 146)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(95), - this.instances4.alice.encrypt8(91), + this.instances4.alice.encrypt32(150), + this.instances4.alice.encrypt8(146), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 1 (523722139, 41)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 1 (232635457, 170)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(523722139), - this.instances4.alice.encrypt8(41), + this.instances4.alice.encrypt32(232635457), + this.instances4.alice.encrypt8(170), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint8) => ebool test 2 (37, 41)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 2 (166, 170)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(37), - this.instances4.alice.encrypt8(41), + this.instances4.alice.encrypt32(166), + this.instances4.alice.encrypt8(170), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 3 (41, 41)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 3 (170, 170)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(41), - this.instances4.alice.encrypt8(41), + this.instances4.alice.encrypt32(170), + this.instances4.alice.encrypt8(170), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 4 (41, 37)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 4 (170, 166)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(41), - this.instances4.alice.encrypt8(37), + this.instances4.alice.encrypt32(170), + this.instances4.alice.encrypt8(166), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 1 (1044281941, 77)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 1 (89546642, 186)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(1044281941), - this.instances4.alice.encrypt8(77), + this.instances4.alice.encrypt32(89546642), + this.instances4.alice.encrypt8(186), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 2 (73, 77)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 2 (182, 186)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(73), - this.instances4.alice.encrypt8(77), + this.instances4.alice.encrypt32(182), + this.instances4.alice.encrypt8(186), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 3 (77, 77)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 3 (186, 186)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(77), - this.instances4.alice.encrypt8(77), + this.instances4.alice.encrypt32(186), + this.instances4.alice.encrypt8(186), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 4 (77, 73)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 4 (186, 182)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(77), - this.instances4.alice.encrypt8(73), + this.instances4.alice.encrypt32(186), + this.instances4.alice.encrypt8(182), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 1 (390943086, 113)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 1 (58829340, 181)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(390943086), - this.instances4.alice.encrypt8(113), + this.instances4.alice.encrypt32(58829340), + this.instances4.alice.encrypt8(181), ); - expect(res).to.equal(113); + expect(res).to.equal(181); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 2 (109, 113)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 2 (177, 181)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(109), - this.instances4.alice.encrypt8(113), + this.instances4.alice.encrypt32(177), + this.instances4.alice.encrypt8(181), ); - expect(res).to.equal(109); + expect(res).to.equal(177); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 3 (113, 113)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 3 (181, 181)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(113), - this.instances4.alice.encrypt8(113), + this.instances4.alice.encrypt32(181), + this.instances4.alice.encrypt8(181), ); - expect(res).to.equal(113); + expect(res).to.equal(181); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 4 (113, 109)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 4 (181, 177)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(113), - this.instances4.alice.encrypt8(109), + this.instances4.alice.encrypt32(181), + this.instances4.alice.encrypt8(177), ); - expect(res).to.equal(109); + expect(res).to.equal(177); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 1 (135, 1)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 1 (8800615, 210)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(135), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt32(8800615), + this.instances4.alice.encrypt8(210), ); - expect(res).to.equal(135); + expect(res).to.equal(8800615); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 2 (81, 85)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 2 (206, 210)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(81), - this.instances4.alice.encrypt8(85), + this.instances4.alice.encrypt32(206), + this.instances4.alice.encrypt8(210), ); - expect(res).to.equal(85); + expect(res).to.equal(210); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 3 (85, 85)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 3 (210, 210)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(85), - this.instances4.alice.encrypt8(85), + this.instances4.alice.encrypt32(210), + this.instances4.alice.encrypt8(210), ); - expect(res).to.equal(85); + expect(res).to.equal(210); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 4 (85, 81)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 4 (210, 206)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(85), - this.instances4.alice.encrypt8(81), + this.instances4.alice.encrypt32(210), + this.instances4.alice.encrypt8(206), ); - expect(res).to.equal(85); + expect(res).to.equal(210); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 1 (41642, 13)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 1 (42385, 126)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(41642), - this.instances4.alice.encrypt16(13), + this.instances4.alice.encrypt32(42385), + this.instances4.alice.encrypt16(126), ); - expect(res).to.equal(41655); + expect(res).to.equal(42511); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 2 (28344, 28348)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 2 (32398, 32400)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(28344), - this.instances4.alice.encrypt16(28348), + this.instances4.alice.encrypt32(32398), + this.instances4.alice.encrypt16(32400), ); - expect(res).to.equal(56692); + expect(res).to.equal(64798); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 3 (28348, 28348)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 3 (32400, 32400)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(28348), - this.instances4.alice.encrypt16(28348), + this.instances4.alice.encrypt32(32400), + this.instances4.alice.encrypt16(32400), ); - expect(res).to.equal(56696); + expect(res).to.equal(64800); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 4 (28348, 28344)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 4 (32400, 32398)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(28348), - this.instances4.alice.encrypt16(28344), + this.instances4.alice.encrypt32(32400), + this.instances4.alice.encrypt16(32398), ); - expect(res).to.equal(56692); + expect(res).to.equal(64798); }); - it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (4191, 4191)', async function () { + it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (43081, 43081)', async function () { const res = await this.contract4.sub_euint32_euint16( - this.instances4.alice.encrypt32(4191), - this.instances4.alice.encrypt16(4191), + this.instances4.alice.encrypt32(43081), + this.instances4.alice.encrypt16(43081), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, euint16) => euint32 test 2 (4191, 4187)', async function () { + it('test operator "sub" overload (euint32, euint16) => euint32 test 2 (43081, 43077)', async function () { const res = await this.contract4.sub_euint32_euint16( - this.instances4.alice.encrypt32(4191), - this.instances4.alice.encrypt16(4187), + this.instances4.alice.encrypt32(43081), + this.instances4.alice.encrypt16(43077), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (56978, 1)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (9346, 3)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(56978), - this.instances4.alice.encrypt16(1), + this.instances4.alice.encrypt32(9346), + this.instances4.alice.encrypt16(3), ); - expect(res).to.equal(56978); + expect(res).to.equal(28038); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 2 (159, 159)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 2 (206, 206)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(159), - this.instances4.alice.encrypt16(159), + this.instances4.alice.encrypt32(206), + this.instances4.alice.encrypt16(206), ); - expect(res).to.equal(25281); + expect(res).to.equal(42436); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 3 (159, 159)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 3 (206, 206)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(159), - this.instances4.alice.encrypt16(159), + this.instances4.alice.encrypt32(206), + this.instances4.alice.encrypt16(206), ); - expect(res).to.equal(25281); + expect(res).to.equal(42436); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 4 (159, 159)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 4 (206, 206)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(159), - this.instances4.alice.encrypt16(159), + this.instances4.alice.encrypt32(206), + this.instances4.alice.encrypt16(206), ); - expect(res).to.equal(25281); + expect(res).to.equal(42436); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 1 (1757898274, 20019)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 1 (241094180, 53800)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(1757898274), - this.instances4.alice.encrypt16(20019), + this.instances4.alice.encrypt32(241094180), + this.instances4.alice.encrypt16(53800), ); - expect(res).to.equal(17954); + expect(res).to.equal(49696); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 2 (20015, 20019)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 2 (53796, 53800)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(20015), - this.instances4.alice.encrypt16(20019), + this.instances4.alice.encrypt32(53796), + this.instances4.alice.encrypt16(53800), ); - expect(res).to.equal(20003); + expect(res).to.equal(53792); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 3 (20019, 20019)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 3 (53800, 53800)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(20019), - this.instances4.alice.encrypt16(20019), + this.instances4.alice.encrypt32(53800), + this.instances4.alice.encrypt16(53800), ); - expect(res).to.equal(20019); + expect(res).to.equal(53800); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 4 (20019, 20015)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 4 (53800, 53796)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(20019), - this.instances4.alice.encrypt16(20015), + this.instances4.alice.encrypt32(53800), + this.instances4.alice.encrypt16(53796), ); - expect(res).to.equal(20003); + expect(res).to.equal(53792); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 1 (40006, 1)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 1 (51366153, 45753)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(40006), - this.instances4.alice.encrypt16(1), + this.instances4.alice.encrypt32(51366153), + this.instances4.alice.encrypt16(45753), ); - expect(res).to.equal(40007); + expect(res).to.equal(51379129); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 2 (46882, 46886)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 2 (45749, 45753)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(46882), - this.instances4.alice.encrypt16(46886), + this.instances4.alice.encrypt32(45749), + this.instances4.alice.encrypt16(45753), ); - expect(res).to.equal(46886); + expect(res).to.equal(45757); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 3 (46886, 46886)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 3 (45753, 45753)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(46886), - this.instances4.alice.encrypt16(46886), + this.instances4.alice.encrypt32(45753), + this.instances4.alice.encrypt16(45753), ); - expect(res).to.equal(46886); + expect(res).to.equal(45753); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 4 (46886, 46882)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 4 (45753, 45749)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(46886), - this.instances4.alice.encrypt16(46882), + this.instances4.alice.encrypt32(45753), + this.instances4.alice.encrypt16(45749), ); - expect(res).to.equal(46886); + expect(res).to.equal(45757); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (53760, 15)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (30847431, 51762)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(53760), - this.instances4.alice.encrypt16(15), + this.instances4.alice.encrypt32(30847431), + this.instances4.alice.encrypt16(51762), ); - expect(res).to.equal(53775); + expect(res).to.equal(30833653); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 2 (64891, 64895)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 2 (51758, 51762)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(64891), - this.instances4.alice.encrypt16(64895), + this.instances4.alice.encrypt32(51758), + this.instances4.alice.encrypt16(51762), ); - expect(res).to.equal(4); + expect(res).to.equal(28); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 3 (64895, 64895)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 3 (51762, 51762)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(64895), - this.instances4.alice.encrypt16(64895), + this.instances4.alice.encrypt32(51762), + this.instances4.alice.encrypt16(51762), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 4 (64895, 64891)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 4 (51762, 51758)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(64895), - this.instances4.alice.encrypt16(64891), + this.instances4.alice.encrypt32(51762), + this.instances4.alice.encrypt16(51758), ); - expect(res).to.equal(4); + expect(res).to.equal(28); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 1 (1270694518, 22132)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 1 (82686069, 20674)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(1270694518), - this.instances4.alice.encrypt16(22132), + this.instances4.alice.encrypt32(82686069), + this.instances4.alice.encrypt16(20674), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 2 (22128, 22132)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 2 (20670, 20674)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(22128), - this.instances4.alice.encrypt16(22132), + this.instances4.alice.encrypt32(20670), + this.instances4.alice.encrypt16(20674), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 3 (22132, 22132)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 3 (20674, 20674)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(22132), - this.instances4.alice.encrypt16(22132), + this.instances4.alice.encrypt32(20674), + this.instances4.alice.encrypt16(20674), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 4 (22132, 22128)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 4 (20674, 20670)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(22132), - this.instances4.alice.encrypt16(22128), + this.instances4.alice.encrypt32(20674), + this.instances4.alice.encrypt16(20670), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 1 (1211702728, 13344)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 1 (3660714, 6484)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(1211702728), - this.instances4.alice.encrypt16(13344), + this.instances4.alice.encrypt32(3660714), + this.instances4.alice.encrypt16(6484), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 2 (13340, 13344)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 2 (6480, 6484)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(13340), - this.instances4.alice.encrypt16(13344), + this.instances4.alice.encrypt32(6480), + this.instances4.alice.encrypt16(6484), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 3 (13344, 13344)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 3 (6484, 6484)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(13344), - this.instances4.alice.encrypt16(13344), + this.instances4.alice.encrypt32(6484), + this.instances4.alice.encrypt16(6484), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 4 (13344, 13340)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 4 (6484, 6480)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(13344), - this.instances4.alice.encrypt16(13340), + this.instances4.alice.encrypt32(6484), + this.instances4.alice.encrypt16(6480), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 1 (627970552, 58999)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 1 (182035180, 57858)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(627970552), - this.instances4.alice.encrypt16(58999), + this.instances4.alice.encrypt32(182035180), + this.instances4.alice.encrypt16(57858), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 2 (58995, 58999)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 2 (57854, 57858)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(58995), - this.instances4.alice.encrypt16(58999), + this.instances4.alice.encrypt32(57854), + this.instances4.alice.encrypt16(57858), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 3 (58999, 58999)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 3 (57858, 57858)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(58999), - this.instances4.alice.encrypt16(58999), + this.instances4.alice.encrypt32(57858), + this.instances4.alice.encrypt16(57858), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 4 (58999, 58995)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 4 (57858, 57854)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(58999), - this.instances4.alice.encrypt16(58995), + this.instances4.alice.encrypt32(57858), + this.instances4.alice.encrypt16(57854), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 1 (1801714413, 56461)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 1 (228583889, 65231)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(1801714413), - this.instances4.alice.encrypt16(56461), + this.instances4.alice.encrypt32(228583889), + this.instances4.alice.encrypt16(65231), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 2 (56457, 56461)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 2 (65227, 65231)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(56457), - this.instances4.alice.encrypt16(56461), + this.instances4.alice.encrypt32(65227), + this.instances4.alice.encrypt16(65231), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 3 (56461, 56461)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 3 (65231, 65231)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(56461), - this.instances4.alice.encrypt16(56461), + this.instances4.alice.encrypt32(65231), + this.instances4.alice.encrypt16(65231), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 4 (56461, 56457)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 4 (65231, 65227)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(56461), - this.instances4.alice.encrypt16(56457), + this.instances4.alice.encrypt32(65231), + this.instances4.alice.encrypt16(65227), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 1 (523722139, 51250)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 1 (232635457, 42879)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(523722139), - this.instances4.alice.encrypt16(51250), + this.instances4.alice.encrypt32(232635457), + this.instances4.alice.encrypt16(42879), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint16) => ebool test 2 (51246, 51250)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 2 (42875, 42879)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(51246), - this.instances4.alice.encrypt16(51250), + this.instances4.alice.encrypt32(42875), + this.instances4.alice.encrypt16(42879), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 3 (51250, 51250)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 3 (42879, 42879)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(51250), - this.instances4.alice.encrypt16(51250), + this.instances4.alice.encrypt32(42879), + this.instances4.alice.encrypt16(42879), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 4 (51250, 51246)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 4 (42879, 42875)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(51250), - this.instances4.alice.encrypt16(51246), + this.instances4.alice.encrypt32(42879), + this.instances4.alice.encrypt16(42875), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 1 (1044281941, 44435)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 1 (89546642, 11355)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(1044281941), - this.instances4.alice.encrypt16(44435), + this.instances4.alice.encrypt32(89546642), + this.instances4.alice.encrypt16(11355), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 2 (44431, 44435)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 2 (11351, 11355)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(44431), - this.instances4.alice.encrypt16(44435), + this.instances4.alice.encrypt32(11351), + this.instances4.alice.encrypt16(11355), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 3 (44435, 44435)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 3 (11355, 11355)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(44435), - this.instances4.alice.encrypt16(44435), + this.instances4.alice.encrypt32(11355), + this.instances4.alice.encrypt16(11355), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 4 (44435, 44431)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 4 (11355, 11351)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(44435), - this.instances4.alice.encrypt16(44431), + this.instances4.alice.encrypt32(11355), + this.instances4.alice.encrypt16(11351), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 1 (390943086, 41085)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 1 (58829340, 33486)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(390943086), - this.instances4.alice.encrypt16(41085), + this.instances4.alice.encrypt32(58829340), + this.instances4.alice.encrypt16(33486), ); - expect(res).to.equal(41085); + expect(res).to.equal(33486); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 2 (41081, 41085)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 2 (33482, 33486)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(41081), - this.instances4.alice.encrypt16(41085), + this.instances4.alice.encrypt32(33482), + this.instances4.alice.encrypt16(33486), ); - expect(res).to.equal(41081); + expect(res).to.equal(33482); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 3 (41085, 41085)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 3 (33486, 33486)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(41085), - this.instances4.alice.encrypt16(41085), + this.instances4.alice.encrypt32(33486), + this.instances4.alice.encrypt16(33486), ); - expect(res).to.equal(41085); + expect(res).to.equal(33486); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 4 (41085, 41081)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 4 (33486, 33482)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(41085), - this.instances4.alice.encrypt16(41081), + this.instances4.alice.encrypt32(33486), + this.instances4.alice.encrypt16(33482), ); - expect(res).to.equal(41081); + expect(res).to.equal(33482); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 1 (34584, 1)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 1 (8800615, 31093)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(34584), - this.instances4.alice.encrypt16(1), + this.instances4.alice.encrypt32(8800615), + this.instances4.alice.encrypt16(31093), ); - expect(res).to.equal(34584); + expect(res).to.equal(8800615); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 2 (2745, 2749)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 2 (31089, 31093)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(2745), - this.instances4.alice.encrypt16(2749), + this.instances4.alice.encrypt32(31089), + this.instances4.alice.encrypt16(31093), ); - expect(res).to.equal(2749); + expect(res).to.equal(31093); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 3 (2749, 2749)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 3 (31093, 31093)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(2749), - this.instances4.alice.encrypt16(2749), + this.instances4.alice.encrypt32(31093), + this.instances4.alice.encrypt16(31093), ); - expect(res).to.equal(2749); + expect(res).to.equal(31093); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 4 (2749, 2745)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 4 (31093, 31089)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(2749), - this.instances4.alice.encrypt16(2745), + this.instances4.alice.encrypt32(31093), + this.instances4.alice.encrypt16(31089), ); - expect(res).to.equal(2749); + expect(res).to.equal(31093); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 1 (85283614, 1389046047)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 1 (21701237, 233681477)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(85283614), - this.instances4.alice.encrypt32(1389046047), + this.instances4.alice.encrypt32(21701237), + this.instances4.alice.encrypt32(233681477), ); - expect(res).to.equal(1474329661); + expect(res).to.equal(255382714); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 2 (85283610, 85283614)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 2 (21701233, 21701237)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(85283610), - this.instances4.alice.encrypt32(85283614), + this.instances4.alice.encrypt32(21701233), + this.instances4.alice.encrypt32(21701237), ); - expect(res).to.equal(170567224); + expect(res).to.equal(43402470); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 3 (85283614, 85283614)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 3 (21701237, 21701237)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(85283614), - this.instances4.alice.encrypt32(85283614), + this.instances4.alice.encrypt32(21701237), + this.instances4.alice.encrypt32(21701237), ); - expect(res).to.equal(170567228); + expect(res).to.equal(43402474); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 4 (85283614, 85283610)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 4 (21701237, 21701233)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(85283614), - this.instances4.alice.encrypt32(85283610), + this.instances4.alice.encrypt32(21701237), + this.instances4.alice.encrypt32(21701233), ); - expect(res).to.equal(170567224); + expect(res).to.equal(43402470); }); - it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (949346704, 949346704)', async function () { + it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (142194314, 142194314)', async function () { const res = await this.contract4.sub_euint32_euint32( - this.instances4.alice.encrypt32(949346704), - this.instances4.alice.encrypt32(949346704), + this.instances4.alice.encrypt32(142194314), + this.instances4.alice.encrypt32(142194314), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, euint32) => euint32 test 2 (949346704, 949346700)', async function () { + it('test operator "sub" overload (euint32, euint32) => euint32 test 2 (142194314, 142194310)', async function () { const res = await this.contract4.sub_euint32_euint32( - this.instances4.alice.encrypt32(949346704), - this.instances4.alice.encrypt32(949346700), + this.instances4.alice.encrypt32(142194314), + this.instances4.alice.encrypt32(142194310), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (28489, 38748)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (74769, 34417)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(28489), - this.instances4.alice.encrypt32(38748), + this.instances4.alice.encrypt32(74769), + this.instances4.alice.encrypt32(34417), ); - expect(res).to.equal(1103891772); + expect(res).to.equal(2573324673); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 2 (56978, 56978)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 2 (34417, 34417)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(56978), - this.instances4.alice.encrypt32(56978), + this.instances4.alice.encrypt32(34417), + this.instances4.alice.encrypt32(34417), ); - expect(res).to.equal(3246492484); + expect(res).to.equal(1184529889); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 3 (56978, 56978)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 3 (34417, 34417)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(56978), - this.instances4.alice.encrypt32(56978), + this.instances4.alice.encrypt32(34417), + this.instances4.alice.encrypt32(34417), ); - expect(res).to.equal(3246492484); + expect(res).to.equal(1184529889); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 4 (56978, 56978)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 4 (34417, 34417)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(56978), - this.instances4.alice.encrypt32(56978), + this.instances4.alice.encrypt32(34417), + this.instances4.alice.encrypt32(34417), ); - expect(res).to.equal(3246492484); + expect(res).to.equal(1184529889); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 1 (1757898274, 1599687665)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 1 (241094180, 79267520)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(1757898274), - this.instances4.alice.encrypt32(1599687665), + this.instances4.alice.encrypt32(241094180), + this.instances4.alice.encrypt32(79267520), ); - expect(res).to.equal(1212236320); + expect(res).to.equal(68716032); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 2 (1599687661, 1599687665)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 2 (79267516, 79267520)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(1599687661), - this.instances4.alice.encrypt32(1599687665), + this.instances4.alice.encrypt32(79267516), + this.instances4.alice.encrypt32(79267520), ); - expect(res).to.equal(1599687649); + expect(res).to.equal(79267456); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 3 (1599687665, 1599687665)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 3 (79267520, 79267520)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(1599687665), - this.instances4.alice.encrypt32(1599687665), + this.instances4.alice.encrypt32(79267520), + this.instances4.alice.encrypt32(79267520), ); - expect(res).to.equal(1599687665); + expect(res).to.equal(79267520); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 4 (1599687665, 1599687661)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 4 (79267520, 79267516)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(1599687665), - this.instances4.alice.encrypt32(1599687661), + this.instances4.alice.encrypt32(79267520), + this.instances4.alice.encrypt32(79267516), ); - expect(res).to.equal(1599687649); + expect(res).to.equal(79267456); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 1 (1310933534, 968535512)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 1 (51366153, 128317949)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(1310933534), - this.instances4.alice.encrypt32(968535512), + this.instances4.alice.encrypt32(51366153), + this.instances4.alice.encrypt32(128317949), ); - expect(res).to.equal(2143023070); + expect(res).to.equal(128973309); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 2 (968535508, 968535512)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 2 (51366149, 51366153)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(968535508), - this.instances4.alice.encrypt32(968535512), + this.instances4.alice.encrypt32(51366149), + this.instances4.alice.encrypt32(51366153), ); - expect(res).to.equal(968535516); + expect(res).to.equal(51366157); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 3 (968535512, 968535512)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 3 (51366153, 51366153)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(968535512), - this.instances4.alice.encrypt32(968535512), + this.instances4.alice.encrypt32(51366153), + this.instances4.alice.encrypt32(51366153), ); - expect(res).to.equal(968535512); + expect(res).to.equal(51366153); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 4 (968535512, 968535508)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 4 (51366153, 51366149)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(968535512), - this.instances4.alice.encrypt32(968535508), + this.instances4.alice.encrypt32(51366153), + this.instances4.alice.encrypt32(51366149), ); - expect(res).to.equal(968535516); + expect(res).to.equal(51366157); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (220202687, 1588836729)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (30847431, 53515901)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(220202687), - this.instances4.alice.encrypt32(1588836729), + this.instances4.alice.encrypt32(30847431), + this.instances4.alice.encrypt32(53515901), ); - expect(res).to.equal(1402191814); + expect(res).to.equal(48637882); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (220202683, 220202687)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (30847427, 30847431)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(220202683), - this.instances4.alice.encrypt32(220202687), + this.instances4.alice.encrypt32(30847427), + this.instances4.alice.encrypt32(30847431), ); expect(res).to.equal(4); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 3 (220202687, 220202687)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 3 (30847431, 30847431)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(220202687), - this.instances4.alice.encrypt32(220202687), + this.instances4.alice.encrypt32(30847431), + this.instances4.alice.encrypt32(30847431), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 4 (220202687, 220202683)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 4 (30847431, 30847427)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(220202687), - this.instances4.alice.encrypt32(220202683), + this.instances4.alice.encrypt32(30847431), + this.instances4.alice.encrypt32(30847427), ); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 1 (1270694518, 247535168)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 1 (82686069, 111825281)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(1270694518), - this.instances4.alice.encrypt32(247535168), + this.instances4.alice.encrypt32(82686069), + this.instances4.alice.encrypt32(111825281), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 2 (247535164, 247535168)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 2 (82686065, 82686069)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(247535164), - this.instances4.alice.encrypt32(247535168), + this.instances4.alice.encrypt32(82686065), + this.instances4.alice.encrypt32(82686069), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 3 (247535168, 247535168)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 3 (82686069, 82686069)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(247535168), - this.instances4.alice.encrypt32(247535168), + this.instances4.alice.encrypt32(82686069), + this.instances4.alice.encrypt32(82686069), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 4 (247535168, 247535164)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 4 (82686069, 82686065)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(247535168), - this.instances4.alice.encrypt32(247535164), + this.instances4.alice.encrypt32(82686069), + this.instances4.alice.encrypt32(82686065), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 1 (1211702728, 563095027)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 1 (3660714, 184322766)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(1211702728), - this.instances4.alice.encrypt32(563095027), + this.instances4.alice.encrypt32(3660714), + this.instances4.alice.encrypt32(184322766), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 2 (563095023, 563095027)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 2 (3660710, 3660714)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(563095023), - this.instances4.alice.encrypt32(563095027), + this.instances4.alice.encrypt32(3660710), + this.instances4.alice.encrypt32(3660714), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 3 (563095027, 563095027)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 3 (3660714, 3660714)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(563095027), - this.instances4.alice.encrypt32(563095027), + this.instances4.alice.encrypt32(3660714), + this.instances4.alice.encrypt32(3660714), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 4 (563095027, 563095023)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 4 (3660714, 3660710)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(563095027), - this.instances4.alice.encrypt32(563095023), + this.instances4.alice.encrypt32(3660714), + this.instances4.alice.encrypt32(3660710), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 1 (627970552, 2136326684)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 1 (182035180, 102858487)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(627970552), - this.instances4.alice.encrypt32(2136326684), + this.instances4.alice.encrypt32(182035180), + this.instances4.alice.encrypt32(102858487), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 2 (627970548, 627970552)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 2 (102858483, 102858487)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(627970548), - this.instances4.alice.encrypt32(627970552), + this.instances4.alice.encrypt32(102858483), + this.instances4.alice.encrypt32(102858487), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 3 (627970552, 627970552)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 3 (102858487, 102858487)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(627970552), - this.instances4.alice.encrypt32(627970552), + this.instances4.alice.encrypt32(102858487), + this.instances4.alice.encrypt32(102858487), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 4 (627970552, 627970548)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 4 (102858487, 102858483)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(627970552), - this.instances4.alice.encrypt32(627970548), + this.instances4.alice.encrypt32(102858487), + this.instances4.alice.encrypt32(102858483), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 1 (1801714413, 831227104)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 1 (228583889, 44696680)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(1801714413), - this.instances4.alice.encrypt32(831227104), + this.instances4.alice.encrypt32(228583889), + this.instances4.alice.encrypt32(44696680), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 2 (831227100, 831227104)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 2 (44696676, 44696680)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(831227100), - this.instances4.alice.encrypt32(831227104), + this.instances4.alice.encrypt32(44696676), + this.instances4.alice.encrypt32(44696680), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 3 (831227104, 831227104)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 3 (44696680, 44696680)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(831227104), - this.instances4.alice.encrypt32(831227104), + this.instances4.alice.encrypt32(44696680), + this.instances4.alice.encrypt32(44696680), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 4 (831227104, 831227100)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 4 (44696680, 44696676)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(831227104), - this.instances4.alice.encrypt32(831227100), + this.instances4.alice.encrypt32(44696680), + this.instances4.alice.encrypt32(44696676), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 1 (523722139, 878801545)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 1 (232635457, 156819794)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(523722139), - this.instances4.alice.encrypt32(878801545), + this.instances4.alice.encrypt32(232635457), + this.instances4.alice.encrypt32(156819794), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint32) => ebool test 2 (523722135, 523722139)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 2 (156819790, 156819794)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(523722135), - this.instances4.alice.encrypt32(523722139), + this.instances4.alice.encrypt32(156819790), + this.instances4.alice.encrypt32(156819794), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 3 (523722139, 523722139)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 3 (156819794, 156819794)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(523722139), - this.instances4.alice.encrypt32(523722139), + this.instances4.alice.encrypt32(156819794), + this.instances4.alice.encrypt32(156819794), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 4 (523722139, 523722135)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 4 (156819794, 156819790)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(523722139), - this.instances4.alice.encrypt32(523722135), + this.instances4.alice.encrypt32(156819794), + this.instances4.alice.encrypt32(156819790), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 1 (1044281941, 27475171)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 1 (89546642, 135434402)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(1044281941), - this.instances4.alice.encrypt32(27475171), + this.instances4.alice.encrypt32(89546642), + this.instances4.alice.encrypt32(135434402), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 2 (27475167, 27475171)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 2 (89546638, 89546642)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(27475167), - this.instances4.alice.encrypt32(27475171), + this.instances4.alice.encrypt32(89546638), + this.instances4.alice.encrypt32(89546642), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 3 (27475171, 27475171)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 3 (89546642, 89546642)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(27475171), - this.instances4.alice.encrypt32(27475171), + this.instances4.alice.encrypt32(89546642), + this.instances4.alice.encrypt32(89546642), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 4 (27475171, 27475167)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 4 (89546642, 89546638)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(27475171), - this.instances4.alice.encrypt32(27475167), + this.instances4.alice.encrypt32(89546642), + this.instances4.alice.encrypt32(89546638), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 1 (390943086, 2102211879)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 1 (58829340, 209742110)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(390943086), - this.instances4.alice.encrypt32(2102211879), + this.instances4.alice.encrypt32(58829340), + this.instances4.alice.encrypt32(209742110), ); - expect(res).to.equal(390943086); + expect(res).to.equal(58829340); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 2 (390943082, 390943086)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 2 (58829336, 58829340)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(390943082), - this.instances4.alice.encrypt32(390943086), + this.instances4.alice.encrypt32(58829336), + this.instances4.alice.encrypt32(58829340), ); - expect(res).to.equal(390943082); + expect(res).to.equal(58829336); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 3 (390943086, 390943086)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 3 (58829340, 58829340)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(390943086), - this.instances4.alice.encrypt32(390943086), + this.instances4.alice.encrypt32(58829340), + this.instances4.alice.encrypt32(58829340), ); - expect(res).to.equal(390943086); + expect(res).to.equal(58829340); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 4 (390943086, 390943082)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 4 (58829340, 58829336)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(390943086), - this.instances4.alice.encrypt32(390943082), + this.instances4.alice.encrypt32(58829340), + this.instances4.alice.encrypt32(58829336), ); - expect(res).to.equal(390943082); + expect(res).to.equal(58829336); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 1 (283314521, 1686574997)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 1 (8800615, 151759654)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(283314521), - this.instances4.alice.encrypt32(1686574997), + this.instances4.alice.encrypt32(8800615), + this.instances4.alice.encrypt32(151759654), ); - expect(res).to.equal(1686574997); + expect(res).to.equal(151759654); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 2 (283314517, 283314521)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 2 (8800611, 8800615)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(283314517), - this.instances4.alice.encrypt32(283314521), + this.instances4.alice.encrypt32(8800611), + this.instances4.alice.encrypt32(8800615), ); - expect(res).to.equal(283314521); + expect(res).to.equal(8800615); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 3 (283314521, 283314521)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 3 (8800615, 8800615)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(283314521), - this.instances4.alice.encrypt32(283314521), + this.instances4.alice.encrypt32(8800615), + this.instances4.alice.encrypt32(8800615), ); - expect(res).to.equal(283314521); + expect(res).to.equal(8800615); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 4 (283314521, 283314517)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 4 (8800615, 8800611)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(283314521), - this.instances4.alice.encrypt32(283314517), + this.instances4.alice.encrypt32(8800615), + this.instances4.alice.encrypt32(8800611), ); - expect(res).to.equal(283314521); + expect(res).to.equal(8800615); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 1 (343329587, 532996009)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 1 (203659740, 114096043)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(343329587), - this.instances4.alice.encrypt64(532996009), + this.instances4.alice.encrypt32(203659740), + this.instances4.alice.encrypt64(114096043), ); - expect(res).to.equal(876325596); + expect(res).to.equal(317755783); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 2 (343329583, 343329587)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 2 (114096039, 114096043)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(343329583), - this.instances4.alice.encrypt64(343329587), + this.instances4.alice.encrypt32(114096039), + this.instances4.alice.encrypt64(114096043), ); - expect(res).to.equal(686659170); + expect(res).to.equal(228192082); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 3 (343329587, 343329587)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 3 (114096043, 114096043)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(343329587), - this.instances4.alice.encrypt64(343329587), + this.instances4.alice.encrypt32(114096043), + this.instances4.alice.encrypt64(114096043), ); - expect(res).to.equal(686659174); + expect(res).to.equal(228192086); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 4 (343329587, 343329583)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 4 (114096043, 114096039)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(343329587), - this.instances4.alice.encrypt64(343329583), + this.instances4.alice.encrypt32(114096043), + this.instances4.alice.encrypt64(114096039), ); - expect(res).to.equal(686659170); + expect(res).to.equal(228192082); }); - it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (108582607, 108582607)', async function () { + it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (116748811, 116748811)', async function () { const res = await this.contract4.sub_euint32_euint64( - this.instances4.alice.encrypt32(108582607), - this.instances4.alice.encrypt64(108582607), + this.instances4.alice.encrypt32(116748811), + this.instances4.alice.encrypt64(116748811), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, euint64) => euint64 test 2 (108582607, 108582603)', async function () { + it('test operator "sub" overload (euint32, euint64) => euint64 test 2 (116748811, 116748807)', async function () { const res = await this.contract4.sub_euint32_euint64( - this.instances4.alice.encrypt32(108582607), - this.instances4.alice.encrypt64(108582603), + this.instances4.alice.encrypt32(116748811), + this.instances4.alice.encrypt64(116748807), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (145351, 9637)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (10792, 161277)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(145351), - this.instances4.alice.encrypt64(9637), + this.instances4.alice.encrypt32(10792), + this.instances4.alice.encrypt64(161277), ); - expect(res).to.equal(1400747587); + expect(res).to.equal(1740501384); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 2 (38548, 38548)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 2 (43171, 43171)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(38548), - this.instances4.alice.encrypt64(38548), + this.instances4.alice.encrypt32(43171), + this.instances4.alice.encrypt64(43171), ); - expect(res).to.equal(1485948304); + expect(res).to.equal(1863735241); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 3 (38548, 38548)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 3 (43171, 43171)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(38548), - this.instances4.alice.encrypt64(38548), + this.instances4.alice.encrypt32(43171), + this.instances4.alice.encrypt64(43171), ); - expect(res).to.equal(1485948304); + expect(res).to.equal(1863735241); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 4 (38548, 38548)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 4 (43171, 43171)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(38548), - this.instances4.alice.encrypt64(38548), + this.instances4.alice.encrypt32(43171), + this.instances4.alice.encrypt64(43171), ); - expect(res).to.equal(1485948304); + expect(res).to.equal(1863735241); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 1 (1757898274, 276645072)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 1 (241094180, 246901357)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(1757898274), - this.instances4.alice.encrypt64(276645072), + this.instances4.alice.encrypt32(241094180), + this.instances4.alice.encrypt64(246901357), ); - expect(res).to.equal(4539392); + expect(res).to.equal(236341796); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 2 (276645068, 276645072)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 2 (241094176, 241094180)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(276645068), - this.instances4.alice.encrypt64(276645072), + this.instances4.alice.encrypt32(241094176), + this.instances4.alice.encrypt64(241094180), ); - expect(res).to.equal(276645056); + expect(res).to.equal(241094176); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 3 (276645072, 276645072)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 3 (241094180, 241094180)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(276645072), - this.instances4.alice.encrypt64(276645072), + this.instances4.alice.encrypt32(241094180), + this.instances4.alice.encrypt64(241094180), ); - expect(res).to.equal(276645072); + expect(res).to.equal(241094180); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 4 (276645072, 276645068)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 4 (241094180, 241094176)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(276645072), - this.instances4.alice.encrypt64(276645068), + this.instances4.alice.encrypt32(241094180), + this.instances4.alice.encrypt64(241094176), ); - expect(res).to.equal(276645056); + expect(res).to.equal(241094176); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 1 (1310933534, 287712997)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 1 (51366153, 141446953)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(1310933534), - this.instances4.alice.encrypt64(287712997), + this.instances4.alice.encrypt32(51366153), + this.instances4.alice.encrypt64(141446953), ); - expect(res).to.equal(1596417791); + expect(res).to.equal(191876905); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 2 (287712993, 287712997)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 2 (51366149, 51366153)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(287712993), - this.instances4.alice.encrypt64(287712997), + this.instances4.alice.encrypt32(51366149), + this.instances4.alice.encrypt64(51366153), ); - expect(res).to.equal(287712997); + expect(res).to.equal(51366157); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 3 (287712997, 287712997)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 3 (51366153, 51366153)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(287712997), - this.instances4.alice.encrypt64(287712997), + this.instances4.alice.encrypt32(51366153), + this.instances4.alice.encrypt64(51366153), ); - expect(res).to.equal(287712997); + expect(res).to.equal(51366153); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 4 (287712997, 287712993)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 4 (51366153, 51366149)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(287712997), - this.instances4.alice.encrypt64(287712993), + this.instances4.alice.encrypt32(51366153), + this.instances4.alice.encrypt64(51366149), ); - expect(res).to.equal(287712997); + expect(res).to.equal(51366157); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (220202687, 58005830)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (30847431, 224936709)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(220202687), - this.instances4.alice.encrypt64(58005830), + this.instances4.alice.encrypt32(30847431), + this.instances4.alice.encrypt64(224936709), ); - expect(res).to.equal(240459769); + expect(res).to.equal(213840578); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 2 (58005826, 58005830)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 2 (30847427, 30847431)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(58005826), - this.instances4.alice.encrypt64(58005830), + this.instances4.alice.encrypt32(30847427), + this.instances4.alice.encrypt64(30847431), ); expect(res).to.equal(4); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 3 (58005830, 58005830)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 3 (30847431, 30847431)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(58005830), - this.instances4.alice.encrypt64(58005830), + this.instances4.alice.encrypt32(30847431), + this.instances4.alice.encrypt64(30847431), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 4 (58005830, 58005826)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 4 (30847431, 30847427)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(58005830), - this.instances4.alice.encrypt64(58005826), + this.instances4.alice.encrypt32(30847431), + this.instances4.alice.encrypt64(30847427), ); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 1 (1877579186, 1428129540)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 1 (6049542, 40221551)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(1877579186), - this.instances4.alice.encrypt64(1428129540), + this.instances4.alice.encrypt32(6049542), + this.instances4.alice.encrypt64(40221551), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 2 (1428129536, 1428129540)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 2 (6049538, 6049542)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(1428129536), - this.instances4.alice.encrypt64(1428129540), + this.instances4.alice.encrypt32(6049538), + this.instances4.alice.encrypt64(6049542), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 3 (1428129540, 1428129540)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 3 (6049542, 6049542)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(1428129540), - this.instances4.alice.encrypt64(1428129540), + this.instances4.alice.encrypt32(6049542), + this.instances4.alice.encrypt64(6049542), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 4 (1428129540, 1428129536)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 4 (6049542, 6049538)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(1428129540), - this.instances4.alice.encrypt64(1428129536), + this.instances4.alice.encrypt32(6049542), + this.instances4.alice.encrypt64(6049538), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 1 (1464361694, 2125136992)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 1 (223424023, 59824452)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(1464361694), - this.instances4.alice.encrypt64(2125136992), + this.instances4.alice.encrypt32(223424023), + this.instances4.alice.encrypt64(59824452), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 2 (1464361690, 1464361694)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 2 (59824448, 59824452)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(1464361690), - this.instances4.alice.encrypt64(1464361694), + this.instances4.alice.encrypt32(59824448), + this.instances4.alice.encrypt64(59824452), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 3 (1464361694, 1464361694)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 3 (59824452, 59824452)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(1464361694), - this.instances4.alice.encrypt64(1464361694), + this.instances4.alice.encrypt32(59824452), + this.instances4.alice.encrypt64(59824452), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 4 (1464361694, 1464361690)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 4 (59824452, 59824448)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(1464361694), - this.instances4.alice.encrypt64(1464361690), + this.instances4.alice.encrypt32(59824452), + this.instances4.alice.encrypt64(59824448), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 1 (1972025848, 1698971084)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 1 (173909597, 200114020)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(1972025848), - this.instances4.alice.encrypt64(1698971084), + this.instances4.alice.encrypt32(173909597), + this.instances4.alice.encrypt64(200114020), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 2 (1698971080, 1698971084)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 2 (173909593, 173909597)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(1698971080), - this.instances4.alice.encrypt64(1698971084), + this.instances4.alice.encrypt32(173909593), + this.instances4.alice.encrypt64(173909597), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 3 (1698971084, 1698971084)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 3 (173909597, 173909597)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(1698971084), - this.instances4.alice.encrypt64(1698971084), + this.instances4.alice.encrypt32(173909597), + this.instances4.alice.encrypt64(173909597), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 4 (1698971084, 1698971080)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 4 (173909597, 173909593)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(1698971084), - this.instances4.alice.encrypt64(1698971080), + this.instances4.alice.encrypt32(173909597), + this.instances4.alice.encrypt64(173909593), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 1 (258393672, 1790809342)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 1 (51988955, 19324508)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(258393672), - this.instances4.alice.encrypt64(1790809342), + this.instances4.alice.encrypt32(51988955), + this.instances4.alice.encrypt64(19324508), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 2 (258393668, 258393672)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 2 (19324504, 19324508)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(258393668), - this.instances4.alice.encrypt64(258393672), + this.instances4.alice.encrypt32(19324504), + this.instances4.alice.encrypt64(19324508), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 3 (258393672, 258393672)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 3 (19324508, 19324508)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(258393672), - this.instances4.alice.encrypt64(258393672), + this.instances4.alice.encrypt32(19324508), + this.instances4.alice.encrypt64(19324508), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 4 (258393672, 258393668)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 4 (19324508, 19324504)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(258393672), - this.instances4.alice.encrypt64(258393668), + this.instances4.alice.encrypt32(19324508), + this.instances4.alice.encrypt64(19324504), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 1 (1167528973, 1661227936)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 1 (239805571, 15147063)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(1167528973), - this.instances4.alice.encrypt64(1661227936), + this.instances4.alice.encrypt32(239805571), + this.instances4.alice.encrypt64(15147063), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint64) => ebool test 2 (1167528969, 1167528973)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 2 (15147059, 15147063)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(1167528969), - this.instances4.alice.encrypt64(1167528973), + this.instances4.alice.encrypt32(15147059), + this.instances4.alice.encrypt64(15147063), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 3 (1167528973, 1167528973)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 3 (15147063, 15147063)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(1167528973), - this.instances4.alice.encrypt64(1167528973), + this.instances4.alice.encrypt32(15147063), + this.instances4.alice.encrypt64(15147063), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 4 (1167528973, 1167528969)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 4 (15147063, 15147059)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(1167528973), - this.instances4.alice.encrypt64(1167528969), + this.instances4.alice.encrypt32(15147063), + this.instances4.alice.encrypt64(15147059), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 1 (1829077110, 871332370)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 1 (87828731, 91983750)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(1829077110), - this.instances4.alice.encrypt64(871332370), + this.instances4.alice.encrypt32(87828731), + this.instances4.alice.encrypt64(91983750), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 2 (871332366, 871332370)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 2 (87828727, 87828731)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(871332366), - this.instances4.alice.encrypt64(871332370), + this.instances4.alice.encrypt32(87828727), + this.instances4.alice.encrypt64(87828731), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 3 (871332370, 871332370)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 3 (87828731, 87828731)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(871332370), - this.instances4.alice.encrypt64(871332370), + this.instances4.alice.encrypt32(87828731), + this.instances4.alice.encrypt64(87828731), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 4 (871332370, 871332366)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 4 (87828731, 87828727)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(871332370), - this.instances4.alice.encrypt64(871332366), + this.instances4.alice.encrypt32(87828731), + this.instances4.alice.encrypt64(87828727), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 1 (1819271941, 1588645185)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 1 (20594417, 150398136)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(1819271941), - this.instances4.alice.encrypt64(1588645185), + this.instances4.alice.encrypt32(20594417), + this.instances4.alice.encrypt64(150398136), ); - expect(res).to.equal(1588645185); + expect(res).to.equal(20594417); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 2 (1588645181, 1588645185)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 2 (20594413, 20594417)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(1588645181), - this.instances4.alice.encrypt64(1588645185), + this.instances4.alice.encrypt32(20594413), + this.instances4.alice.encrypt64(20594417), ); - expect(res).to.equal(1588645181); + expect(res).to.equal(20594413); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 3 (1588645185, 1588645185)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 3 (20594417, 20594417)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(1588645185), - this.instances4.alice.encrypt64(1588645185), + this.instances4.alice.encrypt32(20594417), + this.instances4.alice.encrypt64(20594417), ); - expect(res).to.equal(1588645185); + expect(res).to.equal(20594417); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 4 (1588645185, 1588645181)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 4 (20594417, 20594413)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(1588645185), - this.instances4.alice.encrypt64(1588645181), + this.instances4.alice.encrypt32(20594417), + this.instances4.alice.encrypt64(20594413), ); - expect(res).to.equal(1588645181); + expect(res).to.equal(20594413); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 1 (1446821827, 98162433)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 1 (220335343, 138563730)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(1446821827), - this.instances4.alice.encrypt64(98162433), + this.instances4.alice.encrypt32(220335343), + this.instances4.alice.encrypt64(138563730), ); - expect(res).to.equal(1446821827); + expect(res).to.equal(220335343); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 2 (98162429, 98162433)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 2 (138563726, 138563730)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(98162429), - this.instances4.alice.encrypt64(98162433), + this.instances4.alice.encrypt32(138563726), + this.instances4.alice.encrypt64(138563730), ); - expect(res).to.equal(98162433); + expect(res).to.equal(138563730); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 3 (98162433, 98162433)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 3 (138563730, 138563730)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(98162433), - this.instances4.alice.encrypt64(98162433), + this.instances4.alice.encrypt32(138563730), + this.instances4.alice.encrypt64(138563730), ); - expect(res).to.equal(98162433); + expect(res).to.equal(138563730); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 4 (98162433, 98162429)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 4 (138563730, 138563726)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(98162433), - this.instances4.alice.encrypt64(98162429), + this.instances4.alice.encrypt32(138563730), + this.instances4.alice.encrypt64(138563726), ); - expect(res).to.equal(98162433); + expect(res).to.equal(138563730); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 1 (85283614, 1598412404)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(85283614), 1598412404); - expect(res).to.equal(1683696018); + it('test operator "add" overload (euint32, uint32) => euint32 test 1 (21701237, 252093913)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(21701237), 252093913); + expect(res).to.equal(273795150); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 2 (85283610, 85283614)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(85283610), 85283614); - expect(res).to.equal(170567224); + it('test operator "add" overload (euint32, uint32) => euint32 test 2 (21701233, 21701237)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(21701233), 21701237); + expect(res).to.equal(43402470); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 3 (85283614, 85283614)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(85283614), 85283614); - expect(res).to.equal(170567228); + it('test operator "add" overload (euint32, uint32) => euint32 test 3 (21701237, 21701237)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(21701237), 21701237); + expect(res).to.equal(43402474); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 4 (85283614, 85283610)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(85283614), 85283610); - expect(res).to.equal(170567224); + it('test operator "add" overload (euint32, uint32) => euint32 test 4 (21701237, 21701233)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(21701237), 21701233); + expect(res).to.equal(43402470); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 1 (343329587, 1598412404)', async function () { - const res = await this.contract4.add_uint32_euint32(343329587, this.instances4.alice.encrypt32(1598412404)); - expect(res).to.equal(1941741991); + it('test operator "add" overload (uint32, euint32) => euint32 test 1 (203659740, 252093913)', async function () { + const res = await this.contract4.add_uint32_euint32(203659740, this.instances4.alice.encrypt32(252093913)); + expect(res).to.equal(455753653); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 2 (85283610, 85283614)', async function () { - const res = await this.contract4.add_uint32_euint32(85283610, this.instances4.alice.encrypt32(85283614)); - expect(res).to.equal(170567224); + it('test operator "add" overload (uint32, euint32) => euint32 test 2 (21701233, 21701237)', async function () { + const res = await this.contract4.add_uint32_euint32(21701233, this.instances4.alice.encrypt32(21701237)); + expect(res).to.equal(43402470); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 3 (85283614, 85283614)', async function () { - const res = await this.contract4.add_uint32_euint32(85283614, this.instances4.alice.encrypt32(85283614)); - expect(res).to.equal(170567228); + it('test operator "add" overload (uint32, euint32) => euint32 test 3 (21701237, 21701237)', async function () { + const res = await this.contract4.add_uint32_euint32(21701237, this.instances4.alice.encrypt32(21701237)); + expect(res).to.equal(43402474); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 4 (85283614, 85283610)', async function () { - const res = await this.contract4.add_uint32_euint32(85283614, this.instances4.alice.encrypt32(85283610)); - expect(res).to.equal(170567224); + it('test operator "add" overload (uint32, euint32) => euint32 test 4 (21701237, 21701233)', async function () { + const res = await this.contract4.add_uint32_euint32(21701237, this.instances4.alice.encrypt32(21701233)); + expect(res).to.equal(43402470); }); - it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (949346704, 949346704)', async function () { - const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(949346704), 949346704); + it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (142194314, 142194314)', async function () { + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(142194314), 142194314); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, uint32) => euint32 test 2 (949346704, 949346700)', async function () { - const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(949346704), 949346700); + it('test operator "sub" overload (euint32, uint32) => euint32 test 2 (142194314, 142194310)', async function () { + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(142194314), 142194310); expect(res).to.equal(4); }); - it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (949346704, 949346704)', async function () { - const res = await this.contract4.sub_uint32_euint32(949346704, this.instances4.alice.encrypt32(949346704)); + it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (142194314, 142194314)', async function () { + const res = await this.contract4.sub_uint32_euint32(142194314, this.instances4.alice.encrypt32(142194314)); expect(res).to.equal(0); }); - it('test operator "sub" overload (uint32, euint32) => euint32 test 2 (949346704, 949346700)', async function () { - const res = await this.contract4.sub_uint32_euint32(949346704, this.instances4.alice.encrypt32(949346700)); + it('test operator "sub" overload (uint32, euint32) => euint32 test 2 (142194314, 142194310)', async function () { + const res = await this.contract4.sub_uint32_euint32(142194314, this.instances4.alice.encrypt32(142194310)); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (28489, 51753)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(28489), 51753); - expect(res).to.equal(1474391217); + it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (37384, 56630)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(37384), 56630); + expect(res).to.equal(2117055920); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 2 (56978, 56978)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(56978), 56978); - expect(res).to.equal(3246492484); + it('test operator "mul" overload (euint32, uint32) => euint32 test 2 (34417, 34417)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(34417), 34417); + expect(res).to.equal(1184529889); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 3 (56978, 56978)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(56978), 56978); - expect(res).to.equal(3246492484); + it('test operator "mul" overload (euint32, uint32) => euint32 test 3 (34417, 34417)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(34417), 34417); + expect(res).to.equal(1184529889); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 4 (56978, 56978)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(56978), 56978); - expect(res).to.equal(3246492484); + it('test operator "mul" overload (euint32, uint32) => euint32 test 4 (34417, 34417)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(34417), 34417); + expect(res).to.equal(1184529889); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (72675, 51753)', async function () { - const res = await this.contract4.mul_uint32_euint32(72675, this.instances4.alice.encrypt32(51753)); - expect(res).to.equal(3761149275); + it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (5396, 226523)', async function () { + const res = await this.contract4.mul_uint32_euint32(5396, this.instances4.alice.encrypt32(226523)); + expect(res).to.equal(1222318108); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 2 (56978, 56978)', async function () { - const res = await this.contract4.mul_uint32_euint32(56978, this.instances4.alice.encrypt32(56978)); - expect(res).to.equal(3246492484); + it('test operator "mul" overload (uint32, euint32) => euint32 test 2 (34417, 34417)', async function () { + const res = await this.contract4.mul_uint32_euint32(34417, this.instances4.alice.encrypt32(34417)); + expect(res).to.equal(1184529889); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 3 (56978, 56978)', async function () { - const res = await this.contract4.mul_uint32_euint32(56978, this.instances4.alice.encrypt32(56978)); - expect(res).to.equal(3246492484); + it('test operator "mul" overload (uint32, euint32) => euint32 test 3 (34417, 34417)', async function () { + const res = await this.contract4.mul_uint32_euint32(34417, this.instances4.alice.encrypt32(34417)); + expect(res).to.equal(1184529889); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 4 (56978, 56978)', async function () { - const res = await this.contract4.mul_uint32_euint32(56978, this.instances4.alice.encrypt32(56978)); - expect(res).to.equal(3246492484); + it('test operator "mul" overload (uint32, euint32) => euint32 test 4 (34417, 34417)', async function () { + const res = await this.contract4.mul_uint32_euint32(34417, this.instances4.alice.encrypt32(34417)); + expect(res).to.equal(1184529889); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 1 (836400951, 1557627728)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(836400951), 1557627728); - expect(res).to.equal(0); + it('test operator "div" overload (euint32, uint32) => euint32 test 1 (20956235, 20556991)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(20956235), 20556991); + expect(res).to.equal(1); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 2 (392005478, 392005482)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(392005478), 392005482); + it('test operator "div" overload (euint32, uint32) => euint32 test 2 (20956231, 20956235)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(20956231), 20956235); expect(res).to.equal(0); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 3 (392005482, 392005482)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(392005482), 392005482); + it('test operator "div" overload (euint32, uint32) => euint32 test 3 (20956235, 20956235)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(20956235), 20956235); expect(res).to.equal(1); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 4 (392005482, 392005478)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(392005482), 392005478); + it('test operator "div" overload (euint32, uint32) => euint32 test 4 (20956235, 20956231)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(20956235), 20956231); expect(res).to.equal(1); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (1083212025, 1390178884)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(1083212025), 1390178884); - expect(res).to.equal(1083212025); + it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (227728407, 99085597)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(227728407), 99085597); + expect(res).to.equal(29557213); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 2 (1083212021, 1083212025)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(1083212021), 1083212025); - expect(res).to.equal(1083212021); + it('test operator "rem" overload (euint32, uint32) => euint32 test 2 (187916193, 187916197)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(187916193), 187916197); + expect(res).to.equal(187916193); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 3 (1083212025, 1083212025)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(1083212025), 1083212025); + it('test operator "rem" overload (euint32, uint32) => euint32 test 3 (187916197, 187916197)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(187916197), 187916197); expect(res).to.equal(0); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 4 (1083212025, 1083212021)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(1083212025), 1083212021); + it('test operator "rem" overload (euint32, uint32) => euint32 test 4 (187916197, 187916193)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(187916197), 187916193); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 1 (1270694518, 945618490)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(1270694518), 945618490); + it('test operator "eq" overload (euint32, uint32) => ebool test 1 (82686069, 99342572)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(82686069), 99342572); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 2 (247535164, 247535168)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(247535164), 247535168); + it('test operator "eq" overload (euint32, uint32) => ebool test 2 (82686065, 82686069)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(82686065), 82686069); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 3 (247535168, 247535168)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(247535168), 247535168); + it('test operator "eq" overload (euint32, uint32) => ebool test 3 (82686069, 82686069)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(82686069), 82686069); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 4 (247535168, 247535164)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(247535168), 247535164); + it('test operator "eq" overload (euint32, uint32) => ebool test 4 (82686069, 82686065)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(82686069), 82686065); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 1 (1877579186, 945618490)', async function () { - const res = await this.contract4.eq_uint32_euint32(1877579186, this.instances4.alice.encrypt32(945618490)); + it('test operator "eq" overload (uint32, euint32) => ebool test 1 (6049542, 99342572)', async function () { + const res = await this.contract4.eq_uint32_euint32(6049542, this.instances4.alice.encrypt32(99342572)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 2 (247535164, 247535168)', async function () { - const res = await this.contract4.eq_uint32_euint32(247535164, this.instances4.alice.encrypt32(247535168)); + it('test operator "eq" overload (uint32, euint32) => ebool test 2 (82686065, 82686069)', async function () { + const res = await this.contract4.eq_uint32_euint32(82686065, this.instances4.alice.encrypt32(82686069)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 3 (247535168, 247535168)', async function () { - const res = await this.contract4.eq_uint32_euint32(247535168, this.instances4.alice.encrypt32(247535168)); + it('test operator "eq" overload (uint32, euint32) => ebool test 3 (82686069, 82686069)', async function () { + const res = await this.contract4.eq_uint32_euint32(82686069, this.instances4.alice.encrypt32(82686069)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 4 (247535168, 247535164)', async function () { - const res = await this.contract4.eq_uint32_euint32(247535168, this.instances4.alice.encrypt32(247535164)); + it('test operator "eq" overload (uint32, euint32) => ebool test 4 (82686069, 82686065)', async function () { + const res = await this.contract4.eq_uint32_euint32(82686069, this.instances4.alice.encrypt32(82686065)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 1 (1211702728, 426850373)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(1211702728), 426850373); + it('test operator "ne" overload (euint32, uint32) => ebool test 1 (3660714, 206743981)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3660714), 206743981); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 2 (563095023, 563095027)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(563095023), 563095027); + it('test operator "ne" overload (euint32, uint32) => ebool test 2 (3660710, 3660714)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3660710), 3660714); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 3 (563095027, 563095027)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(563095027), 563095027); + it('test operator "ne" overload (euint32, uint32) => ebool test 3 (3660714, 3660714)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3660714), 3660714); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 4 (563095027, 563095023)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(563095027), 563095023); + it('test operator "ne" overload (euint32, uint32) => ebool test 4 (3660714, 3660710)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3660714), 3660710); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 1 (1464361694, 426850373)', async function () { - const res = await this.contract4.ne_uint32_euint32(1464361694, this.instances4.alice.encrypt32(426850373)); + it('test operator "ne" overload (uint32, euint32) => ebool test 1 (223424023, 206743981)', async function () { + const res = await this.contract4.ne_uint32_euint32(223424023, this.instances4.alice.encrypt32(206743981)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 2 (563095023, 563095027)', async function () { - const res = await this.contract4.ne_uint32_euint32(563095023, this.instances4.alice.encrypt32(563095027)); + it('test operator "ne" overload (uint32, euint32) => ebool test 2 (3660710, 3660714)', async function () { + const res = await this.contract4.ne_uint32_euint32(3660710, this.instances4.alice.encrypt32(3660714)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 3 (563095027, 563095027)', async function () { - const res = await this.contract4.ne_uint32_euint32(563095027, this.instances4.alice.encrypt32(563095027)); + it('test operator "ne" overload (uint32, euint32) => ebool test 3 (3660714, 3660714)', async function () { + const res = await this.contract4.ne_uint32_euint32(3660714, this.instances4.alice.encrypt32(3660714)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 4 (563095027, 563095023)', async function () { - const res = await this.contract4.ne_uint32_euint32(563095027, this.instances4.alice.encrypt32(563095023)); + it('test operator "ne" overload (uint32, euint32) => ebool test 4 (3660714, 3660710)', async function () { + const res = await this.contract4.ne_uint32_euint32(3660714, this.instances4.alice.encrypt32(3660710)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 1 (627970552, 1986041075)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(627970552), 1986041075); - expect(res).to.equal(false); + it('test operator "ge" overload (euint32, uint32) => ebool test 1 (182035180, 57241334)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(182035180), 57241334); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 2 (627970548, 627970552)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(627970548), 627970552); + it('test operator "ge" overload (euint32, uint32) => ebool test 2 (102858483, 102858487)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(102858483), 102858487); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 3 (627970552, 627970552)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(627970552), 627970552); + it('test operator "ge" overload (euint32, uint32) => ebool test 3 (102858487, 102858487)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(102858487), 102858487); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 4 (627970552, 627970548)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(627970552), 627970548); + it('test operator "ge" overload (euint32, uint32) => ebool test 4 (102858487, 102858483)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(102858487), 102858483); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 1 (1972025848, 1986041075)', async function () { - const res = await this.contract4.ge_uint32_euint32(1972025848, this.instances4.alice.encrypt32(1986041075)); - expect(res).to.equal(false); + it('test operator "ge" overload (uint32, euint32) => ebool test 1 (173909597, 57241334)', async function () { + const res = await this.contract4.ge_uint32_euint32(173909597, this.instances4.alice.encrypt32(57241334)); + expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 2 (627970548, 627970552)', async function () { - const res = await this.contract4.ge_uint32_euint32(627970548, this.instances4.alice.encrypt32(627970552)); + it('test operator "ge" overload (uint32, euint32) => ebool test 2 (102858483, 102858487)', async function () { + const res = await this.contract4.ge_uint32_euint32(102858483, this.instances4.alice.encrypt32(102858487)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 3 (627970552, 627970552)', async function () { - const res = await this.contract4.ge_uint32_euint32(627970552, this.instances4.alice.encrypt32(627970552)); + it('test operator "ge" overload (uint32, euint32) => ebool test 3 (102858487, 102858487)', async function () { + const res = await this.contract4.ge_uint32_euint32(102858487, this.instances4.alice.encrypt32(102858487)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 4 (627970552, 627970548)', async function () { - const res = await this.contract4.ge_uint32_euint32(627970552, this.instances4.alice.encrypt32(627970548)); + it('test operator "ge" overload (uint32, euint32) => ebool test 4 (102858487, 102858483)', async function () { + const res = await this.contract4.ge_uint32_euint32(102858487, this.instances4.alice.encrypt32(102858483)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 1 (1801714413, 448229258)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(1801714413), 448229258); + it('test operator "gt" overload (euint32, uint32) => ebool test 1 (228583889, 207183969)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(228583889), 207183969); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 2 (831227100, 831227104)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(831227100), 831227104); + it('test operator "gt" overload (euint32, uint32) => ebool test 2 (44696676, 44696680)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44696676), 44696680); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 3 (831227104, 831227104)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(831227104), 831227104); + it('test operator "gt" overload (euint32, uint32) => ebool test 3 (44696680, 44696680)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44696680), 44696680); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 4 (831227104, 831227100)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(831227104), 831227100); + it('test operator "gt" overload (euint32, uint32) => ebool test 4 (44696680, 44696676)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44696680), 44696676); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 1 (258393672, 448229258)', async function () { - const res = await this.contract4.gt_uint32_euint32(258393672, this.instances4.alice.encrypt32(448229258)); + it('test operator "gt" overload (uint32, euint32) => ebool test 1 (51988955, 207183969)', async function () { + const res = await this.contract4.gt_uint32_euint32(51988955, this.instances4.alice.encrypt32(207183969)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 2 (831227100, 831227104)', async function () { - const res = await this.contract4.gt_uint32_euint32(831227100, this.instances4.alice.encrypt32(831227104)); + it('test operator "gt" overload (uint32, euint32) => ebool test 2 (44696676, 44696680)', async function () { + const res = await this.contract4.gt_uint32_euint32(44696676, this.instances4.alice.encrypt32(44696680)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 3 (831227104, 831227104)', async function () { - const res = await this.contract4.gt_uint32_euint32(831227104, this.instances4.alice.encrypt32(831227104)); + it('test operator "gt" overload (uint32, euint32) => ebool test 3 (44696680, 44696680)', async function () { + const res = await this.contract4.gt_uint32_euint32(44696680, this.instances4.alice.encrypt32(44696680)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 4 (831227104, 831227100)', async function () { - const res = await this.contract4.gt_uint32_euint32(831227104, this.instances4.alice.encrypt32(831227100)); + it('test operator "gt" overload (uint32, euint32) => ebool test 4 (44696680, 44696676)', async function () { + const res = await this.contract4.gt_uint32_euint32(44696680, this.instances4.alice.encrypt32(44696676)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 1 (523722139, 1994886988)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(523722139), 1994886988); - expect(res).to.equal(true); + it('test operator "le" overload (euint32, uint32) => ebool test 1 (232635457, 92190924)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(232635457), 92190924); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, uint32) => ebool test 2 (523722135, 523722139)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(523722135), 523722139); + it('test operator "le" overload (euint32, uint32) => ebool test 2 (156819790, 156819794)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(156819790), 156819794); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 3 (523722139, 523722139)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(523722139), 523722139); + it('test operator "le" overload (euint32, uint32) => ebool test 3 (156819794, 156819794)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(156819794), 156819794); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 4 (523722139, 523722135)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(523722139), 523722135); + it('test operator "le" overload (euint32, uint32) => ebool test 4 (156819794, 156819790)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(156819794), 156819790); expect(res).to.equal(false); }); - it('test operator "le" overload (uint32, euint32) => ebool test 1 (1167528973, 1994886988)', async function () { - const res = await this.contract4.le_uint32_euint32(1167528973, this.instances4.alice.encrypt32(1994886988)); - expect(res).to.equal(true); + it('test operator "le" overload (uint32, euint32) => ebool test 1 (239805571, 92190924)', async function () { + const res = await this.contract4.le_uint32_euint32(239805571, this.instances4.alice.encrypt32(92190924)); + expect(res).to.equal(false); }); - it('test operator "le" overload (uint32, euint32) => ebool test 2 (523722135, 523722139)', async function () { - const res = await this.contract4.le_uint32_euint32(523722135, this.instances4.alice.encrypt32(523722139)); + it('test operator "le" overload (uint32, euint32) => ebool test 2 (156819790, 156819794)', async function () { + const res = await this.contract4.le_uint32_euint32(156819790, this.instances4.alice.encrypt32(156819794)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 3 (523722139, 523722139)', async function () { - const res = await this.contract4.le_uint32_euint32(523722139, this.instances4.alice.encrypt32(523722139)); + it('test operator "le" overload (uint32, euint32) => ebool test 3 (156819794, 156819794)', async function () { + const res = await this.contract4.le_uint32_euint32(156819794, this.instances4.alice.encrypt32(156819794)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 4 (523722139, 523722135)', async function () { - const res = await this.contract4.le_uint32_euint32(523722139, this.instances4.alice.encrypt32(523722135)); + it('test operator "le" overload (uint32, euint32) => ebool test 4 (156819794, 156819790)', async function () { + const res = await this.contract4.le_uint32_euint32(156819794, this.instances4.alice.encrypt32(156819790)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 1 (1044281941, 1474237696)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(1044281941), 1474237696); - expect(res).to.equal(true); + it('test operator "lt" overload (euint32, uint32) => ebool test 1 (89546642, 53290899)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(89546642), 53290899); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 2 (27475167, 27475171)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(27475167), 27475171); + it('test operator "lt" overload (euint32, uint32) => ebool test 2 (89546638, 89546642)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(89546638), 89546642); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 3 (27475171, 27475171)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(27475171), 27475171); + it('test operator "lt" overload (euint32, uint32) => ebool test 3 (89546642, 89546642)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(89546642), 89546642); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 4 (27475171, 27475167)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(27475171), 27475167); + it('test operator "lt" overload (euint32, uint32) => ebool test 4 (89546642, 89546638)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(89546642), 89546638); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 1 (1829077110, 1474237696)', async function () { - const res = await this.contract4.lt_uint32_euint32(1829077110, this.instances4.alice.encrypt32(1474237696)); + it('test operator "lt" overload (uint32, euint32) => ebool test 1 (87828731, 53290899)', async function () { + const res = await this.contract4.lt_uint32_euint32(87828731, this.instances4.alice.encrypt32(53290899)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 2 (27475167, 27475171)', async function () { - const res = await this.contract4.lt_uint32_euint32(27475167, this.instances4.alice.encrypt32(27475171)); + it('test operator "lt" overload (uint32, euint32) => ebool test 2 (89546638, 89546642)', async function () { + const res = await this.contract4.lt_uint32_euint32(89546638, this.instances4.alice.encrypt32(89546642)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 3 (27475171, 27475171)', async function () { - const res = await this.contract4.lt_uint32_euint32(27475171, this.instances4.alice.encrypt32(27475171)); + it('test operator "lt" overload (uint32, euint32) => ebool test 3 (89546642, 89546642)', async function () { + const res = await this.contract4.lt_uint32_euint32(89546642, this.instances4.alice.encrypt32(89546642)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 4 (27475171, 27475167)', async function () { - const res = await this.contract4.lt_uint32_euint32(27475171, this.instances4.alice.encrypt32(27475167)); + it('test operator "lt" overload (uint32, euint32) => ebool test 4 (89546642, 89546638)', async function () { + const res = await this.contract4.lt_uint32_euint32(89546642, this.instances4.alice.encrypt32(89546638)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 1 (390943086, 304405118)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(390943086), 304405118); - expect(res).to.equal(304405118); + it('test operator "min" overload (euint32, uint32) => euint32 test 1 (58829340, 90321027)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(58829340), 90321027); + expect(res).to.equal(58829340); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 2 (390943082, 390943086)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(390943082), 390943086); - expect(res).to.equal(390943082); + it('test operator "min" overload (euint32, uint32) => euint32 test 2 (58829336, 58829340)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(58829336), 58829340); + expect(res).to.equal(58829336); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 3 (390943086, 390943086)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(390943086), 390943086); - expect(res).to.equal(390943086); + it('test operator "min" overload (euint32, uint32) => euint32 test 3 (58829340, 58829340)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(58829340), 58829340); + expect(res).to.equal(58829340); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 4 (390943086, 390943082)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(390943086), 390943082); - expect(res).to.equal(390943082); + it('test operator "min" overload (euint32, uint32) => euint32 test 4 (58829340, 58829336)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(58829340), 58829336); + expect(res).to.equal(58829336); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 1 (1819271941, 304405118)', async function () { - const res = await this.contract4.min_uint32_euint32(1819271941, this.instances4.alice.encrypt32(304405118)); - expect(res).to.equal(304405118); + it('test operator "min" overload (uint32, euint32) => euint32 test 1 (20594417, 90321027)', async function () { + const res = await this.contract4.min_uint32_euint32(20594417, this.instances4.alice.encrypt32(90321027)); + expect(res).to.equal(20594417); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 2 (390943082, 390943086)', async function () { - const res = await this.contract4.min_uint32_euint32(390943082, this.instances4.alice.encrypt32(390943086)); - expect(res).to.equal(390943082); + it('test operator "min" overload (uint32, euint32) => euint32 test 2 (58829336, 58829340)', async function () { + const res = await this.contract4.min_uint32_euint32(58829336, this.instances4.alice.encrypt32(58829340)); + expect(res).to.equal(58829336); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 3 (390943086, 390943086)', async function () { - const res = await this.contract4.min_uint32_euint32(390943086, this.instances4.alice.encrypt32(390943086)); - expect(res).to.equal(390943086); + it('test operator "min" overload (uint32, euint32) => euint32 test 3 (58829340, 58829340)', async function () { + const res = await this.contract4.min_uint32_euint32(58829340, this.instances4.alice.encrypt32(58829340)); + expect(res).to.equal(58829340); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 4 (390943086, 390943082)', async function () { - const res = await this.contract4.min_uint32_euint32(390943086, this.instances4.alice.encrypt32(390943082)); - expect(res).to.equal(390943082); + it('test operator "min" overload (uint32, euint32) => euint32 test 4 (58829340, 58829336)', async function () { + const res = await this.contract4.min_uint32_euint32(58829340, this.instances4.alice.encrypt32(58829336)); + expect(res).to.equal(58829336); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 1 (283314521, 1397934692)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(283314521), 1397934692); - expect(res).to.equal(1397934692); + it('test operator "max" overload (euint32, uint32) => euint32 test 1 (8800615, 201659044)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8800615), 201659044); + expect(res).to.equal(201659044); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 2 (283314517, 283314521)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(283314517), 283314521); - expect(res).to.equal(283314521); + it('test operator "max" overload (euint32, uint32) => euint32 test 2 (8800611, 8800615)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8800611), 8800615); + expect(res).to.equal(8800615); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 3 (283314521, 283314521)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(283314521), 283314521); - expect(res).to.equal(283314521); + it('test operator "max" overload (euint32, uint32) => euint32 test 3 (8800615, 8800615)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8800615), 8800615); + expect(res).to.equal(8800615); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 4 (283314521, 283314517)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(283314521), 283314517); - expect(res).to.equal(283314521); + it('test operator "max" overload (euint32, uint32) => euint32 test 4 (8800615, 8800611)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8800615), 8800611); + expect(res).to.equal(8800615); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 1 (1446821827, 1397934692)', async function () { - const res = await this.contract4.max_uint32_euint32(1446821827, this.instances4.alice.encrypt32(1397934692)); - expect(res).to.equal(1446821827); + it('test operator "max" overload (uint32, euint32) => euint32 test 1 (220335343, 201659044)', async function () { + const res = await this.contract4.max_uint32_euint32(220335343, this.instances4.alice.encrypt32(201659044)); + expect(res).to.equal(220335343); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 2 (283314517, 283314521)', async function () { - const res = await this.contract4.max_uint32_euint32(283314517, this.instances4.alice.encrypt32(283314521)); - expect(res).to.equal(283314521); + it('test operator "max" overload (uint32, euint32) => euint32 test 2 (8800611, 8800615)', async function () { + const res = await this.contract4.max_uint32_euint32(8800611, this.instances4.alice.encrypt32(8800615)); + expect(res).to.equal(8800615); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 3 (283314521, 283314521)', async function () { - const res = await this.contract4.max_uint32_euint32(283314521, this.instances4.alice.encrypt32(283314521)); - expect(res).to.equal(283314521); + it('test operator "max" overload (uint32, euint32) => euint32 test 3 (8800615, 8800615)', async function () { + const res = await this.contract4.max_uint32_euint32(8800615, this.instances4.alice.encrypt32(8800615)); + expect(res).to.equal(8800615); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 4 (283314521, 283314517)', async function () { - const res = await this.contract4.max_uint32_euint32(283314521, this.instances4.alice.encrypt32(283314517)); - expect(res).to.equal(283314521); + it('test operator "max" overload (uint32, euint32) => euint32 test 4 (8800615, 8800611)', async function () { + const res = await this.contract4.max_uint32_euint32(8800615, this.instances4.alice.encrypt32(8800611)); + expect(res).to.equal(8800615); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 1 (11, 1)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 1 (13, 1)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt64(13), this.instances4.alice.encrypt4(1), ); - expect(res).to.equal(12); + expect(res).to.equal(14); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 2 (3, 5)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(3), + this.instances4.alice.encrypt4(5), ); - expect(res).to.equal(12); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 3 (5, 5)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(5), + this.instances4.alice.encrypt4(5), ); - expect(res).to.equal(8); + expect(res).to.equal(10); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 4 (5, 3)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(5), + this.instances4.alice.encrypt4(3), ); - expect(res).to.equal(12); + expect(res).to.equal(8); }); - it('test operator "sub" overload (euint64, euint4) => euint64 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint64, euint4) => euint64 test 1 (13, 13)', async function () { const res = await this.contract4.sub_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(13), + this.instances4.alice.encrypt4(13), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, euint4) => euint64 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint64, euint4) => euint64 test 2 (13, 9)', async function () { const res = await this.contract4.sub_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(13), + this.instances4.alice.encrypt4(9), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 1 (8, 1)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 1 (11, 1)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt64(11), this.instances4.alice.encrypt4(1), ); - expect(res).to.equal(8); + expect(res).to.equal(11); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 2 (3, 5)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(2), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(3), + this.instances4.alice.encrypt4(5), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); it('test operator "mul" overload (euint64, euint4) => euint64 test 3 (2, 2)', async function () { @@ -10652,52 +10652,52 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 4 (5, 3)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(2), + this.instances4.alice.encrypt64(5), + this.instances4.alice.encrypt4(3), ); - expect(res).to.equal(8); + expect(res).to.equal(15); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 1 (1294685955, 14)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 1 (190497921, 5)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(1294685955), - this.instances4.alice.encrypt4(14), + this.instances4.alice.encrypt64(190497921), + this.instances4.alice.encrypt4(5), ); - expect(res).to.equal(2); + expect(res).to.equal(1); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 2 (10, 14)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt4(14), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(10); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 3 (14, 14)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(14), - this.instances4.alice.encrypt4(14), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 4 (14, 10)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(14), - this.instances4.alice.encrypt4(10), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(10); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 1 (10, 1)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 1 (144995790, 3)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt4(1), + this.instances4.alice.encrypt64(144995790), + this.instances4.alice.encrypt4(3), ); - expect(res).to.equal(11); + expect(res).to.equal(144995791); }); it('test operator "or" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { @@ -10724,42 +10724,42 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "xor" overload (euint64, euint4) => euint64 test 1 (15, 1)', async function () { + it('test operator "xor" overload (euint64, euint4) => euint64 test 1 (236438189, 1)', async function () { const res = await this.contract4.xor_euint64_euint4( - this.instances4.alice.encrypt64(15), + this.instances4.alice.encrypt64(236438189), this.instances4.alice.encrypt4(1), ); - expect(res).to.equal(14); + expect(res).to.equal(236438188); }); - it('test operator "xor" overload (euint64, euint4) => euint64 test 2 (8, 12)', async function () { + it('test operator "xor" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.xor_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(12), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint64, euint4) => euint64 test 3 (12, 12)', async function () { + it('test operator "xor" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.xor_euint64_euint4( - this.instances4.alice.encrypt64(12), - this.instances4.alice.encrypt4(12), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint64, euint4) => euint64 test 4 (12, 8)', async function () { + it('test operator "xor" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.xor_euint64_euint4( - this.instances4.alice.encrypt64(12), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12); }); - it('test operator "eq" overload (euint64, euint4) => ebool test 1 (2078992513, 6)', async function () { + it('test operator "eq" overload (euint64, euint4) => ebool test 1 (173975280, 4)', async function () { const res = await this.contract4.eq_euint64_euint4( - this.instances4.alice.encrypt64(2078992513), - this.instances4.alice.encrypt4(6), + this.instances4.alice.encrypt64(173975280), + this.instances4.alice.encrypt4(4), ); expect(res).to.equal(false); }); @@ -10788,42 +10788,42 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 1 (1037057063, 9)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 1 (86198263, 13)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(1037057063), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(86198263), + this.instances4.alice.encrypt4(13), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 2 (5, 9)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 2 (9, 13)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(5), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(9), + this.instances4.alice.encrypt4(13), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 3 (9, 9)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 3 (13, 13)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(9), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(13), + this.instances4.alice.encrypt4(13), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 4 (9, 5)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 4 (13, 9)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(9), - this.instances4.alice.encrypt4(5), + this.instances4.alice.encrypt64(13), + this.instances4.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 1 (1885602752, 6)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 1 (105082351, 8)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(1885602752), - this.instances4.alice.encrypt4(6), + this.instances4.alice.encrypt64(105082351), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(true); }); @@ -10852,108 +10852,108 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 1 (307981806, 12)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 1 (264058266, 10)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(307981806), - this.instances4.alice.encrypt4(12), + this.instances4.alice.encrypt64(264058266), + this.instances4.alice.encrypt4(10), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 2 (8, 12)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 2 (6, 10)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(12), + this.instances4.alice.encrypt64(6), + this.instances4.alice.encrypt4(10), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 3 (12, 12)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 3 (10, 10)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(12), - this.instances4.alice.encrypt4(12), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(10), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 4 (12, 8)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 4 (10, 6)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(12), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(6), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint4) => ebool test 1 (2018662588, 9)', async function () { + it('test operator "le" overload (euint64, euint4) => ebool test 1 (4853853, 7)', async function () { const res = await this.contract4.le_euint64_euint4( - this.instances4.alice.encrypt64(2018662588), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(4853853), + this.instances4.alice.encrypt4(7), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint4) => ebool test 2 (5, 9)', async function () { + it('test operator "le" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.le_euint64_euint4( - this.instances4.alice.encrypt64(5), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint4) => ebool test 3 (9, 9)', async function () { + it('test operator "le" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.le_euint64_euint4( - this.instances4.alice.encrypt64(9), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint4) => ebool test 4 (9, 5)', async function () { + it('test operator "le" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.le_euint64_euint4( - this.instances4.alice.encrypt64(9), - this.instances4.alice.encrypt4(5), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 1 (102600113, 13)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 1 (109092109, 11)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(102600113), - this.instances4.alice.encrypt4(13), + this.instances4.alice.encrypt64(109092109), + this.instances4.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 2 (9, 13)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 2 (7, 11)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(9), - this.instances4.alice.encrypt4(13), + this.instances4.alice.encrypt64(7), + this.instances4.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 3 (13, 13)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 3 (11, 11)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(13), - this.instances4.alice.encrypt4(13), + this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 4 (13, 9)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 4 (11, 7)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(13), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt4(7), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint4) => euint64 test 1 (1933734274, 2)', async function () { + it('test operator "min" overload (euint64, euint4) => euint64 test 1 (244314733, 7)', async function () { const res = await this.contract4.min_euint64_euint4( - this.instances4.alice.encrypt64(1933734274), - this.instances4.alice.encrypt4(2), + this.instances4.alice.encrypt64(244314733), + this.instances4.alice.encrypt4(7), ); - expect(res).to.equal(2); + expect(res).to.equal(7); }); it('test operator "min" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { @@ -10980,68 +10980,68 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "max" overload (euint64, euint4) => euint64 test 1 (14, 1)', async function () { + it('test operator "max" overload (euint64, euint4) => euint64 test 1 (18255176, 3)', async function () { const res = await this.contract4.max_euint64_euint4( - this.instances4.alice.encrypt64(14), - this.instances4.alice.encrypt4(1), + this.instances4.alice.encrypt64(18255176), + this.instances4.alice.encrypt4(3), ); - expect(res).to.equal(14); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (euint64, euint4) => euint64 test 2 (9, 13)', async function () { + it('test operator "max" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.max_euint64_euint4( - this.instances4.alice.encrypt64(9), - this.instances4.alice.encrypt4(13), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint64, euint4) => euint64 test 3 (13, 13)', async function () { + it('test operator "max" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.max_euint64_euint4( - this.instances4.alice.encrypt64(13), - this.instances4.alice.encrypt4(13), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint64, euint4) => euint64 test 4 (13, 9)', async function () { + it('test operator "max" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.max_euint64_euint4( - this.instances4.alice.encrypt64(13), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(13); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 1 (181, 1)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 1 (222, 1)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(181), + this.instances4.alice.encrypt64(222), this.instances4.alice.encrypt8(1), ); - expect(res).to.equal(182); + expect(res).to.equal(223); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 2 (66, 68)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 2 (78, 82)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(66), - this.instances4.alice.encrypt8(68), + this.instances4.alice.encrypt64(78), + this.instances4.alice.encrypt8(82), ); - expect(res).to.equal(134); + expect(res).to.equal(160); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 3 (68, 68)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 3 (82, 82)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(68), - this.instances4.alice.encrypt8(68), + this.instances4.alice.encrypt64(82), + this.instances4.alice.encrypt8(82), ); - expect(res).to.equal(136); + expect(res).to.equal(164); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 4 (68, 66)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 4 (82, 78)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(68), - this.instances4.alice.encrypt8(66), + this.instances4.alice.encrypt64(82), + this.instances4.alice.encrypt8(78), ); - expect(res).to.equal(134); + expect(res).to.equal(160); }); it('test operator "sub" overload (euint64, euint8) => euint64 test 1 (236, 236)', async function () { @@ -11060,2192 +11060,2192 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (132, 1)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (177, 1)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(132), + this.instances4.alice.encrypt64(177), this.instances4.alice.encrypt8(1), ); - expect(res).to.equal(132); + expect(res).to.equal(177); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 2 (14, 15)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 2 (10, 10)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(14), - this.instances4.alice.encrypt8(15), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt8(10), ); - expect(res).to.equal(210); + expect(res).to.equal(100); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 3 (15, 15)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 3 (10, 10)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(15), - this.instances4.alice.encrypt8(15), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt8(10), ); - expect(res).to.equal(225); + expect(res).to.equal(100); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 4 (15, 14)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 4 (10, 10)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(15), - this.instances4.alice.encrypt8(14), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt8(10), ); - expect(res).to.equal(210); + expect(res).to.equal(100); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 1 (1294685955, 133)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 1 (190497921, 253)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(1294685955), - this.instances4.alice.encrypt8(133), + this.instances4.alice.encrypt64(190497921), + this.instances4.alice.encrypt8(253), ); - expect(res).to.equal(1); + expect(res).to.equal(129); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 2 (129, 133)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 2 (249, 253)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(129), - this.instances4.alice.encrypt8(133), + this.instances4.alice.encrypt64(249), + this.instances4.alice.encrypt8(253), ); - expect(res).to.equal(129); + expect(res).to.equal(249); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 3 (133, 133)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 3 (253, 253)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(133), - this.instances4.alice.encrypt8(133), + this.instances4.alice.encrypt64(253), + this.instances4.alice.encrypt8(253), ); - expect(res).to.equal(133); + expect(res).to.equal(253); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 4 (133, 129)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 4 (253, 249)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(133), - this.instances4.alice.encrypt8(129), + this.instances4.alice.encrypt64(253), + this.instances4.alice.encrypt8(249), ); - expect(res).to.equal(129); + expect(res).to.equal(249); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 1 (167, 1)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 1 (144995790, 114)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(167), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt64(144995790), + this.instances4.alice.encrypt8(114), ); - expect(res).to.equal(167); + expect(res).to.equal(144995838); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 2 (97, 101)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 2 (110, 114)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(97), - this.instances4.alice.encrypt8(101), + this.instances4.alice.encrypt64(110), + this.instances4.alice.encrypt8(114), ); - expect(res).to.equal(101); + expect(res).to.equal(126); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 3 (101, 101)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 3 (114, 114)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(101), - this.instances4.alice.encrypt8(101), + this.instances4.alice.encrypt64(114), + this.instances4.alice.encrypt8(114), ); - expect(res).to.equal(101); + expect(res).to.equal(114); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 4 (101, 97)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 4 (114, 110)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(101), - this.instances4.alice.encrypt8(97), + this.instances4.alice.encrypt64(114), + this.instances4.alice.encrypt8(110), ); - expect(res).to.equal(101); + expect(res).to.equal(126); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (246, 1)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (236438189, 12)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(246), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt64(236438189), + this.instances4.alice.encrypt8(12), ); - expect(res).to.equal(247); + expect(res).to.equal(236438177); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (22, 26)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (8, 12)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(22), - this.instances4.alice.encrypt8(26), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(12), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 3 (26, 26)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 3 (12, 12)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(26), - this.instances4.alice.encrypt8(26), + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt8(12), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 4 (26, 22)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 4 (12, 8)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(26), - this.instances4.alice.encrypt8(22), + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 1 (2078992513, 51)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 1 (173975280, 29)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(2078992513), - this.instances4.alice.encrypt8(51), + this.instances4.alice.encrypt64(173975280), + this.instances4.alice.encrypt8(29), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 2 (47, 51)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 2 (25, 29)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(47), - this.instances4.alice.encrypt8(51), + this.instances4.alice.encrypt64(25), + this.instances4.alice.encrypt8(29), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 3 (51, 51)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 3 (29, 29)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(51), - this.instances4.alice.encrypt8(51), + this.instances4.alice.encrypt64(29), + this.instances4.alice.encrypt8(29), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 4 (51, 47)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 4 (29, 25)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(51), - this.instances4.alice.encrypt8(47), + this.instances4.alice.encrypt64(29), + this.instances4.alice.encrypt8(25), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 1 (1037057063, 209)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 1 (86198263, 223)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(1037057063), - this.instances4.alice.encrypt8(209), + this.instances4.alice.encrypt64(86198263), + this.instances4.alice.encrypt8(223), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 2 (205, 209)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 2 (219, 223)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(205), - this.instances4.alice.encrypt8(209), + this.instances4.alice.encrypt64(219), + this.instances4.alice.encrypt8(223), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 3 (209, 209)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 3 (223, 223)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(209), - this.instances4.alice.encrypt8(209), + this.instances4.alice.encrypt64(223), + this.instances4.alice.encrypt8(223), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 4 (209, 205)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 4 (223, 219)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(209), - this.instances4.alice.encrypt8(205), + this.instances4.alice.encrypt64(223), + this.instances4.alice.encrypt8(219), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 1 (1885602752, 64)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 1 (105082351, 165)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(1885602752), - this.instances4.alice.encrypt8(64), + this.instances4.alice.encrypt64(105082351), + this.instances4.alice.encrypt8(165), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 2 (60, 64)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 2 (161, 165)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(60), - this.instances4.alice.encrypt8(64), + this.instances4.alice.encrypt64(161), + this.instances4.alice.encrypt8(165), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 3 (64, 64)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 3 (165, 165)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(64), - this.instances4.alice.encrypt8(64), + this.instances4.alice.encrypt64(165), + this.instances4.alice.encrypt8(165), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 4 (64, 60)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 4 (165, 161)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(64), - this.instances4.alice.encrypt8(60), + this.instances4.alice.encrypt64(165), + this.instances4.alice.encrypt8(161), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 1 (307981806, 246)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 1 (264058266, 147)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(307981806), - this.instances4.alice.encrypt8(246), + this.instances4.alice.encrypt64(264058266), + this.instances4.alice.encrypt8(147), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 2 (242, 246)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 2 (143, 147)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(242), - this.instances4.alice.encrypt8(246), + this.instances4.alice.encrypt64(143), + this.instances4.alice.encrypt8(147), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 3 (246, 246)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 3 (147, 147)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(246), - this.instances4.alice.encrypt8(246), + this.instances4.alice.encrypt64(147), + this.instances4.alice.encrypt8(147), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 4 (246, 242)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 4 (147, 143)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(246), - this.instances4.alice.encrypt8(242), + this.instances4.alice.encrypt64(147), + this.instances4.alice.encrypt8(143), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 1 (2018662588, 245)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 1 (4853853, 164)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(2018662588), - this.instances5.alice.encrypt8(245), + this.instances5.alice.encrypt64(4853853), + this.instances5.alice.encrypt8(164), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint8) => ebool test 2 (241, 245)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 2 (160, 164)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(241), - this.instances5.alice.encrypt8(245), + this.instances5.alice.encrypt64(160), + this.instances5.alice.encrypt8(164), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 3 (245, 245)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 3 (164, 164)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(245), - this.instances5.alice.encrypt8(245), + this.instances5.alice.encrypt64(164), + this.instances5.alice.encrypt8(164), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 4 (245, 241)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 4 (164, 160)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(245), - this.instances5.alice.encrypt8(241), + this.instances5.alice.encrypt64(164), + this.instances5.alice.encrypt8(160), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 1 (102600113, 117)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 1 (109092109, 64)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(102600113), - this.instances5.alice.encrypt8(117), + this.instances5.alice.encrypt64(109092109), + this.instances5.alice.encrypt8(64), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 2 (113, 117)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 2 (60, 64)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(113), - this.instances5.alice.encrypt8(117), + this.instances5.alice.encrypt64(60), + this.instances5.alice.encrypt8(64), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 3 (117, 117)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 3 (64, 64)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(117), - this.instances5.alice.encrypt8(117), + this.instances5.alice.encrypt64(64), + this.instances5.alice.encrypt8(64), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 4 (117, 113)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 4 (64, 60)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(117), - this.instances5.alice.encrypt8(113), + this.instances5.alice.encrypt64(64), + this.instances5.alice.encrypt8(60), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 1 (1933734274, 92)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 1 (244314733, 93)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(1933734274), - this.instances5.alice.encrypt8(92), + this.instances5.alice.encrypt64(244314733), + this.instances5.alice.encrypt8(93), ); - expect(res).to.equal(92); + expect(res).to.equal(93); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 2 (88, 92)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 2 (89, 93)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(88), - this.instances5.alice.encrypt8(92), + this.instances5.alice.encrypt64(89), + this.instances5.alice.encrypt8(93), ); - expect(res).to.equal(88); + expect(res).to.equal(89); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 3 (92, 92)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 3 (93, 93)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(92), - this.instances5.alice.encrypt8(92), + this.instances5.alice.encrypt64(93), + this.instances5.alice.encrypt8(93), ); - expect(res).to.equal(92); + expect(res).to.equal(93); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 4 (92, 88)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 4 (93, 89)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(92), - this.instances5.alice.encrypt8(88), + this.instances5.alice.encrypt64(93), + this.instances5.alice.encrypt8(89), ); - expect(res).to.equal(88); + expect(res).to.equal(89); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 1 (231, 1)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 1 (18255176, 147)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(231), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt64(18255176), + this.instances5.alice.encrypt8(147), ); - expect(res).to.equal(231); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 2 (210, 214)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 2 (143, 147)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(210), - this.instances5.alice.encrypt8(214), + this.instances5.alice.encrypt64(143), + this.instances5.alice.encrypt8(147), ); - expect(res).to.equal(214); + expect(res).to.equal(147); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 3 (214, 214)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 3 (147, 147)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(214), - this.instances5.alice.encrypt8(214), + this.instances5.alice.encrypt64(147), + this.instances5.alice.encrypt8(147), ); - expect(res).to.equal(214); + expect(res).to.equal(147); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 4 (214, 210)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 4 (147, 143)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(214), - this.instances5.alice.encrypt8(210), + this.instances5.alice.encrypt64(147), + this.instances5.alice.encrypt8(143), ); - expect(res).to.equal(214); + expect(res).to.equal(147); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 1 (46497, 1)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 1 (57062, 3)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(46497), - this.instances5.alice.encrypt16(1), + this.instances5.alice.encrypt64(57062), + this.instances5.alice.encrypt16(3), ); - expect(res).to.equal(46498); + expect(res).to.equal(57065); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 2 (1781, 1785)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 2 (16133, 16137)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(1781), - this.instances5.alice.encrypt16(1785), + this.instances5.alice.encrypt64(16133), + this.instances5.alice.encrypt16(16137), ); - expect(res).to.equal(3566); + expect(res).to.equal(32270); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 3 (1785, 1785)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 3 (16137, 16137)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(1785), - this.instances5.alice.encrypt16(1785), + this.instances5.alice.encrypt64(16137), + this.instances5.alice.encrypt16(16137), ); - expect(res).to.equal(3570); + expect(res).to.equal(32274); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 4 (1785, 1781)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 4 (16137, 16133)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(1785), - this.instances5.alice.encrypt16(1781), + this.instances5.alice.encrypt64(16137), + this.instances5.alice.encrypt16(16133), ); - expect(res).to.equal(3566); + expect(res).to.equal(32270); }); - it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (42609, 42609)', async function () { + it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (23608, 23608)', async function () { const res = await this.contract5.sub_euint64_euint16( - this.instances5.alice.encrypt64(42609), - this.instances5.alice.encrypt16(42609), + this.instances5.alice.encrypt64(23608), + this.instances5.alice.encrypt16(23608), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, euint16) => euint64 test 2 (42609, 42605)', async function () { + it('test operator "sub" overload (euint64, euint16) => euint64 test 2 (23608, 23604)', async function () { const res = await this.contract5.sub_euint64_euint16( - this.instances5.alice.encrypt64(42609), - this.instances5.alice.encrypt16(42605), + this.instances5.alice.encrypt64(23608), + this.instances5.alice.encrypt16(23604), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (16971, 3)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (11381, 2)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(16971), - this.instances5.alice.encrypt16(3), + this.instances5.alice.encrypt64(11381), + this.instances5.alice.encrypt16(2), ); - expect(res).to.equal(50913); + expect(res).to.equal(22762); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 2 (227, 227)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 2 (150, 150)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(227), - this.instances5.alice.encrypt16(227), + this.instances5.alice.encrypt64(150), + this.instances5.alice.encrypt16(150), ); - expect(res).to.equal(51529); + expect(res).to.equal(22500); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 3 (227, 227)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 3 (150, 150)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(227), - this.instances5.alice.encrypt16(227), + this.instances5.alice.encrypt64(150), + this.instances5.alice.encrypt16(150), ); - expect(res).to.equal(51529); + expect(res).to.equal(22500); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 4 (227, 227)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 4 (150, 150)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(227), - this.instances5.alice.encrypt16(227), + this.instances5.alice.encrypt64(150), + this.instances5.alice.encrypt16(150), ); - expect(res).to.equal(51529); + expect(res).to.equal(22500); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 1 (1294685955, 63959)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 1 (190497921, 60802)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(1294685955), - this.instances5.alice.encrypt16(63959), + this.instances5.alice.encrypt64(190497921), + this.instances5.alice.encrypt16(60802), ); - expect(res).to.equal(20739); + expect(res).to.equal(50304); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 2 (63955, 63959)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 2 (60798, 60802)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(63955), - this.instances5.alice.encrypt16(63959), + this.instances5.alice.encrypt64(60798), + this.instances5.alice.encrypt16(60802), ); - expect(res).to.equal(63955); + expect(res).to.equal(60674); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 3 (63959, 63959)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 3 (60802, 60802)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(63959), - this.instances5.alice.encrypt16(63959), + this.instances5.alice.encrypt64(60802), + this.instances5.alice.encrypt16(60802), ); - expect(res).to.equal(63959); + expect(res).to.equal(60802); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 4 (63959, 63955)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 4 (60802, 60798)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(63959), - this.instances5.alice.encrypt16(63955), + this.instances5.alice.encrypt64(60802), + this.instances5.alice.encrypt16(60798), ); - expect(res).to.equal(63955); + expect(res).to.equal(60674); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 1 (42889, 1)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 1 (144995790, 62529)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(42889), - this.instances5.alice.encrypt16(1), + this.instances5.alice.encrypt64(144995790), + this.instances5.alice.encrypt16(62529), ); - expect(res).to.equal(42889); + expect(res).to.equal(145028559); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 2 (21447, 21451)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 2 (62525, 62529)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(21447), - this.instances5.alice.encrypt16(21451), + this.instances5.alice.encrypt64(62525), + this.instances5.alice.encrypt16(62529), ); - expect(res).to.equal(21455); + expect(res).to.equal(62589); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 3 (21451, 21451)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 3 (62529, 62529)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(21451), - this.instances5.alice.encrypt16(21451), + this.instances5.alice.encrypt64(62529), + this.instances5.alice.encrypt16(62529), ); - expect(res).to.equal(21451); + expect(res).to.equal(62529); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 4 (21451, 21447)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 4 (62529, 62525)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(21451), - this.instances5.alice.encrypt16(21447), + this.instances5.alice.encrypt64(62529), + this.instances5.alice.encrypt16(62525), ); - expect(res).to.equal(21455); + expect(res).to.equal(62589); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (63024, 2)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (236438189, 51285)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(63024), - this.instances5.alice.encrypt16(2), + this.instances5.alice.encrypt64(236438189), + this.instances5.alice.encrypt16(51285), ); - expect(res).to.equal(63026); + expect(res).to.equal(236391160); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 2 (33630, 33634)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 2 (51281, 51285)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(33630), - this.instances5.alice.encrypt16(33634), + this.instances5.alice.encrypt64(51281), + this.instances5.alice.encrypt16(51285), ); - expect(res).to.equal(60); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 3 (33634, 33634)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 3 (51285, 51285)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(33634), - this.instances5.alice.encrypt16(33634), + this.instances5.alice.encrypt64(51285), + this.instances5.alice.encrypt16(51285), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 4 (33634, 33630)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 4 (51285, 51281)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(33634), - this.instances5.alice.encrypt16(33630), + this.instances5.alice.encrypt64(51285), + this.instances5.alice.encrypt16(51281), ); - expect(res).to.equal(60); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 1 (2078992513, 32629)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 1 (173975280, 43434)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(2078992513), - this.instances5.alice.encrypt16(32629), + this.instances5.alice.encrypt64(173975280), + this.instances5.alice.encrypt16(43434), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 2 (32625, 32629)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 2 (43430, 43434)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(32625), - this.instances5.alice.encrypt16(32629), + this.instances5.alice.encrypt64(43430), + this.instances5.alice.encrypt16(43434), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 3 (32629, 32629)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 3 (43434, 43434)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(32629), - this.instances5.alice.encrypt16(32629), + this.instances5.alice.encrypt64(43434), + this.instances5.alice.encrypt16(43434), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 4 (32629, 32625)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 4 (43434, 43430)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(32629), - this.instances5.alice.encrypt16(32625), + this.instances5.alice.encrypt64(43434), + this.instances5.alice.encrypt16(43430), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 1 (1037057063, 50271)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 1 (86198263, 29976)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(1037057063), - this.instances5.alice.encrypt16(50271), + this.instances5.alice.encrypt64(86198263), + this.instances5.alice.encrypt16(29976), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 2 (50267, 50271)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 2 (29972, 29976)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(50267), - this.instances5.alice.encrypt16(50271), + this.instances5.alice.encrypt64(29972), + this.instances5.alice.encrypt16(29976), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 3 (50271, 50271)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 3 (29976, 29976)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(50271), - this.instances5.alice.encrypt16(50271), + this.instances5.alice.encrypt64(29976), + this.instances5.alice.encrypt16(29976), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 4 (50271, 50267)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 4 (29976, 29972)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(50271), - this.instances5.alice.encrypt16(50267), + this.instances5.alice.encrypt64(29976), + this.instances5.alice.encrypt16(29972), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 1 (1885602752, 42598)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 1 (105082351, 16536)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(1885602752), - this.instances5.alice.encrypt16(42598), + this.instances5.alice.encrypt64(105082351), + this.instances5.alice.encrypt16(16536), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 2 (42594, 42598)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 2 (16532, 16536)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(42594), - this.instances5.alice.encrypt16(42598), + this.instances5.alice.encrypt64(16532), + this.instances5.alice.encrypt16(16536), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 3 (42598, 42598)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 3 (16536, 16536)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(42598), - this.instances5.alice.encrypt16(42598), + this.instances5.alice.encrypt64(16536), + this.instances5.alice.encrypt16(16536), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 4 (42598, 42594)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 4 (16536, 16532)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(42598), - this.instances5.alice.encrypt16(42594), + this.instances5.alice.encrypt64(16536), + this.instances5.alice.encrypt16(16532), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 1 (307981806, 10827)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 1 (264058266, 4272)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(307981806), - this.instances5.alice.encrypt16(10827), + this.instances5.alice.encrypt64(264058266), + this.instances5.alice.encrypt16(4272), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 2 (10823, 10827)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 2 (4268, 4272)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(10823), - this.instances5.alice.encrypt16(10827), + this.instances5.alice.encrypt64(4268), + this.instances5.alice.encrypt16(4272), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 3 (10827, 10827)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 3 (4272, 4272)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(10827), - this.instances5.alice.encrypt16(10827), + this.instances5.alice.encrypt64(4272), + this.instances5.alice.encrypt16(4272), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 4 (10827, 10823)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 4 (4272, 4268)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(10827), - this.instances5.alice.encrypt16(10823), + this.instances5.alice.encrypt64(4272), + this.instances5.alice.encrypt16(4268), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 1 (2018662588, 22989)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 1 (4853853, 22531)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(2018662588), - this.instances5.alice.encrypt16(22989), + this.instances5.alice.encrypt64(4853853), + this.instances5.alice.encrypt16(22531), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint16) => ebool test 2 (22985, 22989)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 2 (22527, 22531)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(22985), - this.instances5.alice.encrypt16(22989), + this.instances5.alice.encrypt64(22527), + this.instances5.alice.encrypt16(22531), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 3 (22989, 22989)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 3 (22531, 22531)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(22989), - this.instances5.alice.encrypt16(22989), + this.instances5.alice.encrypt64(22531), + this.instances5.alice.encrypt16(22531), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 4 (22989, 22985)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 4 (22531, 22527)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(22989), - this.instances5.alice.encrypt16(22985), + this.instances5.alice.encrypt64(22531), + this.instances5.alice.encrypt16(22527), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 1 (102600113, 19620)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 1 (109092109, 63916)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(102600113), - this.instances5.alice.encrypt16(19620), + this.instances5.alice.encrypt64(109092109), + this.instances5.alice.encrypt16(63916), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 2 (19616, 19620)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 2 (63912, 63916)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(19616), - this.instances5.alice.encrypt16(19620), + this.instances5.alice.encrypt64(63912), + this.instances5.alice.encrypt16(63916), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 3 (19620, 19620)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 3 (63916, 63916)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(19620), - this.instances5.alice.encrypt16(19620), + this.instances5.alice.encrypt64(63916), + this.instances5.alice.encrypt16(63916), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 4 (19620, 19616)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 4 (63916, 63912)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(19620), - this.instances5.alice.encrypt16(19616), + this.instances5.alice.encrypt64(63916), + this.instances5.alice.encrypt16(63912), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 1 (1933734274, 63835)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 1 (244314733, 6873)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(1933734274), - this.instances5.alice.encrypt16(63835), + this.instances5.alice.encrypt64(244314733), + this.instances5.alice.encrypt16(6873), ); - expect(res).to.equal(63835); + expect(res).to.equal(6873); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 2 (63831, 63835)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 2 (6869, 6873)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(63831), - this.instances5.alice.encrypt16(63835), + this.instances5.alice.encrypt64(6869), + this.instances5.alice.encrypt16(6873), ); - expect(res).to.equal(63831); + expect(res).to.equal(6869); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 3 (63835, 63835)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 3 (6873, 6873)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(63835), - this.instances5.alice.encrypt16(63835), + this.instances5.alice.encrypt64(6873), + this.instances5.alice.encrypt16(6873), ); - expect(res).to.equal(63835); + expect(res).to.equal(6873); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 4 (63835, 63831)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 4 (6873, 6869)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(63835), - this.instances5.alice.encrypt16(63831), + this.instances5.alice.encrypt64(6873), + this.instances5.alice.encrypt16(6869), ); - expect(res).to.equal(63831); + expect(res).to.equal(6869); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 1 (59321, 1)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 1 (18255176, 7223)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(59321), - this.instances5.alice.encrypt16(1), + this.instances5.alice.encrypt64(18255176), + this.instances5.alice.encrypt16(7223), ); - expect(res).to.equal(59321); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 2 (49394, 49398)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 2 (7219, 7223)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(49394), - this.instances5.alice.encrypt16(49398), + this.instances5.alice.encrypt64(7219), + this.instances5.alice.encrypt16(7223), ); - expect(res).to.equal(49398); + expect(res).to.equal(7223); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 3 (49398, 49398)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 3 (7223, 7223)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(49398), - this.instances5.alice.encrypt16(49398), + this.instances5.alice.encrypt64(7223), + this.instances5.alice.encrypt16(7223), ); - expect(res).to.equal(49398); + expect(res).to.equal(7223); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 4 (49398, 49394)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 4 (7223, 7219)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(49398), - this.instances5.alice.encrypt16(49394), + this.instances5.alice.encrypt64(7223), + this.instances5.alice.encrypt16(7219), ); - expect(res).to.equal(49398); + expect(res).to.equal(7223); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 1 (761810509, 2065807481)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 1 (233729261, 108243872)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(761810509), - this.instances5.alice.encrypt32(2065807481), + this.instances5.alice.encrypt64(233729261), + this.instances5.alice.encrypt32(108243872), ); - expect(res).to.equal(2827617990); + expect(res).to.equal(341973133); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 2 (761810505, 761810509)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 2 (108243868, 108243872)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(761810505), - this.instances5.alice.encrypt32(761810509), + this.instances5.alice.encrypt64(108243868), + this.instances5.alice.encrypt32(108243872), ); - expect(res).to.equal(1523621014); + expect(res).to.equal(216487740); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 3 (761810509, 761810509)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 3 (108243872, 108243872)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(761810509), - this.instances5.alice.encrypt32(761810509), + this.instances5.alice.encrypt64(108243872), + this.instances5.alice.encrypt32(108243872), ); - expect(res).to.equal(1523621018); + expect(res).to.equal(216487744); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 4 (761810509, 761810505)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 4 (108243872, 108243868)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(761810509), - this.instances5.alice.encrypt32(761810505), + this.instances5.alice.encrypt64(108243872), + this.instances5.alice.encrypt32(108243868), ); - expect(res).to.equal(1523621014); + expect(res).to.equal(216487740); }); - it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (1679860005, 1679860005)', async function () { + it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (279607, 279607)', async function () { const res = await this.contract5.sub_euint64_euint32( - this.instances5.alice.encrypt64(1679860005), - this.instances5.alice.encrypt32(1679860005), + this.instances5.alice.encrypt64(279607), + this.instances5.alice.encrypt32(279607), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, euint32) => euint64 test 2 (1679860005, 1679860001)', async function () { + it('test operator "sub" overload (euint64, euint32) => euint64 test 2 (279607, 279603)', async function () { const res = await this.contract5.sub_euint64_euint32( - this.instances5.alice.encrypt64(1679860005), - this.instances5.alice.encrypt32(1679860001), + this.instances5.alice.encrypt64(279607), + this.instances5.alice.encrypt32(279603), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (33943, 59095)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (91048, 15465)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(33943), - this.instances5.alice.encrypt32(59095), + this.instances5.alice.encrypt64(91048), + this.instances5.alice.encrypt32(15465), ); - expect(res).to.equal(2005861585); + expect(res).to.equal(1408057320); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 2 (33943, 33943)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 2 (61860, 61860)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(33943), - this.instances5.alice.encrypt32(33943), + this.instances5.alice.encrypt64(61860), + this.instances5.alice.encrypt32(61860), ); - expect(res).to.equal(1152127249); + expect(res).to.equal(3826659600); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 3 (33943, 33943)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 3 (61860, 61860)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(33943), - this.instances5.alice.encrypt32(33943), + this.instances5.alice.encrypt64(61860), + this.instances5.alice.encrypt32(61860), ); - expect(res).to.equal(1152127249); + expect(res).to.equal(3826659600); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 4 (33943, 33943)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 4 (61860, 61860)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(33943), - this.instances5.alice.encrypt32(33943), + this.instances5.alice.encrypt64(61860), + this.instances5.alice.encrypt32(61860), ); - expect(res).to.equal(1152127249); + expect(res).to.equal(3826659600); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 1 (1294685955, 1745450667)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 1 (190497921, 164161585)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(1294685955), - this.instances5.alice.encrypt32(1745450667), + this.instances5.alice.encrypt64(190497921), + this.instances5.alice.encrypt32(164161585), ); - expect(res).to.equal(1208571395); + expect(res).to.equal(155762689); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 2 (1294685951, 1294685955)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 2 (164161581, 164161585)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(1294685951), - this.instances5.alice.encrypt32(1294685955), + this.instances5.alice.encrypt64(164161581), + this.instances5.alice.encrypt32(164161585), ); - expect(res).to.equal(1294685699); + expect(res).to.equal(164161569); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 3 (1294685955, 1294685955)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 3 (164161585, 164161585)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(1294685955), - this.instances5.alice.encrypt32(1294685955), + this.instances5.alice.encrypt64(164161585), + this.instances5.alice.encrypt32(164161585), ); - expect(res).to.equal(1294685955); + expect(res).to.equal(164161585); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 4 (1294685955, 1294685951)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 4 (164161585, 164161581)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(1294685955), - this.instances5.alice.encrypt32(1294685951), + this.instances5.alice.encrypt64(164161585), + this.instances5.alice.encrypt32(164161581), ); - expect(res).to.equal(1294685699); + expect(res).to.equal(164161569); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 1 (1405387766, 963544644)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 1 (144995790, 109170461)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(1405387766), - this.instances5.alice.encrypt32(963544644), + this.instances5.alice.encrypt64(144995790), + this.instances5.alice.encrypt32(109170461), ); - expect(res).to.equal(2079229942); + expect(res).to.equal(245759967); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 2 (963544640, 963544644)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 2 (109170457, 109170461)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(963544640), - this.instances5.alice.encrypt32(963544644), + this.instances5.alice.encrypt64(109170457), + this.instances5.alice.encrypt32(109170461), ); - expect(res).to.equal(963544644); + expect(res).to.equal(109170461); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 3 (963544644, 963544644)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 3 (109170461, 109170461)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(963544644), - this.instances5.alice.encrypt32(963544644), + this.instances5.alice.encrypt64(109170461), + this.instances5.alice.encrypt32(109170461), ); - expect(res).to.equal(963544644); + expect(res).to.equal(109170461); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 4 (963544644, 963544640)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 4 (109170461, 109170457)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(963544644), - this.instances5.alice.encrypt32(963544640), + this.instances5.alice.encrypt64(109170461), + this.instances5.alice.encrypt32(109170457), ); - expect(res).to.equal(963544644); + expect(res).to.equal(109170461); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (1032596672, 1451108916)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (236438189, 33113563)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(1032596672), - this.instances5.alice.encrypt32(1451108916), + this.instances5.alice.encrypt64(236438189), + this.instances5.alice.encrypt32(33113563), ); - expect(res).to.equal(1811023604); + expect(res).to.equal(267290486); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 2 (1032596668, 1032596672)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 2 (33113559, 33113563)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(1032596668), - this.instances5.alice.encrypt32(1032596672), + this.instances5.alice.encrypt64(33113559), + this.instances5.alice.encrypt32(33113563), ); - expect(res).to.equal(124); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 3 (1032596672, 1032596672)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 3 (33113563, 33113563)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(1032596672), - this.instances5.alice.encrypt32(1032596672), + this.instances5.alice.encrypt64(33113563), + this.instances5.alice.encrypt32(33113563), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 4 (1032596672, 1032596668)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 4 (33113563, 33113559)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(1032596672), - this.instances5.alice.encrypt32(1032596668), + this.instances5.alice.encrypt64(33113563), + this.instances5.alice.encrypt32(33113559), ); - expect(res).to.equal(124); + expect(res).to.equal(12); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 1 (2078992513, 810545451)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 1 (173975280, 95821853)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(2078992513), - this.instances5.alice.encrypt32(810545451), + this.instances5.alice.encrypt64(173975280), + this.instances5.alice.encrypt32(95821853), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 2 (810545447, 810545451)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 2 (95821849, 95821853)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(810545447), - this.instances5.alice.encrypt32(810545451), + this.instances5.alice.encrypt64(95821849), + this.instances5.alice.encrypt32(95821853), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 3 (810545451, 810545451)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 3 (95821853, 95821853)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(810545451), - this.instances5.alice.encrypt32(810545451), + this.instances5.alice.encrypt64(95821853), + this.instances5.alice.encrypt32(95821853), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 4 (810545451, 810545447)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 4 (95821853, 95821849)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(810545451), - this.instances5.alice.encrypt32(810545447), + this.instances5.alice.encrypt64(95821853), + this.instances5.alice.encrypt32(95821849), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 1 (1037057063, 358604604)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 1 (86198263, 155458175)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(1037057063), - this.instances5.alice.encrypt32(358604604), + this.instances5.alice.encrypt64(86198263), + this.instances5.alice.encrypt32(155458175), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 2 (358604600, 358604604)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 2 (86198259, 86198263)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(358604600), - this.instances5.alice.encrypt32(358604604), + this.instances5.alice.encrypt64(86198259), + this.instances5.alice.encrypt32(86198263), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 3 (358604604, 358604604)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 3 (86198263, 86198263)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(358604604), - this.instances5.alice.encrypt32(358604604), + this.instances5.alice.encrypt64(86198263), + this.instances5.alice.encrypt32(86198263), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 4 (358604604, 358604600)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 4 (86198263, 86198259)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(358604604), - this.instances5.alice.encrypt32(358604600), + this.instances5.alice.encrypt64(86198263), + this.instances5.alice.encrypt32(86198259), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 1 (1885602752, 2120758041)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 1 (105082351, 181571496)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(1885602752), - this.instances5.alice.encrypt32(2120758041), + this.instances5.alice.encrypt64(105082351), + this.instances5.alice.encrypt32(181571496), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 2 (1885602748, 1885602752)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 2 (105082347, 105082351)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(1885602748), - this.instances5.alice.encrypt32(1885602752), + this.instances5.alice.encrypt64(105082347), + this.instances5.alice.encrypt32(105082351), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 3 (1885602752, 1885602752)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 3 (105082351, 105082351)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(1885602752), - this.instances5.alice.encrypt32(1885602752), + this.instances5.alice.encrypt64(105082351), + this.instances5.alice.encrypt32(105082351), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 4 (1885602752, 1885602748)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 4 (105082351, 105082347)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(1885602752), - this.instances5.alice.encrypt32(1885602748), + this.instances5.alice.encrypt64(105082351), + this.instances5.alice.encrypt32(105082347), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 1 (307981806, 973826729)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 1 (264058266, 243897804)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(307981806), - this.instances5.alice.encrypt32(973826729), + this.instances5.alice.encrypt64(264058266), + this.instances5.alice.encrypt32(243897804), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 2 (307981802, 307981806)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 2 (243897800, 243897804)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(307981802), - this.instances5.alice.encrypt32(307981806), + this.instances5.alice.encrypt64(243897800), + this.instances5.alice.encrypt32(243897804), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 3 (307981806, 307981806)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 3 (243897804, 243897804)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(307981806), - this.instances5.alice.encrypt32(307981806), + this.instances5.alice.encrypt64(243897804), + this.instances5.alice.encrypt32(243897804), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 4 (307981806, 307981802)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 4 (243897804, 243897800)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(307981806), - this.instances5.alice.encrypt32(307981802), + this.instances5.alice.encrypt64(243897804), + this.instances5.alice.encrypt32(243897800), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 1 (2018662588, 812190927)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 1 (4853853, 119615921)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(2018662588), - this.instances5.alice.encrypt32(812190927), + this.instances5.alice.encrypt64(4853853), + this.instances5.alice.encrypt32(119615921), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 2 (812190923, 812190927)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 2 (4853849, 4853853)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(812190923), - this.instances5.alice.encrypt32(812190927), + this.instances5.alice.encrypt64(4853849), + this.instances5.alice.encrypt32(4853853), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 3 (812190927, 812190927)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 3 (4853853, 4853853)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(812190927), - this.instances5.alice.encrypt32(812190927), + this.instances5.alice.encrypt64(4853853), + this.instances5.alice.encrypt32(4853853), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 4 (812190927, 812190923)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 4 (4853853, 4853849)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(812190927), - this.instances5.alice.encrypt32(812190923), + this.instances5.alice.encrypt64(4853853), + this.instances5.alice.encrypt32(4853849), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 1 (102600113, 1018674751)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 1 (109092109, 83205790)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(102600113), - this.instances5.alice.encrypt32(1018674751), + this.instances5.alice.encrypt64(109092109), + this.instances5.alice.encrypt32(83205790), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 2 (102600109, 102600113)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 2 (83205786, 83205790)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(102600109), - this.instances5.alice.encrypt32(102600113), + this.instances5.alice.encrypt64(83205786), + this.instances5.alice.encrypt32(83205790), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 3 (102600113, 102600113)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 3 (83205790, 83205790)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(102600113), - this.instances5.alice.encrypt32(102600113), + this.instances5.alice.encrypt64(83205790), + this.instances5.alice.encrypt32(83205790), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 4 (102600113, 102600109)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 4 (83205790, 83205786)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(102600113), - this.instances5.alice.encrypt32(102600109), + this.instances5.alice.encrypt64(83205790), + this.instances5.alice.encrypt32(83205786), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 1 (1933734274, 1600509978)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 1 (244314733, 157421113)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(1933734274), - this.instances5.alice.encrypt32(1600509978), + this.instances5.alice.encrypt64(244314733), + this.instances5.alice.encrypt32(157421113), ); - expect(res).to.equal(1600509978); + expect(res).to.equal(157421113); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 2 (1600509974, 1600509978)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 2 (157421109, 157421113)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(1600509974), - this.instances5.alice.encrypt32(1600509978), + this.instances5.alice.encrypt64(157421109), + this.instances5.alice.encrypt32(157421113), ); - expect(res).to.equal(1600509974); + expect(res).to.equal(157421109); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 3 (1600509978, 1600509978)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 3 (157421113, 157421113)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(1600509978), - this.instances5.alice.encrypt32(1600509978), + this.instances5.alice.encrypt64(157421113), + this.instances5.alice.encrypt32(157421113), ); - expect(res).to.equal(1600509978); + expect(res).to.equal(157421113); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 4 (1600509978, 1600509974)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 4 (157421113, 157421109)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(1600509978), - this.instances5.alice.encrypt32(1600509974), + this.instances5.alice.encrypt64(157421113), + this.instances5.alice.encrypt32(157421109), ); - expect(res).to.equal(1600509974); + expect(res).to.equal(157421109); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 1 (1943842367, 2024517605)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 1 (18255176, 254973729)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(1943842367), - this.instances5.alice.encrypt32(2024517605), + this.instances5.alice.encrypt64(18255176), + this.instances5.alice.encrypt32(254973729), ); - expect(res).to.equal(2024517605); + expect(res).to.equal(254973729); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 2 (1943842363, 1943842367)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 2 (18255172, 18255176)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(1943842363), - this.instances5.alice.encrypt32(1943842367), + this.instances5.alice.encrypt64(18255172), + this.instances5.alice.encrypt32(18255176), ); - expect(res).to.equal(1943842367); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 3 (1943842367, 1943842367)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 3 (18255176, 18255176)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(1943842367), - this.instances5.alice.encrypt32(1943842367), + this.instances5.alice.encrypt64(18255176), + this.instances5.alice.encrypt32(18255176), ); - expect(res).to.equal(1943842367); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 4 (1943842367, 1943842363)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 4 (18255176, 18255172)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(1943842367), - this.instances5.alice.encrypt32(1943842363), + this.instances5.alice.encrypt64(18255176), + this.instances5.alice.encrypt32(18255172), ); - expect(res).to.equal(1943842367); + expect(res).to.equal(18255176); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 1 (761810509, 74167544)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 1 (233729261, 36139823)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(761810509), - this.instances5.alice.encrypt64(74167544), + this.instances5.alice.encrypt64(233729261), + this.instances5.alice.encrypt64(36139823), ); - expect(res).to.equal(835978053); + expect(res).to.equal(269869084); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 2 (74167540, 74167544)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 2 (36139819, 36139823)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(74167540), - this.instances5.alice.encrypt64(74167544), + this.instances5.alice.encrypt64(36139819), + this.instances5.alice.encrypt64(36139823), ); - expect(res).to.equal(148335084); + expect(res).to.equal(72279642); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 3 (74167544, 74167544)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 3 (36139823, 36139823)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(74167544), - this.instances5.alice.encrypt64(74167544), + this.instances5.alice.encrypt64(36139823), + this.instances5.alice.encrypt64(36139823), ); - expect(res).to.equal(148335088); + expect(res).to.equal(72279646); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 4 (74167544, 74167540)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 4 (36139823, 36139819)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(74167544), - this.instances5.alice.encrypt64(74167540), + this.instances5.alice.encrypt64(36139823), + this.instances5.alice.encrypt64(36139819), ); - expect(res).to.equal(148335084); + expect(res).to.equal(72279642); }); - it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (1450674385, 1450674385)', async function () { + it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (279607, 279607)', async function () { const res = await this.contract5.sub_euint64_euint64( - this.instances5.alice.encrypt64(1450674385), - this.instances5.alice.encrypt64(1450674385), + this.instances5.alice.encrypt64(279607), + this.instances5.alice.encrypt64(279607), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, euint64) => euint64 test 2 (1450674385, 1450674381)', async function () { + it('test operator "sub" overload (euint64, euint64) => euint64 test 2 (279607, 279603)', async function () { const res = await this.contract5.sub_euint64_euint64( - this.instances5.alice.encrypt64(1450674385), - this.instances5.alice.encrypt64(1450674381), + this.instances5.alice.encrypt64(279607), + this.instances5.alice.encrypt64(279603), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (278067877, 1869129475)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (186466494, 16277264)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(278067877), - this.instances5.alice.encrypt64(1869129475), + this.instances5.alice.encrypt64(186466494), + this.instances5.alice.encrypt64(16277264), ); - expect(res).to.equal(519744864951374600); + expect(res).to.equal(3035164349992416); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 2 (278067873, 278067877)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 2 (16277260, 16277264)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(278067873), - this.instances5.alice.encrypt64(278067877), + this.instances5.alice.encrypt64(16277260), + this.instances5.alice.encrypt64(16277264), ); - expect(res).to.equal(77321743107015620); + expect(res).to.equal(264949258216640); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 3 (278067877, 278067877)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 3 (16277264, 16277264)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(278067877), - this.instances5.alice.encrypt64(278067877), + this.instances5.alice.encrypt64(16277264), + this.instances5.alice.encrypt64(16277264), ); - expect(res).to.equal(77321744219287140); + expect(res).to.equal(264949323325696); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 4 (278067877, 278067873)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 4 (16277264, 16277260)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(278067877), - this.instances5.alice.encrypt64(278067873), + this.instances5.alice.encrypt64(16277264), + this.instances5.alice.encrypt64(16277260), ); - expect(res).to.equal(77321743107015620); + expect(res).to.equal(264949258216640); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 1 (1294685955, 55045679)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 1 (190497921, 34355274)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(1294685955), - this.instances5.alice.encrypt64(55045679), + this.instances5.alice.encrypt64(190497921), + this.instances5.alice.encrypt64(34355274), ); - expect(res).to.equal(16991747); + expect(res).to.equal(34078720); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 2 (55045675, 55045679)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 2 (34355270, 34355274)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(55045675), - this.instances5.alice.encrypt64(55045679), + this.instances5.alice.encrypt64(34355270), + this.instances5.alice.encrypt64(34355274), ); - expect(res).to.equal(55045675); + expect(res).to.equal(34355266); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 3 (55045679, 55045679)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 3 (34355274, 34355274)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(55045679), - this.instances5.alice.encrypt64(55045679), + this.instances5.alice.encrypt64(34355274), + this.instances5.alice.encrypt64(34355274), ); - expect(res).to.equal(55045679); + expect(res).to.equal(34355274); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 4 (55045679, 55045675)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 4 (34355274, 34355270)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(55045679), - this.instances5.alice.encrypt64(55045675), + this.instances5.alice.encrypt64(34355274), + this.instances5.alice.encrypt64(34355270), ); - expect(res).to.equal(55045675); + expect(res).to.equal(34355266); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 1 (1405387766, 1463413902)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 1 (144995790, 193337091)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(1405387766), - this.instances5.alice.encrypt64(1463413902), + this.instances5.alice.encrypt64(144995790), + this.instances5.alice.encrypt64(193337091), ); - expect(res).to.equal(1476259838); + expect(res).to.equal(195459023); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 2 (1405387762, 1405387766)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 2 (144995786, 144995790)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(1405387762), - this.instances5.alice.encrypt64(1405387766), + this.instances5.alice.encrypt64(144995786), + this.instances5.alice.encrypt64(144995790), ); - expect(res).to.equal(1405387766); + expect(res).to.equal(144995790); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 3 (1405387766, 1405387766)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 3 (144995790, 144995790)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(1405387766), - this.instances5.alice.encrypt64(1405387766), + this.instances5.alice.encrypt64(144995790), + this.instances5.alice.encrypt64(144995790), ); - expect(res).to.equal(1405387766); + expect(res).to.equal(144995790); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 4 (1405387766, 1405387762)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 4 (144995790, 144995786)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(1405387766), - this.instances5.alice.encrypt64(1405387762), + this.instances5.alice.encrypt64(144995790), + this.instances5.alice.encrypt64(144995786), ); - expect(res).to.equal(1405387766); + expect(res).to.equal(144995790); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (1032596672, 34433579)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (236438189, 150524138)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(1032596672), - this.instances5.alice.encrypt64(34433579), + this.instances5.alice.encrypt64(236438189), + this.instances5.alice.encrypt64(150524138), ); - expect(res).to.equal(1065436907); + expect(res).to.equal(116331079); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (34433575, 34433579)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (150524134, 150524138)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(34433575), - this.instances5.alice.encrypt64(34433579), + this.instances5.alice.encrypt64(150524134), + this.instances5.alice.encrypt64(150524138), ); expect(res).to.equal(12); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 3 (34433579, 34433579)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 3 (150524138, 150524138)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(34433579), - this.instances5.alice.encrypt64(34433579), + this.instances5.alice.encrypt64(150524138), + this.instances5.alice.encrypt64(150524138), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 4 (34433579, 34433575)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 4 (150524138, 150524134)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(34433579), - this.instances5.alice.encrypt64(34433575), + this.instances5.alice.encrypt64(150524138), + this.instances5.alice.encrypt64(150524134), ); expect(res).to.equal(12); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 1 (2078992513, 1060802657)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 1 (173975280, 53304343)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(2078992513), - this.instances5.alice.encrypt64(1060802657), + this.instances5.alice.encrypt64(173975280), + this.instances5.alice.encrypt64(53304343), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 2 (1060802653, 1060802657)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 2 (53304339, 53304343)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(1060802653), - this.instances5.alice.encrypt64(1060802657), + this.instances5.alice.encrypt64(53304339), + this.instances5.alice.encrypt64(53304343), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 3 (1060802657, 1060802657)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 3 (53304343, 53304343)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(1060802657), - this.instances5.alice.encrypt64(1060802657), + this.instances5.alice.encrypt64(53304343), + this.instances5.alice.encrypt64(53304343), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 4 (1060802657, 1060802653)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 4 (53304343, 53304339)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(1060802657), - this.instances5.alice.encrypt64(1060802653), + this.instances5.alice.encrypt64(53304343), + this.instances5.alice.encrypt64(53304339), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 1 (1037057063, 451065562)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 1 (86198263, 178805096)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(1037057063), - this.instances5.alice.encrypt64(451065562), + this.instances5.alice.encrypt64(86198263), + this.instances5.alice.encrypt64(178805096), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 2 (451065558, 451065562)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 2 (86198259, 86198263)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(451065558), - this.instances5.alice.encrypt64(451065562), + this.instances5.alice.encrypt64(86198259), + this.instances5.alice.encrypt64(86198263), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 3 (451065562, 451065562)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 3 (86198263, 86198263)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(451065562), - this.instances5.alice.encrypt64(451065562), + this.instances5.alice.encrypt64(86198263), + this.instances5.alice.encrypt64(86198263), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 4 (451065562, 451065558)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 4 (86198263, 86198259)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(451065562), - this.instances5.alice.encrypt64(451065558), + this.instances5.alice.encrypt64(86198263), + this.instances5.alice.encrypt64(86198259), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 1 (1885602752, 1033076257)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 1 (105082351, 33126302)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(1885602752), - this.instances5.alice.encrypt64(1033076257), + this.instances5.alice.encrypt64(105082351), + this.instances5.alice.encrypt64(33126302), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 2 (1033076253, 1033076257)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 2 (33126298, 33126302)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(1033076253), - this.instances5.alice.encrypt64(1033076257), + this.instances5.alice.encrypt64(33126298), + this.instances5.alice.encrypt64(33126302), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 3 (1033076257, 1033076257)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 3 (33126302, 33126302)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(1033076257), - this.instances5.alice.encrypt64(1033076257), + this.instances5.alice.encrypt64(33126302), + this.instances5.alice.encrypt64(33126302), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 4 (1033076257, 1033076253)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 4 (33126302, 33126298)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(1033076257), - this.instances5.alice.encrypt64(1033076253), + this.instances5.alice.encrypt64(33126302), + this.instances5.alice.encrypt64(33126298), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 1 (307981806, 618210327)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 1 (264058266, 143096333)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(307981806), - this.instances5.alice.encrypt64(618210327), + this.instances5.alice.encrypt64(264058266), + this.instances5.alice.encrypt64(143096333), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 2 (307981802, 307981806)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 2 (143096329, 143096333)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(307981802), - this.instances5.alice.encrypt64(307981806), + this.instances5.alice.encrypt64(143096329), + this.instances5.alice.encrypt64(143096333), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 3 (307981806, 307981806)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 3 (143096333, 143096333)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(307981806), - this.instances5.alice.encrypt64(307981806), + this.instances5.alice.encrypt64(143096333), + this.instances5.alice.encrypt64(143096333), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 4 (307981806, 307981802)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 4 (143096333, 143096329)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(307981806), - this.instances5.alice.encrypt64(307981802), + this.instances5.alice.encrypt64(143096333), + this.instances5.alice.encrypt64(143096329), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 1 (2018662588, 1848670692)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 1 (4853853, 166520373)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(2018662588), - this.instances5.alice.encrypt64(1848670692), + this.instances5.alice.encrypt64(4853853), + this.instances5.alice.encrypt64(166520373), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 2 (1848670688, 1848670692)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 2 (4853849, 4853853)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(1848670688), - this.instances5.alice.encrypt64(1848670692), + this.instances5.alice.encrypt64(4853849), + this.instances5.alice.encrypt64(4853853), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 3 (1848670692, 1848670692)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 3 (4853853, 4853853)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(1848670692), - this.instances5.alice.encrypt64(1848670692), + this.instances5.alice.encrypt64(4853853), + this.instances5.alice.encrypt64(4853853), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 4 (1848670692, 1848670688)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 4 (4853853, 4853849)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(1848670692), - this.instances5.alice.encrypt64(1848670688), + this.instances5.alice.encrypt64(4853853), + this.instances5.alice.encrypt64(4853849), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 1 (102600113, 1772405733)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 1 (109092109, 141689285)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(102600113), - this.instances5.alice.encrypt64(1772405733), + this.instances5.alice.encrypt64(109092109), + this.instances5.alice.encrypt64(141689285), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 2 (102600109, 102600113)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 2 (109092105, 109092109)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(102600109), - this.instances5.alice.encrypt64(102600113), + this.instances5.alice.encrypt64(109092105), + this.instances5.alice.encrypt64(109092109), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 3 (102600113, 102600113)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 3 (109092109, 109092109)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(102600113), - this.instances5.alice.encrypt64(102600113), + this.instances5.alice.encrypt64(109092109), + this.instances5.alice.encrypt64(109092109), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 4 (102600113, 102600109)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 4 (109092109, 109092105)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(102600113), - this.instances5.alice.encrypt64(102600109), + this.instances5.alice.encrypt64(109092109), + this.instances5.alice.encrypt64(109092105), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 1 (1933734274, 484998270)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 1 (244314733, 181820547)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(1933734274), - this.instances5.alice.encrypt64(484998270), + this.instances5.alice.encrypt64(244314733), + this.instances5.alice.encrypt64(181820547), ); - expect(res).to.equal(484998270); + expect(res).to.equal(181820547); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 2 (484998266, 484998270)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 2 (181820543, 181820547)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(484998266), - this.instances5.alice.encrypt64(484998270), + this.instances5.alice.encrypt64(181820543), + this.instances5.alice.encrypt64(181820547), ); - expect(res).to.equal(484998266); + expect(res).to.equal(181820543); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 3 (484998270, 484998270)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 3 (181820547, 181820547)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(484998270), - this.instances5.alice.encrypt64(484998270), + this.instances5.alice.encrypt64(181820547), + this.instances5.alice.encrypt64(181820547), ); - expect(res).to.equal(484998270); + expect(res).to.equal(181820547); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 4 (484998270, 484998266)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 4 (181820547, 181820543)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(484998270), - this.instances5.alice.encrypt64(484998266), + this.instances5.alice.encrypt64(181820547), + this.instances5.alice.encrypt64(181820543), ); - expect(res).to.equal(484998266); + expect(res).to.equal(181820543); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 1 (1943842367, 1448051868)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 1 (18255176, 49337889)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(1943842367), - this.instances5.alice.encrypt64(1448051868), + this.instances5.alice.encrypt64(18255176), + this.instances5.alice.encrypt64(49337889), ); - expect(res).to.equal(1943842367); + expect(res).to.equal(49337889); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 2 (1448051864, 1448051868)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 2 (18255172, 18255176)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(1448051864), - this.instances5.alice.encrypt64(1448051868), + this.instances5.alice.encrypt64(18255172), + this.instances5.alice.encrypt64(18255176), ); - expect(res).to.equal(1448051868); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 3 (1448051868, 1448051868)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 3 (18255176, 18255176)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(1448051868), - this.instances5.alice.encrypt64(1448051868), + this.instances5.alice.encrypt64(18255176), + this.instances5.alice.encrypt64(18255176), ); - expect(res).to.equal(1448051868); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 4 (1448051868, 1448051864)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 4 (18255176, 18255172)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(1448051868), - this.instances5.alice.encrypt64(1448051864), + this.instances5.alice.encrypt64(18255176), + this.instances5.alice.encrypt64(18255172), ); - expect(res).to.equal(1448051868); + expect(res).to.equal(18255176); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 1 (761810509, 1968908307)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(761810509), 1968908307); - expect(res).to.equal(2730718816); + it('test operator "add" overload (euint64, uint64) => euint64 test 1 (233729261, 163957114)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(233729261), 163957114); + expect(res).to.equal(397686375); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 2 (74167540, 74167544)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(74167540), 74167544); - expect(res).to.equal(148335084); + it('test operator "add" overload (euint64, uint64) => euint64 test 2 (36139819, 36139823)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(36139819), 36139823); + expect(res).to.equal(72279642); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 3 (74167544, 74167544)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(74167544), 74167544); - expect(res).to.equal(148335088); + it('test operator "add" overload (euint64, uint64) => euint64 test 3 (36139823, 36139823)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(36139823), 36139823); + expect(res).to.equal(72279646); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 4 (74167544, 74167540)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(74167544), 74167540); - expect(res).to.equal(148335084); + it('test operator "add" overload (euint64, uint64) => euint64 test 4 (36139823, 36139819)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(36139823), 36139819); + expect(res).to.equal(72279642); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 1 (1954867210, 1968908307)', async function () { - const res = await this.contract5.add_uint64_euint64(1954867210, this.instances5.alice.encrypt64(1968908307)); - expect(res).to.equal(3923775517); + it('test operator "add" overload (uint64, euint64) => euint64 test 1 (35664883, 163957114)', async function () { + const res = await this.contract5.add_uint64_euint64(35664883, this.instances5.alice.encrypt64(163957114)); + expect(res).to.equal(199621997); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 2 (74167540, 74167544)', async function () { - const res = await this.contract5.add_uint64_euint64(74167540, this.instances5.alice.encrypt64(74167544)); - expect(res).to.equal(148335084); + it('test operator "add" overload (uint64, euint64) => euint64 test 2 (36139819, 36139823)', async function () { + const res = await this.contract5.add_uint64_euint64(36139819, this.instances5.alice.encrypt64(36139823)); + expect(res).to.equal(72279642); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 3 (74167544, 74167544)', async function () { - const res = await this.contract5.add_uint64_euint64(74167544, this.instances5.alice.encrypt64(74167544)); - expect(res).to.equal(148335088); + it('test operator "add" overload (uint64, euint64) => euint64 test 3 (36139823, 36139823)', async function () { + const res = await this.contract5.add_uint64_euint64(36139823, this.instances5.alice.encrypt64(36139823)); + expect(res).to.equal(72279646); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 4 (74167544, 74167540)', async function () { - const res = await this.contract5.add_uint64_euint64(74167544, this.instances5.alice.encrypt64(74167540)); - expect(res).to.equal(148335084); + it('test operator "add" overload (uint64, euint64) => euint64 test 4 (36139823, 36139819)', async function () { + const res = await this.contract5.add_uint64_euint64(36139823, this.instances5.alice.encrypt64(36139819)); + expect(res).to.equal(72279642); }); - it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (1450674385, 1450674385)', async function () { - const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(1450674385), 1450674385); + it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (279607, 279607)', async function () { + const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(279607), 279607); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, uint64) => euint64 test 2 (1450674385, 1450674381)', async function () { - const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(1450674385), 1450674381); + it('test operator "sub" overload (euint64, uint64) => euint64 test 2 (279607, 279603)', async function () { + const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(279607), 279603); expect(res).to.equal(4); }); - it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (1450674385, 1450674385)', async function () { - const res = await this.contract5.sub_uint64_euint64(1450674385, this.instances5.alice.encrypt64(1450674385)); + it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (279607, 279607)', async function () { + const res = await this.contract5.sub_uint64_euint64(279607, this.instances5.alice.encrypt64(279607)); expect(res).to.equal(0); }); - it('test operator "sub" overload (uint64, euint64) => euint64 test 2 (1450674385, 1450674381)', async function () { - const res = await this.contract5.sub_uint64_euint64(1450674385, this.instances5.alice.encrypt64(1450674381)); + it('test operator "sub" overload (uint64, euint64) => euint64 test 2 (279607, 279603)', async function () { + const res = await this.contract5.sub_uint64_euint64(279607, this.instances5.alice.encrypt64(279603)); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (278067877, 45641442)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(278067877), 45641442); - expect(res).to.equal(12691418880158634); + it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (186466494, 244564286)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(186466494), 244564286); + expect(res).to.equal(45603044968033280); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 2 (278067873, 278067877)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(278067873), 278067877); - expect(res).to.equal(77321743107015620); + it('test operator "mul" overload (euint64, uint64) => euint64 test 2 (16277260, 16277264)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(16277260), 16277264); + expect(res).to.equal(264949258216640); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 3 (278067877, 278067877)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(278067877), 278067877); - expect(res).to.equal(77321744219287140); + it('test operator "mul" overload (euint64, uint64) => euint64 test 3 (16277264, 16277264)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(16277264), 16277264); + expect(res).to.equal(264949323325696); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 4 (278067877, 278067873)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(278067877), 278067873); - expect(res).to.equal(77321743107015620); + it('test operator "mul" overload (euint64, uint64) => euint64 test 4 (16277264, 16277260)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(16277264), 16277260); + expect(res).to.equal(264949258216640); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (1066035620, 45641442)', async function () { - const res = await this.contract5.mul_uint64_euint64(1066035620, this.instances5.alice.encrypt64(45641442)); - expect(res).to.equal(48655402920164040); + it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (8323036, 244564286)', async function () { + const res = await this.contract5.mul_uint64_euint64(8323036, this.instances5.alice.encrypt64(244564286)); + expect(res).to.equal(2035517356692296); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 2 (278067873, 278067877)', async function () { - const res = await this.contract5.mul_uint64_euint64(278067873, this.instances5.alice.encrypt64(278067877)); - expect(res).to.equal(77321743107015620); + it('test operator "mul" overload (uint64, euint64) => euint64 test 2 (16277260, 16277264)', async function () { + const res = await this.contract5.mul_uint64_euint64(16277260, this.instances5.alice.encrypt64(16277264)); + expect(res).to.equal(264949258216640); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 3 (278067877, 278067877)', async function () { - const res = await this.contract5.mul_uint64_euint64(278067877, this.instances5.alice.encrypt64(278067877)); - expect(res).to.equal(77321744219287140); + it('test operator "mul" overload (uint64, euint64) => euint64 test 3 (16277264, 16277264)', async function () { + const res = await this.contract5.mul_uint64_euint64(16277264, this.instances5.alice.encrypt64(16277264)); + expect(res).to.equal(264949323325696); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 4 (278067877, 278067873)', async function () { - const res = await this.contract5.mul_uint64_euint64(278067877, this.instances5.alice.encrypt64(278067873)); - expect(res).to.equal(77321743107015620); + it('test operator "mul" overload (uint64, euint64) => euint64 test 4 (16277264, 16277260)', async function () { + const res = await this.contract5.mul_uint64_euint64(16277264, this.instances5.alice.encrypt64(16277260)); + expect(res).to.equal(264949258216640); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 1 (1965907341, 1364383301)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(1965907341), 1364383301); - expect(res).to.equal(1); + it('test operator "div" overload (euint64, uint64) => euint64 test 1 (253358888, 98592501)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(253358888), 98592501); + expect(res).to.equal(2); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 2 (16210309, 16210313)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(16210309), 16210313); + it('test operator "div" overload (euint64, uint64) => euint64 test 2 (216552409, 216552413)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(216552409), 216552413); expect(res).to.equal(0); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 3 (16210313, 16210313)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(16210313), 16210313); + it('test operator "div" overload (euint64, uint64) => euint64 test 3 (216552413, 216552413)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(216552413), 216552413); expect(res).to.equal(1); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 4 (16210313, 16210309)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(16210313), 16210309); + it('test operator "div" overload (euint64, uint64) => euint64 test 4 (216552413, 216552409)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(216552413), 216552409); expect(res).to.equal(1); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (1066501377, 1975528768)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(1066501377), 1975528768); - expect(res).to.equal(1066501377); + it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (188635834, 135019919)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(188635834), 135019919); + expect(res).to.equal(53615915); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 2 (1066501373, 1066501377)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(1066501373), 1066501377); - expect(res).to.equal(1066501373); + it('test operator "rem" overload (euint64, uint64) => euint64 test 2 (188635830, 188635834)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(188635830), 188635834); + expect(res).to.equal(188635830); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 3 (1066501377, 1066501377)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(1066501377), 1066501377); + it('test operator "rem" overload (euint64, uint64) => euint64 test 3 (188635834, 188635834)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(188635834), 188635834); expect(res).to.equal(0); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 4 (1066501377, 1066501373)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(1066501377), 1066501373); + it('test operator "rem" overload (euint64, uint64) => euint64 test 4 (188635834, 188635830)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(188635834), 188635830); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 1 (2078992513, 415471663)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(2078992513), 415471663); + it('test operator "eq" overload (euint64, uint64) => ebool test 1 (173975280, 166663710)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(173975280), 166663710); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 2 (1060802653, 1060802657)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1060802653), 1060802657); + it('test operator "eq" overload (euint64, uint64) => ebool test 2 (53304339, 53304343)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(53304339), 53304343); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 3 (1060802657, 1060802657)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1060802657), 1060802657); + it('test operator "eq" overload (euint64, uint64) => ebool test 3 (53304343, 53304343)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(53304343), 53304343); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 4 (1060802657, 1060802653)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1060802657), 1060802653); + it('test operator "eq" overload (euint64, uint64) => ebool test 4 (53304343, 53304339)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(53304343), 53304339); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 1 (810072111, 415471663)', async function () { - const res = await this.contract5.eq_uint64_euint64(810072111, this.instances5.alice.encrypt64(415471663)); + it('test operator "eq" overload (uint64, euint64) => ebool test 1 (122047770, 166663710)', async function () { + const res = await this.contract5.eq_uint64_euint64(122047770, this.instances5.alice.encrypt64(166663710)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 2 (1060802653, 1060802657)', async function () { - const res = await this.contract5.eq_uint64_euint64(1060802653, this.instances5.alice.encrypt64(1060802657)); + it('test operator "eq" overload (uint64, euint64) => ebool test 2 (53304339, 53304343)', async function () { + const res = await this.contract5.eq_uint64_euint64(53304339, this.instances5.alice.encrypt64(53304343)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 3 (1060802657, 1060802657)', async function () { - const res = await this.contract5.eq_uint64_euint64(1060802657, this.instances5.alice.encrypt64(1060802657)); + it('test operator "eq" overload (uint64, euint64) => ebool test 3 (53304343, 53304343)', async function () { + const res = await this.contract5.eq_uint64_euint64(53304343, this.instances5.alice.encrypt64(53304343)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 4 (1060802657, 1060802653)', async function () { - const res = await this.contract5.eq_uint64_euint64(1060802657, this.instances5.alice.encrypt64(1060802653)); + it('test operator "eq" overload (uint64, euint64) => ebool test 4 (53304343, 53304339)', async function () { + const res = await this.contract5.eq_uint64_euint64(53304343, this.instances5.alice.encrypt64(53304339)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 1 (1037057063, 1794841801)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(1037057063), 1794841801); + it('test operator "ne" overload (euint64, uint64) => ebool test 1 (86198263, 40246882)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(86198263), 40246882); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 2 (451065558, 451065562)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(451065558), 451065562); + it('test operator "ne" overload (euint64, uint64) => ebool test 2 (86198259, 86198263)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(86198259), 86198263); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 3 (451065562, 451065562)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(451065562), 451065562); + it('test operator "ne" overload (euint64, uint64) => ebool test 3 (86198263, 86198263)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(86198263), 86198263); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 4 (451065562, 451065558)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(451065562), 451065558); + it('test operator "ne" overload (euint64, uint64) => ebool test 4 (86198263, 86198259)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(86198263), 86198259); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 1 (1447708235, 1794841801)', async function () { - const res = await this.contract5.ne_uint64_euint64(1447708235, this.instances5.alice.encrypt64(1794841801)); + it('test operator "ne" overload (uint64, euint64) => ebool test 1 (167642465, 40246882)', async function () { + const res = await this.contract5.ne_uint64_euint64(167642465, this.instances5.alice.encrypt64(40246882)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 2 (451065558, 451065562)', async function () { - const res = await this.contract5.ne_uint64_euint64(451065558, this.instances5.alice.encrypt64(451065562)); + it('test operator "ne" overload (uint64, euint64) => ebool test 2 (86198259, 86198263)', async function () { + const res = await this.contract5.ne_uint64_euint64(86198259, this.instances5.alice.encrypt64(86198263)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 3 (451065562, 451065562)', async function () { - const res = await this.contract5.ne_uint64_euint64(451065562, this.instances5.alice.encrypt64(451065562)); + it('test operator "ne" overload (uint64, euint64) => ebool test 3 (86198263, 86198263)', async function () { + const res = await this.contract5.ne_uint64_euint64(86198263, this.instances5.alice.encrypt64(86198263)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 4 (451065562, 451065558)', async function () { - const res = await this.contract5.ne_uint64_euint64(451065562, this.instances5.alice.encrypt64(451065558)); + it('test operator "ne" overload (uint64, euint64) => ebool test 4 (86198263, 86198259)', async function () { + const res = await this.contract5.ne_uint64_euint64(86198263, this.instances5.alice.encrypt64(86198259)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 1 (1885602752, 494320060)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(1885602752), 494320060); + it('test operator "ge" overload (euint64, uint64) => ebool test 1 (105082351, 48493907)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(105082351), 48493907); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 2 (1033076253, 1033076257)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(1033076253), 1033076257); + it('test operator "ge" overload (euint64, uint64) => ebool test 2 (33126298, 33126302)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(33126298), 33126302); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 3 (1033076257, 1033076257)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(1033076257), 1033076257); + it('test operator "ge" overload (euint64, uint64) => ebool test 3 (33126302, 33126302)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(33126302), 33126302); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 4 (1033076257, 1033076253)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(1033076257), 1033076253); + it('test operator "ge" overload (euint64, uint64) => ebool test 4 (33126302, 33126298)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(33126302), 33126298); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 1 (1544604409, 494320060)', async function () { - const res = await this.contract5.ge_uint64_euint64(1544604409, this.instances5.alice.encrypt64(494320060)); - expect(res).to.equal(true); + it('test operator "ge" overload (uint64, euint64) => ebool test 1 (322150, 48493907)', async function () { + const res = await this.contract5.ge_uint64_euint64(322150, this.instances5.alice.encrypt64(48493907)); + expect(res).to.equal(false); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 2 (1033076253, 1033076257)', async function () { - const res = await this.contract5.ge_uint64_euint64(1033076253, this.instances5.alice.encrypt64(1033076257)); + it('test operator "ge" overload (uint64, euint64) => ebool test 2 (33126298, 33126302)', async function () { + const res = await this.contract5.ge_uint64_euint64(33126298, this.instances5.alice.encrypt64(33126302)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 3 (1033076257, 1033076257)', async function () { - const res = await this.contract5.ge_uint64_euint64(1033076257, this.instances5.alice.encrypt64(1033076257)); + it('test operator "ge" overload (uint64, euint64) => ebool test 3 (33126302, 33126302)', async function () { + const res = await this.contract5.ge_uint64_euint64(33126302, this.instances5.alice.encrypt64(33126302)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 4 (1033076257, 1033076253)', async function () { - const res = await this.contract5.ge_uint64_euint64(1033076257, this.instances5.alice.encrypt64(1033076253)); + it('test operator "ge" overload (uint64, euint64) => ebool test 4 (33126302, 33126298)', async function () { + const res = await this.contract5.ge_uint64_euint64(33126302, this.instances5.alice.encrypt64(33126298)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 1 (307981806, 218365735)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(307981806), 218365735); + it('test operator "gt" overload (euint64, uint64) => ebool test 1 (264058266, 101035647)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(264058266), 101035647); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 2 (307981802, 307981806)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(307981802), 307981806); + it('test operator "gt" overload (euint64, uint64) => ebool test 2 (143096329, 143096333)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(143096329), 143096333); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 3 (307981806, 307981806)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(307981806), 307981806); + it('test operator "gt" overload (euint64, uint64) => ebool test 3 (143096333, 143096333)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(143096333), 143096333); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 4 (307981806, 307981802)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(307981806), 307981802); + it('test operator "gt" overload (euint64, uint64) => ebool test 4 (143096333, 143096329)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(143096333), 143096329); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 1 (342213755, 218365735)', async function () { - const res = await this.contract5.gt_uint64_euint64(342213755, this.instances5.alice.encrypt64(218365735)); + it('test operator "gt" overload (uint64, euint64) => ebool test 1 (236395744, 101035647)', async function () { + const res = await this.contract5.gt_uint64_euint64(236395744, this.instances5.alice.encrypt64(101035647)); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 2 (307981802, 307981806)', async function () { - const res = await this.contract5.gt_uint64_euint64(307981802, this.instances5.alice.encrypt64(307981806)); + it('test operator "gt" overload (uint64, euint64) => ebool test 2 (143096329, 143096333)', async function () { + const res = await this.contract5.gt_uint64_euint64(143096329, this.instances5.alice.encrypt64(143096333)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 3 (307981806, 307981806)', async function () { - const res = await this.contract5.gt_uint64_euint64(307981806, this.instances5.alice.encrypt64(307981806)); + it('test operator "gt" overload (uint64, euint64) => ebool test 3 (143096333, 143096333)', async function () { + const res = await this.contract5.gt_uint64_euint64(143096333, this.instances5.alice.encrypt64(143096333)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 4 (307981806, 307981802)', async function () { - const res = await this.contract5.gt_uint64_euint64(307981806, this.instances5.alice.encrypt64(307981802)); + it('test operator "gt" overload (uint64, euint64) => ebool test 4 (143096333, 143096329)', async function () { + const res = await this.contract5.gt_uint64_euint64(143096333, this.instances5.alice.encrypt64(143096329)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 1 (2018662588, 32215999)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(2018662588), 32215999); - expect(res).to.equal(false); + it('test operator "le" overload (euint64, uint64) => ebool test 1 (4853853, 71100277)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(4853853), 71100277); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 2 (1848670688, 1848670692)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(1848670688), 1848670692); + it('test operator "le" overload (euint64, uint64) => ebool test 2 (4853849, 4853853)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(4853849), 4853853); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 3 (1848670692, 1848670692)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(1848670692), 1848670692); + it('test operator "le" overload (euint64, uint64) => ebool test 3 (4853853, 4853853)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(4853853), 4853853); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 4 (1848670692, 1848670688)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(1848670692), 1848670688); + it('test operator "le" overload (euint64, uint64) => ebool test 4 (4853853, 4853849)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(4853853), 4853849); expect(res).to.equal(false); }); - it('test operator "le" overload (uint64, euint64) => ebool test 1 (119652561, 32215999)', async function () { - const res = await this.contract5.le_uint64_euint64(119652561, this.instances5.alice.encrypt64(32215999)); + it('test operator "le" overload (uint64, euint64) => ebool test 1 (111458198, 71100277)', async function () { + const res = await this.contract5.le_uint64_euint64(111458198, this.instances5.alice.encrypt64(71100277)); expect(res).to.equal(false); }); - it('test operator "le" overload (uint64, euint64) => ebool test 2 (1848670688, 1848670692)', async function () { - const res = await this.contract5.le_uint64_euint64(1848670688, this.instances5.alice.encrypt64(1848670692)); + it('test operator "le" overload (uint64, euint64) => ebool test 2 (4853849, 4853853)', async function () { + const res = await this.contract5.le_uint64_euint64(4853849, this.instances5.alice.encrypt64(4853853)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint64, euint64) => ebool test 3 (1848670692, 1848670692)', async function () { - const res = await this.contract5.le_uint64_euint64(1848670692, this.instances5.alice.encrypt64(1848670692)); + it('test operator "le" overload (uint64, euint64) => ebool test 3 (4853853, 4853853)', async function () { + const res = await this.contract5.le_uint64_euint64(4853853, this.instances5.alice.encrypt64(4853853)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint64, euint64) => ebool test 4 (1848670692, 1848670688)', async function () { - const res = await this.contract5.le_uint64_euint64(1848670692, this.instances5.alice.encrypt64(1848670688)); + it('test operator "le" overload (uint64, euint64) => ebool test 4 (4853853, 4853849)', async function () { + const res = await this.contract5.le_uint64_euint64(4853853, this.instances5.alice.encrypt64(4853849)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 1 (102600113, 1945807436)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(102600113), 1945807436); + it('test operator "lt" overload (euint64, uint64) => ebool test 1 (109092109, 187709038)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(109092109), 187709038); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 2 (102600109, 102600113)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(102600109), 102600113); + it('test operator "lt" overload (euint64, uint64) => ebool test 2 (109092105, 109092109)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(109092105), 109092109); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 3 (102600113, 102600113)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(102600113), 102600113); + it('test operator "lt" overload (euint64, uint64) => ebool test 3 (109092109, 109092109)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(109092109), 109092109); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 4 (102600113, 102600109)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(102600113), 102600109); + it('test operator "lt" overload (euint64, uint64) => ebool test 4 (109092109, 109092105)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(109092109), 109092105); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 1 (1582166407, 1945807436)', async function () { - const res = await this.contract5.lt_uint64_euint64(1582166407, this.instances5.alice.encrypt64(1945807436)); - expect(res).to.equal(true); + it('test operator "lt" overload (uint64, euint64) => ebool test 1 (191874287, 187709038)', async function () { + const res = await this.contract5.lt_uint64_euint64(191874287, this.instances5.alice.encrypt64(187709038)); + expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 2 (102600109, 102600113)', async function () { - const res = await this.contract5.lt_uint64_euint64(102600109, this.instances5.alice.encrypt64(102600113)); + it('test operator "lt" overload (uint64, euint64) => ebool test 2 (109092105, 109092109)', async function () { + const res = await this.contract5.lt_uint64_euint64(109092105, this.instances5.alice.encrypt64(109092109)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 3 (102600113, 102600113)', async function () { - const res = await this.contract5.lt_uint64_euint64(102600113, this.instances5.alice.encrypt64(102600113)); + it('test operator "lt" overload (uint64, euint64) => ebool test 3 (109092109, 109092109)', async function () { + const res = await this.contract5.lt_uint64_euint64(109092109, this.instances5.alice.encrypt64(109092109)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 4 (102600113, 102600109)', async function () { - const res = await this.contract5.lt_uint64_euint64(102600113, this.instances5.alice.encrypt64(102600109)); + it('test operator "lt" overload (uint64, euint64) => ebool test 4 (109092109, 109092105)', async function () { + const res = await this.contract5.lt_uint64_euint64(109092109, this.instances5.alice.encrypt64(109092105)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 1 (1933734274, 2130607481)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(1933734274), 2130607481); - expect(res).to.equal(1933734274); + it('test operator "min" overload (euint64, uint64) => euint64 test 1 (244314733, 105400651)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(244314733), 105400651); + expect(res).to.equal(105400651); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 2 (484998266, 484998270)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(484998266), 484998270); - expect(res).to.equal(484998266); + it('test operator "min" overload (euint64, uint64) => euint64 test 2 (181820543, 181820547)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(181820543), 181820547); + expect(res).to.equal(181820543); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 3 (484998270, 484998270)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(484998270), 484998270); - expect(res).to.equal(484998270); + it('test operator "min" overload (euint64, uint64) => euint64 test 3 (181820547, 181820547)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(181820547), 181820547); + expect(res).to.equal(181820547); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 4 (484998270, 484998266)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(484998270), 484998266); - expect(res).to.equal(484998266); + it('test operator "min" overload (euint64, uint64) => euint64 test 4 (181820547, 181820543)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(181820547), 181820543); + expect(res).to.equal(181820543); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 1 (1509813623, 2130607481)', async function () { - const res = await this.contract5.min_uint64_euint64(1509813623, this.instances5.alice.encrypt64(2130607481)); - expect(res).to.equal(1509813623); + it('test operator "min" overload (uint64, euint64) => euint64 test 1 (92885905, 105400651)', async function () { + const res = await this.contract5.min_uint64_euint64(92885905, this.instances5.alice.encrypt64(105400651)); + expect(res).to.equal(92885905); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 2 (484998266, 484998270)', async function () { - const res = await this.contract5.min_uint64_euint64(484998266, this.instances5.alice.encrypt64(484998270)); - expect(res).to.equal(484998266); + it('test operator "min" overload (uint64, euint64) => euint64 test 2 (181820543, 181820547)', async function () { + const res = await this.contract5.min_uint64_euint64(181820543, this.instances5.alice.encrypt64(181820547)); + expect(res).to.equal(181820543); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 3 (484998270, 484998270)', async function () { - const res = await this.contract5.min_uint64_euint64(484998270, this.instances5.alice.encrypt64(484998270)); - expect(res).to.equal(484998270); + it('test operator "min" overload (uint64, euint64) => euint64 test 3 (181820547, 181820547)', async function () { + const res = await this.contract5.min_uint64_euint64(181820547, this.instances5.alice.encrypt64(181820547)); + expect(res).to.equal(181820547); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 4 (484998270, 484998266)', async function () { - const res = await this.contract5.min_uint64_euint64(484998270, this.instances5.alice.encrypt64(484998266)); - expect(res).to.equal(484998266); + it('test operator "min" overload (uint64, euint64) => euint64 test 4 (181820547, 181820543)', async function () { + const res = await this.contract5.min_uint64_euint64(181820547, this.instances5.alice.encrypt64(181820543)); + expect(res).to.equal(181820543); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 1 (1943842367, 447177064)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(1943842367), 447177064); - expect(res).to.equal(1943842367); + it('test operator "max" overload (euint64, uint64) => euint64 test 1 (18255176, 62769148)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(18255176), 62769148); + expect(res).to.equal(62769148); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 2 (1448051864, 1448051868)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(1448051864), 1448051868); - expect(res).to.equal(1448051868); + it('test operator "max" overload (euint64, uint64) => euint64 test 2 (18255172, 18255176)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(18255172), 18255176); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 3 (1448051868, 1448051868)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(1448051868), 1448051868); - expect(res).to.equal(1448051868); + it('test operator "max" overload (euint64, uint64) => euint64 test 3 (18255176, 18255176)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(18255176), 18255176); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 4 (1448051868, 1448051864)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(1448051868), 1448051864); - expect(res).to.equal(1448051868); + it('test operator "max" overload (euint64, uint64) => euint64 test 4 (18255176, 18255172)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(18255176), 18255172); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 1 (776673220, 447177064)', async function () { - const res = await this.contract5.max_uint64_euint64(776673220, this.instances5.alice.encrypt64(447177064)); - expect(res).to.equal(776673220); + it('test operator "max" overload (uint64, euint64) => euint64 test 1 (31807553, 62769148)', async function () { + const res = await this.contract5.max_uint64_euint64(31807553, this.instances5.alice.encrypt64(62769148)); + expect(res).to.equal(62769148); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 2 (1448051864, 1448051868)', async function () { - const res = await this.contract5.max_uint64_euint64(1448051864, this.instances5.alice.encrypt64(1448051868)); - expect(res).to.equal(1448051868); + it('test operator "max" overload (uint64, euint64) => euint64 test 2 (18255172, 18255176)', async function () { + const res = await this.contract5.max_uint64_euint64(18255172, this.instances5.alice.encrypt64(18255176)); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 3 (1448051868, 1448051868)', async function () { - const res = await this.contract5.max_uint64_euint64(1448051868, this.instances5.alice.encrypt64(1448051868)); - expect(res).to.equal(1448051868); + it('test operator "max" overload (uint64, euint64) => euint64 test 3 (18255176, 18255176)', async function () { + const res = await this.contract5.max_uint64_euint64(18255176, this.instances5.alice.encrypt64(18255176)); + expect(res).to.equal(18255176); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 4 (1448051868, 1448051864)', async function () { - const res = await this.contract5.max_uint64_euint64(1448051868, this.instances5.alice.encrypt64(1448051864)); - expect(res).to.equal(1448051868); + it('test operator "max" overload (uint64, euint64) => euint64 test 4 (18255176, 18255172)', async function () { + const res = await this.contract5.max_uint64_euint64(18255176, this.instances5.alice.encrypt64(18255172)); + expect(res).to.equal(18255176); }); - it('test operator "shl" overload (euint4, uint8) => euint4 test 1 (1, 9)', async function () { - const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(1), 9); - expect(res).to.equal(0); + it('test operator "shl" overload (euint4, uint8) => euint4 test 1 (1, 7)', async function () { + const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(1), 7); + expect(res).to.equal(8); }); it('test operator "shl" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(4), 8); - expect(res).to.equal(0); + expect(res).to.equal(4); }); it('test operator "shl" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(8), 8); - expect(res).to.equal(0); + expect(res).to.equal(8); }); it('test operator "shl" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(8), 4); - expect(res).to.equal(0); + expect(res).to.equal(8); }); - it('test operator "shr" overload (euint4, uint8) => euint4 test 1 (5, 7)', async function () { - const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(5), 7); - expect(res).to.equal(0); + it('test operator "shr" overload (euint4, uint8) => euint4 test 1 (6, 5)', async function () { + const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(6), 5); + expect(res).to.equal(3); }); it('test operator "shr" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(4), 8); - expect(res).to.equal(0); + expect(res).to.equal(4); }); it('test operator "shr" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(8), 8); - expect(res).to.equal(0); + expect(res).to.equal(8); }); it('test operator "shr" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(8), 4); - expect(res).to.equal(0); + expect(res).to.equal(8); }); - it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (15, 7)', async function () { + it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (89, 1)', async function () { const res = await this.contract5.shl_euint8_euint8( - this.instances5.alice.encrypt8(15), - this.instances5.alice.encrypt8(7), + this.instances5.alice.encrypt8(89), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(0); + expect(res).to.equal(178); }); it('test operator "shl" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -13253,7 +13253,7 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt8(4), this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(4); }); it('test operator "shl" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { @@ -13261,7 +13261,7 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt8(8), this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(8); }); it('test operator "shl" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { @@ -13269,35 +13269,35 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt8(8), this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(0); + expect(res).to.equal(128); }); - it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (15, 173)', async function () { - const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(15), 173); - expect(res).to.equal(0); + it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (89, 1)', async function () { + const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(89), 1); + expect(res).to.equal(178); }); it('test operator "shl" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(4), 8); - expect(res).to.equal(0); + expect(res).to.equal(4); }); it('test operator "shl" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(8), 8); - expect(res).to.equal(0); + expect(res).to.equal(8); }); it('test operator "shl" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(8), 4); - expect(res).to.equal(0); + expect(res).to.equal(128); }); - it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (113, 7)', async function () { + it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (83, 5)', async function () { const res = await this.contract5.shr_euint8_euint8( - this.instances5.alice.encrypt8(113), - this.instances5.alice.encrypt8(7), + this.instances5.alice.encrypt8(83), + this.instances5.alice.encrypt8(5), ); - expect(res).to.equal(0); + expect(res).to.equal(2); }); it('test operator "shr" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -13305,7 +13305,7 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt8(4), this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(4); }); it('test operator "shr" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { @@ -13313,7 +13313,7 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt8(8), this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(8); }); it('test operator "shr" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { @@ -13324,19 +13324,19 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (113, 128)', async function () { - const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(113), 128); - expect(res).to.equal(113); + it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (83, 5)', async function () { + const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(83), 5); + expect(res).to.equal(2); }); it('test operator "shr" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(4), 8); - expect(res).to.equal(0); + expect(res).to.equal(4); }); it('test operator "shr" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(8), 8); - expect(res).to.equal(0); + expect(res).to.equal(8); }); it('test operator "shr" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { @@ -13344,12 +13344,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (470, 1)', async function () { + it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (52308, 7)', async function () { const res = await this.contract5.shl_euint16_euint8( - this.instances5.alice.encrypt16(470), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt16(52308), + this.instances5.alice.encrypt8(7), ); - expect(res).to.equal(235); + expect(res).to.equal(10752); }); it('test operator "shl" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { @@ -13357,7 +13357,7 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt16(4), this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(1024); }); it('test operator "shl" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { @@ -13365,7 +13365,7 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt16(8), this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(2048); }); it('test operator "shl" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { @@ -13373,35 +13373,35 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt16(8), this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(0); + expect(res).to.equal(128); }); - it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (60273, 120)', async function () { - const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(60273), 120); - expect(res).to.equal(0); + it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (52308, 7)', async function () { + const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(52308), 7); + expect(res).to.equal(10752); }); it('test operator "shl" overload (euint16, uint8) => euint16 test 2 (4, 8)', async function () { const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(4), 8); - expect(res).to.equal(0); + expect(res).to.equal(1024); }); it('test operator "shl" overload (euint16, uint8) => euint16 test 3 (8, 8)', async function () { const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(8), 8); - expect(res).to.equal(0); + expect(res).to.equal(2048); }); it('test operator "shl" overload (euint16, uint8) => euint16 test 4 (8, 4)', async function () { const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(8), 4); - expect(res).to.equal(0); + expect(res).to.equal(128); }); - it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (386, 1)', async function () { + it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (60963, 1)', async function () { const res = await this.contract5.shr_euint16_euint8( - this.instances5.alice.encrypt16(386), + this.instances5.alice.encrypt16(60963), this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(193); + expect(res).to.equal(30481); }); it('test operator "shr" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { @@ -13428,9 +13428,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (49490, 216)', async function () { - const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(49490), 216); - expect(res).to.equal(0); + it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (60963, 1)', async function () { + const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(60963), 1); + expect(res).to.equal(30481); }); it('test operator "shr" overload (euint16, uint8) => euint16 test 2 (4, 8)', async function () { @@ -13448,12 +13448,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (465, 1)', async function () { + it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (136621573, 1)', async function () { const res = await this.contract5.shl_euint32_euint8( - this.instances5.alice.encrypt32(465), + this.instances5.alice.encrypt32(136621573), this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(232); + expect(res).to.equal(273243146); }); it('test operator "shl" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { @@ -13461,7 +13461,7 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt32(4), this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(1024); }); it('test operator "shl" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { @@ -13469,7 +13469,7 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt32(8), this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(2048); }); it('test operator "shl" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { @@ -13477,35 +13477,35 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt32(8), this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(0); + expect(res).to.equal(128); }); - it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (465, 1)', async function () { - const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(465), 1); - expect(res).to.equal(232); + it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (136621573, 1)', async function () { + const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(136621573), 1); + expect(res).to.equal(273243146); }); it('test operator "shl" overload (euint32, uint8) => euint32 test 2 (4, 8)', async function () { const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(4), 8); - expect(res).to.equal(0); + expect(res).to.equal(1024); }); it('test operator "shl" overload (euint32, uint8) => euint32 test 3 (8, 8)', async function () { const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(8), 8); - expect(res).to.equal(0); + expect(res).to.equal(2048); }); it('test operator "shl" overload (euint32, uint8) => euint32 test 4 (8, 4)', async function () { const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(8), 4); - expect(res).to.equal(0); + expect(res).to.equal(128); }); - it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (315, 1)', async function () { + it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (157098209, 6)', async function () { const res = await this.contract5.shr_euint32_euint8( - this.instances5.alice.encrypt32(315), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt32(157098209), + this.instances5.alice.encrypt8(6), ); - expect(res).to.equal(157); + expect(res).to.equal(2454659); }); it('test operator "shr" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { @@ -13532,9 +13532,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (315, 1)', async function () { - const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(315), 1); - expect(res).to.equal(157); + it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (157098209, 6)', async function () { + const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(157098209), 6); + expect(res).to.equal(2454659); }); it('test operator "shr" overload (euint32, uint8) => euint32 test 2 (4, 8)', async function () { @@ -13552,12 +13552,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (449, 1)', async function () { + it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (163054538, 3)', async function () { const res = await this.contract5.shl_euint64_euint8( - this.instances5.alice.encrypt64(449), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt64(163054538), + this.instances5.alice.encrypt8(3), ); - expect(res).to.equal(224); + expect(res).to.equal(1304436304); }); it('test operator "shl" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { @@ -13565,7 +13565,7 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt64(4), this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(1024); }); it('test operator "shl" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { @@ -13573,7 +13573,7 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt64(8), this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(2048); }); it('test operator "shl" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { @@ -13581,35 +13581,35 @@ describe('TFHE operations', function () { this.instances5.alice.encrypt64(8), this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(0); + expect(res).to.equal(128); }); - it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (1886374881, 60)', async function () { - const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(1886374881), 60); - expect(res).to.equal(7); + it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (163054538, 3)', async function () { + const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(163054538), 3); + expect(res).to.equal(1304436304); }); it('test operator "shl" overload (euint64, uint8) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(4), 8); - expect(res).to.equal(0); + expect(res).to.equal(1024); }); it('test operator "shl" overload (euint64, uint8) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(8), 8); - expect(res).to.equal(0); + expect(res).to.equal(2048); }); it('test operator "shl" overload (euint64, uint8) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(8), 4); - expect(res).to.equal(0); + expect(res).to.equal(128); }); - it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (443, 1)', async function () { + it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (151463759, 7)', async function () { const res = await this.contract5.shr_euint64_euint8( - this.instances5.alice.encrypt64(443), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt64(151463759), + this.instances5.alice.encrypt8(7), ); - expect(res).to.equal(221); + expect(res).to.equal(1183310); }); it('test operator "shr" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { @@ -13636,9 +13636,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (29073964, 153)', async function () { - const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(29073964), 153); - expect(res).to.equal(0); + it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (151463759, 7)', async function () { + const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(151463759), 7); + expect(res).to.equal(1183310); }); it('test operator "shr" overload (euint64, uint8) => euint64 test 2 (4, 8)', async function () { @@ -13656,53 +13656,53 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "neg" overload (euint4) => euint4 test 1 (10)', async function () { - const res = await this.contract5.neg_euint4(this.instances5.alice.encrypt4(10)); - expect(res).to.equal(5); + it('test operator "neg" overload (euint4) => euint4 test 1 (11)', async function () { + const res = await this.contract5.neg_euint4(this.instances5.alice.encrypt4(11)); + expect(res).to.equal(5n); }); - it('test operator "not" overload (euint4) => euint4 test 1 (2)', async function () { - const res = await this.contract5.not_euint4(this.instances5.alice.encrypt4(2)); - expect(res).to.equal(13); + it('test operator "not" overload (euint4) => euint4 test 1 (9)', async function () { + const res = await this.contract5.not_euint4(this.instances5.alice.encrypt4(9)); + expect(res).to.equal(6n); }); - it('test operator "neg" overload (euint8) => euint8 test 1 (29)', async function () { - const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(29)); - expect(res).to.equal(226); + it('test operator "neg" overload (euint8) => euint8 test 1 (177)', async function () { + const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(177)); + expect(res).to.equal(79n); }); - it('test operator "not" overload (euint8) => euint8 test 1 (151)', async function () { - const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(151)); - expect(res).to.equal(104); + it('test operator "not" overload (euint8) => euint8 test 1 (30)', async function () { + const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(30)); + expect(res).to.equal(225n); }); - it('test operator "neg" overload (euint16) => euint16 test 1 (55816)', async function () { - const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(55816)); - expect(res).to.equal(9719); + it('test operator "neg" overload (euint16) => euint16 test 1 (26575)', async function () { + const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(26575)); + expect(res).to.equal(38961n); }); - it('test operator "not" overload (euint16) => euint16 test 1 (58147)', async function () { - const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(58147)); - expect(res).to.equal(7388); + it('test operator "not" overload (euint16) => euint16 test 1 (15626)', async function () { + const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(15626)); + expect(res).to.equal(49909n); }); - it('test operator "neg" overload (euint32) => euint32 test 1 (384529386)', async function () { - const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(384529386)); - expect(res).to.equal(1762954261); + it('test operator "neg" overload (euint32) => euint32 test 1 (204914882)', async function () { + const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(204914882)); + expect(res).to.equal(4090052414n); }); - it('test operator "not" overload (euint32) => euint32 test 1 (1014323468)', async function () { - const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(1014323468)); - expect(res).to.equal(1133160179); + it('test operator "not" overload (euint32) => euint32 test 1 (22116422)', async function () { + const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(22116422)); + expect(res).to.equal(4272850873n); }); - it('test operator "neg" overload (euint64) => euint64 test 1 (2136222472)', async function () { - const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(2136222472)); - expect(res).to.equal(11261175); + it('test operator "neg" overload (euint64) => euint64 test 1 (39253840)', async function () { + const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(39253840)); + expect(res).to.equal(18446744073670297776n); }); - it('test operator "not" overload (euint64) => euint64 test 1 (566602200)', async function () { - const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(566602200)); - expect(res).to.equal(1580881447); + it('test operator "not" overload (euint64) => euint64 test 1 (172305424)', async function () { + const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(172305424)); + expect(res).to.equal(18446744073537246191n); }); }); From b6b439874afd5fadae4b3379caf508c946b4c825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Thu, 29 Feb 2024 16:39:53 +0100 Subject: [PATCH 08/12] fix: remove remaining .only --- test/identity/compliantERC20.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/identity/compliantERC20.ts b/test/identity/compliantERC20.ts index e17b6505..8356a7ca 100644 --- a/test/identity/compliantERC20.ts +++ b/test/identity/compliantERC20.ts @@ -26,7 +26,7 @@ describe('CompliantERC20', function () { this.instances = await createInstances(this.contractAddress, ethers, this.signers); }); - it.only('should allow decryption of balance for identity owner', async function () { + it('should allow decryption of balance for identity owner', async function () { // Create accounts; const country1 = this.instances.alice.encrypt64(1); const country2 = this.instances.alice.encrypt64(2); From 117ce9ca2a0104750b8a64079ac095c7dbc323dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Thu, 29 Feb 2024 17:17:28 +0100 Subject: [PATCH 09/12] fix: force bigint for result potentially big --- codegen/generateOverloads.ts | 8 +- codegen/overloads.json | 3330 ++++---- test/tfheOperations/tfheOperations.ts | 10708 ++++++++++++------------ 3 files changed, 7023 insertions(+), 7023 deletions(-) diff --git a/codegen/generateOverloads.ts b/codegen/generateOverloads.ts index f0bbf5ea..92f02758 100644 --- a/codegen/generateOverloads.ts +++ b/codegen/generateOverloads.ts @@ -50,8 +50,8 @@ const safeEval = ( const bitResults = safeMin ? Math.min(lhs, rhs) : Math.max(lhs, rhs); let result = fn(lhsNumber, rhsNumber, lhs, rhs); const logs: any[] = []; - if (typeof result === 'number') { - while ((result as number) > Math.pow(2, bitResults) - 1) { + if (typeof result === 'number' || typeof result === 'bigint') { + while ((result as number | bigint) > Math.pow(2, bitResults) - 1) { lhsNumber = Math.max(Math.floor(lhsNumber / 2), 1); rhsNumber = Math.max(Math.floor(rhsNumber / 2), 1); result = fn(lhsNumber, rhsNumber, lhs, rhs); @@ -65,7 +65,7 @@ export const SUPPORTED_FUNCTIONS: SupportedFunctions = { add: { supportedBits: SUPPORTED_BITS, safeMin: true, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber + rhsNumber, + evalTest: (lhsNumber: number, rhsNumber: number) => BigInt(lhsNumber) + BigInt(rhsNumber), }, sub: { supportedBits: SUPPORTED_BITS, @@ -75,7 +75,7 @@ export const SUPPORTED_FUNCTIONS: SupportedFunctions = { mul: { supportedBits: SUPPORTED_BITS, safeMin: true, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber * rhsNumber, + evalTest: (lhsNumber: number, rhsNumber: number) => BigInt(lhsNumber) * BigInt(rhsNumber), }, div: { supportedBits: SUPPORTED_BITS, diff --git a/codegen/overloads.json b/codegen/overloads.json index 240c8465..7e05d287 100644 --- a/codegen/overloads.json +++ b/codegen/overloads.json @@ -1,237 +1,237 @@ { "add_euint4_euint4": [ - { "inputs": [5, 5], "output": 10 }, - { "inputs": [3, 5], "output": 8 }, - { "inputs": [5, 5], "output": 10 }, - { "inputs": [5, 3], "output": 8 } + { "inputs": [4, 7], "output": "11" }, + { "inputs": [5, 9], "output": "14" }, + { "inputs": [4, 4], "output": "8" }, + { "inputs": [9, 5], "output": "14" } ], "add_euint4_euint8": [ - { "inputs": [1, 8], "output": 9 }, - { "inputs": [3, 5], "output": 8 }, - { "inputs": [5, 5], "output": 10 }, - { "inputs": [5, 3], "output": 8 } + { "inputs": [1, 12], "output": "13" }, + { "inputs": [5, 9], "output": "14" }, + { "inputs": [4, 4], "output": "8" }, + { "inputs": [9, 5], "output": "14" } ], "add_euint4_uint8": [ - { "inputs": [5, 3], "output": 8 }, - { "inputs": [3, 5], "output": 8 }, - { "inputs": [5, 5], "output": 10 }, - { "inputs": [5, 3], "output": 8 } + { "inputs": [4, 4], "output": "8" }, + { "inputs": [5, 9], "output": "14" }, + { "inputs": [4, 4], "output": "8" }, + { "inputs": [9, 5], "output": "14" } ], "add_euint4_euint16": [ - { "inputs": [1, 10], "output": 11 }, - { "inputs": [3, 5], "output": 8 }, - { "inputs": [5, 5], "output": 10 }, - { "inputs": [5, 3], "output": 8 } + { "inputs": [1, 9], "output": "10" }, + { "inputs": [5, 9], "output": "14" }, + { "inputs": [4, 4], "output": "8" }, + { "inputs": [9, 5], "output": "14" } ], "add_euint4_euint32": [ - { "inputs": [1, 14], "output": 15 }, - { "inputs": [3, 5], "output": 8 }, - { "inputs": [5, 5], "output": 10 }, - { "inputs": [5, 3], "output": 8 } + { "inputs": [1, 7], "output": "8" }, + { "inputs": [5, 9], "output": "14" }, + { "inputs": [4, 4], "output": "8" }, + { "inputs": [9, 5], "output": "14" } ], "add_euint4_euint64": [ - { "inputs": [1, 7], "output": 8 }, - { "inputs": [3, 5], "output": 8 }, - { "inputs": [5, 5], "output": 10 }, - { "inputs": [5, 3], "output": 8 } + { "inputs": [1, 9], "output": "10" }, + { "inputs": [5, 9], "output": "14" }, + { "inputs": [4, 4], "output": "8" }, + { "inputs": [9, 5], "output": "14" } ], "add_euint8_euint4": [ - { "inputs": [11, 1], "output": 12 }, - { "inputs": [3, 5], "output": 8 }, - { "inputs": [5, 5], "output": 10 }, - { "inputs": [5, 3], "output": 8 } + { "inputs": [9, 1], "output": "10" }, + { "inputs": [4, 8], "output": "12" }, + { "inputs": [4, 4], "output": "8" }, + { "inputs": [8, 4], "output": "12" } ], "add_uint8_euint4": [ - { "inputs": [6, 5], "output": 11 }, - { "inputs": [3, 5], "output": 8 }, - { "inputs": [5, 5], "output": 10 }, - { "inputs": [5, 3], "output": 8 } + { "inputs": [5, 7], "output": "12" }, + { "inputs": [4, 8], "output": "12" }, + { "inputs": [4, 4], "output": "8" }, + { "inputs": [8, 4], "output": "12" } ], "add_euint8_euint8": [ - { "inputs": [13, 130], "output": 143 }, - { "inputs": [9, 13], "output": 22 }, - { "inputs": [13, 13], "output": 26 }, - { "inputs": [13, 9], "output": 22 } + { "inputs": [5, 172], "output": "177" }, + { "inputs": [4, 8], "output": "12" }, + { "inputs": [8, 8], "output": "16" }, + { "inputs": [8, 4], "output": "12" } ], "add_euint8_uint8": [ - { "inputs": [13, 50], "output": 63 }, - { "inputs": [9, 13], "output": 22 }, - { "inputs": [13, 13], "output": 26 }, - { "inputs": [13, 9], "output": 22 } + { "inputs": [5, 209], "output": "214" }, + { "inputs": [4, 8], "output": "12" }, + { "inputs": [8, 8], "output": "16" }, + { "inputs": [8, 4], "output": "12" } ], "add_uint8_euint8": [ - { "inputs": [104, 50], "output": 154 }, - { "inputs": [9, 13], "output": 22 }, - { "inputs": [13, 13], "output": 26 }, - { "inputs": [13, 9], "output": 22 } + { "inputs": [26, 209], "output": "235" }, + { "inputs": [4, 8], "output": "12" }, + { "inputs": [8, 8], "output": "16" }, + { "inputs": [8, 4], "output": "12" } ], "add_euint8_euint16": [ - { "inputs": [1, 237], "output": 238 }, - { "inputs": [100, 104], "output": 204 }, - { "inputs": [104, 104], "output": 208 }, - { "inputs": [104, 100], "output": 204 } + { "inputs": [1, 227], "output": "228" }, + { "inputs": [22, 26], "output": "48" }, + { "inputs": [26, 26], "output": "52" }, + { "inputs": [26, 22], "output": "48" } ], "add_euint8_euint32": [ - { "inputs": [1, 147], "output": 148 }, - { "inputs": [100, 104], "output": 204 }, - { "inputs": [104, 104], "output": 208 }, - { "inputs": [104, 100], "output": 204 } + { "inputs": [1, 228], "output": "229" }, + { "inputs": [22, 26], "output": "48" }, + { "inputs": [26, 26], "output": "52" }, + { "inputs": [26, 22], "output": "48" } ], "add_euint8_euint64": [ - { "inputs": [1, 159], "output": 160 }, - { "inputs": [100, 104], "output": 204 }, - { "inputs": [104, 104], "output": 208 }, - { "inputs": [104, 100], "output": 204 } + { "inputs": [1, 248], "output": "249" }, + { "inputs": [22, 26], "output": "48" }, + { "inputs": [26, 26], "output": "52" }, + { "inputs": [26, 22], "output": "48" } ], "add_euint16_euint4": [ - { "inputs": [7, 1], "output": 8 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [4, 4], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [14, 1], "output": "15" }, + { "inputs": [4, 6], "output": "10" }, + { "inputs": [6, 6], "output": "12" }, + { "inputs": [6, 4], "output": "10" } ], "add_euint16_euint8": [ - { "inputs": [246, 2], "output": 248 }, - { "inputs": [90, 92], "output": 182 }, - { "inputs": [92, 92], "output": 184 }, - { "inputs": [92, 90], "output": 182 } + { "inputs": [116, 14], "output": "130" }, + { "inputs": [115, 117], "output": "232" }, + { "inputs": [117, 117], "output": "234" }, + { "inputs": [117, 115], "output": "232" } ], "add_euint16_euint16": [ - { "inputs": [15771, 31424], "output": 47195 }, - { "inputs": [15767, 15771], "output": 31538 }, - { "inputs": [15771, 15771], "output": 31542 }, - { "inputs": [15771, 15767], "output": 31538 } + { "inputs": [1870, 63235], "output": "65105" }, + { "inputs": [1866, 1870], "output": "3736" }, + { "inputs": [1870, 1870], "output": "3740" }, + { "inputs": [1870, 1866], "output": "3736" } ], "add_euint16_uint16": [ - { "inputs": [7885, 25213], "output": 33098 }, - { "inputs": [15767, 15771], "output": 31538 }, - { "inputs": [15771, 15771], "output": 31542 }, - { "inputs": [15771, 15767], "output": 31538 } + { "inputs": [1870, 31236], "output": "33106" }, + { "inputs": [1866, 1870], "output": "3736" }, + { "inputs": [1870, 1870], "output": "3740" }, + { "inputs": [1870, 1866], "output": "3736" } ], "add_uint16_euint16": [ - { "inputs": [13949, 25213], "output": 39162 }, - { "inputs": [15767, 15771], "output": 31538 }, - { "inputs": [15771, 15771], "output": 31542 }, - { "inputs": [15771, 15767], "output": 31538 } + { "inputs": [24651, 31236], "output": "55887" }, + { "inputs": [1866, 1870], "output": "3736" }, + { "inputs": [1870, 1870], "output": "3740" }, + { "inputs": [1870, 1866], "output": "3736" } ], "add_euint16_euint32": [ - { "inputs": [6, 46282], "output": 46288 }, - { "inputs": [27895, 27899], "output": 55794 }, - { "inputs": [27899, 27899], "output": 55798 }, - { "inputs": [27899, 27895], "output": 55794 } + { "inputs": [12, 38505], "output": "38517" }, + { "inputs": [24647, 24651], "output": "49298" }, + { "inputs": [24651, 24651], "output": "49302" }, + { "inputs": [24651, 24647], "output": "49298" } ], "add_euint16_euint64": [ - { "inputs": [108, 51831], "output": 51939 }, - { "inputs": [27895, 27899], "output": 55794 }, - { "inputs": [27899, 27899], "output": 55798 }, - { "inputs": [27899, 27895], "output": 55794 } + { "inputs": [24, 33045], "output": "33069" }, + { "inputs": [24647, 24651], "output": "49298" }, + { "inputs": [24651, 24651], "output": "49302" }, + { "inputs": [24651, 24647], "output": "49298" } ], "add_euint32_euint4": [ - { "inputs": [10, 1], "output": 11 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [4, 4], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [8, 1], "output": "9" }, + { "inputs": [3, 5], "output": "8" }, + { "inputs": [5, 5], "output": "10" }, + { "inputs": [5, 3], "output": "8" } ], "add_euint32_euint8": [ - { "inputs": [165, 1], "output": 166 }, - { "inputs": [13, 17], "output": 30 }, - { "inputs": [17, 17], "output": 34 }, - { "inputs": [17, 13], "output": 30 } + { "inputs": [134, 1], "output": "135" }, + { "inputs": [76, 80], "output": "156" }, + { "inputs": [80, 80], "output": "160" }, + { "inputs": [80, 76], "output": "156" } ], "add_euint32_euint16": [ - { "inputs": [42385, 126], "output": 42511 }, - { "inputs": [32398, 32400], "output": 64798 }, - { "inputs": [32400, 32400], "output": 64800 }, - { "inputs": [32400, 32398], "output": 64798 } + { "inputs": [34382, 13], "output": "34395" }, + { "inputs": [27184, 27186], "output": "54370" }, + { "inputs": [27186, 27186], "output": "54372" }, + { "inputs": [27186, 27184], "output": "54370" } ], "add_euint32_euint32": [ - { "inputs": [21701237, 233681477], "output": 255382714 }, - { "inputs": [21701233, 21701237], "output": 43402470 }, - { "inputs": [21701237, 21701237], "output": 43402474 }, - { "inputs": [21701237, 21701233], "output": 43402470 } + { "inputs": [140830493, 233846954], "output": "374677447" }, + { "inputs": [140830489, 140830493], "output": "281660982" }, + { "inputs": [140830493, 140830493], "output": "281660986" }, + { "inputs": [140830493, 140830489], "output": "281660982" } ], "add_euint32_uint32": [ - { "inputs": [21701237, 252093913], "output": 273795150 }, - { "inputs": [21701233, 21701237], "output": 43402470 }, - { "inputs": [21701237, 21701237], "output": 43402474 }, - { "inputs": [21701237, 21701233], "output": 43402470 } + { "inputs": [140830493, 37413668], "output": "178244161" }, + { "inputs": [140830489, 140830493], "output": "281660982" }, + { "inputs": [140830493, 140830493], "output": "281660986" }, + { "inputs": [140830493, 140830489], "output": "281660982" } ], "add_uint32_euint32": [ - { "inputs": [203659740, 252093913], "output": 455753653 }, - { "inputs": [21701233, 21701237], "output": 43402470 }, - { "inputs": [21701237, 21701237], "output": 43402474 }, - { "inputs": [21701237, 21701233], "output": 43402470 } + { "inputs": [88545588, 37413668], "output": "125959256" }, + { "inputs": [140830489, 140830493], "output": "281660982" }, + { "inputs": [140830493, 140830493], "output": "281660986" }, + { "inputs": [140830493, 140830489], "output": "281660982" } ], "add_euint32_euint64": [ - { "inputs": [203659740, 114096043], "output": 317755783 }, - { "inputs": [114096039, 114096043], "output": 228192082 }, - { "inputs": [114096043, 114096043], "output": 228192086 }, - { "inputs": [114096043, 114096039], "output": 228192082 } + { "inputs": [88545588, 105438338], "output": "193983926" }, + { "inputs": [88545584, 88545588], "output": "177091172" }, + { "inputs": [88545588, 88545588], "output": "177091176" }, + { "inputs": [88545588, 88545584], "output": "177091172" } ], "add_euint64_euint4": [ - { "inputs": [13, 1], "output": 14 }, - { "inputs": [3, 5], "output": 8 }, - { "inputs": [5, 5], "output": 10 }, - { "inputs": [5, 3], "output": 8 } + { "inputs": [10, 1], "output": "11" }, + { "inputs": [4, 8], "output": "12" }, + { "inputs": [4, 4], "output": "8" }, + { "inputs": [8, 4], "output": "12" } ], "add_euint64_euint8": [ - { "inputs": [222, 1], "output": 223 }, - { "inputs": [78, 82], "output": 160 }, - { "inputs": [82, 82], "output": 164 }, - { "inputs": [82, 78], "output": 160 } + { "inputs": [162, 1], "output": "163" }, + { "inputs": [109, 111], "output": "220" }, + { "inputs": [111, 111], "output": "222" }, + { "inputs": [111, 109], "output": "220" } ], "add_euint64_euint16": [ - { "inputs": [57062, 3], "output": 57065 }, - { "inputs": [16133, 16137], "output": 32270 }, - { "inputs": [16137, 16137], "output": 32274 }, - { "inputs": [16137, 16133], "output": 32270 } + { "inputs": [41532, 11], "output": "41543" }, + { "inputs": [23875, 23877], "output": "47752" }, + { "inputs": [23877, 23877], "output": "47754" }, + { "inputs": [23877, 23875], "output": "47752" } ], "add_euint64_euint32": [ - { "inputs": [233729261, 108243872], "output": 341973133 }, - { "inputs": [108243868, 108243872], "output": 216487740 }, - { "inputs": [108243872, 108243872], "output": 216487744 }, - { "inputs": [108243872, 108243868], "output": 216487740 } + { "inputs": [170118033, 266084851], "output": "436202884" }, + { "inputs": [170118029, 170118033], "output": "340236062" }, + { "inputs": [170118033, 170118033], "output": "340236066" }, + { "inputs": [170118033, 170118029], "output": "340236062" } ], "add_euint64_euint64": [ - { "inputs": [233729261, 36139823], "output": 269869084 }, - { "inputs": [36139819, 36139823], "output": 72279642 }, - { "inputs": [36139823, 36139823], "output": 72279646 }, - { "inputs": [36139823, 36139819], "output": 72279642 } + { "inputs": [170118033, 75374623], "output": "245492656" }, + { "inputs": [75374619, 75374623], "output": "150749242" }, + { "inputs": [75374623, 75374623], "output": "150749246" }, + { "inputs": [75374623, 75374619], "output": "150749242" } ], "add_euint64_uint64": [ - { "inputs": [233729261, 163957114], "output": 397686375 }, - { "inputs": [36139819, 36139823], "output": 72279642 }, - { "inputs": [36139823, 36139823], "output": 72279646 }, - { "inputs": [36139823, 36139819], "output": 72279642 } + { "inputs": [170118033, 60441680], "output": "230559713" }, + { "inputs": [75374619, 75374623], "output": "150749242" }, + { "inputs": [75374623, 75374623], "output": "150749246" }, + { "inputs": [75374623, 75374619], "output": "150749242" } ], "add_uint64_euint64": [ - { "inputs": [35664883, 163957114], "output": 199621997 }, - { "inputs": [36139819, 36139823], "output": 72279642 }, - { "inputs": [36139823, 36139823], "output": 72279646 }, - { "inputs": [36139823, 36139819], "output": 72279642 } + { "inputs": [187809144, 60441680], "output": "248250824" }, + { "inputs": [75374619, 75374623], "output": "150749242" }, + { "inputs": [75374623, 75374623], "output": "150749246" }, + { "inputs": [75374623, 75374619], "output": "150749242" } ], "sub_euint4_euint4": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 4 } ], "sub_euint4_euint8": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 4 } ], "sub_euint4_uint8": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 4 } ], "sub_euint4_euint16": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 4 } ], "sub_euint4_euint32": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 4 } ], "sub_euint4_euint64": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 4 } ], "sub_euint8_euint4": [ { "inputs": [8, 8], "output": 0 }, @@ -242,2629 +242,2629 @@ { "inputs": [8, 4], "output": 4 } ], "sub_euint8_euint8": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [14, 14], "output": 0 }, + { "inputs": [14, 10], "output": 4 } ], "sub_euint8_uint8": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [14, 14], "output": 0 }, + { "inputs": [14, 10], "output": 4 } ], "sub_uint8_euint8": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [14, 14], "output": 0 }, + { "inputs": [14, 10], "output": 4 } ], "sub_euint8_euint16": [ - { "inputs": [145, 145], "output": 0 }, - { "inputs": [145, 141], "output": 4 } + { "inputs": [202, 202], "output": 0 }, + { "inputs": [202, 198], "output": 4 } ], "sub_euint8_euint32": [ - { "inputs": [145, 145], "output": 0 }, - { "inputs": [145, 141], "output": 4 } + { "inputs": [202, 202], "output": 0 }, + { "inputs": [202, 198], "output": 4 } ], "sub_euint8_euint64": [ - { "inputs": [145, 145], "output": 0 }, - { "inputs": [145, 141], "output": 4 } + { "inputs": [202, 202], "output": 0 }, + { "inputs": [202, 198], "output": 4 } ], "sub_euint16_euint4": [ { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 4 } ], "sub_euint16_euint8": [ - { "inputs": [167, 167], "output": 0 }, - { "inputs": [167, 163], "output": 4 } + { "inputs": [125, 125], "output": 0 }, + { "inputs": [125, 121], "output": 4 } ], "sub_euint16_euint16": [ - { "inputs": [20069, 20069], "output": 0 }, - { "inputs": [20069, 20065], "output": 4 } + { "inputs": [4130, 4130], "output": 0 }, + { "inputs": [4130, 4126], "output": 4 } ], "sub_euint16_uint16": [ - { "inputs": [20069, 20069], "output": 0 }, - { "inputs": [20069, 20065], "output": 4 } + { "inputs": [4130, 4130], "output": 0 }, + { "inputs": [4130, 4126], "output": 4 } ], "sub_uint16_euint16": [ - { "inputs": [20069, 20069], "output": 0 }, - { "inputs": [20069, 20065], "output": 4 } + { "inputs": [4130, 4130], "output": 0 }, + { "inputs": [4130, 4126], "output": 4 } ], "sub_euint16_euint32": [ - { "inputs": [63598, 63598], "output": 0 }, - { "inputs": [63598, 63594], "output": 4 } + { "inputs": [7479, 7479], "output": 0 }, + { "inputs": [7479, 7475], "output": 4 } ], "sub_euint16_euint64": [ - { "inputs": [63598, 63598], "output": 0 }, - { "inputs": [63598, 63594], "output": 4 } + { "inputs": [7479, 7479], "output": 0 }, + { "inputs": [7479, 7475], "output": 4 } ], "sub_euint32_euint4": [ - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 4 } + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 4 } ], "sub_euint32_euint8": [ - { "inputs": [123, 123], "output": 0 }, - { "inputs": [123, 119], "output": 4 } + { "inputs": [186, 186], "output": 0 }, + { "inputs": [186, 182], "output": 4 } ], "sub_euint32_euint16": [ - { "inputs": [43081, 43081], "output": 0 }, - { "inputs": [43081, 43077], "output": 4 } + { "inputs": [30277, 30277], "output": 0 }, + { "inputs": [30277, 30273], "output": 4 } ], "sub_euint32_euint32": [ - { "inputs": [142194314, 142194314], "output": 0 }, - { "inputs": [142194314, 142194310], "output": 4 } + { "inputs": [72155792, 72155792], "output": 0 }, + { "inputs": [72155792, 72155788], "output": 4 } ], "sub_euint32_uint32": [ - { "inputs": [142194314, 142194314], "output": 0 }, - { "inputs": [142194314, 142194310], "output": 4 } + { "inputs": [72155792, 72155792], "output": 0 }, + { "inputs": [72155792, 72155788], "output": 4 } ], "sub_uint32_euint32": [ - { "inputs": [142194314, 142194314], "output": 0 }, - { "inputs": [142194314, 142194310], "output": 4 } + { "inputs": [72155792, 72155792], "output": 0 }, + { "inputs": [72155792, 72155788], "output": 4 } ], "sub_euint32_euint64": [ - { "inputs": [116748811, 116748811], "output": 0 }, - { "inputs": [116748811, 116748807], "output": 4 } + { "inputs": [119509877, 119509877], "output": 0 }, + { "inputs": [119509877, 119509873], "output": 4 } ], "sub_euint64_euint4": [ - { "inputs": [13, 13], "output": 0 }, - { "inputs": [13, 9], "output": 4 } + { "inputs": [10, 10], "output": 0 }, + { "inputs": [10, 6], "output": 4 } ], "sub_euint64_euint8": [ - { "inputs": [236, 236], "output": 0 }, - { "inputs": [236, 232], "output": 4 } + { "inputs": [240, 240], "output": 0 }, + { "inputs": [240, 236], "output": 4 } ], "sub_euint64_euint16": [ - { "inputs": [23608, 23608], "output": 0 }, - { "inputs": [23608, 23604], "output": 4 } + { "inputs": [19514, 19514], "output": 0 }, + { "inputs": [19514, 19510], "output": 4 } ], "sub_euint64_euint32": [ - { "inputs": [279607, 279607], "output": 0 }, - { "inputs": [279607, 279603], "output": 4 } + { "inputs": [69685503, 69685503], "output": 0 }, + { "inputs": [69685503, 69685499], "output": 4 } ], "sub_euint64_euint64": [ - { "inputs": [279607, 279607], "output": 0 }, - { "inputs": [279607, 279603], "output": 4 } + { "inputs": [65505221, 65505221], "output": 0 }, + { "inputs": [65505221, 65505217], "output": 4 } ], "sub_euint64_uint64": [ - { "inputs": [279607, 279607], "output": 0 }, - { "inputs": [279607, 279603], "output": 4 } + { "inputs": [65505221, 65505221], "output": 0 }, + { "inputs": [65505221, 65505217], "output": 4 } ], "sub_uint64_euint64": [ - { "inputs": [279607, 279607], "output": 0 }, - { "inputs": [279607, 279603], "output": 4 } + { "inputs": [65505221, 65505221], "output": 0 }, + { "inputs": [65505221, 65505217], "output": 4 } ], "mul_euint4_euint4": [ - { "inputs": [2, 2], "output": 4 }, - { "inputs": [3, 5], "output": 15 }, - { "inputs": [2, 2], "output": 4 }, - { "inputs": [5, 3], "output": 15 } + { "inputs": [7, 1], "output": "7" }, + { "inputs": [2, 4], "output": "8" }, + { "inputs": [2, 2], "output": "4" }, + { "inputs": [4, 2], "output": "8" } ], "mul_euint4_euint8": [ - { "inputs": [1, 6], "output": 6 }, - { "inputs": [3, 5], "output": 15 }, - { "inputs": [2, 2], "output": 4 }, - { "inputs": [5, 3], "output": 15 } + { "inputs": [1, 9], "output": "9" }, + { "inputs": [2, 3], "output": "6" }, + { "inputs": [3, 3], "output": "9" }, + { "inputs": [3, 2], "output": "6" } ], "mul_euint4_uint8": [ - { "inputs": [10, 1], "output": 10 }, - { "inputs": [3, 5], "output": 15 }, - { "inputs": [2, 2], "output": 4 }, - { "inputs": [5, 3], "output": 15 } + { "inputs": [7, 2], "output": "14" }, + { "inputs": [2, 3], "output": "6" }, + { "inputs": [3, 3], "output": "9" }, + { "inputs": [3, 2], "output": "6" } ], "mul_euint4_euint16": [ - { "inputs": [1, 13], "output": 13 }, - { "inputs": [3, 5], "output": 15 }, - { "inputs": [2, 2], "output": 4 }, - { "inputs": [5, 3], "output": 15 } + { "inputs": [1, 13], "output": "13" }, + { "inputs": [2, 3], "output": "6" }, + { "inputs": [3, 3], "output": "9" }, + { "inputs": [3, 2], "output": "6" } ], "mul_euint4_euint32": [ - { "inputs": [1, 15], "output": 15 }, - { "inputs": [3, 5], "output": 15 }, - { "inputs": [2, 2], "output": 4 }, - { "inputs": [5, 3], "output": 15 } + { "inputs": [1, 15], "output": "15" }, + { "inputs": [2, 3], "output": "6" }, + { "inputs": [3, 3], "output": "9" }, + { "inputs": [3, 2], "output": "6" } ], "mul_euint4_euint64": [ - { "inputs": [1, 13], "output": 13 }, - { "inputs": [3, 5], "output": 15 }, - { "inputs": [2, 2], "output": 4 }, - { "inputs": [5, 3], "output": 15 } + { "inputs": [1, 15], "output": "15" }, + { "inputs": [2, 3], "output": "6" }, + { "inputs": [3, 3], "output": "9" }, + { "inputs": [3, 2], "output": "6" } ], "mul_euint8_euint4": [ - { "inputs": [5, 1], "output": 5 }, - { "inputs": [2, 4], "output": 8 }, - { "inputs": [2, 2], "output": 4 }, - { "inputs": [4, 2], "output": 8 } + { "inputs": [8, 1], "output": "8" }, + { "inputs": [2, 3], "output": "6" }, + { "inputs": [3, 3], "output": "9" }, + { "inputs": [3, 2], "output": "6" } ], "mul_uint8_euint4": [ - { "inputs": [2, 2], "output": 4 }, - { "inputs": [2, 4], "output": 8 }, - { "inputs": [2, 2], "output": 4 }, - { "inputs": [4, 2], "output": 8 } + { "inputs": [1, 3], "output": "3" }, + { "inputs": [2, 3], "output": "6" }, + { "inputs": [3, 3], "output": "9" }, + { "inputs": [3, 2], "output": "6" } ], "mul_euint8_euint8": [ - { "inputs": [2, 98], "output": 196 }, - { "inputs": [4, 8], "output": 32 }, - { "inputs": [8, 8], "output": 64 }, - { "inputs": [8, 4], "output": 32 } + { "inputs": [3, 69], "output": "207" }, + { "inputs": [4, 8], "output": "32" }, + { "inputs": [8, 8], "output": "64" }, + { "inputs": [8, 4], "output": "32" } ], "mul_euint8_uint8": [ - { "inputs": [2, 119], "output": 238 }, - { "inputs": [4, 8], "output": 32 }, - { "inputs": [8, 8], "output": 64 }, - { "inputs": [8, 4], "output": 32 } + { "inputs": [3, 50], "output": "150" }, + { "inputs": [4, 8], "output": "32" }, + { "inputs": [8, 8], "output": "64" }, + { "inputs": [8, 4], "output": "32" } ], "mul_uint8_euint8": [ - { "inputs": [8, 29], "output": 232 }, - { "inputs": [4, 8], "output": 32 }, - { "inputs": [8, 8], "output": 64 }, - { "inputs": [8, 4], "output": 32 } + { "inputs": [14, 6], "output": "84" }, + { "inputs": [4, 8], "output": "32" }, + { "inputs": [8, 8], "output": "64" }, + { "inputs": [8, 4], "output": "32" } ], "mul_euint8_euint16": [ - { "inputs": [1, 161], "output": 161 }, - { "inputs": [8, 8], "output": 64 }, - { "inputs": [8, 8], "output": 64 }, - { "inputs": [8, 8], "output": 64 } + { "inputs": [1, 235], "output": "235" }, + { "inputs": [14, 14], "output": "196" }, + { "inputs": [14, 14], "output": "196" }, + { "inputs": [14, 14], "output": "196" } ], "mul_euint8_euint32": [ - { "inputs": [1, 174], "output": 174 }, - { "inputs": [8, 8], "output": 64 }, - { "inputs": [8, 8], "output": 64 }, - { "inputs": [8, 8], "output": 64 } + { "inputs": [1, 215], "output": "215" }, + { "inputs": [14, 14], "output": "196" }, + { "inputs": [14, 14], "output": "196" }, + { "inputs": [14, 14], "output": "196" } ], "mul_euint8_euint64": [ - { "inputs": [1, 154], "output": 154 }, - { "inputs": [8, 8], "output": 64 }, - { "inputs": [8, 8], "output": 64 }, - { "inputs": [8, 8], "output": 64 } + { "inputs": [1, 223], "output": "223" }, + { "inputs": [14, 14], "output": "196" }, + { "inputs": [14, 14], "output": "196" }, + { "inputs": [14, 14], "output": "196" } ], "mul_euint16_euint4": [ - { "inputs": [8, 1], "output": 8 }, - { "inputs": [2, 3], "output": 6 }, - { "inputs": [3, 3], "output": 9 }, - { "inputs": [3, 2], "output": 6 } + { "inputs": [12, 1], "output": "12" }, + { "inputs": [2, 4], "output": "8" }, + { "inputs": [2, 2], "output": "4" }, + { "inputs": [4, 2], "output": "8" } ], "mul_euint16_euint8": [ - { "inputs": [136, 1], "output": 136 }, - { "inputs": [13, 15], "output": 195 }, - { "inputs": [15, 15], "output": 225 }, - { "inputs": [15, 13], "output": 195 } + { "inputs": [207, 1], "output": "207" }, + { "inputs": [12, 14], "output": "168" }, + { "inputs": [14, 14], "output": "196" }, + { "inputs": [14, 12], "output": "168" } ], "mul_euint16_euint16": [ - { "inputs": [68, 599], "output": 40732 }, - { "inputs": [136, 136], "output": 18496 }, - { "inputs": [136, 136], "output": 18496 }, - { "inputs": [136, 136], "output": 18496 } + { "inputs": [103, 420], "output": "43260" }, + { "inputs": [206, 207], "output": "42642" }, + { "inputs": [207, 207], "output": "42849" }, + { "inputs": [207, 206], "output": "42642" } ], "mul_euint16_uint16": [ - { "inputs": [136, 406], "output": 55216 }, - { "inputs": [136, 136], "output": 18496 }, - { "inputs": [136, 136], "output": 18496 }, - { "inputs": [136, 136], "output": 18496 } + { "inputs": [207, 286], "output": "59202" }, + { "inputs": [206, 207], "output": "42642" }, + { "inputs": [207, 207], "output": "42849" }, + { "inputs": [207, 206], "output": "42642" } ], "mul_uint16_euint16": [ - { "inputs": [308, 203], "output": 62524 }, - { "inputs": [136, 136], "output": 18496 }, - { "inputs": [136, 136], "output": 18496 }, - { "inputs": [136, 136], "output": 18496 } + { "inputs": [419, 71], "output": "29749" }, + { "inputs": [206, 207], "output": "42642" }, + { "inputs": [207, 207], "output": "42849" }, + { "inputs": [207, 206], "output": "42642" } ], "mul_euint16_euint32": [ - { "inputs": [4, 14667], "output": 58668 }, - { "inputs": [154, 154], "output": 23716 }, - { "inputs": [154, 154], "output": 23716 }, - { "inputs": [154, 154], "output": 23716 } + { "inputs": [3, 8498], "output": "25494" }, + { "inputs": [209, 209], "output": "43681" }, + { "inputs": [209, 209], "output": "43681" }, + { "inputs": [209, 209], "output": "43681" } ], "mul_euint16_euint64": [ - { "inputs": [2, 16788], "output": 33576 }, - { "inputs": [154, 154], "output": 23716 }, - { "inputs": [154, 154], "output": 23716 }, - { "inputs": [154, 154], "output": 23716 } + { "inputs": [6, 6087], "output": "36522" }, + { "inputs": [209, 209], "output": "43681" }, + { "inputs": [209, 209], "output": "43681" }, + { "inputs": [209, 209], "output": "43681" } ], "mul_euint32_euint4": [ - { "inputs": [9, 1], "output": 9 }, - { "inputs": [3, 5], "output": 15 }, - { "inputs": [2, 2], "output": 4 }, - { "inputs": [5, 3], "output": 15 } + { "inputs": [9, 1], "output": "9" }, + { "inputs": [2, 4], "output": "8" }, + { "inputs": [2, 2], "output": "4" }, + { "inputs": [4, 2], "output": "8" } ], "mul_euint32_euint8": [ - { "inputs": [146, 1], "output": 146 }, - { "inputs": [9, 10], "output": 90 }, - { "inputs": [10, 10], "output": 100 }, - { "inputs": [10, 9], "output": 90 } + { "inputs": [146, 1], "output": "146" }, + { "inputs": [12, 12], "output": "144" }, + { "inputs": [12, 12], "output": "144" }, + { "inputs": [12, 12], "output": "144" } ], "mul_euint32_euint16": [ - { "inputs": [9346, 3], "output": 28038 }, - { "inputs": [206, 206], "output": 42436 }, - { "inputs": [206, 206], "output": 42436 }, - { "inputs": [206, 206], "output": 42436 } + { "inputs": [9347, 3], "output": "28041" }, + { "inputs": [234, 234], "output": "54756" }, + { "inputs": [234, 234], "output": "54756" }, + { "inputs": [234, 234], "output": "54756" } ], "mul_euint32_euint32": [ - { "inputs": [74769, 34417], "output": 2573324673 }, - { "inputs": [34417, 34417], "output": 1184529889 }, - { "inputs": [34417, 34417], "output": 1184529889 }, - { "inputs": [34417, 34417], "output": 1184529889 } + { "inputs": [149553, 18251], "output": "2729491803" }, + { "inputs": [36502, 36502], "output": "1332396004" }, + { "inputs": [36502, 36502], "output": "1332396004" }, + { "inputs": [36502, 36502], "output": "1332396004" } ], "mul_euint32_uint32": [ - { "inputs": [37384, 56630], "output": 2117055920 }, - { "inputs": [34417, 34417], "output": 1184529889 }, - { "inputs": [34417, 34417], "output": 1184529889 }, - { "inputs": [34417, 34417], "output": 1184529889 } + { "inputs": [37388, 46853], "output": "1751739964" }, + { "inputs": [36502, 36502], "output": "1332396004" }, + { "inputs": [36502, 36502], "output": "1332396004" }, + { "inputs": [36502, 36502], "output": "1332396004" } ], "mul_uint32_euint32": [ - { "inputs": [5396, 226523], "output": 1222318108 }, - { "inputs": [34417, 34417], "output": 1184529889 }, - { "inputs": [34417, 34417], "output": 1184529889 }, - { "inputs": [34417, 34417], "output": 1184529889 } + { "inputs": [64389, 46853], "output": "3016817817" }, + { "inputs": [36502, 36502], "output": "1332396004" }, + { "inputs": [36502, 36502], "output": "1332396004" }, + { "inputs": [36502, 36502], "output": "1332396004" } ], "mul_euint32_euint64": [ - { "inputs": [10792, 161277], "output": 1740501384 }, - { "inputs": [43171, 43171], "output": 1863735241 }, - { "inputs": [43171, 43171], "output": 1863735241 }, - { "inputs": [43171, 43171], "output": 1863735241 } + { "inputs": [64389, 42894], "output": "2761901766" }, + { "inputs": [42894, 42894], "output": "1839895236" }, + { "inputs": [42894, 42894], "output": "1839895236" }, + { "inputs": [42894, 42894], "output": "1839895236" } ], "mul_euint64_euint4": [ - { "inputs": [11, 1], "output": 11 }, - { "inputs": [3, 5], "output": 15 }, - { "inputs": [2, 2], "output": 4 }, - { "inputs": [5, 3], "output": 15 } + { "inputs": [10, 1], "output": "10" }, + { "inputs": [2, 4], "output": "8" }, + { "inputs": [2, 2], "output": "4" }, + { "inputs": [4, 2], "output": "8" } ], "mul_euint64_euint8": [ - { "inputs": [177, 1], "output": 177 }, - { "inputs": [10, 10], "output": 100 }, - { "inputs": [10, 10], "output": 100 }, - { "inputs": [10, 10], "output": 100 } + { "inputs": [175, 1], "output": "175" }, + { "inputs": [10, 10], "output": "100" }, + { "inputs": [10, 10], "output": "100" }, + { "inputs": [10, 10], "output": "100" } ], "mul_euint64_euint16": [ - { "inputs": [11381, 2], "output": 22762 }, - { "inputs": [150, 150], "output": 22500 }, - { "inputs": [150, 150], "output": 22500 }, - { "inputs": [150, 150], "output": 22500 } + { "inputs": [11257, 5], "output": "56285" }, + { "inputs": [165, 165], "output": "27225" }, + { "inputs": [165, 165], "output": "27225" }, + { "inputs": [165, 165], "output": "27225" } ], "mul_euint64_euint32": [ - { "inputs": [91048, 15465], "output": 1408057320 }, - { "inputs": [61860, 61860], "output": 3826659600 }, - { "inputs": [61860, 61860], "output": 3826659600 }, - { "inputs": [61860, 61860], "output": 3826659600 } + { "inputs": [45030, 88250], "output": "3973897500" }, + { "inputs": [45030, 45030], "output": "2027700900" }, + { "inputs": [45030, 45030], "output": "2027700900" }, + { "inputs": [45030, 45030], "output": "2027700900" } ], "mul_euint64_euint64": [ - { "inputs": [186466494, 16277264], "output": 3035164349992416 }, - { "inputs": [16277260, 16277264], "output": 264949258216640 }, - { "inputs": [16277264, 16277264], "output": 264949323325696 }, - { "inputs": [16277264, 16277260], "output": 264949258216640 } + { "inputs": [92221761, 267518717], "output": "24671047182200637" }, + { "inputs": [92221757, 92221761], "output": "8504852833054077" }, + { "inputs": [92221761, 92221761], "output": "8504853201941121" }, + { "inputs": [92221761, 92221757], "output": "8504852833054077" } ], "mul_euint64_uint64": [ - { "inputs": [186466494, 244564286], "output": 45603044968033280 }, - { "inputs": [16277260, 16277264], "output": 264949258216640 }, - { "inputs": [16277264, 16277264], "output": 264949323325696 }, - { "inputs": [16277264, 16277260], "output": 264949258216640 } + { "inputs": [92221761, 195753020], "output": "18052688225468220" }, + { "inputs": [92221757, 92221761], "output": "8504852833054077" }, + { "inputs": [92221761, 92221761], "output": "8504853201941121" }, + { "inputs": [92221761, 92221757], "output": "8504852833054077" } ], "mul_uint64_euint64": [ - { "inputs": [8323036, 244564286], "output": 2035517356692296 }, - { "inputs": [16277260, 16277264], "output": 264949258216640 }, - { "inputs": [16277264, 16277264], "output": 264949323325696 }, - { "inputs": [16277264, 16277260], "output": 264949258216640 } + { "inputs": [213768336, 195753020], "output": "41845797352374720" }, + { "inputs": [92221757, 92221761], "output": "8504852833054077" }, + { "inputs": [92221761, 92221761], "output": "8504853201941121" }, + { "inputs": [92221761, 92221757], "output": "8504852833054077" } ], "div_euint4_uint8": [ - { "inputs": [14, 2], "output": 7 }, - { "inputs": [10, 14], "output": 0 }, - { "inputs": [14, 14], "output": 1 }, - { "inputs": [14, 10], "output": 1 } + { "inputs": [11, 8], "output": 1 }, + { "inputs": [7, 11], "output": 0 }, + { "inputs": [11, 11], "output": 1 }, + { "inputs": [11, 7], "output": 1 } ], "div_euint8_uint8": [ - { "inputs": [72, 21], "output": 3 }, - { "inputs": [68, 72], "output": 0 }, - { "inputs": [72, 72], "output": 1 }, - { "inputs": [72, 68], "output": 1 } + { "inputs": [192, 181], "output": 1 }, + { "inputs": [39, 43], "output": 0 }, + { "inputs": [43, 43], "output": 1 }, + { "inputs": [43, 39], "output": 1 } ], "div_euint16_uint16": [ - { "inputs": [34461, 47014], "output": 0 }, - { "inputs": [34457, 34461], "output": 0 }, - { "inputs": [34461, 34461], "output": 1 }, - { "inputs": [34461, 34457], "output": 1 } + { "inputs": [21163, 49228], "output": 0 }, + { "inputs": [21159, 21163], "output": 0 }, + { "inputs": [21163, 21163], "output": 1 }, + { "inputs": [21163, 21159], "output": 1 } ], "div_euint32_uint32": [ - { "inputs": [20956235, 20556991], "output": 1 }, - { "inputs": [20956231, 20956235], "output": 0 }, - { "inputs": [20956235, 20956235], "output": 1 }, - { "inputs": [20956235, 20956231], "output": 1 } + { "inputs": [4617026, 124132502], "output": 0 }, + { "inputs": [4617022, 4617026], "output": 0 }, + { "inputs": [4617026, 4617026], "output": 1 }, + { "inputs": [4617026, 4617022], "output": 1 } ], "div_euint64_uint64": [ - { "inputs": [253358888, 98592501], "output": 2 }, - { "inputs": [216552409, 216552413], "output": 0 }, - { "inputs": [216552413, 216552413], "output": 1 }, - { "inputs": [216552413, 216552409], "output": 1 } + { "inputs": [163939989, 238706096], "output": 0 }, + { "inputs": [98898938, 98898942], "output": 0 }, + { "inputs": [98898942, 98898942], "output": 1 }, + { "inputs": [98898942, 98898938], "output": 1 } ], "rem_euint4_uint8": [ - { "inputs": [3, 5], "output": 3 }, + { "inputs": [1, 12], "output": 1 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "rem_euint8_uint8": [ - { "inputs": [97, 233], "output": 97 }, - { "inputs": [93, 97], "output": 93 }, - { "inputs": [97, 97], "output": 0 }, - { "inputs": [97, 93], "output": 4 } + { "inputs": [221, 143], "output": 78 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 0 } ], "rem_euint16_uint16": [ - { "inputs": [302, 42308], "output": 302 }, - { "inputs": [298, 302], "output": 298 }, - { "inputs": [302, 302], "output": 0 }, - { "inputs": [302, 298], "output": 4 } + { "inputs": [44670, 10464], "output": 2814 }, + { "inputs": [44666, 44670], "output": 44666 }, + { "inputs": [44670, 44670], "output": 0 }, + { "inputs": [44670, 44666], "output": 4 } ], "rem_euint32_uint32": [ - { "inputs": [227728407, 99085597], "output": 29557213 }, - { "inputs": [187916193, 187916197], "output": 187916193 }, - { "inputs": [187916197, 187916197], "output": 0 }, - { "inputs": [187916197, 187916193], "output": 4 } + { "inputs": [48793720, 87597111], "output": 48793720 }, + { "inputs": [48793716, 48793720], "output": 48793716 }, + { "inputs": [48793720, 48793720], "output": 0 }, + { "inputs": [48793720, 48793716], "output": 4 } ], "rem_euint64_uint64": [ - { "inputs": [188635834, 135019919], "output": 53615915 }, - { "inputs": [188635830, 188635834], "output": 188635830 }, - { "inputs": [188635834, 188635834], "output": 0 }, - { "inputs": [188635834, 188635830], "output": 4 } + { "inputs": [81522034, 93915045], "output": 81522034 }, + { "inputs": [81522030, 81522034], "output": 81522030 }, + { "inputs": [81522034, 81522034], "output": 0 }, + { "inputs": [81522034, 81522030], "output": 4 } ], "le_euint4_euint4": [ - { "inputs": [11, 2], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": [10, 10], "output": true }, + { "inputs": [6, 10], "output": true }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "le_euint4_euint8": [ - { "inputs": [11, 100], "output": true }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [10, 82], "output": true }, + { "inputs": [6, 10], "output": true }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "le_euint4_uint8": [ - { "inputs": [11, 11], "output": true }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [10, 7], "output": false }, + { "inputs": [6, 10], "output": true }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "le_euint4_euint16": [ - { "inputs": [11, 61718], "output": true }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [10, 44221], "output": true }, + { "inputs": [6, 10], "output": true }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "le_euint4_euint32": [ - { "inputs": [11, 204607742], "output": true }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": [10, 3145467], "output": true }, + { "inputs": [6, 10], "output": true }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "le_euint4_euint64": [ - { "inputs": [11, 54749600], "output": true }, + { "inputs": [10, 167407557], "output": true }, + { "inputs": [6, 10], "output": true }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } + ], + "le_euint8_euint4": [ + { "inputs": [207, 11], "output": false }, { "inputs": [7, 11], "output": true }, { "inputs": [11, 11], "output": true }, { "inputs": [11, 7], "output": false } ], - "le_euint8_euint4": [ - { "inputs": [157, 14], "output": false }, - { "inputs": [10, 14], "output": true }, - { "inputs": [14, 14], "output": true }, - { "inputs": [14, 10], "output": false } - ], "le_uint8_euint4": [ - { "inputs": [7, 14], "output": true }, - { "inputs": [10, 14], "output": true }, - { "inputs": [14, 14], "output": true }, - { "inputs": [14, 10], "output": false } + { "inputs": [10, 11], "output": true }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } ], "le_euint8_euint8": [ - { "inputs": [7, 208], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": [10, 238], "output": true }, + { "inputs": [6, 10], "output": true }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "le_euint8_uint8": [ - { "inputs": [7, 168], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": [10, 232], "output": true }, + { "inputs": [6, 10], "output": true }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "le_uint8_euint8": [ - { "inputs": [44, 168], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": [96, 232], "output": true }, + { "inputs": [6, 10], "output": true }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": false } ], "le_euint8_euint16": [ - { "inputs": [44, 23355], "output": true }, - { "inputs": [40, 44], "output": true }, - { "inputs": [44, 44], "output": true }, - { "inputs": [44, 40], "output": false } + { "inputs": [96, 42413], "output": true }, + { "inputs": [92, 96], "output": true }, + { "inputs": [96, 96], "output": true }, + { "inputs": [96, 92], "output": false } ], "le_euint8_euint32": [ - { "inputs": [44, 91863139], "output": true }, - { "inputs": [40, 44], "output": true }, - { "inputs": [44, 44], "output": true }, - { "inputs": [44, 40], "output": false } + { "inputs": [96, 74740688], "output": true }, + { "inputs": [92, 96], "output": true }, + { "inputs": [96, 96], "output": true }, + { "inputs": [96, 92], "output": false } ], "le_euint8_euint64": [ - { "inputs": [44, 264172669], "output": true }, - { "inputs": [40, 44], "output": true }, - { "inputs": [44, 44], "output": true }, - { "inputs": [44, 40], "output": false } + { "inputs": [96, 34093048], "output": true }, + { "inputs": [92, 96], "output": true }, + { "inputs": [96, 96], "output": true }, + { "inputs": [96, 92], "output": false } ], "le_euint16_euint4": [ - { "inputs": [11868, 2], "output": false }, + { "inputs": [8195, 5], "output": false }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "le_euint16_euint8": [ - { "inputs": [11868, 206], "output": false }, - { "inputs": [202, 206], "output": true }, - { "inputs": [206, 206], "output": true }, - { "inputs": [206, 202], "output": false } + { "inputs": [8195, 93], "output": false }, + { "inputs": [89, 93], "output": true }, + { "inputs": [93, 93], "output": true }, + { "inputs": [93, 89], "output": false } ], "le_euint16_euint16": [ - { "inputs": [11868, 62015], "output": true }, - { "inputs": [11864, 11868], "output": true }, - { "inputs": [11868, 11868], "output": true }, - { "inputs": [11868, 11864], "output": false } + { "inputs": [8195, 18657], "output": true }, + { "inputs": [8191, 8195], "output": true }, + { "inputs": [8195, 8195], "output": true }, + { "inputs": [8195, 8191], "output": false } ], "le_euint16_uint16": [ - { "inputs": [11868, 63783], "output": true }, - { "inputs": [11864, 11868], "output": true }, - { "inputs": [11868, 11868], "output": true }, - { "inputs": [11868, 11864], "output": false } + { "inputs": [8195, 15612], "output": true }, + { "inputs": [8191, 8195], "output": true }, + { "inputs": [8195, 8195], "output": true }, + { "inputs": [8195, 8191], "output": false } ], "le_uint16_euint16": [ - { "inputs": [2104, 63783], "output": true }, - { "inputs": [11864, 11868], "output": true }, - { "inputs": [11868, 11868], "output": true }, - { "inputs": [11868, 11864], "output": false } + { "inputs": [61583, 15612], "output": false }, + { "inputs": [8191, 8195], "output": true }, + { "inputs": [8195, 8195], "output": true }, + { "inputs": [8195, 8191], "output": false } ], "le_euint16_euint32": [ - { "inputs": [2104, 130166929], "output": true }, - { "inputs": [2100, 2104], "output": true }, - { "inputs": [2104, 2104], "output": true }, - { "inputs": [2104, 2100], "output": false } + { "inputs": [61583, 12489816], "output": true }, + { "inputs": [61579, 61583], "output": true }, + { "inputs": [61583, 61583], "output": true }, + { "inputs": [61583, 61579], "output": false } ], "le_euint16_euint64": [ - { "inputs": [2104, 188633784], "output": true }, - { "inputs": [2100, 2104], "output": true }, - { "inputs": [2104, 2104], "output": true }, - { "inputs": [2104, 2100], "output": false } + { "inputs": [61583, 200076583], "output": true }, + { "inputs": [61579, 61583], "output": true }, + { "inputs": [61583, 61583], "output": true }, + { "inputs": [61583, 61579], "output": false } ], "le_euint32_euint4": [ - { "inputs": [232635457, 13], "output": false }, - { "inputs": [9, 13], "output": true }, - { "inputs": [13, 13], "output": true }, - { "inputs": [13, 9], "output": false } + { "inputs": [253532839, 12], "output": false }, + { "inputs": [8, 12], "output": true }, + { "inputs": [12, 12], "output": true }, + { "inputs": [12, 8], "output": false } ], "le_euint32_euint8": [ - { "inputs": [232635457, 170], "output": false }, - { "inputs": [166, 170], "output": true }, - { "inputs": [170, 170], "output": true }, - { "inputs": [170, 166], "output": false } + { "inputs": [253532839, 184], "output": false }, + { "inputs": [180, 184], "output": true }, + { "inputs": [184, 184], "output": true }, + { "inputs": [184, 180], "output": false } ], "le_euint32_euint16": [ - { "inputs": [232635457, 42879], "output": false }, - { "inputs": [42875, 42879], "output": true }, - { "inputs": [42879, 42879], "output": true }, - { "inputs": [42879, 42875], "output": false } + { "inputs": [253532839, 30629], "output": false }, + { "inputs": [30625, 30629], "output": true }, + { "inputs": [30629, 30629], "output": true }, + { "inputs": [30629, 30625], "output": false } ], "le_euint32_euint32": [ - { "inputs": [232635457, 156819794], "output": false }, - { "inputs": [156819790, 156819794], "output": true }, - { "inputs": [156819794, 156819794], "output": true }, - { "inputs": [156819794, 156819790], "output": false } + { "inputs": [253532839, 259475014], "output": true }, + { "inputs": [253532835, 253532839], "output": true }, + { "inputs": [253532839, 253532839], "output": true }, + { "inputs": [253532839, 253532835], "output": false } ], "le_euint32_uint32": [ - { "inputs": [232635457, 92190924], "output": false }, - { "inputs": [156819790, 156819794], "output": true }, - { "inputs": [156819794, 156819794], "output": true }, - { "inputs": [156819794, 156819790], "output": false } + { "inputs": [253532839, 235451435], "output": false }, + { "inputs": [253532835, 253532839], "output": true }, + { "inputs": [253532839, 253532839], "output": true }, + { "inputs": [253532839, 253532835], "output": false } ], "le_uint32_euint32": [ - { "inputs": [239805571, 92190924], "output": false }, - { "inputs": [156819790, 156819794], "output": true }, - { "inputs": [156819794, 156819794], "output": true }, - { "inputs": [156819794, 156819790], "output": false } + { "inputs": [106864717, 235451435], "output": true }, + { "inputs": [253532835, 253532839], "output": true }, + { "inputs": [253532839, 253532839], "output": true }, + { "inputs": [253532839, 253532835], "output": false } ], "le_euint32_euint64": [ - { "inputs": [239805571, 15147063], "output": false }, - { "inputs": [15147059, 15147063], "output": true }, - { "inputs": [15147063, 15147063], "output": true }, - { "inputs": [15147063, 15147059], "output": false } + { "inputs": [106864717, 136047136], "output": true }, + { "inputs": [106864713, 106864717], "output": true }, + { "inputs": [106864717, 106864717], "output": true }, + { "inputs": [106864717, 106864713], "output": false } ], "le_euint64_euint4": [ - { "inputs": [4853853, 7], "output": false }, + { "inputs": [217701220, 1], "output": false }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "le_euint64_euint8": [ - { "inputs": [4853853, 164], "output": false }, - { "inputs": [160, 164], "output": true }, - { "inputs": [164, 164], "output": true }, - { "inputs": [164, 160], "output": false } + { "inputs": [217701220, 215], "output": false }, + { "inputs": [211, 215], "output": true }, + { "inputs": [215, 215], "output": true }, + { "inputs": [215, 211], "output": false } ], "le_euint64_euint16": [ - { "inputs": [4853853, 22531], "output": false }, - { "inputs": [22527, 22531], "output": true }, - { "inputs": [22531, 22531], "output": true }, - { "inputs": [22531, 22527], "output": false } + { "inputs": [217701220, 49721], "output": false }, + { "inputs": [49717, 49721], "output": true }, + { "inputs": [49721, 49721], "output": true }, + { "inputs": [49721, 49717], "output": false } ], "le_euint64_euint32": [ - { "inputs": [4853853, 119615921], "output": true }, - { "inputs": [4853849, 4853853], "output": true }, - { "inputs": [4853853, 4853853], "output": true }, - { "inputs": [4853853, 4853849], "output": false } + { "inputs": [217701220, 133414572], "output": false }, + { "inputs": [133414568, 133414572], "output": true }, + { "inputs": [133414572, 133414572], "output": true }, + { "inputs": [133414572, 133414568], "output": false } ], "le_euint64_euint64": [ - { "inputs": [4853853, 166520373], "output": true }, - { "inputs": [4853849, 4853853], "output": true }, - { "inputs": [4853853, 4853853], "output": true }, - { "inputs": [4853853, 4853849], "output": false } + { "inputs": [217701220, 184213537], "output": false }, + { "inputs": [184213533, 184213537], "output": true }, + { "inputs": [184213537, 184213537], "output": true }, + { "inputs": [184213537, 184213533], "output": false } ], "le_euint64_uint64": [ - { "inputs": [4853853, 71100277], "output": true }, - { "inputs": [4853849, 4853853], "output": true }, - { "inputs": [4853853, 4853853], "output": true }, - { "inputs": [4853853, 4853849], "output": false } + { "inputs": [217701220, 169995885], "output": false }, + { "inputs": [184213533, 184213537], "output": true }, + { "inputs": [184213537, 184213537], "output": true }, + { "inputs": [184213537, 184213533], "output": false } ], "le_uint64_euint64": [ - { "inputs": [111458198, 71100277], "output": false }, - { "inputs": [4853849, 4853853], "output": true }, - { "inputs": [4853853, 4853853], "output": true }, - { "inputs": [4853853, 4853849], "output": false } + { "inputs": [133029453, 169995885], "output": true }, + { "inputs": [184213533, 184213537], "output": true }, + { "inputs": [184213537, 184213537], "output": true }, + { "inputs": [184213537, 184213533], "output": false } ], "lt_euint4_euint4": [ - { "inputs": [8, 8], "output": false }, + { "inputs": [4, 1], "output": false }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint4_euint8": [ - { "inputs": [8, 52], "output": true }, + { "inputs": [4, 146], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint4_uint8": [ - { "inputs": [8, 10], "output": true }, + { "inputs": [4, 14], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint4_euint16": [ - { "inputs": [8, 46388], "output": true }, + { "inputs": [4, 61168], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint4_euint32": [ - { "inputs": [8, 223282425], "output": true }, + { "inputs": [4, 187774996], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint4_euint64": [ - { "inputs": [8, 103658240], "output": true }, + { "inputs": [4, 169419678], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint8_euint4": [ - { "inputs": [209, 1], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": [94, 14], "output": false }, + { "inputs": [10, 14], "output": true }, + { "inputs": [14, 14], "output": false }, + { "inputs": [14, 10], "output": false } ], "lt_uint8_euint4": [ - { "inputs": [5, 1], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": [6, 14], "output": true }, + { "inputs": [10, 14], "output": true }, + { "inputs": [14, 14], "output": false }, + { "inputs": [14, 10], "output": false } ], "lt_euint8_euint8": [ - { "inputs": [5, 181], "output": true }, + { "inputs": [6, 240], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint8_uint8": [ - { "inputs": [5, 37], "output": true }, + { "inputs": [6, 39], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_uint8_euint8": [ - { "inputs": [165, 37], "output": false }, + { "inputs": [198, 39], "output": false }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": false } ], "lt_euint8_euint16": [ - { "inputs": [165, 15128], "output": true }, - { "inputs": [161, 165], "output": true }, - { "inputs": [165, 165], "output": false }, - { "inputs": [165, 161], "output": false } + { "inputs": [198, 55658], "output": true }, + { "inputs": [194, 198], "output": true }, + { "inputs": [198, 198], "output": false }, + { "inputs": [198, 194], "output": false } ], "lt_euint8_euint32": [ - { "inputs": [165, 242355822], "output": true }, - { "inputs": [161, 165], "output": true }, - { "inputs": [165, 165], "output": false }, - { "inputs": [165, 161], "output": false } + { "inputs": [198, 20210081], "output": true }, + { "inputs": [194, 198], "output": true }, + { "inputs": [198, 198], "output": false }, + { "inputs": [198, 194], "output": false } ], "lt_euint8_euint64": [ - { "inputs": [165, 87596497], "output": true }, - { "inputs": [161, 165], "output": true }, - { "inputs": [165, 165], "output": false }, - { "inputs": [165, 161], "output": false } + { "inputs": [198, 171810732], "output": true }, + { "inputs": [194, 198], "output": true }, + { "inputs": [198, 198], "output": false }, + { "inputs": [198, 194], "output": false } ], "lt_euint16_euint4": [ - { "inputs": [13005, 11], "output": false }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": false }, - { "inputs": [11, 7], "output": false } + { "inputs": [59556, 1], "output": false }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } ], "lt_euint16_euint8": [ - { "inputs": [13005, 103], "output": false }, - { "inputs": [99, 103], "output": true }, - { "inputs": [103, 103], "output": false }, - { "inputs": [103, 99], "output": false } + { "inputs": [59556, 229], "output": false }, + { "inputs": [225, 229], "output": true }, + { "inputs": [229, 229], "output": false }, + { "inputs": [229, 225], "output": false } ], "lt_euint16_euint16": [ - { "inputs": [13005, 22857], "output": true }, - { "inputs": [13001, 13005], "output": true }, - { "inputs": [13005, 13005], "output": false }, - { "inputs": [13005, 13001], "output": false } + { "inputs": [59556, 39223], "output": false }, + { "inputs": [39219, 39223], "output": true }, + { "inputs": [39223, 39223], "output": false }, + { "inputs": [39223, 39219], "output": false } ], "lt_euint16_uint16": [ - { "inputs": [13005, 41485], "output": true }, - { "inputs": [13001, 13005], "output": true }, - { "inputs": [13005, 13005], "output": false }, - { "inputs": [13005, 13001], "output": false } + { "inputs": [59556, 9412], "output": false }, + { "inputs": [39219, 39223], "output": true }, + { "inputs": [39223, 39223], "output": false }, + { "inputs": [39223, 39219], "output": false } ], "lt_uint16_euint16": [ - { "inputs": [6215, 41485], "output": true }, - { "inputs": [13001, 13005], "output": true }, - { "inputs": [13005, 13005], "output": false }, - { "inputs": [13005, 13001], "output": false } + { "inputs": [30406, 9412], "output": false }, + { "inputs": [39219, 39223], "output": true }, + { "inputs": [39223, 39223], "output": false }, + { "inputs": [39223, 39219], "output": false } ], "lt_euint16_euint32": [ - { "inputs": [6215, 187516000], "output": true }, - { "inputs": [6211, 6215], "output": true }, - { "inputs": [6215, 6215], "output": false }, - { "inputs": [6215, 6211], "output": false } + { "inputs": [30406, 222597839], "output": true }, + { "inputs": [30402, 30406], "output": true }, + { "inputs": [30406, 30406], "output": false }, + { "inputs": [30406, 30402], "output": false } ], "lt_euint16_euint64": [ - { "inputs": [6215, 123133979], "output": true }, - { "inputs": [6211, 6215], "output": true }, - { "inputs": [6215, 6215], "output": false }, - { "inputs": [6215, 6211], "output": false } + { "inputs": [30406, 141165411], "output": true }, + { "inputs": [30402, 30406], "output": true }, + { "inputs": [30406, 30406], "output": false }, + { "inputs": [30406, 30402], "output": false } ], "lt_euint32_euint4": [ - { "inputs": [89546642, 8], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": [77180163, 11], "output": false }, + { "inputs": [7, 11], "output": true }, + { "inputs": [11, 11], "output": false }, + { "inputs": [11, 7], "output": false } ], "lt_euint32_euint8": [ - { "inputs": [89546642, 186], "output": false }, - { "inputs": [182, 186], "output": true }, - { "inputs": [186, 186], "output": false }, - { "inputs": [186, 182], "output": false } + { "inputs": [77180163, 96], "output": false }, + { "inputs": [92, 96], "output": true }, + { "inputs": [96, 96], "output": false }, + { "inputs": [96, 92], "output": false } ], "lt_euint32_euint16": [ - { "inputs": [89546642, 11355], "output": false }, - { "inputs": [11351, 11355], "output": true }, - { "inputs": [11355, 11355], "output": false }, - { "inputs": [11355, 11351], "output": false } + { "inputs": [77180163, 31631], "output": false }, + { "inputs": [31627, 31631], "output": true }, + { "inputs": [31631, 31631], "output": false }, + { "inputs": [31631, 31627], "output": false } ], "lt_euint32_euint32": [ - { "inputs": [89546642, 135434402], "output": true }, - { "inputs": [89546638, 89546642], "output": true }, - { "inputs": [89546642, 89546642], "output": false }, - { "inputs": [89546642, 89546638], "output": false } + { "inputs": [77180163, 25179168], "output": false }, + { "inputs": [25179164, 25179168], "output": true }, + { "inputs": [25179168, 25179168], "output": false }, + { "inputs": [25179168, 25179164], "output": false } ], "lt_euint32_uint32": [ - { "inputs": [89546642, 53290899], "output": false }, - { "inputs": [89546638, 89546642], "output": true }, - { "inputs": [89546642, 89546642], "output": false }, - { "inputs": [89546642, 89546638], "output": false } + { "inputs": [77180163, 83634693], "output": true }, + { "inputs": [25179164, 25179168], "output": true }, + { "inputs": [25179168, 25179168], "output": false }, + { "inputs": [25179168, 25179164], "output": false } ], "lt_uint32_euint32": [ - { "inputs": [87828731, 53290899], "output": false }, - { "inputs": [89546638, 89546642], "output": true }, - { "inputs": [89546642, 89546642], "output": false }, - { "inputs": [89546642, 89546638], "output": false } + { "inputs": [68403682, 83634693], "output": true }, + { "inputs": [25179164, 25179168], "output": true }, + { "inputs": [25179168, 25179168], "output": false }, + { "inputs": [25179168, 25179164], "output": false } ], "lt_euint32_euint64": [ - { "inputs": [87828731, 91983750], "output": true }, - { "inputs": [87828727, 87828731], "output": true }, - { "inputs": [87828731, 87828731], "output": false }, - { "inputs": [87828731, 87828727], "output": false } + { "inputs": [68403682, 75018920], "output": true }, + { "inputs": [68403678, 68403682], "output": true }, + { "inputs": [68403682, 68403682], "output": false }, + { "inputs": [68403682, 68403678], "output": false } ], "lt_euint64_euint4": [ - { "inputs": [109092109, 11], "output": false }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": false }, - { "inputs": [11, 7], "output": false } + { "inputs": [264374974, 2], "output": false }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": false } ], "lt_euint64_euint8": [ - { "inputs": [109092109, 64], "output": false }, - { "inputs": [60, 64], "output": true }, - { "inputs": [64, 64], "output": false }, - { "inputs": [64, 60], "output": false } + { "inputs": [264374974, 197], "output": false }, + { "inputs": [193, 197], "output": true }, + { "inputs": [197, 197], "output": false }, + { "inputs": [197, 193], "output": false } ], "lt_euint64_euint16": [ - { "inputs": [109092109, 63916], "output": false }, - { "inputs": [63912, 63916], "output": true }, - { "inputs": [63916, 63916], "output": false }, - { "inputs": [63916, 63912], "output": false } + { "inputs": [264374974, 23947], "output": false }, + { "inputs": [23943, 23947], "output": true }, + { "inputs": [23947, 23947], "output": false }, + { "inputs": [23947, 23943], "output": false } ], "lt_euint64_euint32": [ - { "inputs": [109092109, 83205790], "output": false }, - { "inputs": [83205786, 83205790], "output": true }, - { "inputs": [83205790, 83205790], "output": false }, - { "inputs": [83205790, 83205786], "output": false } + { "inputs": [264374974, 253580652], "output": false }, + { "inputs": [253580648, 253580652], "output": true }, + { "inputs": [253580652, 253580652], "output": false }, + { "inputs": [253580652, 253580648], "output": false } ], "lt_euint64_euint64": [ - { "inputs": [109092109, 141689285], "output": true }, - { "inputs": [109092105, 109092109], "output": true }, - { "inputs": [109092109, 109092109], "output": false }, - { "inputs": [109092109, 109092105], "output": false } + { "inputs": [264374974, 138721892], "output": false }, + { "inputs": [138721888, 138721892], "output": true }, + { "inputs": [138721892, 138721892], "output": false }, + { "inputs": [138721892, 138721888], "output": false } ], "lt_euint64_uint64": [ - { "inputs": [109092109, 187709038], "output": true }, - { "inputs": [109092105, 109092109], "output": true }, - { "inputs": [109092109, 109092109], "output": false }, - { "inputs": [109092109, 109092105], "output": false } + { "inputs": [264374974, 177602426], "output": false }, + { "inputs": [138721888, 138721892], "output": true }, + { "inputs": [138721892, 138721892], "output": false }, + { "inputs": [138721892, 138721888], "output": false } ], "lt_uint64_euint64": [ - { "inputs": [191874287, 187709038], "output": false }, - { "inputs": [109092105, 109092109], "output": true }, - { "inputs": [109092109, 109092109], "output": false }, - { "inputs": [109092109, 109092105], "output": false } + { "inputs": [220331487, 177602426], "output": false }, + { "inputs": [138721888, 138721892], "output": true }, + { "inputs": [138721892, 138721892], "output": false }, + { "inputs": [138721892, 138721888], "output": false } ], "ge_euint4_euint4": [ - { "inputs": [2, 13], "output": false }, + { "inputs": [9, 4], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint4_euint8": [ - { "inputs": [2, 171], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": [9, 39], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": true } ], "ge_euint4_uint8": [ - { "inputs": [2, 3], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": [9, 2], "output": true }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": true } ], "ge_euint4_euint16": [ - { "inputs": [2, 31122], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": [9, 12663], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": true } ], "ge_euint4_euint32": [ - { "inputs": [2, 94282146], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": [9, 36890948], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": true } ], "ge_euint4_euint64": [ - { "inputs": [2, 125028010], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": [9, 16491235], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": true }, + { "inputs": [9, 5], "output": true } ], "ge_euint8_euint4": [ - { "inputs": [3, 1], "output": true }, + { "inputs": [130, 1], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_uint8_euint4": [ - { "inputs": [2, 1], "output": true }, + { "inputs": [8, 1], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint8_euint8": [ - { "inputs": [2, 203], "output": false }, + { "inputs": [8, 191], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint8_uint8": [ - { "inputs": [2, 65], "output": false }, + { "inputs": [8, 42], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_uint8_euint8": [ - { "inputs": [254, 65], "output": true }, + { "inputs": [1, 42], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": true } ], "ge_euint8_euint16": [ - { "inputs": [254, 25447], "output": false }, - { "inputs": [250, 254], "output": false }, - { "inputs": [254, 254], "output": true }, - { "inputs": [254, 250], "output": true } + { "inputs": [1, 54905], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } ], "ge_euint8_euint32": [ - { "inputs": [254, 174513350], "output": false }, - { "inputs": [250, 254], "output": false }, - { "inputs": [254, 254], "output": true }, - { "inputs": [254, 250], "output": true } + { "inputs": [1, 66874588], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } ], "ge_euint8_euint64": [ - { "inputs": [254, 249856292], "output": false }, - { "inputs": [250, 254], "output": false }, - { "inputs": [254, 254], "output": true }, - { "inputs": [254, 250], "output": true } + { "inputs": [1, 155404527], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } ], "ge_euint16_euint4": [ - { "inputs": [2319, 9], "output": true }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": true } + { "inputs": [51421, 10], "output": true }, + { "inputs": [6, 10], "output": false }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": true } ], "ge_euint16_euint8": [ - { "inputs": [2319, 170], "output": true }, - { "inputs": [166, 170], "output": false }, - { "inputs": [170, 170], "output": true }, - { "inputs": [170, 166], "output": true } + { "inputs": [51421, 242], "output": true }, + { "inputs": [238, 242], "output": false }, + { "inputs": [242, 242], "output": true }, + { "inputs": [242, 238], "output": true } ], "ge_euint16_euint16": [ - { "inputs": [2319, 22034], "output": false }, - { "inputs": [2315, 2319], "output": false }, - { "inputs": [2319, 2319], "output": true }, - { "inputs": [2319, 2315], "output": true } + { "inputs": [51421, 31489], "output": true }, + { "inputs": [31485, 31489], "output": false }, + { "inputs": [31489, 31489], "output": true }, + { "inputs": [31489, 31485], "output": true } ], "ge_euint16_uint16": [ - { "inputs": [2319, 46898], "output": false }, - { "inputs": [2315, 2319], "output": false }, - { "inputs": [2319, 2319], "output": true }, - { "inputs": [2319, 2315], "output": true } + { "inputs": [51421, 1063], "output": true }, + { "inputs": [31485, 31489], "output": false }, + { "inputs": [31489, 31489], "output": true }, + { "inputs": [31489, 31485], "output": true } ], "ge_uint16_euint16": [ - { "inputs": [15004, 46898], "output": false }, - { "inputs": [2315, 2319], "output": false }, - { "inputs": [2319, 2319], "output": true }, - { "inputs": [2319, 2315], "output": true } + { "inputs": [44552, 1063], "output": true }, + { "inputs": [31485, 31489], "output": false }, + { "inputs": [31489, 31489], "output": true }, + { "inputs": [31489, 31485], "output": true } ], "ge_euint16_euint32": [ - { "inputs": [15004, 215912519], "output": false }, - { "inputs": [15000, 15004], "output": false }, - { "inputs": [15004, 15004], "output": true }, - { "inputs": [15004, 15000], "output": true } + { "inputs": [44552, 89317183], "output": false }, + { "inputs": [44548, 44552], "output": false }, + { "inputs": [44552, 44552], "output": true }, + { "inputs": [44552, 44548], "output": true } ], "ge_euint16_euint64": [ - { "inputs": [15004, 5255422], "output": false }, - { "inputs": [15000, 15004], "output": false }, - { "inputs": [15004, 15004], "output": true }, - { "inputs": [15004, 15000], "output": true } + { "inputs": [44552, 221643140], "output": false }, + { "inputs": [44548, 44552], "output": false }, + { "inputs": [44552, 44552], "output": true }, + { "inputs": [44552, 44548], "output": true } ], "ge_euint32_euint4": [ - { "inputs": [182035180, 9], "output": true }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": true } + { "inputs": [55218710, 2], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": true } ], "ge_euint32_euint8": [ - { "inputs": [182035180, 64], "output": true }, - { "inputs": [60, 64], "output": false }, - { "inputs": [64, 64], "output": true }, - { "inputs": [64, 60], "output": true } + { "inputs": [55218710, 19], "output": true }, + { "inputs": [15, 19], "output": false }, + { "inputs": [19, 19], "output": true }, + { "inputs": [19, 15], "output": true } ], "ge_euint32_euint16": [ - { "inputs": [182035180, 57858], "output": true }, - { "inputs": [57854, 57858], "output": false }, - { "inputs": [57858, 57858], "output": true }, - { "inputs": [57858, 57854], "output": true } + { "inputs": [55218710, 21355], "output": true }, + { "inputs": [21351, 21355], "output": false }, + { "inputs": [21355, 21355], "output": true }, + { "inputs": [21355, 21351], "output": true } ], "ge_euint32_euint32": [ - { "inputs": [182035180, 102858487], "output": true }, - { "inputs": [102858483, 102858487], "output": false }, - { "inputs": [102858487, 102858487], "output": true }, - { "inputs": [102858487, 102858483], "output": true } + { "inputs": [55218710, 165530810], "output": false }, + { "inputs": [55218706, 55218710], "output": false }, + { "inputs": [55218710, 55218710], "output": true }, + { "inputs": [55218710, 55218706], "output": true } ], "ge_euint32_uint32": [ - { "inputs": [182035180, 57241334], "output": true }, - { "inputs": [102858483, 102858487], "output": false }, - { "inputs": [102858487, 102858487], "output": true }, - { "inputs": [102858487, 102858483], "output": true } + { "inputs": [55218710, 91594514], "output": false }, + { "inputs": [55218706, 55218710], "output": false }, + { "inputs": [55218710, 55218710], "output": true }, + { "inputs": [55218710, 55218706], "output": true } ], "ge_uint32_euint32": [ - { "inputs": [173909597, 57241334], "output": true }, - { "inputs": [102858483, 102858487], "output": false }, - { "inputs": [102858487, 102858487], "output": true }, - { "inputs": [102858487, 102858483], "output": true } + { "inputs": [252617126, 91594514], "output": true }, + { "inputs": [55218706, 55218710], "output": false }, + { "inputs": [55218710, 55218710], "output": true }, + { "inputs": [55218710, 55218706], "output": true } ], "ge_euint32_euint64": [ - { "inputs": [173909597, 200114020], "output": false }, - { "inputs": [173909593, 173909597], "output": false }, - { "inputs": [173909597, 173909597], "output": true }, - { "inputs": [173909597, 173909593], "output": true } + { "inputs": [252617126, 78317021], "output": true }, + { "inputs": [78317017, 78317021], "output": false }, + { "inputs": [78317021, 78317021], "output": true }, + { "inputs": [78317021, 78317017], "output": true } ], "ge_euint64_euint4": [ - { "inputs": [105082351, 8], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": [116051290, 10], "output": true }, + { "inputs": [6, 10], "output": false }, + { "inputs": [10, 10], "output": true }, + { "inputs": [10, 6], "output": true } ], "ge_euint64_euint8": [ - { "inputs": [105082351, 165], "output": true }, - { "inputs": [161, 165], "output": false }, - { "inputs": [165, 165], "output": true }, - { "inputs": [165, 161], "output": true } + { "inputs": [116051290, 252], "output": true }, + { "inputs": [248, 252], "output": false }, + { "inputs": [252, 252], "output": true }, + { "inputs": [252, 248], "output": true } ], "ge_euint64_euint16": [ - { "inputs": [105082351, 16536], "output": true }, - { "inputs": [16532, 16536], "output": false }, - { "inputs": [16536, 16536], "output": true }, - { "inputs": [16536, 16532], "output": true } + { "inputs": [116051290, 2338], "output": true }, + { "inputs": [2334, 2338], "output": false }, + { "inputs": [2338, 2338], "output": true }, + { "inputs": [2338, 2334], "output": true } ], "ge_euint64_euint32": [ - { "inputs": [105082351, 181571496], "output": false }, - { "inputs": [105082347, 105082351], "output": false }, - { "inputs": [105082351, 105082351], "output": true }, - { "inputs": [105082351, 105082347], "output": true } + { "inputs": [116051290, 95719061], "output": true }, + { "inputs": [95719057, 95719061], "output": false }, + { "inputs": [95719061, 95719061], "output": true }, + { "inputs": [95719061, 95719057], "output": true } ], "ge_euint64_euint64": [ - { "inputs": [105082351, 33126302], "output": true }, - { "inputs": [33126298, 33126302], "output": false }, - { "inputs": [33126302, 33126302], "output": true }, - { "inputs": [33126302, 33126298], "output": true } + { "inputs": [116051290, 122147524], "output": false }, + { "inputs": [116051286, 116051290], "output": false }, + { "inputs": [116051290, 116051290], "output": true }, + { "inputs": [116051290, 116051286], "output": true } ], "ge_euint64_uint64": [ - { "inputs": [105082351, 48493907], "output": true }, - { "inputs": [33126298, 33126302], "output": false }, - { "inputs": [33126302, 33126302], "output": true }, - { "inputs": [33126302, 33126298], "output": true } + { "inputs": [116051290, 135280853], "output": false }, + { "inputs": [116051286, 116051290], "output": false }, + { "inputs": [116051290, 116051290], "output": true }, + { "inputs": [116051290, 116051286], "output": true } ], "ge_uint64_euint64": [ - { "inputs": [322150, 48493907], "output": false }, - { "inputs": [33126298, 33126302], "output": false }, - { "inputs": [33126302, 33126302], "output": true }, - { "inputs": [33126302, 33126298], "output": true } + { "inputs": [182502154, 135280853], "output": true }, + { "inputs": [116051286, 116051290], "output": false }, + { "inputs": [116051290, 116051290], "output": true }, + { "inputs": [116051290, 116051286], "output": true } ], "gt_euint4_euint4": [ - { "inputs": [7, 6], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": [9, 9], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": false }, + { "inputs": [9, 5], "output": true } ], "gt_euint4_euint8": [ - { "inputs": [7, 6], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": [9, 247], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": false }, + { "inputs": [9, 5], "output": true } ], "gt_euint4_uint8": [ - { "inputs": [7, 1], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": [9, 9], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": false }, + { "inputs": [9, 5], "output": true } ], "gt_euint4_euint16": [ - { "inputs": [7, 37404], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": [9, 35570], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": false }, + { "inputs": [9, 5], "output": true } ], "gt_euint4_euint32": [ - { "inputs": [7, 78307322], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": [9, 89558247], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": false }, + { "inputs": [9, 5], "output": true } ], "gt_euint4_euint64": [ - { "inputs": [7, 25447544], "output": false }, + { "inputs": [9, 53485181], "output": false }, + { "inputs": [5, 9], "output": false }, + { "inputs": [9, 9], "output": false }, + { "inputs": [9, 5], "output": true } + ], + "gt_euint8_euint4": [ + { "inputs": [130, 1], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], - "gt_euint8_euint4": [ - { "inputs": [211, 13], "output": true }, - { "inputs": [9, 13], "output": false }, - { "inputs": [13, 13], "output": false }, - { "inputs": [13, 9], "output": true } - ], "gt_uint8_euint4": [ - { "inputs": [3, 13], "output": false }, - { "inputs": [9, 13], "output": false }, - { "inputs": [13, 13], "output": false }, - { "inputs": [13, 9], "output": true } + { "inputs": [1, 1], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } ], "gt_euint8_euint8": [ - { "inputs": [3, 44], "output": false }, + { "inputs": [1, 180], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint8_uint8": [ - { "inputs": [3, 110], "output": false }, + { "inputs": [1, 53], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_uint8_euint8": [ - { "inputs": [240, 110], "output": true }, + { "inputs": [102, 53], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint8_euint16": [ - { "inputs": [240, 31410], "output": false }, - { "inputs": [236, 240], "output": false }, - { "inputs": [240, 240], "output": false }, - { "inputs": [240, 236], "output": true } + { "inputs": [102, 32183], "output": false }, + { "inputs": [98, 102], "output": false }, + { "inputs": [102, 102], "output": false }, + { "inputs": [102, 98], "output": true } ], "gt_euint8_euint32": [ - { "inputs": [240, 230709034], "output": false }, - { "inputs": [236, 240], "output": false }, - { "inputs": [240, 240], "output": false }, - { "inputs": [240, 236], "output": true } + { "inputs": [102, 173287703], "output": false }, + { "inputs": [98, 102], "output": false }, + { "inputs": [102, 102], "output": false }, + { "inputs": [102, 98], "output": true } ], "gt_euint8_euint64": [ - { "inputs": [240, 179585345], "output": false }, - { "inputs": [236, 240], "output": false }, - { "inputs": [240, 240], "output": false }, - { "inputs": [240, 236], "output": true } + { "inputs": [102, 257990052], "output": false }, + { "inputs": [98, 102], "output": false }, + { "inputs": [102, 102], "output": false }, + { "inputs": [102, 98], "output": true } ], "gt_euint16_euint4": [ - { "inputs": [39995, 5], "output": true }, + { "inputs": [44465, 6], "output": true }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "gt_euint16_euint8": [ - { "inputs": [39995, 222], "output": true }, - { "inputs": [218, 222], "output": false }, - { "inputs": [222, 222], "output": false }, - { "inputs": [222, 218], "output": true } + { "inputs": [44465, 202], "output": true }, + { "inputs": [198, 202], "output": false }, + { "inputs": [202, 202], "output": false }, + { "inputs": [202, 198], "output": true } ], "gt_euint16_euint16": [ - { "inputs": [39995, 43029], "output": false }, - { "inputs": [39991, 39995], "output": false }, - { "inputs": [39995, 39995], "output": false }, - { "inputs": [39995, 39991], "output": true } + { "inputs": [44465, 46930], "output": false }, + { "inputs": [44461, 44465], "output": false }, + { "inputs": [44465, 44465], "output": false }, + { "inputs": [44465, 44461], "output": true } ], "gt_euint16_uint16": [ - { "inputs": [39995, 40403], "output": false }, - { "inputs": [39991, 39995], "output": false }, - { "inputs": [39995, 39995], "output": false }, - { "inputs": [39995, 39991], "output": true } + { "inputs": [44465, 56813], "output": false }, + { "inputs": [44461, 44465], "output": false }, + { "inputs": [44465, 44465], "output": false }, + { "inputs": [44465, 44461], "output": true } ], "gt_uint16_euint16": [ - { "inputs": [31594, 40403], "output": false }, - { "inputs": [39991, 39995], "output": false }, - { "inputs": [39995, 39995], "output": false }, - { "inputs": [39995, 39991], "output": true } + { "inputs": [40972, 56813], "output": false }, + { "inputs": [44461, 44465], "output": false }, + { "inputs": [44465, 44465], "output": false }, + { "inputs": [44465, 44461], "output": true } ], "gt_euint16_euint32": [ - { "inputs": [31594, 222562117], "output": false }, - { "inputs": [31590, 31594], "output": false }, - { "inputs": [31594, 31594], "output": false }, - { "inputs": [31594, 31590], "output": true } + { "inputs": [40972, 46817193], "output": false }, + { "inputs": [40968, 40972], "output": false }, + { "inputs": [40972, 40972], "output": false }, + { "inputs": [40972, 40968], "output": true } ], "gt_euint16_euint64": [ - { "inputs": [31594, 160571558], "output": false }, - { "inputs": [31590, 31594], "output": false }, - { "inputs": [31594, 31594], "output": false }, - { "inputs": [31594, 31590], "output": true } + { "inputs": [40972, 29158802], "output": false }, + { "inputs": [40968, 40972], "output": false }, + { "inputs": [40972, 40972], "output": false }, + { "inputs": [40972, 40968], "output": true } ], "gt_euint32_euint4": [ - { "inputs": [228583889, 14], "output": true }, + { "inputs": [44051971, 14], "output": true }, { "inputs": [10, 14], "output": false }, { "inputs": [14, 14], "output": false }, { "inputs": [14, 10], "output": true } ], "gt_euint32_euint8": [ - { "inputs": [228583889, 150], "output": true }, - { "inputs": [146, 150], "output": false }, - { "inputs": [150, 150], "output": false }, - { "inputs": [150, 146], "output": true } + { "inputs": [44051971, 62], "output": true }, + { "inputs": [58, 62], "output": false }, + { "inputs": [62, 62], "output": false }, + { "inputs": [62, 58], "output": true } ], "gt_euint32_euint16": [ - { "inputs": [228583889, 65231], "output": true }, - { "inputs": [65227, 65231], "output": false }, - { "inputs": [65231, 65231], "output": false }, - { "inputs": [65231, 65227], "output": true } + { "inputs": [44051971, 62126], "output": true }, + { "inputs": [62122, 62126], "output": false }, + { "inputs": [62126, 62126], "output": false }, + { "inputs": [62126, 62122], "output": true } ], "gt_euint32_euint32": [ - { "inputs": [228583889, 44696680], "output": true }, - { "inputs": [44696676, 44696680], "output": false }, - { "inputs": [44696680, 44696680], "output": false }, - { "inputs": [44696680, 44696676], "output": true } + { "inputs": [44051971, 234370209], "output": false }, + { "inputs": [44051967, 44051971], "output": false }, + { "inputs": [44051971, 44051971], "output": false }, + { "inputs": [44051971, 44051967], "output": true } ], "gt_euint32_uint32": [ - { "inputs": [228583889, 207183969], "output": true }, - { "inputs": [44696676, 44696680], "output": false }, - { "inputs": [44696680, 44696680], "output": false }, - { "inputs": [44696680, 44696676], "output": true } + { "inputs": [44051971, 72656620], "output": false }, + { "inputs": [44051967, 44051971], "output": false }, + { "inputs": [44051971, 44051971], "output": false }, + { "inputs": [44051971, 44051967], "output": true } ], "gt_uint32_euint32": [ - { "inputs": [51988955, 207183969], "output": false }, - { "inputs": [44696676, 44696680], "output": false }, - { "inputs": [44696680, 44696680], "output": false }, - { "inputs": [44696680, 44696676], "output": true } + { "inputs": [66236212, 72656620], "output": false }, + { "inputs": [44051967, 44051971], "output": false }, + { "inputs": [44051971, 44051971], "output": false }, + { "inputs": [44051971, 44051967], "output": true } ], "gt_euint32_euint64": [ - { "inputs": [51988955, 19324508], "output": true }, - { "inputs": [19324504, 19324508], "output": false }, - { "inputs": [19324508, 19324508], "output": false }, - { "inputs": [19324508, 19324504], "output": true } + { "inputs": [66236212, 254779952], "output": false }, + { "inputs": [66236208, 66236212], "output": false }, + { "inputs": [66236212, 66236212], "output": false }, + { "inputs": [66236212, 66236208], "output": true } ], "gt_euint64_euint4": [ - { "inputs": [264058266, 10], "output": true }, - { "inputs": [6, 10], "output": false }, - { "inputs": [10, 10], "output": false }, - { "inputs": [10, 6], "output": true } + { "inputs": [208318592, 6], "output": true }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } ], "gt_euint64_euint8": [ - { "inputs": [264058266, 147], "output": true }, - { "inputs": [143, 147], "output": false }, - { "inputs": [147, 147], "output": false }, - { "inputs": [147, 143], "output": true } + { "inputs": [208318592, 189], "output": true }, + { "inputs": [185, 189], "output": false }, + { "inputs": [189, 189], "output": false }, + { "inputs": [189, 185], "output": true } ], "gt_euint64_euint16": [ - { "inputs": [264058266, 4272], "output": true }, - { "inputs": [4268, 4272], "output": false }, - { "inputs": [4272, 4272], "output": false }, - { "inputs": [4272, 4268], "output": true } + { "inputs": [208318592, 48949], "output": true }, + { "inputs": [48945, 48949], "output": false }, + { "inputs": [48949, 48949], "output": false }, + { "inputs": [48949, 48945], "output": true } ], "gt_euint64_euint32": [ - { "inputs": [264058266, 243897804], "output": true }, - { "inputs": [243897800, 243897804], "output": false }, - { "inputs": [243897804, 243897804], "output": false }, - { "inputs": [243897804, 243897800], "output": true } + { "inputs": [208318592, 245955324], "output": false }, + { "inputs": [208318588, 208318592], "output": false }, + { "inputs": [208318592, 208318592], "output": false }, + { "inputs": [208318592, 208318588], "output": true } ], "gt_euint64_euint64": [ - { "inputs": [264058266, 143096333], "output": true }, - { "inputs": [143096329, 143096333], "output": false }, - { "inputs": [143096333, 143096333], "output": false }, - { "inputs": [143096333, 143096329], "output": true } + { "inputs": [208318592, 117484228], "output": true }, + { "inputs": [117484224, 117484228], "output": false }, + { "inputs": [117484228, 117484228], "output": false }, + { "inputs": [117484228, 117484224], "output": true } ], "gt_euint64_uint64": [ - { "inputs": [264058266, 101035647], "output": true }, - { "inputs": [143096329, 143096333], "output": false }, - { "inputs": [143096333, 143096333], "output": false }, - { "inputs": [143096333, 143096329], "output": true } + { "inputs": [208318592, 117293406], "output": true }, + { "inputs": [117484224, 117484228], "output": false }, + { "inputs": [117484228, 117484228], "output": false }, + { "inputs": [117484228, 117484224], "output": true } ], "gt_uint64_euint64": [ - { "inputs": [236395744, 101035647], "output": true }, - { "inputs": [143096329, 143096333], "output": false }, - { "inputs": [143096333, 143096333], "output": false }, - { "inputs": [143096333, 143096329], "output": true } + { "inputs": [29790592, 117293406], "output": false }, + { "inputs": [117484224, 117484228], "output": false }, + { "inputs": [117484228, 117484228], "output": false }, + { "inputs": [117484228, 117484224], "output": true } ], "eq_euint4_euint4": [ - { "inputs": [10, 1], "output": false }, + { "inputs": [5, 2], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_euint4_euint8": [ - { "inputs": [10, 106], "output": false }, - { "inputs": [6, 10], "output": false }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": [5, 81], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } ], "eq_euint4_uint8": [ - { "inputs": [10, 10], "output": true }, - { "inputs": [6, 10], "output": false }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } - ], - "eq_euint4_euint16": [ - { "inputs": [10, 50800], "output": false }, - { "inputs": [6, 10], "output": false }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } - ], - "eq_euint4_euint32": [ - { "inputs": [10, 253749712], "output": false }, - { "inputs": [6, 10], "output": false }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } - ], - "eq_euint4_euint64": [ - { "inputs": [10, 97288685], "output": false }, - { "inputs": [6, 10], "output": false }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": [5, 7], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } ], - "eq_euint8_euint4": [ - { "inputs": [129, 1], "output": false }, + "eq_euint4_euint16": [ + { "inputs": [5, 1690], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], - "eq_uint8_euint4": [ - { "inputs": [8, 1], "output": false }, + "eq_euint4_euint32": [ + { "inputs": [5, 67800295], "output": false }, + { "inputs": [4, 8], "output": false }, + { "inputs": [8, 8], "output": true }, + { "inputs": [8, 4], "output": false } + ], + "eq_euint4_euint64": [ + { "inputs": [5, 143961113], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], + "eq_euint8_euint4": [ + { "inputs": [152, 11], "output": false }, + { "inputs": [7, 11], "output": false }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } + ], + "eq_uint8_euint4": [ + { "inputs": [6, 11], "output": false }, + { "inputs": [7, 11], "output": false }, + { "inputs": [11, 11], "output": true }, + { "inputs": [11, 7], "output": false } + ], "eq_euint8_euint8": [ - { "inputs": [8, 206], "output": false }, + { "inputs": [6, 177], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_euint8_uint8": [ - { "inputs": [8, 233], "output": false }, + { "inputs": [6, 242], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_uint8_euint8": [ - { "inputs": [92, 233], "output": false }, + { "inputs": [18, 242], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_euint8_euint16": [ - { "inputs": [92, 49874], "output": false }, - { "inputs": [88, 92], "output": false }, - { "inputs": [92, 92], "output": true }, - { "inputs": [92, 88], "output": false } + { "inputs": [18, 27181], "output": false }, + { "inputs": [14, 18], "output": false }, + { "inputs": [18, 18], "output": true }, + { "inputs": [18, 14], "output": false } ], "eq_euint8_euint32": [ - { "inputs": [92, 74149594], "output": false }, - { "inputs": [88, 92], "output": false }, - { "inputs": [92, 92], "output": true }, - { "inputs": [92, 88], "output": false } + { "inputs": [18, 186668088], "output": false }, + { "inputs": [14, 18], "output": false }, + { "inputs": [18, 18], "output": true }, + { "inputs": [18, 14], "output": false } ], "eq_euint8_euint64": [ - { "inputs": [92, 249397548], "output": false }, - { "inputs": [88, 92], "output": false }, - { "inputs": [92, 92], "output": true }, - { "inputs": [92, 88], "output": false } + { "inputs": [18, 130872852], "output": false }, + { "inputs": [14, 18], "output": false }, + { "inputs": [18, 18], "output": true }, + { "inputs": [18, 14], "output": false } ], "eq_euint16_euint4": [ - { "inputs": [44634, 3], "output": false }, + { "inputs": [5463, 2], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_euint16_euint8": [ - { "inputs": [44634, 93], "output": false }, - { "inputs": [89, 93], "output": false }, - { "inputs": [93, 93], "output": true }, - { "inputs": [93, 89], "output": false } + { "inputs": [5463, 69], "output": false }, + { "inputs": [65, 69], "output": false }, + { "inputs": [69, 69], "output": true }, + { "inputs": [69, 65], "output": false } ], "eq_euint16_euint16": [ - { "inputs": [44634, 41626], "output": false }, - { "inputs": [41622, 41626], "output": false }, - { "inputs": [41626, 41626], "output": true }, - { "inputs": [41626, 41622], "output": false } + { "inputs": [5463, 64736], "output": false }, + { "inputs": [5459, 5463], "output": false }, + { "inputs": [5463, 5463], "output": true }, + { "inputs": [5463, 5459], "output": false } ], "eq_euint16_uint16": [ - { "inputs": [44634, 11079], "output": false }, - { "inputs": [41622, 41626], "output": false }, - { "inputs": [41626, 41626], "output": true }, - { "inputs": [41626, 41622], "output": false } + { "inputs": [5463, 19063], "output": false }, + { "inputs": [5459, 5463], "output": false }, + { "inputs": [5463, 5463], "output": true }, + { "inputs": [5463, 5459], "output": false } ], "eq_uint16_euint16": [ - { "inputs": [58427, 11079], "output": false }, - { "inputs": [41622, 41626], "output": false }, - { "inputs": [41626, 41626], "output": true }, - { "inputs": [41626, 41622], "output": false } + { "inputs": [47820, 19063], "output": false }, + { "inputs": [5459, 5463], "output": false }, + { "inputs": [5463, 5463], "output": true }, + { "inputs": [5463, 5459], "output": false } ], "eq_euint16_euint32": [ - { "inputs": [58427, 33310393], "output": false }, - { "inputs": [58423, 58427], "output": false }, - { "inputs": [58427, 58427], "output": true }, - { "inputs": [58427, 58423], "output": false } + { "inputs": [47820, 152613323], "output": false }, + { "inputs": [47816, 47820], "output": false }, + { "inputs": [47820, 47820], "output": true }, + { "inputs": [47820, 47816], "output": false } ], "eq_euint16_euint64": [ - { "inputs": [58427, 265593759], "output": false }, - { "inputs": [58423, 58427], "output": false }, - { "inputs": [58427, 58427], "output": true }, - { "inputs": [58427, 58423], "output": false } + { "inputs": [47820, 145445907], "output": false }, + { "inputs": [47816, 47820], "output": false }, + { "inputs": [47820, 47820], "output": true }, + { "inputs": [47820, 47816], "output": false } ], "eq_euint32_euint4": [ - { "inputs": [82686069, 12], "output": false }, - { "inputs": [8, 12], "output": false }, - { "inputs": [12, 12], "output": true }, - { "inputs": [12, 8], "output": false } + { "inputs": [60042820, 13], "output": false }, + { "inputs": [9, 13], "output": false }, + { "inputs": [13, 13], "output": true }, + { "inputs": [13, 9], "output": false } ], "eq_euint32_euint8": [ - { "inputs": [82686069, 42], "output": false }, - { "inputs": [38, 42], "output": false }, - { "inputs": [42, 42], "output": true }, - { "inputs": [42, 38], "output": false } + { "inputs": [60042820, 117], "output": false }, + { "inputs": [113, 117], "output": false }, + { "inputs": [117, 117], "output": true }, + { "inputs": [117, 113], "output": false } ], "eq_euint32_euint16": [ - { "inputs": [82686069, 20674], "output": false }, - { "inputs": [20670, 20674], "output": false }, - { "inputs": [20674, 20674], "output": true }, - { "inputs": [20674, 20670], "output": false } + { "inputs": [60042820, 3366], "output": false }, + { "inputs": [3362, 3366], "output": false }, + { "inputs": [3366, 3366], "output": true }, + { "inputs": [3366, 3362], "output": false } ], "eq_euint32_euint32": [ - { "inputs": [82686069, 111825281], "output": false }, - { "inputs": [82686065, 82686069], "output": false }, - { "inputs": [82686069, 82686069], "output": true }, - { "inputs": [82686069, 82686065], "output": false } + { "inputs": [60042820, 132291744], "output": false }, + { "inputs": [60042816, 60042820], "output": false }, + { "inputs": [60042820, 60042820], "output": true }, + { "inputs": [60042820, 60042816], "output": false } ], "eq_euint32_uint32": [ - { "inputs": [82686069, 99342572], "output": false }, - { "inputs": [82686065, 82686069], "output": false }, - { "inputs": [82686069, 82686069], "output": true }, - { "inputs": [82686069, 82686065], "output": false } + { "inputs": [60042820, 16792460], "output": false }, + { "inputs": [60042816, 60042820], "output": false }, + { "inputs": [60042820, 60042820], "output": true }, + { "inputs": [60042820, 60042816], "output": false } ], "eq_uint32_euint32": [ - { "inputs": [6049542, 99342572], "output": false }, - { "inputs": [82686065, 82686069], "output": false }, - { "inputs": [82686069, 82686069], "output": true }, - { "inputs": [82686069, 82686065], "output": false } + { "inputs": [112966432, 16792460], "output": false }, + { "inputs": [60042816, 60042820], "output": false }, + { "inputs": [60042820, 60042820], "output": true }, + { "inputs": [60042820, 60042816], "output": false } ], "eq_euint32_euint64": [ - { "inputs": [6049542, 40221551], "output": false }, - { "inputs": [6049538, 6049542], "output": false }, - { "inputs": [6049542, 6049542], "output": true }, - { "inputs": [6049542, 6049538], "output": false } + { "inputs": [112966432, 124746241], "output": false }, + { "inputs": [112966428, 112966432], "output": false }, + { "inputs": [112966432, 112966432], "output": true }, + { "inputs": [112966432, 112966428], "output": false } ], "eq_euint64_euint4": [ - { "inputs": [173975280, 4], "output": false }, + { "inputs": [113183278, 7], "output": false }, { "inputs": [4, 8], "output": false }, { "inputs": [8, 8], "output": true }, { "inputs": [8, 4], "output": false } ], "eq_euint64_euint8": [ - { "inputs": [173975280, 29], "output": false }, - { "inputs": [25, 29], "output": false }, - { "inputs": [29, 29], "output": true }, - { "inputs": [29, 25], "output": false } + { "inputs": [113183278, 90], "output": false }, + { "inputs": [86, 90], "output": false }, + { "inputs": [90, 90], "output": true }, + { "inputs": [90, 86], "output": false } ], "eq_euint64_euint16": [ - { "inputs": [173975280, 43434], "output": false }, - { "inputs": [43430, 43434], "output": false }, - { "inputs": [43434, 43434], "output": true }, - { "inputs": [43434, 43430], "output": false } + { "inputs": [113183278, 17213], "output": false }, + { "inputs": [17209, 17213], "output": false }, + { "inputs": [17213, 17213], "output": true }, + { "inputs": [17213, 17209], "output": false } ], "eq_euint64_euint32": [ - { "inputs": [173975280, 95821853], "output": false }, - { "inputs": [95821849, 95821853], "output": false }, - { "inputs": [95821853, 95821853], "output": true }, - { "inputs": [95821853, 95821849], "output": false } + { "inputs": [113183278, 255380188], "output": false }, + { "inputs": [113183274, 113183278], "output": false }, + { "inputs": [113183278, 113183278], "output": true }, + { "inputs": [113183278, 113183274], "output": false } ], "eq_euint64_euint64": [ - { "inputs": [173975280, 53304343], "output": false }, - { "inputs": [53304339, 53304343], "output": false }, - { "inputs": [53304343, 53304343], "output": true }, - { "inputs": [53304343, 53304339], "output": false } + { "inputs": [113183278, 1631862], "output": false }, + { "inputs": [1631858, 1631862], "output": false }, + { "inputs": [1631862, 1631862], "output": true }, + { "inputs": [1631862, 1631858], "output": false } ], "eq_euint64_uint64": [ - { "inputs": [173975280, 166663710], "output": false }, - { "inputs": [53304339, 53304343], "output": false }, - { "inputs": [53304343, 53304343], "output": true }, - { "inputs": [53304343, 53304339], "output": false } + { "inputs": [113183278, 36833882], "output": false }, + { "inputs": [1631858, 1631862], "output": false }, + { "inputs": [1631862, 1631862], "output": true }, + { "inputs": [1631862, 1631858], "output": false } ], "eq_uint64_euint64": [ - { "inputs": [122047770, 166663710], "output": false }, - { "inputs": [53304339, 53304343], "output": false }, - { "inputs": [53304343, 53304343], "output": true }, - { "inputs": [53304343, 53304339], "output": false } + { "inputs": [95843694, 36833882], "output": false }, + { "inputs": [1631858, 1631862], "output": false }, + { "inputs": [1631862, 1631862], "output": true }, + { "inputs": [1631862, 1631858], "output": false } ], "ne_euint4_euint4": [ - { "inputs": [1, 3], "output": true }, + { "inputs": [7, 1], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint4_euint8": [ - { "inputs": [1, 141], "output": true }, + { "inputs": [7, 29], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint4_uint8": [ - { "inputs": [1, 10], "output": true }, + { "inputs": [7, 5], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint4_euint16": [ - { "inputs": [1, 28941], "output": true }, + { "inputs": [7, 4713], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint4_euint32": [ - { "inputs": [1, 54078590], "output": true }, + { "inputs": [7, 24833418], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint4_euint64": [ - { "inputs": [1, 146059192], "output": true }, + { "inputs": [7, 198024790], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint8_euint4": [ - { "inputs": [63, 13], "output": true }, + { "inputs": [106, 13], "output": true }, { "inputs": [9, 13], "output": true }, { "inputs": [13, 13], "output": false }, { "inputs": [13, 9], "output": true } ], "ne_uint8_euint4": [ - { "inputs": [7, 13], "output": true }, + { "inputs": [4, 13], "output": true }, { "inputs": [9, 13], "output": true }, { "inputs": [13, 13], "output": false }, { "inputs": [13, 9], "output": true } ], "ne_euint8_euint8": [ - { "inputs": [7, 41], "output": true }, + { "inputs": [4, 157], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint8_uint8": [ - { "inputs": [7, 100], "output": true }, + { "inputs": [4, 177], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_uint8_euint8": [ - { "inputs": [147, 100], "output": true }, + { "inputs": [78, 177], "output": true }, { "inputs": [4, 8], "output": true }, { "inputs": [8, 8], "output": false }, { "inputs": [8, 4], "output": true } ], "ne_euint8_euint16": [ - { "inputs": [147, 20222], "output": true }, - { "inputs": [143, 147], "output": true }, - { "inputs": [147, 147], "output": false }, - { "inputs": [147, 143], "output": true } + { "inputs": [78, 21962], "output": true }, + { "inputs": [74, 78], "output": true }, + { "inputs": [78, 78], "output": false }, + { "inputs": [78, 74], "output": true } ], "ne_euint8_euint32": [ - { "inputs": [147, 134200275], "output": true }, - { "inputs": [143, 147], "output": true }, - { "inputs": [147, 147], "output": false }, - { "inputs": [147, 143], "output": true } + { "inputs": [78, 92852552], "output": true }, + { "inputs": [74, 78], "output": true }, + { "inputs": [78, 78], "output": false }, + { "inputs": [78, 74], "output": true } ], "ne_euint8_euint64": [ - { "inputs": [147, 43277666], "output": true }, - { "inputs": [143, 147], "output": true }, - { "inputs": [147, 147], "output": false }, - { "inputs": [147, 143], "output": true } + { "inputs": [78, 43366180], "output": true }, + { "inputs": [74, 78], "output": true }, + { "inputs": [78, 78], "output": false }, + { "inputs": [78, 74], "output": true } ], "ne_euint16_euint4": [ - { "inputs": [58512, 7], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": [24558, 12], "output": true }, + { "inputs": [8, 12], "output": true }, + { "inputs": [12, 12], "output": false }, + { "inputs": [12, 8], "output": true } ], "ne_euint16_euint8": [ - { "inputs": [58512, 116], "output": true }, - { "inputs": [112, 116], "output": true }, - { "inputs": [116, 116], "output": false }, - { "inputs": [116, 112], "output": true } + { "inputs": [24558, 239], "output": true }, + { "inputs": [235, 239], "output": true }, + { "inputs": [239, 239], "output": false }, + { "inputs": [239, 235], "output": true } ], "ne_euint16_euint16": [ - { "inputs": [58512, 41579], "output": true }, - { "inputs": [41575, 41579], "output": true }, - { "inputs": [41579, 41579], "output": false }, - { "inputs": [41579, 41575], "output": true } + { "inputs": [24558, 63661], "output": true }, + { "inputs": [24554, 24558], "output": true }, + { "inputs": [24558, 24558], "output": false }, + { "inputs": [24558, 24554], "output": true } ], "ne_euint16_uint16": [ - { "inputs": [58512, 5930], "output": true }, - { "inputs": [41575, 41579], "output": true }, - { "inputs": [41579, 41579], "output": false }, - { "inputs": [41579, 41575], "output": true } + { "inputs": [24558, 4639], "output": true }, + { "inputs": [24554, 24558], "output": true }, + { "inputs": [24558, 24558], "output": false }, + { "inputs": [24558, 24554], "output": true } ], "ne_uint16_euint16": [ - { "inputs": [22739, 5930], "output": true }, - { "inputs": [41575, 41579], "output": true }, - { "inputs": [41579, 41579], "output": false }, - { "inputs": [41579, 41575], "output": true } + { "inputs": [40202, 4639], "output": true }, + { "inputs": [24554, 24558], "output": true }, + { "inputs": [24558, 24558], "output": false }, + { "inputs": [24558, 24554], "output": true } ], "ne_euint16_euint32": [ - { "inputs": [22739, 149626103], "output": true }, - { "inputs": [22735, 22739], "output": true }, - { "inputs": [22739, 22739], "output": false }, - { "inputs": [22739, 22735], "output": true } + { "inputs": [40202, 108078460], "output": true }, + { "inputs": [40198, 40202], "output": true }, + { "inputs": [40202, 40202], "output": false }, + { "inputs": [40202, 40198], "output": true } ], "ne_euint16_euint64": [ - { "inputs": [22739, 233045312], "output": true }, - { "inputs": [22735, 22739], "output": true }, - { "inputs": [22739, 22739], "output": false }, - { "inputs": [22739, 22735], "output": true } + { "inputs": [40202, 163102475], "output": true }, + { "inputs": [40198, 40202], "output": true }, + { "inputs": [40202, 40202], "output": false }, + { "inputs": [40202, 40198], "output": true } ], "ne_euint32_euint4": [ - { "inputs": [3660714, 9], "output": true }, - { "inputs": [5, 9], "output": true }, - { "inputs": [9, 9], "output": false }, - { "inputs": [9, 5], "output": true } + { "inputs": [83574454, 8], "output": true }, + { "inputs": [4, 8], "output": true }, + { "inputs": [8, 8], "output": false }, + { "inputs": [8, 4], "output": true } ], "ne_euint32_euint8": [ - { "inputs": [3660714, 206], "output": true }, - { "inputs": [202, 206], "output": true }, - { "inputs": [206, 206], "output": false }, - { "inputs": [206, 202], "output": true } + { "inputs": [83574454, 68], "output": true }, + { "inputs": [64, 68], "output": true }, + { "inputs": [68, 68], "output": false }, + { "inputs": [68, 64], "output": true } ], "ne_euint32_euint16": [ - { "inputs": [3660714, 6484], "output": true }, - { "inputs": [6480, 6484], "output": true }, - { "inputs": [6484, 6484], "output": false }, - { "inputs": [6484, 6480], "output": true } + { "inputs": [83574454, 51513], "output": true }, + { "inputs": [51509, 51513], "output": true }, + { "inputs": [51513, 51513], "output": false }, + { "inputs": [51513, 51509], "output": true } ], "ne_euint32_euint32": [ - { "inputs": [3660714, 184322766], "output": true }, - { "inputs": [3660710, 3660714], "output": true }, - { "inputs": [3660714, 3660714], "output": false }, - { "inputs": [3660714, 3660710], "output": true } + { "inputs": [83574454, 51569943], "output": true }, + { "inputs": [51569939, 51569943], "output": true }, + { "inputs": [51569943, 51569943], "output": false }, + { "inputs": [51569943, 51569939], "output": true } ], "ne_euint32_uint32": [ - { "inputs": [3660714, 206743981], "output": true }, - { "inputs": [3660710, 3660714], "output": true }, - { "inputs": [3660714, 3660714], "output": false }, - { "inputs": [3660714, 3660710], "output": true } + { "inputs": [83574454, 88187509], "output": true }, + { "inputs": [51569939, 51569943], "output": true }, + { "inputs": [51569943, 51569943], "output": false }, + { "inputs": [51569943, 51569939], "output": true } ], "ne_uint32_euint32": [ - { "inputs": [223424023, 206743981], "output": true }, - { "inputs": [3660710, 3660714], "output": true }, - { "inputs": [3660714, 3660714], "output": false }, - { "inputs": [3660714, 3660710], "output": true } + { "inputs": [216563924, 88187509], "output": true }, + { "inputs": [51569939, 51569943], "output": true }, + { "inputs": [51569943, 51569943], "output": false }, + { "inputs": [51569943, 51569939], "output": true } ], "ne_euint32_euint64": [ - { "inputs": [223424023, 59824452], "output": true }, - { "inputs": [59824448, 59824452], "output": true }, - { "inputs": [59824452, 59824452], "output": false }, - { "inputs": [59824452, 59824448], "output": true } + { "inputs": [216563924, 186359172], "output": true }, + { "inputs": [186359168, 186359172], "output": true }, + { "inputs": [186359172, 186359172], "output": false }, + { "inputs": [186359172, 186359168], "output": true } ], "ne_euint64_euint4": [ - { "inputs": [86198263, 13], "output": true }, + { "inputs": [129256608, 13], "output": true }, { "inputs": [9, 13], "output": true }, { "inputs": [13, 13], "output": false }, { "inputs": [13, 9], "output": true } ], "ne_euint64_euint8": [ - { "inputs": [86198263, 223], "output": true }, - { "inputs": [219, 223], "output": true }, - { "inputs": [223, 223], "output": false }, - { "inputs": [223, 219], "output": true } + { "inputs": [129256608, 230], "output": true }, + { "inputs": [226, 230], "output": true }, + { "inputs": [230, 230], "output": false }, + { "inputs": [230, 226], "output": true } ], "ne_euint64_euint16": [ - { "inputs": [86198263, 29976], "output": true }, - { "inputs": [29972, 29976], "output": true }, - { "inputs": [29976, 29976], "output": false }, - { "inputs": [29976, 29972], "output": true } + { "inputs": [129256608, 25758], "output": true }, + { "inputs": [25754, 25758], "output": true }, + { "inputs": [25758, 25758], "output": false }, + { "inputs": [25758, 25754], "output": true } ], "ne_euint64_euint32": [ - { "inputs": [86198263, 155458175], "output": true }, - { "inputs": [86198259, 86198263], "output": true }, - { "inputs": [86198263, 86198263], "output": false }, - { "inputs": [86198263, 86198259], "output": true } + { "inputs": [129256608, 191248966], "output": true }, + { "inputs": [129256604, 129256608], "output": true }, + { "inputs": [129256608, 129256608], "output": false }, + { "inputs": [129256608, 129256604], "output": true } ], "ne_euint64_euint64": [ - { "inputs": [86198263, 178805096], "output": true }, - { "inputs": [86198259, 86198263], "output": true }, - { "inputs": [86198263, 86198263], "output": false }, - { "inputs": [86198263, 86198259], "output": true } + { "inputs": [129256608, 198214797], "output": true }, + { "inputs": [129256604, 129256608], "output": true }, + { "inputs": [129256608, 129256608], "output": false }, + { "inputs": [129256608, 129256604], "output": true } ], "ne_euint64_uint64": [ - { "inputs": [86198263, 40246882], "output": true }, - { "inputs": [86198259, 86198263], "output": true }, - { "inputs": [86198263, 86198263], "output": false }, - { "inputs": [86198263, 86198259], "output": true } + { "inputs": [129256608, 155795571], "output": true }, + { "inputs": [129256604, 129256608], "output": true }, + { "inputs": [129256608, 129256608], "output": false }, + { "inputs": [129256608, 129256604], "output": true } ], "ne_uint64_euint64": [ - { "inputs": [167642465, 40246882], "output": true }, - { "inputs": [86198259, 86198263], "output": true }, - { "inputs": [86198263, 86198263], "output": false }, - { "inputs": [86198263, 86198259], "output": true } + { "inputs": [38125121, 155795571], "output": true }, + { "inputs": [129256604, 129256608], "output": true }, + { "inputs": [129256608, 129256608], "output": false }, + { "inputs": [129256608, 129256604], "output": true } ], "shl_euint4_uint8": [ - { "inputs": [1, 7], "output": 8 }, + { "inputs": [7, 4], "output": 7 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], "shl_euint8_euint8": [ - { "inputs": [89, 1], "output": 178 }, + { "inputs": [107, 3], "output": 88 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 128 } ], "shl_euint8_uint8": [ - { "inputs": [89, 1], "output": 178 }, + { "inputs": [107, 3], "output": 88 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 128 } ], "shl_euint16_euint8": [ - { "inputs": [52308, 7], "output": 10752 }, + { "inputs": [31359, 1], "output": 62718 }, { "inputs": [4, 8], "output": 1024 }, { "inputs": [8, 8], "output": 2048 }, { "inputs": [8, 4], "output": 128 } ], "shl_euint16_uint8": [ - { "inputs": [52308, 7], "output": 10752 }, + { "inputs": [31359, 1], "output": 62718 }, { "inputs": [4, 8], "output": 1024 }, { "inputs": [8, 8], "output": 2048 }, { "inputs": [8, 4], "output": 128 } ], "shl_euint32_euint8": [ - { "inputs": [136621573, 1], "output": 273243146 }, + { "inputs": [226777595, 3], "output": 1814220760 }, { "inputs": [4, 8], "output": 1024 }, { "inputs": [8, 8], "output": 2048 }, { "inputs": [8, 4], "output": 128 } ], "shl_euint32_uint8": [ - { "inputs": [136621573, 1], "output": 273243146 }, + { "inputs": [226777595, 3], "output": 1814220760 }, { "inputs": [4, 8], "output": 1024 }, { "inputs": [8, 8], "output": 2048 }, { "inputs": [8, 4], "output": 128 } ], "shl_euint64_euint8": [ - { "inputs": [163054538, 3], "output": 1304436304 }, + { "inputs": [39313001, 2], "output": 157252004 }, { "inputs": [4, 8], "output": 1024 }, { "inputs": [8, 8], "output": 2048 }, { "inputs": [8, 4], "output": 128 } ], "shl_euint64_uint8": [ - { "inputs": [163054538, 3], "output": 1304436304 }, + { "inputs": [39313001, 2], "output": 157252004 }, { "inputs": [4, 8], "output": 1024 }, { "inputs": [8, 8], "output": 2048 }, { "inputs": [8, 4], "output": 128 } ], "shr_euint4_uint8": [ - { "inputs": [6, 5], "output": 3 }, + { "inputs": [8, 2], "output": 2 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], "shr_euint8_euint8": [ - { "inputs": [83, 5], "output": 2 }, + { "inputs": [226, 1], "output": 113 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint8_uint8": [ - { "inputs": [83, 5], "output": 2 }, + { "inputs": [226, 1], "output": 113 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint16_euint8": [ - { "inputs": [60963, 1], "output": 30481 }, + { "inputs": [47516, 3], "output": 5939 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint16_uint8": [ - { "inputs": [60963, 1], "output": 30481 }, + { "inputs": [47516, 3], "output": 5939 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint32_euint8": [ - { "inputs": [157098209, 6], "output": 2454659 }, + { "inputs": [145753602, 4], "output": 9109600 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint32_uint8": [ - { "inputs": [157098209, 6], "output": 2454659 }, + { "inputs": [145753602, 4], "output": 9109600 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint64_euint8": [ - { "inputs": [151463759, 7], "output": 1183310 }, + { "inputs": [231610183, 4], "output": 14475636 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "shr_euint64_uint8": [ - { "inputs": [151463759, 7], "output": 1183310 }, + { "inputs": [231610183, 4], "output": 14475636 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 0 } ], "max_euint4_euint4": [ - { "inputs": [13, 2], "output": 13 }, + { "inputs": [11, 7], "output": 11 }, { "inputs": [4, 8], "output": 8 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], "max_euint4_euint8": [ - { "inputs": [13, 155], "output": 155 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": [11, 223], "output": 223 }, + { "inputs": [7, 11], "output": 11 }, + { "inputs": [11, 11], "output": 11 }, + { "inputs": [11, 7], "output": 11 } ], "max_euint4_uint8": [ - { "inputs": [13, 8], "output": 13 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": [11, 8], "output": 11 }, + { "inputs": [7, 11], "output": 11 }, + { "inputs": [11, 11], "output": 11 }, + { "inputs": [11, 7], "output": 11 } ], "max_euint4_euint16": [ - { "inputs": [13, 4074], "output": 4074 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": [11, 33061], "output": 33061 }, + { "inputs": [7, 11], "output": 11 }, + { "inputs": [11, 11], "output": 11 }, + { "inputs": [11, 7], "output": 11 } ], "max_euint4_euint32": [ - { "inputs": [13, 183893221], "output": 183893221 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } - ], - "max_euint4_euint64": [ - { "inputs": [13, 66326451], "output": 66326451 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } - ], - "max_euint8_euint4": [ - { "inputs": [39, 11], "output": 39 }, + { "inputs": [11, 9483424], "output": 9483424 }, { "inputs": [7, 11], "output": 11 }, { "inputs": [11, 11], "output": 11 }, { "inputs": [11, 7], "output": 11 } ], - "max_uint8_euint4": [ - { "inputs": [6, 11], "output": 11 }, + "max_euint4_euint64": [ + { "inputs": [11, 268368365], "output": 268368365 }, { "inputs": [7, 11], "output": 11 }, { "inputs": [11, 11], "output": 11 }, { "inputs": [11, 7], "output": 11 } ], - "max_euint8_euint8": [ - { "inputs": [6, 151], "output": 151 }, + "max_euint8_euint4": [ + { "inputs": [77, 5], "output": 77 }, { "inputs": [4, 8], "output": 8 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], - "max_euint8_uint8": [ - { "inputs": [6, 28], "output": 28 }, + "max_uint8_euint4": [ + { "inputs": [9, 5], "output": 9 }, { "inputs": [4, 8], "output": 8 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], + "max_euint8_euint8": [ + { "inputs": [9, 9], "output": 9 }, + { "inputs": [5, 9], "output": 9 }, + { "inputs": [9, 9], "output": 9 }, + { "inputs": [9, 5], "output": 9 } + ], + "max_euint8_uint8": [ + { "inputs": [9, 61], "output": 61 }, + { "inputs": [5, 9], "output": 9 }, + { "inputs": [9, 9], "output": 9 }, + { "inputs": [9, 5], "output": 9 } + ], "max_uint8_euint8": [ - { "inputs": [250, 28], "output": 250 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": [161, 61], "output": 161 }, + { "inputs": [5, 9], "output": 9 }, + { "inputs": [9, 9], "output": 9 }, + { "inputs": [9, 5], "output": 9 } ], "max_euint8_euint16": [ - { "inputs": [250, 47824], "output": 47824 }, - { "inputs": [246, 250], "output": 250 }, - { "inputs": [250, 250], "output": 250 }, - { "inputs": [250, 246], "output": 250 } + { "inputs": [161, 11628], "output": 11628 }, + { "inputs": [157, 161], "output": 161 }, + { "inputs": [161, 161], "output": 161 }, + { "inputs": [161, 157], "output": 161 } ], "max_euint8_euint32": [ - { "inputs": [250, 157022809], "output": 157022809 }, - { "inputs": [246, 250], "output": 250 }, - { "inputs": [250, 250], "output": 250 }, - { "inputs": [250, 246], "output": 250 } + { "inputs": [161, 55227414], "output": 55227414 }, + { "inputs": [157, 161], "output": 161 }, + { "inputs": [161, 161], "output": 161 }, + { "inputs": [161, 157], "output": 161 } ], "max_euint8_euint64": [ - { "inputs": [250, 147804883], "output": 147804883 }, - { "inputs": [246, 250], "output": 250 }, - { "inputs": [250, 250], "output": 250 }, - { "inputs": [250, 246], "output": 250 } + { "inputs": [161, 242190943], "output": 242190943 }, + { "inputs": [157, 161], "output": 161 }, + { "inputs": [161, 161], "output": 161 }, + { "inputs": [161, 157], "output": 161 } ], "max_euint16_euint4": [ - { "inputs": [45745, 1], "output": 45745 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": [45208, 13], "output": 45208 }, + { "inputs": [9, 13], "output": 13 }, + { "inputs": [13, 13], "output": 13 }, + { "inputs": [13, 9], "output": 13 } ], "max_euint16_euint8": [ - { "inputs": [45745, 137], "output": 45745 }, - { "inputs": [133, 137], "output": 137 }, - { "inputs": [137, 137], "output": 137 }, - { "inputs": [137, 133], "output": 137 } + { "inputs": [45208, 175], "output": 45208 }, + { "inputs": [171, 175], "output": 175 }, + { "inputs": [175, 175], "output": 175 }, + { "inputs": [175, 171], "output": 175 } ], "max_euint16_euint16": [ - { "inputs": [45745, 24760], "output": 45745 }, - { "inputs": [24756, 24760], "output": 24760 }, - { "inputs": [24760, 24760], "output": 24760 }, - { "inputs": [24760, 24756], "output": 24760 } + { "inputs": [45208, 37832], "output": 45208 }, + { "inputs": [37828, 37832], "output": 37832 }, + { "inputs": [37832, 37832], "output": 37832 }, + { "inputs": [37832, 37828], "output": 37832 } ], "max_euint16_uint16": [ - { "inputs": [45745, 18939], "output": 45745 }, - { "inputs": [24756, 24760], "output": 24760 }, - { "inputs": [24760, 24760], "output": 24760 }, - { "inputs": [24760, 24756], "output": 24760 } + { "inputs": [45208, 8803], "output": 45208 }, + { "inputs": [37828, 37832], "output": 37832 }, + { "inputs": [37832, 37832], "output": 37832 }, + { "inputs": [37832, 37828], "output": 37832 } ], "max_uint16_euint16": [ - { "inputs": [47912, 18939], "output": 47912 }, - { "inputs": [24756, 24760], "output": 24760 }, - { "inputs": [24760, 24760], "output": 24760 }, - { "inputs": [24760, 24756], "output": 24760 } + { "inputs": [62549, 8803], "output": 62549 }, + { "inputs": [37828, 37832], "output": 37832 }, + { "inputs": [37832, 37832], "output": 37832 }, + { "inputs": [37832, 37828], "output": 37832 } ], "max_euint16_euint32": [ - { "inputs": [47912, 251556706], "output": 251556706 }, - { "inputs": [47908, 47912], "output": 47912 }, - { "inputs": [47912, 47912], "output": 47912 }, - { "inputs": [47912, 47908], "output": 47912 } + { "inputs": [62549, 239578021], "output": 239578021 }, + { "inputs": [62545, 62549], "output": 62549 }, + { "inputs": [62549, 62549], "output": 62549 }, + { "inputs": [62549, 62545], "output": 62549 } ], "max_euint16_euint64": [ - { "inputs": [47912, 227727600], "output": 227727600 }, - { "inputs": [47908, 47912], "output": 47912 }, - { "inputs": [47912, 47912], "output": 47912 }, - { "inputs": [47912, 47908], "output": 47912 } + { "inputs": [62549, 228731288], "output": 228731288 }, + { "inputs": [62545, 62549], "output": 62549 }, + { "inputs": [62549, 62549], "output": 62549 }, + { "inputs": [62549, 62545], "output": 62549 } ], "max_euint32_euint4": [ - { "inputs": [8800615, 7], "output": 8800615 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": [234155387, 12], "output": 234155387 }, + { "inputs": [8, 12], "output": 12 }, + { "inputs": [12, 12], "output": 12 }, + { "inputs": [12, 8], "output": 12 } ], "max_euint32_euint8": [ - { "inputs": [8800615, 210], "output": 8800615 }, - { "inputs": [206, 210], "output": 210 }, - { "inputs": [210, 210], "output": 210 }, - { "inputs": [210, 206], "output": 210 } + { "inputs": [234155387, 198], "output": 234155387 }, + { "inputs": [194, 198], "output": 198 }, + { "inputs": [198, 198], "output": 198 }, + { "inputs": [198, 194], "output": 198 } ], "max_euint32_euint16": [ - { "inputs": [8800615, 31093], "output": 8800615 }, - { "inputs": [31089, 31093], "output": 31093 }, - { "inputs": [31093, 31093], "output": 31093 }, - { "inputs": [31093, 31089], "output": 31093 } + { "inputs": [234155387, 33887], "output": 234155387 }, + { "inputs": [33883, 33887], "output": 33887 }, + { "inputs": [33887, 33887], "output": 33887 }, + { "inputs": [33887, 33883], "output": 33887 } ], "max_euint32_euint32": [ - { "inputs": [8800615, 151759654], "output": 151759654 }, - { "inputs": [8800611, 8800615], "output": 8800615 }, - { "inputs": [8800615, 8800615], "output": 8800615 }, - { "inputs": [8800615, 8800611], "output": 8800615 } + { "inputs": [234155387, 122578470], "output": 234155387 }, + { "inputs": [122578466, 122578470], "output": 122578470 }, + { "inputs": [122578470, 122578470], "output": 122578470 }, + { "inputs": [122578470, 122578466], "output": 122578470 } ], "max_euint32_uint32": [ - { "inputs": [8800615, 201659044], "output": 201659044 }, - { "inputs": [8800611, 8800615], "output": 8800615 }, - { "inputs": [8800615, 8800615], "output": 8800615 }, - { "inputs": [8800615, 8800611], "output": 8800615 } + { "inputs": [234155387, 181088842], "output": 234155387 }, + { "inputs": [122578466, 122578470], "output": 122578470 }, + { "inputs": [122578470, 122578470], "output": 122578470 }, + { "inputs": [122578470, 122578466], "output": 122578470 } ], "max_uint32_euint32": [ - { "inputs": [220335343, 201659044], "output": 220335343 }, - { "inputs": [8800611, 8800615], "output": 8800615 }, - { "inputs": [8800615, 8800615], "output": 8800615 }, - { "inputs": [8800615, 8800611], "output": 8800615 } + { "inputs": [88769233, 181088842], "output": 181088842 }, + { "inputs": [122578466, 122578470], "output": 122578470 }, + { "inputs": [122578470, 122578470], "output": 122578470 }, + { "inputs": [122578470, 122578466], "output": 122578470 } ], "max_euint32_euint64": [ - { "inputs": [220335343, 138563730], "output": 220335343 }, - { "inputs": [138563726, 138563730], "output": 138563730 }, - { "inputs": [138563730, 138563730], "output": 138563730 }, - { "inputs": [138563730, 138563726], "output": 138563730 } + { "inputs": [88769233, 236236514], "output": 236236514 }, + { "inputs": [88769229, 88769233], "output": 88769233 }, + { "inputs": [88769233, 88769233], "output": 88769233 }, + { "inputs": [88769233, 88769229], "output": 88769233 } ], "max_euint64_euint4": [ - { "inputs": [18255176, 3], "output": 18255176 }, + { "inputs": [215341582, 6], "output": 215341582 }, { "inputs": [4, 8], "output": 8 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 8 } ], "max_euint64_euint8": [ - { "inputs": [18255176, 147], "output": 18255176 }, - { "inputs": [143, 147], "output": 147 }, - { "inputs": [147, 147], "output": 147 }, - { "inputs": [147, 143], "output": 147 } + { "inputs": [215341582, 146], "output": 215341582 }, + { "inputs": [142, 146], "output": 146 }, + { "inputs": [146, 146], "output": 146 }, + { "inputs": [146, 142], "output": 146 } ], "max_euint64_euint16": [ - { "inputs": [18255176, 7223], "output": 18255176 }, - { "inputs": [7219, 7223], "output": 7223 }, - { "inputs": [7223, 7223], "output": 7223 }, - { "inputs": [7223, 7219], "output": 7223 } + { "inputs": [215341582, 59093], "output": 215341582 }, + { "inputs": [59089, 59093], "output": 59093 }, + { "inputs": [59093, 59093], "output": 59093 }, + { "inputs": [59093, 59089], "output": 59093 } ], "max_euint64_euint32": [ - { "inputs": [18255176, 254973729], "output": 254973729 }, - { "inputs": [18255172, 18255176], "output": 18255176 }, - { "inputs": [18255176, 18255176], "output": 18255176 }, - { "inputs": [18255176, 18255172], "output": 18255176 } + { "inputs": [215341582, 62329989], "output": 215341582 }, + { "inputs": [62329985, 62329989], "output": 62329989 }, + { "inputs": [62329989, 62329989], "output": 62329989 }, + { "inputs": [62329989, 62329985], "output": 62329989 } ], "max_euint64_euint64": [ - { "inputs": [18255176, 49337889], "output": 49337889 }, - { "inputs": [18255172, 18255176], "output": 18255176 }, - { "inputs": [18255176, 18255176], "output": 18255176 }, - { "inputs": [18255176, 18255172], "output": 18255176 } + { "inputs": [215341582, 39049834], "output": 215341582 }, + { "inputs": [39049830, 39049834], "output": 39049834 }, + { "inputs": [39049834, 39049834], "output": 39049834 }, + { "inputs": [39049834, 39049830], "output": 39049834 } ], "max_euint64_uint64": [ - { "inputs": [18255176, 62769148], "output": 62769148 }, - { "inputs": [18255172, 18255176], "output": 18255176 }, - { "inputs": [18255176, 18255176], "output": 18255176 }, - { "inputs": [18255176, 18255172], "output": 18255176 } + { "inputs": [215341582, 64923876], "output": 215341582 }, + { "inputs": [39049830, 39049834], "output": 39049834 }, + { "inputs": [39049834, 39049834], "output": 39049834 }, + { "inputs": [39049834, 39049830], "output": 39049834 } ], "max_uint64_euint64": [ - { "inputs": [31807553, 62769148], "output": 62769148 }, - { "inputs": [18255172, 18255176], "output": 18255176 }, - { "inputs": [18255176, 18255176], "output": 18255176 }, - { "inputs": [18255176, 18255172], "output": 18255176 } + { "inputs": [174351991, 64923876], "output": 174351991 }, + { "inputs": [39049830, 39049834], "output": 39049834 }, + { "inputs": [39049834, 39049834], "output": 39049834 }, + { "inputs": [39049834, 39049830], "output": 39049834 } ], "min_euint4_euint4": [ - { "inputs": [14, 6], "output": 6 }, + { "inputs": [1, 10], "output": 1 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], "min_euint4_euint8": [ - { "inputs": [14, 175], "output": 14 }, - { "inputs": [10, 14], "output": 10 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 10 } + { "inputs": [1, 21], "output": 1 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } ], "min_euint4_uint8": [ - { "inputs": [14, 9], "output": 9 }, - { "inputs": [10, 14], "output": 10 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 10 } + { "inputs": [1, 3], "output": 1 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } ], "min_euint4_euint16": [ - { "inputs": [14, 38985], "output": 14 }, - { "inputs": [10, 14], "output": 10 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 10 } + { "inputs": [1, 60443], "output": 1 }, + { "inputs": [4, 8], "output": 4 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 4 } ], "min_euint4_euint32": [ - { "inputs": [14, 38819587], "output": 14 }, - { "inputs": [10, 14], "output": 10 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 10 } - ], - "min_euint4_euint64": [ - { "inputs": [14, 249375209], "output": 14 }, - { "inputs": [10, 14], "output": 10 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 10 } - ], - "min_euint8_euint4": [ - { "inputs": [69, 8], "output": 8 }, + { "inputs": [1, 66587261], "output": 1 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], - "min_uint8_euint4": [ - { "inputs": [5, 8], "output": 5 }, + "min_euint4_euint64": [ + { "inputs": [1, 243162021], "output": 1 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], + "min_euint8_euint4": [ + { "inputs": [110, 9], "output": 9 }, + { "inputs": [5, 9], "output": 5 }, + { "inputs": [9, 9], "output": 9 }, + { "inputs": [9, 5], "output": 5 } + ], + "min_uint8_euint4": [ + { "inputs": [4, 9], "output": 4 }, + { "inputs": [5, 9], "output": 5 }, + { "inputs": [9, 9], "output": 9 }, + { "inputs": [9, 5], "output": 5 } + ], "min_euint8_euint8": [ - { "inputs": [5, 106], "output": 5 }, + { "inputs": [4, 142], "output": 4 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], "min_euint8_uint8": [ - { "inputs": [5, 110], "output": 5 }, + { "inputs": [4, 122], "output": 4 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], "min_uint8_euint8": [ - { "inputs": [39, 110], "output": 39 }, + { "inputs": [200, 122], "output": 122 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], "min_euint8_euint16": [ - { "inputs": [39, 40958], "output": 39 }, - { "inputs": [35, 39], "output": 35 }, - { "inputs": [39, 39], "output": 39 }, - { "inputs": [39, 35], "output": 35 } + { "inputs": [200, 2568], "output": 200 }, + { "inputs": [196, 200], "output": 196 }, + { "inputs": [200, 200], "output": 200 }, + { "inputs": [200, 196], "output": 196 } ], "min_euint8_euint32": [ - { "inputs": [39, 262725927], "output": 39 }, - { "inputs": [35, 39], "output": 35 }, - { "inputs": [39, 39], "output": 39 }, - { "inputs": [39, 35], "output": 35 } + { "inputs": [200, 114061461], "output": 200 }, + { "inputs": [196, 200], "output": 196 }, + { "inputs": [200, 200], "output": 200 }, + { "inputs": [200, 196], "output": 196 } ], "min_euint8_euint64": [ - { "inputs": [39, 57110634], "output": 39 }, - { "inputs": [35, 39], "output": 35 }, - { "inputs": [39, 39], "output": 39 }, - { "inputs": [39, 35], "output": 35 } + { "inputs": [200, 124180225], "output": 200 }, + { "inputs": [196, 200], "output": 196 }, + { "inputs": [200, 200], "output": 200 }, + { "inputs": [200, 196], "output": 196 } ], "min_euint16_euint4": [ - { "inputs": [59594, 13], "output": 13 }, + { "inputs": [40365, 13], "output": 13 }, { "inputs": [9, 13], "output": 9 }, { "inputs": [13, 13], "output": 13 }, { "inputs": [13, 9], "output": 9 } ], "min_euint16_euint8": [ - { "inputs": [59594, 150], "output": 150 }, - { "inputs": [146, 150], "output": 146 }, - { "inputs": [150, 150], "output": 150 }, - { "inputs": [150, 146], "output": 146 } + { "inputs": [40365, 88], "output": 88 }, + { "inputs": [84, 88], "output": 84 }, + { "inputs": [88, 88], "output": 88 }, + { "inputs": [88, 84], "output": 84 } ], "min_euint16_euint16": [ - { "inputs": [59594, 35028], "output": 35028 }, - { "inputs": [35024, 35028], "output": 35024 }, - { "inputs": [35028, 35028], "output": 35028 }, - { "inputs": [35028, 35024], "output": 35024 } + { "inputs": [40365, 36544], "output": 36544 }, + { "inputs": [36540, 36544], "output": 36540 }, + { "inputs": [36544, 36544], "output": 36544 }, + { "inputs": [36544, 36540], "output": 36540 } ], "min_euint16_uint16": [ - { "inputs": [59594, 37209], "output": 37209 }, - { "inputs": [35024, 35028], "output": 35024 }, - { "inputs": [35028, 35028], "output": 35028 }, - { "inputs": [35028, 35024], "output": 35024 } + { "inputs": [40365, 56848], "output": 40365 }, + { "inputs": [36540, 36544], "output": 36540 }, + { "inputs": [36544, 36544], "output": 36544 }, + { "inputs": [36544, 36540], "output": 36540 } ], "min_uint16_euint16": [ - { "inputs": [24863, 37209], "output": 24863 }, - { "inputs": [35024, 35028], "output": 35024 }, - { "inputs": [35028, 35028], "output": 35028 }, - { "inputs": [35028, 35024], "output": 35024 } + { "inputs": [24104, 56848], "output": 24104 }, + { "inputs": [36540, 36544], "output": 36540 }, + { "inputs": [36544, 36544], "output": 36544 }, + { "inputs": [36544, 36540], "output": 36540 } ], "min_euint16_euint32": [ - { "inputs": [24863, 17029307], "output": 24863 }, - { "inputs": [24859, 24863], "output": 24859 }, - { "inputs": [24863, 24863], "output": 24863 }, - { "inputs": [24863, 24859], "output": 24859 } + { "inputs": [24104, 263622414], "output": 24104 }, + { "inputs": [24100, 24104], "output": 24100 }, + { "inputs": [24104, 24104], "output": 24104 }, + { "inputs": [24104, 24100], "output": 24100 } ], "min_euint16_euint64": [ - { "inputs": [24863, 217108470], "output": 24863 }, - { "inputs": [24859, 24863], "output": 24859 }, - { "inputs": [24863, 24863], "output": 24863 }, - { "inputs": [24863, 24859], "output": 24859 } + { "inputs": [24104, 100961112], "output": 24104 }, + { "inputs": [24100, 24104], "output": 24100 }, + { "inputs": [24104, 24104], "output": 24104 }, + { "inputs": [24104, 24100], "output": 24100 } ], "min_euint32_euint4": [ - { "inputs": [58829340, 8], "output": 8 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": [178824069, 14], "output": 14 }, + { "inputs": [10, 14], "output": 10 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 10 } ], "min_euint32_euint8": [ - { "inputs": [58829340, 181], "output": 181 }, - { "inputs": [177, 181], "output": 177 }, - { "inputs": [181, 181], "output": 181 }, - { "inputs": [181, 177], "output": 177 } + { "inputs": [178824069, 96], "output": 96 }, + { "inputs": [92, 96], "output": 92 }, + { "inputs": [96, 96], "output": 96 }, + { "inputs": [96, 92], "output": 92 } ], "min_euint32_euint16": [ - { "inputs": [58829340, 33486], "output": 33486 }, - { "inputs": [33482, 33486], "output": 33482 }, - { "inputs": [33486, 33486], "output": 33486 }, - { "inputs": [33486, 33482], "output": 33482 } + { "inputs": [178824069, 29702], "output": 29702 }, + { "inputs": [29698, 29702], "output": 29698 }, + { "inputs": [29702, 29702], "output": 29702 }, + { "inputs": [29702, 29698], "output": 29698 } ], "min_euint32_euint32": [ - { "inputs": [58829340, 209742110], "output": 58829340 }, - { "inputs": [58829336, 58829340], "output": 58829336 }, - { "inputs": [58829340, 58829340], "output": 58829340 }, - { "inputs": [58829340, 58829336], "output": 58829336 } + { "inputs": [178824069, 78448235], "output": 78448235 }, + { "inputs": [78448231, 78448235], "output": 78448231 }, + { "inputs": [78448235, 78448235], "output": 78448235 }, + { "inputs": [78448235, 78448231], "output": 78448231 } ], "min_euint32_uint32": [ - { "inputs": [58829340, 90321027], "output": 58829340 }, - { "inputs": [58829336, 58829340], "output": 58829336 }, - { "inputs": [58829340, 58829340], "output": 58829340 }, - { "inputs": [58829340, 58829336], "output": 58829336 } + { "inputs": [178824069, 197749167], "output": 178824069 }, + { "inputs": [78448231, 78448235], "output": 78448231 }, + { "inputs": [78448235, 78448235], "output": 78448235 }, + { "inputs": [78448235, 78448231], "output": 78448231 } ], "min_uint32_euint32": [ - { "inputs": [20594417, 90321027], "output": 20594417 }, - { "inputs": [58829336, 58829340], "output": 58829336 }, - { "inputs": [58829340, 58829340], "output": 58829340 }, - { "inputs": [58829340, 58829336], "output": 58829336 } + { "inputs": [189968743, 197749167], "output": 189968743 }, + { "inputs": [78448231, 78448235], "output": 78448231 }, + { "inputs": [78448235, 78448235], "output": 78448235 }, + { "inputs": [78448235, 78448231], "output": 78448231 } ], "min_euint32_euint64": [ - { "inputs": [20594417, 150398136], "output": 20594417 }, - { "inputs": [20594413, 20594417], "output": 20594413 }, - { "inputs": [20594417, 20594417], "output": 20594417 }, - { "inputs": [20594417, 20594413], "output": 20594413 } + { "inputs": [189968743, 122440911], "output": 122440911 }, + { "inputs": [122440907, 122440911], "output": 122440907 }, + { "inputs": [122440911, 122440911], "output": 122440911 }, + { "inputs": [122440911, 122440907], "output": 122440907 } ], "min_euint64_euint4": [ - { "inputs": [244314733, 7], "output": 7 }, + { "inputs": [67905839, 8], "output": 8 }, { "inputs": [4, 8], "output": 4 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 4 } ], "min_euint64_euint8": [ - { "inputs": [244314733, 93], "output": 93 }, - { "inputs": [89, 93], "output": 89 }, - { "inputs": [93, 93], "output": 93 }, - { "inputs": [93, 89], "output": 89 } + { "inputs": [67905839, 86], "output": 86 }, + { "inputs": [82, 86], "output": 82 }, + { "inputs": [86, 86], "output": 86 }, + { "inputs": [86, 82], "output": 82 } ], "min_euint64_euint16": [ - { "inputs": [244314733, 6873], "output": 6873 }, - { "inputs": [6869, 6873], "output": 6869 }, - { "inputs": [6873, 6873], "output": 6873 }, - { "inputs": [6873, 6869], "output": 6869 } + { "inputs": [67905839, 62663], "output": 62663 }, + { "inputs": [62659, 62663], "output": 62659 }, + { "inputs": [62663, 62663], "output": 62663 }, + { "inputs": [62663, 62659], "output": 62659 } ], "min_euint64_euint32": [ - { "inputs": [244314733, 157421113], "output": 157421113 }, - { "inputs": [157421109, 157421113], "output": 157421109 }, - { "inputs": [157421113, 157421113], "output": 157421113 }, - { "inputs": [157421113, 157421109], "output": 157421109 } + { "inputs": [67905839, 157717094], "output": 67905839 }, + { "inputs": [67905835, 67905839], "output": 67905835 }, + { "inputs": [67905839, 67905839], "output": 67905839 }, + { "inputs": [67905839, 67905835], "output": 67905835 } ], "min_euint64_euint64": [ - { "inputs": [244314733, 181820547], "output": 181820547 }, - { "inputs": [181820543, 181820547], "output": 181820543 }, - { "inputs": [181820547, 181820547], "output": 181820547 }, - { "inputs": [181820547, 181820543], "output": 181820543 } + { "inputs": [67905839, 52961865], "output": 52961865 }, + { "inputs": [52961861, 52961865], "output": 52961861 }, + { "inputs": [52961865, 52961865], "output": 52961865 }, + { "inputs": [52961865, 52961861], "output": 52961861 } ], "min_euint64_uint64": [ - { "inputs": [244314733, 105400651], "output": 105400651 }, - { "inputs": [181820543, 181820547], "output": 181820543 }, - { "inputs": [181820547, 181820547], "output": 181820547 }, - { "inputs": [181820547, 181820543], "output": 181820543 } + { "inputs": [67905839, 116349816], "output": 67905839 }, + { "inputs": [52961861, 52961865], "output": 52961861 }, + { "inputs": [52961865, 52961865], "output": 52961865 }, + { "inputs": [52961865, 52961861], "output": 52961861 } ], "min_uint64_euint64": [ - { "inputs": [92885905, 105400651], "output": 92885905 }, - { "inputs": [181820543, 181820547], "output": 181820543 }, - { "inputs": [181820547, 181820547], "output": 181820547 }, - { "inputs": [181820547, 181820543], "output": 181820543 } + { "inputs": [78138466, 116349816], "output": 78138466 }, + { "inputs": [52961861, 52961865], "output": 52961861 }, + { "inputs": [52961865, 52961865], "output": 52961865 }, + { "inputs": [52961865, 52961861], "output": 52961861 } ], "or_euint4_euint4": [ - { "inputs": [13, 13], "output": 13 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": [14, 12], "output": 14 }, + { "inputs": [8, 12], "output": 12 }, + { "inputs": [12, 12], "output": 12 }, + { "inputs": [12, 8], "output": 12 } ], "or_euint4_euint8": [ - { "inputs": [13, 189], "output": 189 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": [14, 81], "output": 95 }, + { "inputs": [10, 14], "output": 14 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 14 } ], "or_euint4_euint16": [ - { "inputs": [13, 42674], "output": 42687 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": [14, 32563], "output": 32575 }, + { "inputs": [10, 14], "output": 14 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 14 } ], "or_euint4_euint32": [ - { "inputs": [13, 65951556], "output": 65951565 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": [14, 14664100], "output": 14664110 }, + { "inputs": [10, 14], "output": 14 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 14 } ], "or_euint4_euint64": [ - { "inputs": [13, 265617259], "output": 265617263 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": [14, 170899961], "output": 170899967 }, + { "inputs": [10, 14], "output": 14 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 14 } ], "or_euint8_euint4": [ - { "inputs": [120, 12], "output": 124 }, - { "inputs": [8, 12], "output": 12 }, - { "inputs": [12, 12], "output": 12 }, - { "inputs": [12, 8], "output": 12 } + { "inputs": [96, 6], "output": 102 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } ], "or_euint8_euint8": [ - { "inputs": [120, 101], "output": 125 }, - { "inputs": [97, 101], "output": 101 }, - { "inputs": [101, 101], "output": 101 }, - { "inputs": [101, 97], "output": 101 } + { "inputs": [96, 249], "output": 249 }, + { "inputs": [92, 96], "output": 124 }, + { "inputs": [96, 96], "output": 96 }, + { "inputs": [96, 92], "output": 124 } ], "or_euint8_euint16": [ - { "inputs": [120, 47218], "output": 47226 }, - { "inputs": [116, 120], "output": 124 }, - { "inputs": [120, 120], "output": 120 }, - { "inputs": [120, 116], "output": 124 } + { "inputs": [96, 1790], "output": 1790 }, + { "inputs": [92, 96], "output": 124 }, + { "inputs": [96, 96], "output": 96 }, + { "inputs": [96, 92], "output": 124 } ], "or_euint8_euint32": [ - { "inputs": [120, 230647135], "output": 230647167 }, - { "inputs": [116, 120], "output": 124 }, - { "inputs": [120, 120], "output": 120 }, - { "inputs": [120, 116], "output": 124 } + { "inputs": [96, 81378325], "output": 81378421 }, + { "inputs": [92, 96], "output": 124 }, + { "inputs": [96, 96], "output": 96 }, + { "inputs": [96, 92], "output": 124 } ], "or_euint8_euint64": [ - { "inputs": [120, 225077141], "output": 225077245 }, - { "inputs": [116, 120], "output": 124 }, - { "inputs": [120, 120], "output": 120 }, - { "inputs": [120, 116], "output": 124 } + { "inputs": [96, 83329888], "output": 83329888 }, + { "inputs": [92, 96], "output": 124 }, + { "inputs": [96, 96], "output": 96 }, + { "inputs": [96, 92], "output": 124 } ], "or_euint16_euint4": [ - { "inputs": [61878, 13], "output": 61887 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": [25484, 8], "output": 25484 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 12 } ], "or_euint16_euint8": [ - { "inputs": [61878, 247], "output": 61943 }, - { "inputs": [243, 247], "output": 247 }, - { "inputs": [247, 247], "output": 247 }, - { "inputs": [247, 243], "output": 247 } + { "inputs": [25484, 207], "output": 25551 }, + { "inputs": [203, 207], "output": 207 }, + { "inputs": [207, 207], "output": 207 }, + { "inputs": [207, 203], "output": 207 } ], "or_euint16_euint16": [ - { "inputs": [61878, 7772], "output": 65534 }, - { "inputs": [7768, 7772], "output": 7772 }, - { "inputs": [7772, 7772], "output": 7772 }, - { "inputs": [7772, 7768], "output": 7772 } + { "inputs": [25484, 6586], "output": 31678 }, + { "inputs": [6582, 6586], "output": 6590 }, + { "inputs": [6586, 6586], "output": 6586 }, + { "inputs": [6586, 6582], "output": 6590 } ], "or_euint16_euint32": [ - { "inputs": [61878, 213802596], "output": 213843958 }, - { "inputs": [61874, 61878], "output": 61878 }, - { "inputs": [61878, 61878], "output": 61878 }, - { "inputs": [61878, 61874], "output": 61878 } + { "inputs": [25484, 156227915], "output": 156236751 }, + { "inputs": [25480, 25484], "output": 25484 }, + { "inputs": [25484, 25484], "output": 25484 }, + { "inputs": [25484, 25480], "output": 25484 } ], "or_euint16_euint64": [ - { "inputs": [61878, 192916939], "output": 192937471 }, - { "inputs": [61874, 61878], "output": 61878 }, - { "inputs": [61878, 61878], "output": 61878 }, - { "inputs": [61878, 61874], "output": 61878 } + { "inputs": [25484, 265773773], "output": 265774029 }, + { "inputs": [25480, 25484], "output": 25484 }, + { "inputs": [25484, 25484], "output": 25484 }, + { "inputs": [25484, 25480], "output": 25484 } ], "or_euint32_euint4": [ - { "inputs": [51366153, 1], "output": 51366153 }, + { "inputs": [138135196, 6], "output": 138135198 }, { "inputs": [4, 8], "output": 12 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 12 } ], "or_euint32_euint8": [ - { "inputs": [51366153, 56], "output": 51366201 }, - { "inputs": [52, 56], "output": 60 }, - { "inputs": [56, 56], "output": 56 }, - { "inputs": [56, 52], "output": 60 } + { "inputs": [138135196, 250], "output": 138135294 }, + { "inputs": [246, 250], "output": 254 }, + { "inputs": [250, 250], "output": 250 }, + { "inputs": [250, 246], "output": 254 } ], "or_euint32_euint16": [ - { "inputs": [51366153, 45753], "output": 51379129 }, - { "inputs": [45749, 45753], "output": 45757 }, - { "inputs": [45753, 45753], "output": 45753 }, - { "inputs": [45753, 45749], "output": 45757 } + { "inputs": [138135196, 24679], "output": 138143487 }, + { "inputs": [24675, 24679], "output": 24679 }, + { "inputs": [24679, 24679], "output": 24679 }, + { "inputs": [24679, 24675], "output": 24679 } ], "or_euint32_euint32": [ - { "inputs": [51366153, 128317949], "output": 128973309 }, - { "inputs": [51366149, 51366153], "output": 51366157 }, - { "inputs": [51366153, 51366153], "output": 51366153 }, - { "inputs": [51366153, 51366149], "output": 51366157 } + { "inputs": [138135196, 147717442], "output": 150994910 }, + { "inputs": [138135192, 138135196], "output": 138135196 }, + { "inputs": [138135196, 138135196], "output": 138135196 }, + { "inputs": [138135196, 138135192], "output": 138135196 } ], "or_euint32_euint64": [ - { "inputs": [51366153, 141446953], "output": 191876905 }, - { "inputs": [51366149, 51366153], "output": 51366157 }, - { "inputs": [51366153, 51366153], "output": 51366153 }, - { "inputs": [51366153, 51366149], "output": 51366157 } + { "inputs": [138135196, 193074409], "output": 196859645 }, + { "inputs": [138135192, 138135196], "output": 138135196 }, + { "inputs": [138135196, 138135196], "output": 138135196 }, + { "inputs": [138135196, 138135192], "output": 138135196 } ], "or_euint64_euint4": [ - { "inputs": [144995790, 3], "output": 144995791 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [50536480, 11], "output": 50536491 }, + { "inputs": [7, 11], "output": 15 }, + { "inputs": [11, 11], "output": 11 }, + { "inputs": [11, 7], "output": 15 } ], "or_euint64_euint8": [ - { "inputs": [144995790, 114], "output": 144995838 }, - { "inputs": [110, 114], "output": 126 }, - { "inputs": [114, 114], "output": 114 }, - { "inputs": [114, 110], "output": 126 } + { "inputs": [50536480, 64], "output": 50536544 }, + { "inputs": [60, 64], "output": 124 }, + { "inputs": [64, 64], "output": 64 }, + { "inputs": [64, 60], "output": 124 } ], "or_euint64_euint16": [ - { "inputs": [144995790, 62529], "output": 145028559 }, - { "inputs": [62525, 62529], "output": 62589 }, - { "inputs": [62529, 62529], "output": 62529 }, - { "inputs": [62529, 62525], "output": 62589 } + { "inputs": [50536480, 3556], "output": 50540004 }, + { "inputs": [3552, 3556], "output": 3556 }, + { "inputs": [3556, 3556], "output": 3556 }, + { "inputs": [3556, 3552], "output": 3556 } ], "or_euint64_euint32": [ - { "inputs": [144995790, 109170461], "output": 245759967 }, - { "inputs": [109170457, 109170461], "output": 109170461 }, - { "inputs": [109170461, 109170461], "output": 109170461 }, - { "inputs": [109170461, 109170457], "output": 109170461 } + { "inputs": [50536480, 16913643], "output": 50541803 }, + { "inputs": [16913639, 16913643], "output": 16913647 }, + { "inputs": [16913643, 16913643], "output": 16913643 }, + { "inputs": [16913643, 16913639], "output": 16913647 } ], "or_euint64_euint64": [ - { "inputs": [144995790, 193337091], "output": 195459023 }, - { "inputs": [144995786, 144995790], "output": 144995790 }, - { "inputs": [144995790, 144995790], "output": 144995790 }, - { "inputs": [144995790, 144995786], "output": 144995790 } + { "inputs": [50536480, 244448701], "output": 261356989 }, + { "inputs": [50536476, 50536480], "output": 50536508 }, + { "inputs": [50536480, 50536480], "output": 50536480 }, + { "inputs": [50536480, 50536476], "output": 50536508 } ], "and_euint4_euint4": [ - { "inputs": [13, 13], "output": 13 }, - { "inputs": [9, 13], "output": 9 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 9 } + { "inputs": [1, 12], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } ], "and_euint4_euint8": [ - { "inputs": [13, 163], "output": 1 }, - { "inputs": [9, 13], "output": 9 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 9 } + { "inputs": [1, 208], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } ], "and_euint4_euint16": [ - { "inputs": [13, 55998], "output": 12 }, - { "inputs": [9, 13], "output": 9 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 9 } + { "inputs": [1, 44006], "output": 0 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } ], "and_euint4_euint32": [ - { "inputs": [13, 34206859], "output": 9 }, - { "inputs": [9, 13], "output": 9 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 9 } + { "inputs": [1, 245829777], "output": 1 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } ], "and_euint4_euint64": [ - { "inputs": [13, 94000820], "output": 4 }, - { "inputs": [9, 13], "output": 9 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 9 } + { "inputs": [1, 113854917], "output": 1 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } ], "and_euint8_euint4": [ - { "inputs": [79, 9], "output": 9 }, - { "inputs": [5, 9], "output": 1 }, - { "inputs": [9, 9], "output": 9 }, - { "inputs": [9, 5], "output": 1 } + { "inputs": [245, 4], "output": 4 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } ], "and_euint8_euint8": [ - { "inputs": [79, 88], "output": 72 }, - { "inputs": [75, 79], "output": 75 }, - { "inputs": [79, 79], "output": 79 }, - { "inputs": [79, 75], "output": 75 } + { "inputs": [245, 164], "output": 164 }, + { "inputs": [160, 164], "output": 160 }, + { "inputs": [164, 164], "output": 164 }, + { "inputs": [164, 160], "output": 160 } ], "and_euint8_euint16": [ - { "inputs": [79, 63031], "output": 7 }, - { "inputs": [75, 79], "output": 75 }, - { "inputs": [79, 79], "output": 79 }, - { "inputs": [79, 75], "output": 75 } + { "inputs": [245, 17782], "output": 116 }, + { "inputs": [241, 245], "output": 241 }, + { "inputs": [245, 245], "output": 245 }, + { "inputs": [245, 241], "output": 241 } ], "and_euint8_euint32": [ - { "inputs": [79, 262235113], "output": 73 }, - { "inputs": [75, 79], "output": 75 }, - { "inputs": [79, 79], "output": 79 }, - { "inputs": [79, 75], "output": 75 } + { "inputs": [245, 107977808], "output": 80 }, + { "inputs": [241, 245], "output": 241 }, + { "inputs": [245, 245], "output": 245 }, + { "inputs": [245, 241], "output": 241 } ], "and_euint8_euint64": [ - { "inputs": [79, 112002348], "output": 12 }, - { "inputs": [75, 79], "output": 75 }, - { "inputs": [79, 79], "output": 79 }, - { "inputs": [79, 75], "output": 75 } + { "inputs": [245, 233482558], "output": 52 }, + { "inputs": [241, 245], "output": 241 }, + { "inputs": [245, 245], "output": 245 }, + { "inputs": [245, 241], "output": 241 } ], "and_euint16_euint4": [ - { "inputs": [26290, 1], "output": 0 }, + { "inputs": [55927, 3], "output": 3 }, { "inputs": [4, 8], "output": 0 }, { "inputs": [8, 8], "output": 8 }, { "inputs": [8, 4], "output": 0 } ], "and_euint16_euint8": [ - { "inputs": [26290, 248], "output": 176 }, - { "inputs": [244, 248], "output": 240 }, - { "inputs": [248, 248], "output": 248 }, - { "inputs": [248, 244], "output": 240 } + { "inputs": [55927, 14], "output": 6 }, + { "inputs": [10, 14], "output": 10 }, + { "inputs": [14, 14], "output": 14 }, + { "inputs": [14, 10], "output": 10 } ], "and_euint16_euint16": [ - { "inputs": [26290, 23750], "output": 17538 }, - { "inputs": [23746, 23750], "output": 23746 }, - { "inputs": [23750, 23750], "output": 23750 }, - { "inputs": [23750, 23746], "output": 23746 } + { "inputs": [55927, 33200], "output": 32816 }, + { "inputs": [33196, 33200], "output": 33184 }, + { "inputs": [33200, 33200], "output": 33200 }, + { "inputs": [33200, 33196], "output": 33184 } ], "and_euint16_euint32": [ - { "inputs": [26290, 142339715], "output": 26242 }, - { "inputs": [26286, 26290], "output": 26274 }, - { "inputs": [26290, 26290], "output": 26290 }, - { "inputs": [26290, 26286], "output": 26274 } + { "inputs": [55927, 26519890], "output": 34898 }, + { "inputs": [55923, 55927], "output": 55923 }, + { "inputs": [55927, 55927], "output": 55927 }, + { "inputs": [55927, 55923], "output": 55923 } ], "and_euint16_euint64": [ - { "inputs": [26290, 78773969], "output": 26256 }, - { "inputs": [26286, 26290], "output": 26274 }, - { "inputs": [26290, 26290], "output": 26290 }, - { "inputs": [26290, 26286], "output": 26274 } + { "inputs": [55927, 66357780], "output": 35348 }, + { "inputs": [55923, 55927], "output": 55923 }, + { "inputs": [55927, 55927], "output": 55927 }, + { "inputs": [55927, 55923], "output": 55923 } ], "and_euint32_euint4": [ - { "inputs": [241094180, 10], "output": 0 }, - { "inputs": [6, 10], "output": 2 }, - { "inputs": [10, 10], "output": 10 }, - { "inputs": [10, 6], "output": 2 } + { "inputs": [145081557, 6], "output": 4 }, + { "inputs": [4, 8], "output": 0 }, + { "inputs": [8, 8], "output": 8 }, + { "inputs": [8, 4], "output": 0 } ], "and_euint32_euint8": [ - { "inputs": [241094180, 159], "output": 4 }, - { "inputs": [155, 159], "output": 155 }, - { "inputs": [159, 159], "output": 159 }, - { "inputs": [159, 155], "output": 155 } + { "inputs": [145081557, 138], "output": 128 }, + { "inputs": [134, 138], "output": 130 }, + { "inputs": [138, 138], "output": 138 }, + { "inputs": [138, 134], "output": 130 } ], "and_euint32_euint16": [ - { "inputs": [241094180, 53800], "output": 49696 }, - { "inputs": [53796, 53800], "output": 53792 }, - { "inputs": [53800, 53800], "output": 53800 }, - { "inputs": [53800, 53796], "output": 53792 } + { "inputs": [145081557, 34219], "output": 33921 }, + { "inputs": [34215, 34219], "output": 34211 }, + { "inputs": [34219, 34219], "output": 34219 }, + { "inputs": [34219, 34215], "output": 34211 } ], "and_euint32_euint32": [ - { "inputs": [241094180, 79267520], "output": 68716032 }, - { "inputs": [79267516, 79267520], "output": 79267456 }, - { "inputs": [79267520, 79267520], "output": 79267520 }, - { "inputs": [79267520, 79267516], "output": 79267456 } + { "inputs": [145081557, 40551396], "output": 2146500 }, + { "inputs": [40551392, 40551396], "output": 40551392 }, + { "inputs": [40551396, 40551396], "output": 40551396 }, + { "inputs": [40551396, 40551392], "output": 40551392 } ], "and_euint32_euint64": [ - { "inputs": [241094180, 246901357], "output": 236341796 }, - { "inputs": [241094176, 241094180], "output": 241094176 }, - { "inputs": [241094180, 241094180], "output": 241094180 }, - { "inputs": [241094180, 241094176], "output": 241094176 } + { "inputs": [145081557, 212896076], "output": 144736324 }, + { "inputs": [145081553, 145081557], "output": 145081553 }, + { "inputs": [145081557, 145081557], "output": 145081557 }, + { "inputs": [145081557, 145081553], "output": 145081553 } ], "and_euint64_euint4": [ - { "inputs": [190497921, 5], "output": 1 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": [238356224, 9], "output": 0 }, + { "inputs": [5, 9], "output": 1 }, + { "inputs": [9, 9], "output": 9 }, + { "inputs": [9, 5], "output": 1 } ], "and_euint64_euint8": [ - { "inputs": [190497921, 253], "output": 129 }, - { "inputs": [249, 253], "output": 249 }, - { "inputs": [253, 253], "output": 253 }, - { "inputs": [253, 249], "output": 249 } + { "inputs": [238356224, 211], "output": 0 }, + { "inputs": [207, 211], "output": 195 }, + { "inputs": [211, 211], "output": 211 }, + { "inputs": [211, 207], "output": 195 } ], "and_euint64_euint16": [ - { "inputs": [190497921, 60802], "output": 50304 }, - { "inputs": [60798, 60802], "output": 60674 }, - { "inputs": [60802, 60802], "output": 60802 }, - { "inputs": [60802, 60798], "output": 60674 } + { "inputs": [238356224, 18546], "output": 0 }, + { "inputs": [18542, 18546], "output": 18530 }, + { "inputs": [18546, 18546], "output": 18546 }, + { "inputs": [18546, 18542], "output": 18530 } ], "and_euint64_euint32": [ - { "inputs": [190497921, 164161585], "output": 155762689 }, - { "inputs": [164161581, 164161585], "output": 164161569 }, - { "inputs": [164161585, 164161585], "output": 164161585 }, - { "inputs": [164161585, 164161581], "output": 164161569 } + { "inputs": [238356224, 212953386], "output": 204538112 }, + { "inputs": [212953382, 212953386], "output": 212953378 }, + { "inputs": [212953386, 212953386], "output": 212953386 }, + { "inputs": [212953386, 212953382], "output": 212953378 } ], "and_euint64_euint64": [ - { "inputs": [190497921, 34355274], "output": 34078720 }, - { "inputs": [34355270, 34355274], "output": 34355266 }, - { "inputs": [34355274, 34355274], "output": 34355274 }, - { "inputs": [34355274, 34355270], "output": 34355266 } + { "inputs": [238356224, 13141105], "output": 1024 }, + { "inputs": [13141101, 13141105], "output": 13141089 }, + { "inputs": [13141105, 13141105], "output": 13141105 }, + { "inputs": [13141105, 13141101], "output": 13141089 } ], "xor_euint4_euint4": [ - { "inputs": [10, 6], "output": 12 }, + { "inputs": [13, 2], "output": 15 }, { "inputs": [4, 8], "output": 12 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 12 } ], "xor_euint4_euint8": [ - { "inputs": [10, 102], "output": 108 }, - { "inputs": [6, 10], "output": 12 }, - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 12 } + { "inputs": [13, 95], "output": 82 }, + { "inputs": [9, 13], "output": 4 }, + { "inputs": [13, 13], "output": 0 }, + { "inputs": [13, 9], "output": 4 } ], "xor_euint4_euint16": [ - { "inputs": [10, 28735], "output": 28725 }, - { "inputs": [6, 10], "output": 12 }, - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 12 } + { "inputs": [13, 19075], "output": 19086 }, + { "inputs": [9, 13], "output": 4 }, + { "inputs": [13, 13], "output": 0 }, + { "inputs": [13, 9], "output": 4 } ], "xor_euint4_euint32": [ - { "inputs": [10, 89478471], "output": 89478477 }, - { "inputs": [6, 10], "output": 12 }, - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 12 } + { "inputs": [13, 56718435], "output": 56718446 }, + { "inputs": [9, 13], "output": 4 }, + { "inputs": [13, 13], "output": 0 }, + { "inputs": [13, 9], "output": 4 } ], "xor_euint4_euint64": [ - { "inputs": [10, 241197687], "output": 241197693 }, - { "inputs": [6, 10], "output": 12 }, - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 12 } + { "inputs": [13, 34180683], "output": 34180678 }, + { "inputs": [9, 13], "output": 4 }, + { "inputs": [13, 13], "output": 0 }, + { "inputs": [13, 9], "output": 4 } ], "xor_euint8_euint4": [ - { "inputs": [44, 8], "output": 36 }, + { "inputs": [5, 3], "output": 6 }, { "inputs": [4, 8], "output": 12 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 12 } ], "xor_euint8_euint8": [ - { "inputs": [44, 19], "output": 63 }, - { "inputs": [15, 19], "output": 28 }, - { "inputs": [19, 19], "output": 0 }, - { "inputs": [19, 15], "output": 28 } + { "inputs": [5, 61], "output": 56 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } ], "xor_euint8_euint16": [ - { "inputs": [44, 50547], "output": 50527 }, - { "inputs": [40, 44], "output": 4 }, - { "inputs": [44, 44], "output": 0 }, - { "inputs": [44, 40], "output": 4 } + { "inputs": [5, 1712], "output": 1717 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } ], "xor_euint8_euint32": [ - { "inputs": [44, 19360952], "output": 19360916 }, - { "inputs": [40, 44], "output": 4 }, - { "inputs": [44, 44], "output": 0 }, - { "inputs": [44, 40], "output": 4 } + { "inputs": [5, 115830538], "output": 115830543 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } ], "xor_euint8_euint64": [ - { "inputs": [44, 222033695], "output": 222033715 }, - { "inputs": [40, 44], "output": 4 }, - { "inputs": [44, 44], "output": 0 }, - { "inputs": [44, 40], "output": 4 } + { "inputs": [5, 103206592], "output": 103206597 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } ], "xor_euint16_euint4": [ - { "inputs": [36773, 10], "output": 36783 }, - { "inputs": [6, 10], "output": 12 }, - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 12 } + { "inputs": [20626, 7], "output": 20629 }, + { "inputs": [4, 8], "output": 12 }, + { "inputs": [8, 8], "output": 0 }, + { "inputs": [8, 4], "output": 12 } ], "xor_euint16_euint8": [ - { "inputs": [36773, 131], "output": 36646 }, - { "inputs": [127, 131], "output": 252 }, - { "inputs": [131, 131], "output": 0 }, - { "inputs": [131, 127], "output": 252 } + { "inputs": [20626, 38], "output": 20660 }, + { "inputs": [34, 38], "output": 4 }, + { "inputs": [38, 38], "output": 0 }, + { "inputs": [38, 34], "output": 4 } ], "xor_euint16_euint16": [ - { "inputs": [36773, 46302], "output": 15227 }, - { "inputs": [36769, 36773], "output": 4 }, - { "inputs": [36773, 36773], "output": 0 }, - { "inputs": [36773, 36769], "output": 4 } + { "inputs": [20626, 44825], "output": 65419 }, + { "inputs": [20622, 20626], "output": 28 }, + { "inputs": [20626, 20626], "output": 0 }, + { "inputs": [20626, 20622], "output": 28 } ], "xor_euint16_euint32": [ - { "inputs": [36773, 153920052], "output": 153890193 }, - { "inputs": [36769, 36773], "output": 4 }, - { "inputs": [36773, 36773], "output": 0 }, - { "inputs": [36773, 36769], "output": 4 } + { "inputs": [20626, 50344759], "output": 50357157 }, + { "inputs": [20622, 20626], "output": 28 }, + { "inputs": [20626, 20626], "output": 0 }, + { "inputs": [20626, 20622], "output": 28 } ], "xor_euint16_euint64": [ - { "inputs": [36773, 191475857], "output": 191446836 }, - { "inputs": [36769, 36773], "output": 4 }, - { "inputs": [36773, 36773], "output": 0 }, - { "inputs": [36773, 36769], "output": 4 } + { "inputs": [20626, 20674993], "output": 20654371 }, + { "inputs": [20622, 20626], "output": 28 }, + { "inputs": [20626, 20626], "output": 0 }, + { "inputs": [20626, 20622], "output": 28 } ], "xor_euint32_euint4": [ - { "inputs": [30847431, 8], "output": 30847439 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": [27190055, 14], "output": 27190057 }, + { "inputs": [10, 14], "output": 4 }, + { "inputs": [14, 14], "output": 0 }, + { "inputs": [14, 10], "output": 4 } ], "xor_euint32_euint8": [ - { "inputs": [30847431, 23], "output": 30847440 }, - { "inputs": [19, 23], "output": 4 }, - { "inputs": [23, 23], "output": 0 }, - { "inputs": [23, 19], "output": 4 } + { "inputs": [27190055, 85], "output": 27190130 }, + { "inputs": [81, 85], "output": 4 }, + { "inputs": [85, 85], "output": 0 }, + { "inputs": [85, 81], "output": 4 } ], "xor_euint32_euint16": [ - { "inputs": [30847431, 51762], "output": 30833653 }, - { "inputs": [51758, 51762], "output": 28 }, - { "inputs": [51762, 51762], "output": 0 }, - { "inputs": [51762, 51758], "output": 28 } + { "inputs": [27190055, 32965], "output": 27157474 }, + { "inputs": [32961, 32965], "output": 4 }, + { "inputs": [32965, 32965], "output": 0 }, + { "inputs": [32965, 32961], "output": 4 } ], "xor_euint32_euint32": [ - { "inputs": [30847431, 53515901], "output": 48637882 }, - { "inputs": [30847427, 30847431], "output": 4 }, - { "inputs": [30847431, 30847431], "output": 0 }, - { "inputs": [30847431, 30847427], "output": 4 } + { "inputs": [27190055, 97550225], "output": 72260790 }, + { "inputs": [27190051, 27190055], "output": 4 }, + { "inputs": [27190055, 27190055], "output": 0 }, + { "inputs": [27190055, 27190051], "output": 4 } ], "xor_euint32_euint64": [ - { "inputs": [30847431, 224936709], "output": 213840578 }, - { "inputs": [30847427, 30847431], "output": 4 }, - { "inputs": [30847431, 30847431], "output": 0 }, - { "inputs": [30847431, 30847427], "output": 4 } + { "inputs": [27190055, 77242514], "output": 84165557 }, + { "inputs": [27190051, 27190055], "output": 4 }, + { "inputs": [27190055, 27190055], "output": 0 }, + { "inputs": [27190055, 27190051], "output": 4 } ], "xor_euint64_euint4": [ - { "inputs": [236438189, 1], "output": 236438188 }, + { "inputs": [147215301, 1], "output": 147215300 }, { "inputs": [4, 8], "output": 12 }, { "inputs": [8, 8], "output": 0 }, { "inputs": [8, 4], "output": 12 } ], "xor_euint64_euint8": [ - { "inputs": [236438189, 12], "output": 236438177 }, - { "inputs": [8, 12], "output": 4 }, - { "inputs": [12, 12], "output": 0 }, - { "inputs": [12, 8], "output": 4 } + { "inputs": [147215301, 174], "output": 147215211 }, + { "inputs": [170, 174], "output": 4 }, + { "inputs": [174, 174], "output": 0 }, + { "inputs": [174, 170], "output": 4 } ], "xor_euint64_euint16": [ - { "inputs": [236438189, 51285], "output": 236391160 }, - { "inputs": [51281, 51285], "output": 4 }, - { "inputs": [51285, 51285], "output": 0 }, - { "inputs": [51285, 51281], "output": 4 } + { "inputs": [147215301, 35671], "output": 147249298 }, + { "inputs": [35667, 35671], "output": 4 }, + { "inputs": [35671, 35671], "output": 0 }, + { "inputs": [35671, 35667], "output": 4 } ], "xor_euint64_euint32": [ - { "inputs": [236438189, 33113563], "output": 267290486 }, - { "inputs": [33113559, 33113563], "output": 12 }, - { "inputs": [33113563, 33113563], "output": 0 }, - { "inputs": [33113563, 33113559], "output": 12 } + { "inputs": [147215301, 173065039], "output": 43421834 }, + { "inputs": [147215297, 147215301], "output": 4 }, + { "inputs": [147215301, 147215301], "output": 0 }, + { "inputs": [147215301, 147215297], "output": 4 } ], "xor_euint64_euint64": [ - { "inputs": [236438189, 150524138], "output": 116331079 }, - { "inputs": [150524134, 150524138], "output": 12 }, - { "inputs": [150524138, 150524138], "output": 0 }, - { "inputs": [150524138, 150524134], "output": 12 } - ], - "not_euint4": [{ "inputs": [9], "output": "6" }], - "not_euint8": [{ "inputs": [30], "output": "225" }], - "not_euint16": [{ "inputs": [15626], "output": "49909" }], - "not_euint32": [{ "inputs": [22116422], "output": "4272850873" }], - "not_euint64": [{ "inputs": [172305424], "output": "18446744073537246191" }], - "neg_euint4": [{ "inputs": [11], "output": "5" }], - "neg_euint8": [{ "inputs": [177], "output": "79" }], - "neg_euint16": [{ "inputs": [26575], "output": "38961" }], - "neg_euint32": [{ "inputs": [204914882], "output": "4090052414" }], - "neg_euint64": [{ "inputs": [39253840], "output": "18446744073670297776" }] + { "inputs": [147215301, 32869222], "output": 154392739 }, + { "inputs": [32869218, 32869222], "output": 4 }, + { "inputs": [32869222, 32869222], "output": 0 }, + { "inputs": [32869222, 32869218], "output": 4 } + ], + "not_euint4": [{ "inputs": [12], "output": "3" }], + "not_euint8": [{ "inputs": [74], "output": "181" }], + "not_euint16": [{ "inputs": [51762], "output": "13773" }], + "not_euint32": [{ "inputs": [34192436], "output": "4260774859" }], + "not_euint64": [{ "inputs": [131894418], "output": "18446744073577657197" }], + "neg_euint4": [{ "inputs": [3], "output": "13" }], + "neg_euint8": [{ "inputs": [165], "output": "91" }], + "neg_euint16": [{ "inputs": [17405], "output": "48131" }], + "neg_euint32": [{ "inputs": [202665091], "output": "4092302205" }], + "neg_euint64": [{ "inputs": [6247856], "output": "18446744073703303760" }] } diff --git a/test/tfheOperations/tfheOperations.ts b/test/tfheOperations/tfheOperations.ts index 0679e9bf..f82dcdea 100644 --- a/test/tfheOperations/tfheOperations.ts +++ b/test/tfheOperations/tfheOperations.ts @@ -100,68 +100,68 @@ describe('TFHE operations', function () { this.instances5 = instances5; }); - it('test operator "add" overload (euint4, euint4) => euint4 test 1 (5, 5)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 1 (4, 7)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(7), ); - expect(res).to.equal(10); + expect(res).to.equal(11n); }); - it('test operator "add" overload (euint4, euint4) => euint4 test 2 (3, 5)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 2 (5, 9)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(3), this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(8); + expect(res).to.equal(14n); }); - it('test operator "add" overload (euint4, euint4) => euint4 test 3 (5, 5)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 3 (4, 4)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(10); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint4) => euint4 test 4 (5, 3)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 4 (9, 5)', async function () { const res = await this.contract1.add_euint4_euint4( + this.instances1.alice.encrypt4(9), this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(8); + expect(res).to.equal(14n); }); - it('test operator "sub" overload (euint4, euint4) => euint4 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint4, euint4) => euint4 test 1 (10, 10)', async function () { const res = await this.contract1.sub_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(10), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, euint4) => euint4 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint4, euint4) => euint4 test 2 (10, 6)', async function () { const res = await this.contract1.sub_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(6), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 1 (2, 2)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 1 (7, 1)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(4); + expect(res).to.equal(7n); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 2 (2, 4)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(15); + expect(res).to.equal(8n); }); it('test operator "mul" overload (euint4, euint4) => euint4 test 3 (2, 2)', async function () { @@ -169,87 +169,87 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(2), this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 4 (4, 2)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(15); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint4, euint4) => euint4 test 1 (13, 13)', async function () { + it('test operator "and" overload (euint4, euint4) => euint4 test 1 (1, 12)', async function () { const res = await this.contract1.and_euint4_euint4( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(13); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint4, euint4) => euint4 test 2 (9, 13)', async function () { + it('test operator "and" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { const res = await this.contract1.and_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(9); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint4, euint4) => euint4 test 3 (13, 13)', async function () { + it('test operator "and" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { const res = await this.contract1.and_euint4_euint4( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint4, euint4) => euint4 test 4 (13, 9)', async function () { + it('test operator "and" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { const res = await this.contract1.and_euint4_euint4( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(9); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 1 (13, 13)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 1 (14, 12)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 2 (9, 13)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 2 (8, 12)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(13); + expect(res).to.equal(12); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 3 (13, 13)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 3 (12, 12)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(13); + expect(res).to.equal(12); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 4 (13, 9)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 4 (12, 8)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(13); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint4, euint4) => euint4 test 1 (10, 6)', async function () { + it('test operator "xor" overload (euint4, euint4) => euint4 test 1 (13, 2)', async function () { const res = await this.contract1.xor_euint4_euint4( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(12); + expect(res).to.equal(15); }); it('test operator "xor" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -276,10 +276,10 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "eq" overload (euint4, euint4) => ebool test 1 (10, 1)', async function () { + it('test operator "eq" overload (euint4, euint4) => ebool test 1 (5, 2)', async function () { const res = await this.contract1.eq_euint4_euint4( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(2), ); expect(res).to.equal(false); }); @@ -308,10 +308,10 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint4) => ebool test 1 (1, 3)', async function () { + it('test operator "ne" overload (euint4, euint4) => ebool test 1 (7, 1)', async function () { const res = await this.contract1.ne_euint4_euint4( + this.instances1.alice.encrypt4(7), this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(3), ); expect(res).to.equal(true); }); @@ -340,12 +340,12 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint4) => ebool test 1 (2, 13)', async function () { + it('test operator "ge" overload (euint4, euint4) => ebool test 1 (9, 4)', async function () { const res = await this.contract1.ge_euint4_euint4( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "ge" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { @@ -372,74 +372,74 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 1 (7, 6)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 1 (9, 9)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(5), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint4) => ebool test 1 (11, 2)', async function () { + it('test operator "le" overload (euint4, euint4) => ebool test 1 (10, 10)', async function () { const res = await this.contract1.le_euint4_euint4( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(10), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint4, euint4) => ebool test 2 (6, 10)', async function () { const res = await this.contract1.le_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint4, euint4) => ebool test 3 (10, 10)', async function () { const res = await this.contract1.le_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint4, euint4) => ebool test 4 (10, 6)', async function () { const res = await this.contract1.le_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(6), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint4) => ebool test 1 (8, 8)', async function () { + it('test operator "lt" overload (euint4, euint4) => ebool test 1 (4, 1)', async function () { const res = await this.contract1.lt_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(1), ); expect(res).to.equal(false); }); @@ -468,12 +468,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint4) => euint4 test 1 (14, 6)', async function () { + it('test operator "min" overload (euint4, euint4) => euint4 test 1 (1, 10)', async function () { const res = await this.contract1.min_euint4_euint4( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(10), ); - expect(res).to.equal(6); + expect(res).to.equal(1); }); it('test operator "min" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -500,12 +500,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "max" overload (euint4, euint4) => euint4 test 1 (13, 2)', async function () { + it('test operator "max" overload (euint4, euint4) => euint4 test 1 (11, 7)', async function () { const res = await this.contract1.max_euint4_euint4( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(7), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); it('test operator "max" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -532,218 +532,218 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "add" overload (euint4, euint8) => euint8 test 1 (1, 8)', async function () { + it('test operator "add" overload (euint4, euint8) => euint8 test 1 (1, 12)', async function () { const res = await this.contract1.add_euint4_euint8( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt8(12), ); - expect(res).to.equal(9); + expect(res).to.equal(13n); }); - it('test operator "add" overload (euint4, euint8) => euint8 test 2 (3, 5)', async function () { + it('test operator "add" overload (euint4, euint8) => euint8 test 2 (5, 9)', async function () { const res = await this.contract1.add_euint4_euint8( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(9), ); - expect(res).to.equal(8); + expect(res).to.equal(14n); }); - it('test operator "add" overload (euint4, euint8) => euint8 test 3 (5, 5)', async function () { + it('test operator "add" overload (euint4, euint8) => euint8 test 3 (4, 4)', async function () { const res = await this.contract1.add_euint4_euint8( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(10); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint8) => euint8 test 4 (5, 3)', async function () { + it('test operator "add" overload (euint4, euint8) => euint8 test 4 (9, 5)', async function () { const res = await this.contract1.add_euint4_euint8( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt8(3), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(5), ); - expect(res).to.equal(8); + expect(res).to.equal(14n); }); - it('test operator "sub" overload (euint4, euint8) => euint8 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint4, euint8) => euint8 test 1 (10, 10)', async function () { const res = await this.contract1.sub_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(10), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, euint8) => euint8 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint4, euint8) => euint8 test 2 (10, 6)', async function () { const res = await this.contract1.sub_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(6), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 1 (1, 6)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 1 (1, 9)', async function () { const res = await this.contract1.mul_euint4_euint8( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(6), + this.instances1.alice.encrypt8(9), ); - expect(res).to.equal(6); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 2 (2, 3)', async function () { const res = await this.contract1.mul_euint4_euint8( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt8(3), ); - expect(res).to.equal(15); + expect(res).to.equal(6n); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 3 (2, 2)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 3 (3, 3)', async function () { const res = await this.contract1.mul_euint4_euint8( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt8(2), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(3), ); - expect(res).to.equal(4); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 4 (3, 2)', async function () { const res = await this.contract1.mul_euint4_euint8( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt8(3), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(2), ); - expect(res).to.equal(15); + expect(res).to.equal(6n); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 1 (13, 163)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 1 (1, 208)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(163), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(208), ); - expect(res).to.equal(1); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 2 (9, 13)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(9); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 3 (13, 13)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 4 (13, 9)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(9); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 1 (13, 189)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 1 (14, 81)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(189), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(81), ); - expect(res).to.equal(189); + expect(res).to.equal(95); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 2 (9, 13)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 2 (10, 14)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(14), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 3 (13, 13)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 3 (14, 14)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(14), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 4 (13, 9)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 4 (14, 10)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(10), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 1 (10, 102)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 1 (13, 95)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(102), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(95), ); - expect(res).to.equal(108); + expect(res).to.equal(82); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 2 (6, 10)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 2 (9, 13)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt8(10), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(13), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 3 (10, 10)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 3 (13, 13)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(10), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(13), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 4 (10, 6)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 4 (13, 9)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(6), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt8(9), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 1 (10, 106)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 1 (5, 81)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(106), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(81), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 2 (6, 10)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt8(10), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 3 (10, 10)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 4 (10, 6)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint8) => ebool test 1 (1, 141)', async function () { + it('test operator "ne" overload (euint4, euint8) => ebool test 1 (7, 29)', async function () { const res = await this.contract1.ne_euint4_euint8( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(141), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(29), ); expect(res).to.equal(true); }); @@ -772,106 +772,106 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 1 (2, 171)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 1 (9, 39)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt8(171), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(39), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(9), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(5), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint8) => ebool test 1 (7, 6)', async function () { + it('test operator "gt" overload (euint4, euint8) => ebool test 1 (9, 247)', async function () { const res = await this.contract1.gt_euint4_euint8( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt8(6), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(247), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint4, euint8) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.gt_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint4, euint8) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.gt_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint4, euint8) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.gt_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(5), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 1 (11, 100)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 1 (10, 82)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt8(100), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(82), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 2 (7, 11)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 2 (6, 10)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt8(11), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt8(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 3 (11, 11)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 3 (10, 10)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt8(11), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 4 (11, 7)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 4 (10, 6)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt8(7), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(6), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint8) => ebool test 1 (8, 52)', async function () { + it('test operator "lt" overload (euint4, euint8) => ebool test 1 (4, 146)', async function () { const res = await this.contract1.lt_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(52), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(146), ); expect(res).to.equal(true); }); @@ -900,114 +900,114 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 1 (14, 175)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 1 (1, 21)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt8(175), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(21), ); - expect(res).to.equal(14); + expect(res).to.equal(1); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 2 (10, 14)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(14), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(10); + expect(res).to.equal(4); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 3 (14, 14)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt8(14), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 4 (14, 10)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt8(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(10); + expect(res).to.equal(4); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 1 (13, 155)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 1 (11, 223)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(155), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(223), ); - expect(res).to.equal(155); + expect(res).to.equal(223); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 2 (9, 13)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 2 (7, 11)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(11), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 3 (13, 13)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 3 (11, 11)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(11), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 4 (13, 9)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 4 (11, 7)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(7), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 1 (1, 10)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 1 (1, 9)', async function () { const res = await this.contract1.add_euint4_euint16( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt16(9), ); - expect(res).to.equal(11); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 2 (3, 5)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 2 (5, 9)', async function () { const res = await this.contract1.add_euint4_euint16( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt16(5), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(9), ); - expect(res).to.equal(8); + expect(res).to.equal(14n); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 3 (5, 5)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 3 (4, 4)', async function () { const res = await this.contract1.add_euint4_euint16( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt16(5), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(10); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 4 (5, 3)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 4 (9, 5)', async function () { const res = await this.contract1.add_euint4_euint16( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt16(3), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(5), ); - expect(res).to.equal(8); + expect(res).to.equal(14n); }); - it('test operator "sub" overload (euint4, euint16) => euint16 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint4, euint16) => euint16 test 1 (10, 10)', async function () { const res = await this.contract1.sub_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(10), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, euint16) => euint16 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint4, euint16) => euint16 test 2 (10, 6)', async function () { const res = await this.contract1.sub_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(6), ); expect(res).to.equal(4); }); @@ -1017,165 +1017,165 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(1), this.instances1.alice.encrypt16(13), ); - expect(res).to.equal(13); + expect(res).to.equal(13n); }); - it('test operator "mul" overload (euint4, euint16) => euint16 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint4, euint16) => euint16 test 2 (2, 3)', async function () { const res = await this.contract1.mul_euint4_euint16( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt16(5), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(3), ); - expect(res).to.equal(15); + expect(res).to.equal(6n); }); - it('test operator "mul" overload (euint4, euint16) => euint16 test 3 (2, 2)', async function () { + it('test operator "mul" overload (euint4, euint16) => euint16 test 3 (3, 3)', async function () { const res = await this.contract1.mul_euint4_euint16( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt16(2), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt16(3), ); - expect(res).to.equal(4); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint16) => euint16 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint4, euint16) => euint16 test 4 (3, 2)', async function () { const res = await this.contract1.mul_euint4_euint16( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt16(3), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt16(2), ); - expect(res).to.equal(15); + expect(res).to.equal(6n); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 1 (13, 55998)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 1 (1, 44006)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(55998), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(44006), ); - expect(res).to.equal(12); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 2 (9, 13)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(13), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(9); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 3 (13, 13)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(13), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 4 (13, 9)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(9); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 1 (13, 42674)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 1 (14, 32563)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(42674), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt16(32563), ); - expect(res).to.equal(42687); + expect(res).to.equal(32575); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 2 (9, 13)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 2 (10, 14)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(13), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(14), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 3 (13, 13)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 3 (14, 14)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(13), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt16(14), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 4 (13, 9)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 4 (14, 10)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(9), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt16(10), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "xor" overload (euint4, euint16) => euint16 test 1 (10, 28735)', async function () { + it('test operator "xor" overload (euint4, euint16) => euint16 test 1 (13, 19075)', async function () { const res = await this.contract1.xor_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(28735), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(19075), ); - expect(res).to.equal(28725); + expect(res).to.equal(19086); }); - it('test operator "xor" overload (euint4, euint16) => euint16 test 2 (6, 10)', async function () { + it('test operator "xor" overload (euint4, euint16) => euint16 test 2 (9, 13)', async function () { const res = await this.contract1.xor_euint4_euint16( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(13), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint4, euint16) => euint16 test 3 (10, 10)', async function () { + it('test operator "xor" overload (euint4, euint16) => euint16 test 3 (13, 13)', async function () { const res = await this.contract1.xor_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(13), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint4, euint16) => euint16 test 4 (10, 6)', async function () { + it('test operator "xor" overload (euint4, euint16) => euint16 test 4 (13, 9)', async function () { const res = await this.contract1.xor_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(6), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(9), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 1 (10, 50800)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 1 (5, 1690)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(50800), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(1690), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 2 (6, 10)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 3 (10, 10)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 4 (10, 6)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint16) => ebool test 1 (1, 28941)', async function () { + it('test operator "ne" overload (euint4, euint16) => ebool test 1 (7, 4713)', async function () { const res = await this.contract1.ne_euint4_euint16( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(28941), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt16(4713), ); expect(res).to.equal(true); }); @@ -1204,106 +1204,106 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 1 (2, 31122)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 1 (9, 12663)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt16(31122), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(12663), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(9), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(5), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 1 (7, 37404)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 1 (9, 35570)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt16(37404), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(35570), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(5), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 1 (11, 61718)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 1 (10, 44221)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt16(61718), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(44221), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 2 (7, 11)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 2 (6, 10)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt16(11), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 3 (11, 11)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 3 (10, 10)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt16(11), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 4 (11, 7)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 4 (10, 6)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt16(7), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(6), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint16) => ebool test 1 (8, 46388)', async function () { + it('test operator "lt" overload (euint4, euint16) => ebool test 1 (4, 61168)', async function () { const res = await this.contract1.lt_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(46388), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(61168), ); expect(res).to.equal(true); }); @@ -1332,114 +1332,114 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 1 (14, 38985)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 1 (1, 60443)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt16(38985), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(60443), ); - expect(res).to.equal(14); + expect(res).to.equal(1); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 2 (10, 14)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(14), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(10); + expect(res).to.equal(4); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 3 (14, 14)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt16(14), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 4 (14, 10)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(10); + expect(res).to.equal(4); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 1 (13, 4074)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 1 (11, 33061)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(4074), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt16(33061), ); - expect(res).to.equal(4074); + expect(res).to.equal(33061); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 2 (9, 13)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 2 (7, 11)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(13), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt16(11), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 3 (13, 13)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 3 (11, 11)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(13), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt16(11), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 4 (13, 9)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 4 (11, 7)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(9), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt16(7), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "add" overload (euint4, euint32) => euint32 test 1 (1, 14)', async function () { + it('test operator "add" overload (euint4, euint32) => euint32 test 1 (1, 7)', async function () { const res = await this.contract1.add_euint4_euint32( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(14), + this.instances1.alice.encrypt32(7), ); - expect(res).to.equal(15); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint32) => euint32 test 2 (3, 5)', async function () { + it('test operator "add" overload (euint4, euint32) => euint32 test 2 (5, 9)', async function () { const res = await this.contract1.add_euint4_euint32( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt32(5), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(9), ); - expect(res).to.equal(8); + expect(res).to.equal(14n); }); - it('test operator "add" overload (euint4, euint32) => euint32 test 3 (5, 5)', async function () { + it('test operator "add" overload (euint4, euint32) => euint32 test 3 (4, 4)', async function () { const res = await this.contract1.add_euint4_euint32( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt32(5), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(10); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint32) => euint32 test 4 (5, 3)', async function () { + it('test operator "add" overload (euint4, euint32) => euint32 test 4 (9, 5)', async function () { const res = await this.contract1.add_euint4_euint32( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt32(3), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(5), ); - expect(res).to.equal(8); + expect(res).to.equal(14n); }); - it('test operator "sub" overload (euint4, euint32) => euint32 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint4, euint32) => euint32 test 1 (10, 10)', async function () { const res = await this.contract1.sub_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(10), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, euint32) => euint32 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint4, euint32) => euint32 test 2 (10, 6)', async function () { const res = await this.contract1.sub_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(6), ); expect(res).to.equal(4); }); @@ -1449,165 +1449,165 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(1), this.instances1.alice.encrypt32(15), ); - expect(res).to.equal(15); + expect(res).to.equal(15n); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 2 (2, 3)', async function () { const res = await this.contract1.mul_euint4_euint32( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt32(5), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt32(3), ); - expect(res).to.equal(15); + expect(res).to.equal(6n); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 3 (2, 2)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 3 (3, 3)', async function () { const res = await this.contract1.mul_euint4_euint32( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt32(2), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt32(3), ); - expect(res).to.equal(4); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 4 (3, 2)', async function () { const res = await this.contract1.mul_euint4_euint32( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt32(3), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt32(2), ); - expect(res).to.equal(15); + expect(res).to.equal(6n); }); - it('test operator "and" overload (euint4, euint32) => euint32 test 1 (13, 34206859)', async function () { + it('test operator "and" overload (euint4, euint32) => euint32 test 1 (1, 245829777)', async function () { const res = await this.contract1.and_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(34206859), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(245829777), ); - expect(res).to.equal(9); + expect(res).to.equal(1); }); - it('test operator "and" overload (euint4, euint32) => euint32 test 2 (9, 13)', async function () { + it('test operator "and" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract1.and_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(13), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(9); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint4, euint32) => euint32 test 3 (13, 13)', async function () { + it('test operator "and" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract1.and_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(13), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint4, euint32) => euint32 test 4 (13, 9)', async function () { + it('test operator "and" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract1.and_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(9); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 1 (13, 65951556)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 1 (14, 14664100)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(65951556), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt32(14664100), ); - expect(res).to.equal(65951565); + expect(res).to.equal(14664110); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 2 (9, 13)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 2 (10, 14)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(13), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(14), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 3 (13, 13)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 3 (14, 14)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(13), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt32(14), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 4 (13, 9)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 4 (14, 10)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(9), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt32(10), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "xor" overload (euint4, euint32) => euint32 test 1 (10, 89478471)', async function () { + it('test operator "xor" overload (euint4, euint32) => euint32 test 1 (13, 56718435)', async function () { const res = await this.contract1.xor_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(89478471), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(56718435), ); - expect(res).to.equal(89478477); + expect(res).to.equal(56718446); }); - it('test operator "xor" overload (euint4, euint32) => euint32 test 2 (6, 10)', async function () { + it('test operator "xor" overload (euint4, euint32) => euint32 test 2 (9, 13)', async function () { const res = await this.contract1.xor_euint4_euint32( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt32(10), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(13), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint4, euint32) => euint32 test 3 (10, 10)', async function () { + it('test operator "xor" overload (euint4, euint32) => euint32 test 3 (13, 13)', async function () { const res = await this.contract1.xor_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(10), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(13), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint4, euint32) => euint32 test 4 (10, 6)', async function () { + it('test operator "xor" overload (euint4, euint32) => euint32 test 4 (13, 9)', async function () { const res = await this.contract1.xor_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(6), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(9), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 1 (10, 253749712)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 1 (5, 67800295)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(253749712), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(67800295), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 2 (6, 10)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt32(10), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 3 (10, 10)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 4 (10, 6)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint32) => ebool test 1 (1, 54078590)', async function () { + it('test operator "ne" overload (euint4, euint32) => ebool test 1 (7, 24833418)', async function () { const res = await this.contract1.ne_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(54078590), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt32(24833418), ); expect(res).to.equal(true); }); @@ -1636,106 +1636,106 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 1 (2, 94282146)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 1 (9, 36890948)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt32(94282146), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(36890948), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(9), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(5), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 1 (7, 78307322)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 1 (9, 89558247)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt32(78307322), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(89558247), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(5), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 1 (11, 204607742)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 1 (10, 3145467)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt32(204607742), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(3145467), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 2 (7, 11)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 2 (6, 10)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt32(11), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 3 (11, 11)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 3 (10, 10)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt32(11), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 4 (11, 7)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 4 (10, 6)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt32(7), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(6), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint32) => ebool test 1 (8, 223282425)', async function () { + it('test operator "lt" overload (euint4, euint32) => ebool test 1 (4, 187774996)', async function () { const res = await this.contract1.lt_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(223282425), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(187774996), ); expect(res).to.equal(true); }); @@ -1764,282 +1764,282 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint32) => euint32 test 1 (14, 38819587)', async function () { + it('test operator "min" overload (euint4, euint32) => euint32 test 1 (1, 66587261)', async function () { const res = await this.contract1.min_euint4_euint32( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt32(38819587), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(66587261), ); - expect(res).to.equal(14); + expect(res).to.equal(1); }); - it('test operator "min" overload (euint4, euint32) => euint32 test 2 (10, 14)', async function () { + it('test operator "min" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract1.min_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(14), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(10); + expect(res).to.equal(4); }); - it('test operator "min" overload (euint4, euint32) => euint32 test 3 (14, 14)', async function () { + it('test operator "min" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract1.min_euint4_euint32( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt32(14), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint4, euint32) => euint32 test 4 (14, 10)', async function () { + it('test operator "min" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract1.min_euint4_euint32( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt32(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(10); + expect(res).to.equal(4); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 1 (13, 183893221)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 1 (11, 9483424)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(183893221), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(9483424), ); - expect(res).to.equal(183893221); + expect(res).to.equal(9483424); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 2 (9, 13)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 2 (7, 11)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(13), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt32(11), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 3 (13, 13)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 3 (11, 11)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(13), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(11), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 4 (13, 9)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 4 (11, 7)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(9), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(7), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 1 (1, 7)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 1 (1, 9)', async function () { const res = await this.contract1.add_euint4_euint64( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(7), + this.instances1.alice.encrypt64(9), ); - expect(res).to.equal(8); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 2 (3, 5)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 2 (5, 9)', async function () { const res = await this.contract1.add_euint4_euint64( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt64(5), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt64(9), ); - expect(res).to.equal(8); + expect(res).to.equal(14n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 3 (5, 5)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 3 (4, 4)', async function () { const res = await this.contract1.add_euint4_euint64( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt64(5), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(10); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 4 (5, 3)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 4 (9, 5)', async function () { const res = await this.contract1.add_euint4_euint64( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt64(3), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(5), ); - expect(res).to.equal(8); + expect(res).to.equal(14n); }); - it('test operator "sub" overload (euint4, euint64) => euint64 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint4, euint64) => euint64 test 1 (10, 10)', async function () { const res = await this.contract1.sub_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(10), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, euint64) => euint64 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint4, euint64) => euint64 test 2 (10, 6)', async function () { const res = await this.contract1.sub_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(6), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 1 (1, 13)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 1 (1, 15)', async function () { const res = await this.contract1.mul_euint4_euint64( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(13), + this.instances1.alice.encrypt64(15), ); - expect(res).to.equal(13); + expect(res).to.equal(15n); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 2 (2, 3)', async function () { const res = await this.contract1.mul_euint4_euint64( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt64(5), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt64(3), ); - expect(res).to.equal(15); + expect(res).to.equal(6n); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 3 (2, 2)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 3 (3, 3)', async function () { const res = await this.contract1.mul_euint4_euint64( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt64(2), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt64(3), ); - expect(res).to.equal(4); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 4 (3, 2)', async function () { const res = await this.contract1.mul_euint4_euint64( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt64(3), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt64(2), ); - expect(res).to.equal(15); + expect(res).to.equal(6n); }); - it('test operator "and" overload (euint4, euint64) => euint64 test 1 (13, 94000820)', async function () { + it('test operator "and" overload (euint4, euint64) => euint64 test 1 (1, 113854917)', async function () { const res = await this.contract1.and_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(94000820), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(113854917), ); - expect(res).to.equal(4); + expect(res).to.equal(1); }); - it('test operator "and" overload (euint4, euint64) => euint64 test 2 (9, 13)', async function () { + it('test operator "and" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract1.and_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(13), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(9); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint4, euint64) => euint64 test 3 (13, 13)', async function () { + it('test operator "and" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract1.and_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(13), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint4, euint64) => euint64 test 4 (13, 9)', async function () { + it('test operator "and" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract1.and_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(9); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 1 (13, 265617259)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 1 (14, 170899961)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(265617259), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt64(170899961), ); - expect(res).to.equal(265617263); + expect(res).to.equal(170899967); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 2 (9, 13)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 2 (10, 14)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(13), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(14), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 3 (13, 13)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 3 (14, 14)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(13), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt64(14), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 4 (13, 9)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 4 (14, 10)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(9), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt64(10), ); - expect(res).to.equal(13); + expect(res).to.equal(14); }); - it('test operator "xor" overload (euint4, euint64) => euint64 test 1 (10, 241197687)', async function () { + it('test operator "xor" overload (euint4, euint64) => euint64 test 1 (13, 34180683)', async function () { const res = await this.contract1.xor_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(241197687), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(34180683), ); - expect(res).to.equal(241197693); + expect(res).to.equal(34180678); }); - it('test operator "xor" overload (euint4, euint64) => euint64 test 2 (6, 10)', async function () { + it('test operator "xor" overload (euint4, euint64) => euint64 test 2 (9, 13)', async function () { const res = await this.contract1.xor_euint4_euint64( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(13), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint4, euint64) => euint64 test 3 (10, 10)', async function () { + it('test operator "xor" overload (euint4, euint64) => euint64 test 3 (13, 13)', async function () { const res = await this.contract1.xor_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(13), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint4, euint64) => euint64 test 4 (10, 6)', async function () { + it('test operator "xor" overload (euint4, euint64) => euint64 test 4 (13, 9)', async function () { const res = await this.contract1.xor_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(6), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt64(9), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 1 (10, 97288685)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 1 (5, 143961113)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(97288685), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt64(143961113), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 2 (6, 10)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 3 (10, 10)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 4 (10, 6)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint64) => ebool test 1 (1, 146059192)', async function () { + it('test operator "ne" overload (euint4, euint64) => ebool test 1 (7, 198024790)', async function () { const res = await this.contract1.ne_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(146059192), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt64(198024790), ); expect(res).to.equal(true); }); @@ -2068,106 +2068,106 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 1 (2, 125028010)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 1 (9, 16491235)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt64(125028010), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(16491235), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt64(9), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(5), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint64) => ebool test 1 (7, 25447544)', async function () { + it('test operator "gt" overload (euint4, euint64) => ebool test 1 (9, 53485181)', async function () { const res = await this.contract1.gt_euint4_euint64( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt64(25447544), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(53485181), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint4, euint64) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.gt_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt64(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint4, euint64) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.gt_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint4, euint64) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.gt_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt64(5), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 1 (11, 54749600)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 1 (10, 167407557)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt64(54749600), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(167407557), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 2 (7, 11)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 2 (6, 10)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt64(11), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 3 (11, 11)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 3 (10, 10)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt64(11), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 4 (11, 7)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 4 (10, 6)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt64(7), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(6), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint64) => ebool test 1 (8, 103658240)', async function () { + it('test operator "lt" overload (euint4, euint64) => ebool test 1 (4, 169419678)', async function () { const res = await this.contract1.lt_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(103658240), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(169419678), ); expect(res).to.equal(true); }); @@ -2196,117 +2196,117 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint64) => euint64 test 1 (14, 249375209)', async function () { + it('test operator "min" overload (euint4, euint64) => euint64 test 1 (1, 243162021)', async function () { const res = await this.contract1.min_euint4_euint64( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt64(249375209), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(243162021), ); - expect(res).to.equal(14); + expect(res).to.equal(1); }); - it('test operator "min" overload (euint4, euint64) => euint64 test 2 (10, 14)', async function () { + it('test operator "min" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract1.min_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(14), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(10); + expect(res).to.equal(4); }); - it('test operator "min" overload (euint4, euint64) => euint64 test 3 (14, 14)', async function () { + it('test operator "min" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract1.min_euint4_euint64( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt64(14), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8); }); - it('test operator "min" overload (euint4, euint64) => euint64 test 4 (14, 10)', async function () { + it('test operator "min" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract1.min_euint4_euint64( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(10); + expect(res).to.equal(4); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 1 (13, 66326451)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 1 (11, 268368365)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(66326451), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(268368365), ); - expect(res).to.equal(66326451); + expect(res).to.equal(268368365); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 2 (9, 13)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 2 (7, 11)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(13), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt64(11), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 3 (13, 13)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 3 (11, 11)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(13), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(11), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 4 (13, 9)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 4 (11, 7)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(9), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(7), ); - expect(res).to.equal(13); + expect(res).to.equal(11); }); - it('test operator "add" overload (euint4, uint8) => euint4 test 1 (5, 3)', async function () { - const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(5), 3); - expect(res).to.equal(8); + it('test operator "add" overload (euint4, uint8) => euint4 test 1 (4, 4)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(4), 4); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, uint8) => euint4 test 2 (3, 5)', async function () { - const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(3), 5); - expect(res).to.equal(8); + it('test operator "add" overload (euint4, uint8) => euint4 test 2 (5, 9)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(5), 9); + expect(res).to.equal(14n); }); - it('test operator "add" overload (euint4, uint8) => euint4 test 3 (5, 5)', async function () { - const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(5), 5); - expect(res).to.equal(10); + it('test operator "add" overload (euint4, uint8) => euint4 test 3 (4, 4)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(4), 4); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, uint8) => euint4 test 4 (5, 3)', async function () { - const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(5), 3); - expect(res).to.equal(8); + it('test operator "add" overload (euint4, uint8) => euint4 test 4 (9, 5)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(9), 5); + expect(res).to.equal(14n); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 1 (6, 5)', async function () { - const res = await this.contract1.add_uint8_euint4(6, this.instances1.alice.encrypt4(5)); - expect(res).to.equal(11); + it('test operator "add" overload (uint8, euint4) => euint4 test 1 (5, 7)', async function () { + const res = await this.contract1.add_uint8_euint4(5, this.instances1.alice.encrypt4(7)); + expect(res).to.equal(12n); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 2 (3, 5)', async function () { - const res = await this.contract1.add_uint8_euint4(3, this.instances1.alice.encrypt4(5)); - expect(res).to.equal(8); + it('test operator "add" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.add_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(12n); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 3 (5, 5)', async function () { - const res = await this.contract1.add_uint8_euint4(5, this.instances1.alice.encrypt4(5)); - expect(res).to.equal(10); + it('test operator "add" overload (uint8, euint4) => euint4 test 3 (4, 4)', async function () { + const res = await this.contract1.add_uint8_euint4(4, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(8n); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 4 (5, 3)', async function () { - const res = await this.contract1.add_uint8_euint4(5, this.instances1.alice.encrypt4(3)); - expect(res).to.equal(8); + it('test operator "add" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.add_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint4, uint8) => euint4 test 1 (8, 8)', async function () { - const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + it('test operator "sub" overload (euint4, uint8) => euint4 test 1 (10, 10)', async function () { + const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(10), 10); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint4, uint8) => euint4 test 2 (8, 4)', async function () { - const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + it('test operator "sub" overload (euint4, uint8) => euint4 test 2 (10, 6)', async function () { + const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(10), 6); expect(res).to.equal(4); }); @@ -2320,69 +2320,69 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 1 (10, 1)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(10), 1); - expect(res).to.equal(10); + it('test operator "mul" overload (euint4, uint8) => euint4 test 1 (7, 2)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(7), 2); + expect(res).to.equal(14n); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 2 (3, 5)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(3), 5); - expect(res).to.equal(15); + it('test operator "mul" overload (euint4, uint8) => euint4 test 2 (2, 3)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(2), 3); + expect(res).to.equal(6n); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 3 (2, 2)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(2), 2); - expect(res).to.equal(4); + it('test operator "mul" overload (euint4, uint8) => euint4 test 3 (3, 3)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(3), 3); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 4 (5, 3)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(5), 3); - expect(res).to.equal(15); + it('test operator "mul" overload (euint4, uint8) => euint4 test 4 (3, 2)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(3), 2); + expect(res).to.equal(6n); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 1 (2, 2)', async function () { - const res = await this.contract1.mul_uint8_euint4(2, this.instances1.alice.encrypt4(2)); - expect(res).to.equal(4); + it('test operator "mul" overload (uint8, euint4) => euint4 test 1 (1, 3)', async function () { + const res = await this.contract1.mul_uint8_euint4(1, this.instances1.alice.encrypt4(3)); + expect(res).to.equal(3n); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 2 (2, 4)', async function () { - const res = await this.contract1.mul_uint8_euint4(2, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(8); + it('test operator "mul" overload (uint8, euint4) => euint4 test 2 (2, 3)', async function () { + const res = await this.contract1.mul_uint8_euint4(2, this.instances1.alice.encrypt4(3)); + expect(res).to.equal(6n); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 3 (2, 2)', async function () { - const res = await this.contract1.mul_uint8_euint4(2, this.instances1.alice.encrypt4(2)); - expect(res).to.equal(4); + it('test operator "mul" overload (uint8, euint4) => euint4 test 3 (3, 3)', async function () { + const res = await this.contract1.mul_uint8_euint4(3, this.instances1.alice.encrypt4(3)); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 4 (4, 2)', async function () { - const res = await this.contract1.mul_uint8_euint4(4, this.instances1.alice.encrypt4(2)); - expect(res).to.equal(8); + it('test operator "mul" overload (uint8, euint4) => euint4 test 4 (3, 2)', async function () { + const res = await this.contract1.mul_uint8_euint4(3, this.instances1.alice.encrypt4(2)); + expect(res).to.equal(6n); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 1 (14, 2)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(14), 2); - expect(res).to.equal(7); + it('test operator "div" overload (euint4, uint8) => euint4 test 1 (11, 8)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(11), 8); + expect(res).to.equal(1); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 2 (10, 14)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(10), 14); + it('test operator "div" overload (euint4, uint8) => euint4 test 2 (7, 11)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(7), 11); expect(res).to.equal(0); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 3 (14, 14)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(14), 14); + it('test operator "div" overload (euint4, uint8) => euint4 test 3 (11, 11)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(11), 11); expect(res).to.equal(1); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 4 (14, 10)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(14), 10); + it('test operator "div" overload (euint4, uint8) => euint4 test 4 (11, 7)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(11), 7); expect(res).to.equal(1); }); - it('test operator "rem" overload (euint4, uint8) => euint4 test 1 (3, 5)', async function () { - const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(3), 5); - expect(res).to.equal(3); + it('test operator "rem" overload (euint4, uint8) => euint4 test 1 (1, 12)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(1), 12); + expect(res).to.equal(1); }); it('test operator "rem" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { @@ -2400,48 +2400,48 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 1 (10, 10)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(10), 10); - expect(res).to.equal(true); + it('test operator "eq" overload (euint4, uint8) => ebool test 1 (5, 7)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(5), 7); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 2 (6, 10)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(6), 10); + it('test operator "eq" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(4), 8); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 3 (10, 10)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(10), 10); + it('test operator "eq" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(8), 8); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 4 (10, 6)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(10), 6); + it('test operator "eq" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(8), 4); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint4) => ebool test 1 (8, 1)', async function () { - const res = await this.contract1.eq_uint8_euint4(8, this.instances1.alice.encrypt4(1)); + it('test operator "eq" overload (uint8, euint4) => ebool test 1 (6, 11)', async function () { + const res = await this.contract1.eq_uint8_euint4(6, this.instances1.alice.encrypt4(11)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { - const res = await this.contract1.eq_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + it('test operator "eq" overload (uint8, euint4) => ebool test 2 (7, 11)', async function () { + const res = await this.contract1.eq_uint8_euint4(7, this.instances1.alice.encrypt4(11)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { - const res = await this.contract1.eq_uint8_euint4(8, this.instances1.alice.encrypt4(8)); + it('test operator "eq" overload (uint8, euint4) => ebool test 3 (11, 11)', async function () { + const res = await this.contract1.eq_uint8_euint4(11, this.instances1.alice.encrypt4(11)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { - const res = await this.contract1.eq_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + it('test operator "eq" overload (uint8, euint4) => ebool test 4 (11, 7)', async function () { + const res = await this.contract1.eq_uint8_euint4(11, this.instances1.alice.encrypt4(7)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, uint8) => ebool test 1 (1, 10)', async function () { - const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(1), 10); + it('test operator "ne" overload (euint4, uint8) => ebool test 1 (7, 5)', async function () { + const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(7), 5); expect(res).to.equal(true); }); @@ -2460,8 +2460,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint4) => ebool test 1 (7, 13)', async function () { - const res = await this.contract1.ne_uint8_euint4(7, this.instances1.alice.encrypt4(13)); + it('test operator "ne" overload (uint8, euint4) => ebool test 1 (4, 13)', async function () { + const res = await this.contract1.ne_uint8_euint4(4, this.instances1.alice.encrypt4(13)); expect(res).to.equal(true); }); @@ -2480,28 +2480,28 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 1 (2, 3)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(2), 3); - expect(res).to.equal(false); + it('test operator "ge" overload (euint4, uint8) => ebool test 1 (9, 2)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(9), 2); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + it('test operator "ge" overload (euint4, uint8) => ebool test 2 (5, 9)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(5), 9); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + it('test operator "ge" overload (euint4, uint8) => ebool test 3 (9, 9)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(9), 9); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + it('test operator "ge" overload (euint4, uint8) => ebool test 4 (9, 5)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(9), 5); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint4) => ebool test 1 (2, 1)', async function () { - const res = await this.contract1.ge_uint8_euint4(2, this.instances1.alice.encrypt4(1)); + it('test operator "ge" overload (uint8, euint4) => ebool test 1 (8, 1)', async function () { + const res = await this.contract1.ge_uint8_euint4(8, this.instances1.alice.encrypt4(1)); expect(res).to.equal(true); }); @@ -2520,88 +2520,88 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, uint8) => ebool test 1 (7, 1)', async function () { - const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(7), 1); - expect(res).to.equal(true); + it('test operator "gt" overload (euint4, uint8) => ebool test 1 (9, 9)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(9), 9); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + it('test operator "gt" overload (euint4, uint8) => ebool test 2 (5, 9)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(5), 9); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + it('test operator "gt" overload (euint4, uint8) => ebool test 3 (9, 9)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(9), 9); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + it('test operator "gt" overload (euint4, uint8) => ebool test 4 (9, 5)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(9), 5); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 1 (3, 13)', async function () { - const res = await this.contract1.gt_uint8_euint4(3, this.instances1.alice.encrypt4(13)); + it('test operator "gt" overload (uint8, euint4) => ebool test 1 (1, 1)', async function () { + const res = await this.contract1.gt_uint8_euint4(1, this.instances1.alice.encrypt4(1)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 2 (9, 13)', async function () { - const res = await this.contract1.gt_uint8_euint4(9, this.instances1.alice.encrypt4(13)); + it('test operator "gt" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.gt_uint8_euint4(4, this.instances1.alice.encrypt4(8)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 3 (13, 13)', async function () { - const res = await this.contract1.gt_uint8_euint4(13, this.instances1.alice.encrypt4(13)); + it('test operator "gt" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.gt_uint8_euint4(8, this.instances1.alice.encrypt4(8)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 4 (13, 9)', async function () { - const res = await this.contract1.gt_uint8_euint4(13, this.instances1.alice.encrypt4(9)); + it('test operator "gt" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.gt_uint8_euint4(8, this.instances1.alice.encrypt4(4)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 1 (11, 11)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(11), 11); - expect(res).to.equal(true); + it('test operator "le" overload (euint4, uint8) => ebool test 1 (10, 7)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(10), 7); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint4, uint8) => ebool test 2 (7, 11)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(7), 11); + it('test operator "le" overload (euint4, uint8) => ebool test 2 (6, 10)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(6), 10); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 3 (11, 11)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(11), 11); + it('test operator "le" overload (euint4, uint8) => ebool test 3 (10, 10)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(10), 10); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 4 (11, 7)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(11), 7); + it('test operator "le" overload (euint4, uint8) => ebool test 4 (10, 6)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(10), 6); expect(res).to.equal(false); }); - it('test operator "le" overload (uint8, euint4) => ebool test 1 (7, 14)', async function () { - const res = await this.contract1.le_uint8_euint4(7, this.instances1.alice.encrypt4(14)); + it('test operator "le" overload (uint8, euint4) => ebool test 1 (10, 11)', async function () { + const res = await this.contract1.le_uint8_euint4(10, this.instances1.alice.encrypt4(11)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint4) => ebool test 2 (10, 14)', async function () { - const res = await this.contract1.le_uint8_euint4(10, this.instances1.alice.encrypt4(14)); + it('test operator "le" overload (uint8, euint4) => ebool test 2 (7, 11)', async function () { + const res = await this.contract1.le_uint8_euint4(7, this.instances1.alice.encrypt4(11)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint4) => ebool test 3 (14, 14)', async function () { - const res = await this.contract1.le_uint8_euint4(14, this.instances1.alice.encrypt4(14)); + it('test operator "le" overload (uint8, euint4) => ebool test 3 (11, 11)', async function () { + const res = await this.contract1.le_uint8_euint4(11, this.instances1.alice.encrypt4(11)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint4) => ebool test 4 (14, 10)', async function () { - const res = await this.contract1.le_uint8_euint4(14, this.instances1.alice.encrypt4(10)); + it('test operator "le" overload (uint8, euint4) => ebool test 4 (11, 7)', async function () { + const res = await this.contract1.le_uint8_euint4(11, this.instances1.alice.encrypt4(7)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, uint8) => ebool test 1 (8, 10)', async function () { - const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(8), 10); + it('test operator "lt" overload (euint4, uint8) => ebool test 1 (4, 14)', async function () { + const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(4), 14); expect(res).to.equal(true); }); @@ -2620,136 +2620,136 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint4) => ebool test 1 (5, 1)', async function () { - const res = await this.contract1.lt_uint8_euint4(5, this.instances1.alice.encrypt4(1)); - expect(res).to.equal(false); + it('test operator "lt" overload (uint8, euint4) => ebool test 1 (6, 14)', async function () { + const res = await this.contract1.lt_uint8_euint4(6, this.instances1.alice.encrypt4(14)); + expect(res).to.equal(true); }); - it('test operator "lt" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { - const res = await this.contract1.lt_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + it('test operator "lt" overload (uint8, euint4) => ebool test 2 (10, 14)', async function () { + const res = await this.contract1.lt_uint8_euint4(10, this.instances1.alice.encrypt4(14)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { - const res = await this.contract1.lt_uint8_euint4(8, this.instances1.alice.encrypt4(8)); + it('test operator "lt" overload (uint8, euint4) => ebool test 3 (14, 14)', async function () { + const res = await this.contract1.lt_uint8_euint4(14, this.instances1.alice.encrypt4(14)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { - const res = await this.contract1.lt_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + it('test operator "lt" overload (uint8, euint4) => ebool test 4 (14, 10)', async function () { + const res = await this.contract1.lt_uint8_euint4(14, this.instances1.alice.encrypt4(10)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 1 (14, 9)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(14), 9); - expect(res).to.equal(9); - }); - - it('test operator "min" overload (euint4, uint8) => euint4 test 2 (10, 14)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(10), 14); - expect(res).to.equal(10); + it('test operator "min" overload (euint4, uint8) => euint4 test 1 (1, 3)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(1), 3); + expect(res).to.equal(1); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 3 (14, 14)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(14), 14); - expect(res).to.equal(14); + it('test operator "min" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + expect(res).to.equal(4); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 4 (14, 10)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(14), 10); - expect(res).to.equal(10); + it('test operator "min" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + expect(res).to.equal(8); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 1 (5, 8)', async function () { - const res = await this.contract1.min_uint8_euint4(5, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(5); + it('test operator "min" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + expect(res).to.equal(4); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { - const res = await this.contract1.min_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + it('test operator "min" overload (uint8, euint4) => euint4 test 1 (4, 9)', async function () { + const res = await this.contract1.min_uint8_euint4(4, this.instances1.alice.encrypt4(9)); expect(res).to.equal(4); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 3 (8, 8)', async function () { - const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(8); + it('test operator "min" overload (uint8, euint4) => euint4 test 2 (5, 9)', async function () { + const res = await this.contract1.min_uint8_euint4(5, this.instances1.alice.encrypt4(9)); + expect(res).to.equal(5); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { - const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(4); + it('test operator "min" overload (uint8, euint4) => euint4 test 3 (9, 9)', async function () { + const res = await this.contract1.min_uint8_euint4(9, this.instances1.alice.encrypt4(9)); + expect(res).to.equal(9); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 1 (13, 8)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(13), 8); - expect(res).to.equal(13); + it('test operator "min" overload (uint8, euint4) => euint4 test 4 (9, 5)', async function () { + const res = await this.contract1.min_uint8_euint4(9, this.instances1.alice.encrypt4(5)); + expect(res).to.equal(5); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 2 (9, 13)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(9), 13); - expect(res).to.equal(13); + it('test operator "max" overload (euint4, uint8) => euint4 test 1 (11, 8)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(11), 8); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 3 (13, 13)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(13), 13); - expect(res).to.equal(13); + it('test operator "max" overload (euint4, uint8) => euint4 test 2 (7, 11)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(7), 11); + expect(res).to.equal(11); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 4 (13, 9)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(13), 9); - expect(res).to.equal(13); + it('test operator "max" overload (euint4, uint8) => euint4 test 3 (11, 11)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(11), 11); + expect(res).to.equal(11); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 1 (6, 11)', async function () { - const res = await this.contract1.max_uint8_euint4(6, this.instances1.alice.encrypt4(11)); + it('test operator "max" overload (euint4, uint8) => euint4 test 4 (11, 7)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(11), 7); expect(res).to.equal(11); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 2 (7, 11)', async function () { - const res = await this.contract1.max_uint8_euint4(7, this.instances1.alice.encrypt4(11)); - expect(res).to.equal(11); + it('test operator "max" overload (uint8, euint4) => euint4 test 1 (9, 5)', async function () { + const res = await this.contract1.max_uint8_euint4(9, this.instances1.alice.encrypt4(5)); + expect(res).to.equal(9); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 3 (11, 11)', async function () { - const res = await this.contract1.max_uint8_euint4(11, this.instances1.alice.encrypt4(11)); - expect(res).to.equal(11); + it('test operator "max" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.max_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(8); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 4 (11, 7)', async function () { - const res = await this.contract1.max_uint8_euint4(11, this.instances1.alice.encrypt4(7)); - expect(res).to.equal(11); + it('test operator "max" overload (uint8, euint4) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.max_uint8_euint4(8, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(8); + }); + + it('test operator "max" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.max_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 1 (11, 1)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 1 (9, 1)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(11), + this.instances1.alice.encrypt8(9), this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(12); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 2 (3, 5)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 3 (5, 5)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 3 (4, 4)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(5), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(10); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 4 (5, 3)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(5), - this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(8); + expect(res).to.equal(12n); }); it('test operator "sub" overload (euint8, euint4) => euint8 test 1 (8, 8)', async function () { @@ -2768,108 +2768,108 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 1 (5, 1)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 1 (8, 1)', async function () { const res = await this.contract1.mul_euint8_euint4( - this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt8(8), this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(5); + expect(res).to.equal(8n); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 2 (2, 3)', async function () { const res = await this.contract1.mul_euint8_euint4( this.instances1.alice.encrypt8(2), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(8); + expect(res).to.equal(6n); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 3 (2, 2)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 3 (3, 3)', async function () { const res = await this.contract1.mul_euint8_euint4( - this.instances1.alice.encrypt8(2), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt8(3), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(4); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 4 (3, 2)', async function () { const res = await this.contract1.mul_euint8_euint4( - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt8(3), this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(8); + expect(res).to.equal(6n); }); - it('test operator "and" overload (euint8, euint4) => euint8 test 1 (79, 9)', async function () { + it('test operator "and" overload (euint8, euint4) => euint8 test 1 (245, 4)', async function () { const res = await this.contract1.and_euint8_euint4( - this.instances1.alice.encrypt8(79), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(245), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(9); + expect(res).to.equal(4); }); - it('test operator "and" overload (euint8, euint4) => euint8 test 2 (5, 9)', async function () { + it('test operator "and" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { const res = await this.contract1.and_euint8_euint4( - this.instances1.alice.encrypt8(5), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(1); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint8, euint4) => euint8 test 3 (9, 9)', async function () { + it('test operator "and" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { const res = await this.contract1.and_euint8_euint4( - this.instances1.alice.encrypt8(9), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(9); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint8, euint4) => euint8 test 4 (9, 5)', async function () { + it('test operator "and" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { const res = await this.contract1.and_euint8_euint4( - this.instances1.alice.encrypt8(9), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(1); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint8, euint4) => euint8 test 1 (120, 12)', async function () { + it('test operator "or" overload (euint8, euint4) => euint8 test 1 (96, 6)', async function () { const res = await this.contract1.or_euint8_euint4( - this.instances1.alice.encrypt8(120), - this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(96), + this.instances1.alice.encrypt4(6), ); - expect(res).to.equal(124); + expect(res).to.equal(102); }); - it('test operator "or" overload (euint8, euint4) => euint8 test 2 (8, 12)', async function () { + it('test operator "or" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { const res = await this.contract1.or_euint8_euint4( - this.instances1.alice.encrypt8(8), - this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(12); }); - it('test operator "or" overload (euint8, euint4) => euint8 test 3 (12, 12)', async function () { + it('test operator "or" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { const res = await this.contract1.or_euint8_euint4( - this.instances1.alice.encrypt8(12), - this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(8); }); - it('test operator "or" overload (euint8, euint4) => euint8 test 4 (12, 8)', async function () { + it('test operator "or" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { const res = await this.contract1.or_euint8_euint4( - this.instances1.alice.encrypt8(12), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(4), ); expect(res).to.equal(12); }); - it('test operator "xor" overload (euint8, euint4) => euint8 test 1 (44, 8)', async function () { + it('test operator "xor" overload (euint8, euint4) => euint8 test 1 (5, 3)', async function () { const res = await this.contract1.xor_euint8_euint4( - this.instances1.alice.encrypt8(44), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(36); + expect(res).to.equal(6); }); it('test operator "xor" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { @@ -2896,41 +2896,41 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "eq" overload (euint8, euint4) => ebool test 1 (129, 1)', async function () { + it('test operator "eq" overload (euint8, euint4) => ebool test 1 (152, 11)', async function () { const res = await this.contract2.eq_euint8_euint4( - this.instances2.alice.encrypt8(129), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt8(152), + this.instances2.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint8, euint4) => ebool test 2 (7, 11)', async function () { const res = await this.contract2.eq_euint8_euint4( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint8, euint4) => ebool test 3 (11, 11)', async function () { const res = await this.contract2.eq_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint8, euint4) => ebool test 4 (11, 7)', async function () { const res = await this.contract2.eq_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt4(7), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint4) => ebool test 1 (63, 13)', async function () { + it('test operator "ne" overload (euint8, euint4) => ebool test 1 (106, 13)', async function () { const res = await this.contract2.ne_euint8_euint4( - this.instances2.alice.encrypt8(63), + this.instances2.alice.encrypt8(106), this.instances2.alice.encrypt4(13), ); expect(res).to.equal(true); @@ -2960,9 +2960,9 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint4) => ebool test 1 (3, 1)', async function () { + it('test operator "ge" overload (euint8, euint4) => ebool test 1 (130, 1)', async function () { const res = await this.contract2.ge_euint8_euint4( - this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt8(130), this.instances2.alice.encrypt4(1), ); expect(res).to.equal(true); @@ -2992,220 +2992,220 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 1 (211, 13)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 1 (130, 1)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(211), - this.instances2.alice.encrypt4(13), + this.instances2.alice.encrypt8(130), + this.instances2.alice.encrypt4(1), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 2 (9, 13)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt4(13), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 3 (13, 13)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(13), - this.instances2.alice.encrypt4(13), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 4 (13, 9)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(13), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 1 (157, 14)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 1 (207, 11)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(157), - this.instances2.alice.encrypt4(14), + this.instances2.alice.encrypt8(207), + this.instances2.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint8, euint4) => ebool test 2 (10, 14)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 2 (7, 11)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt4(14), + this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 3 (14, 14)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 3 (11, 11)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt4(14), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 4 (14, 10)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 4 (11, 7)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt4(7), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint4) => ebool test 1 (209, 1)', async function () { + it('test operator "lt" overload (euint8, euint4) => ebool test 1 (94, 14)', async function () { const res = await this.contract2.lt_euint8_euint4( - this.instances2.alice.encrypt8(209), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt8(94), + this.instances2.alice.encrypt4(14), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint8, euint4) => ebool test 2 (10, 14)', async function () { const res = await this.contract2.lt_euint8_euint4( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt4(14), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint8, euint4) => ebool test 3 (14, 14)', async function () { const res = await this.contract2.lt_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt4(14), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint8, euint4) => ebool test 4 (14, 10)', async function () { const res = await this.contract2.lt_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt4(10), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 1 (69, 8)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 1 (110, 9)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(69), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(110), + this.instances2.alice.encrypt4(9), ); - expect(res).to.equal(8); + expect(res).to.equal(9); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 2 (5, 9)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt4(9), ); - expect(res).to.equal(4); + expect(res).to.equal(5); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 3 (9, 9)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt4(9), ); - expect(res).to.equal(8); + expect(res).to.equal(9); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 4 (9, 5)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt4(5), ); - expect(res).to.equal(4); + expect(res).to.equal(5); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 1 (39, 11)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 1 (77, 5)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(39), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt8(77), + this.instances2.alice.encrypt4(5), ); - expect(res).to.equal(39); + expect(res).to.equal(77); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 2 (7, 11)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(7), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 3 (11, 11)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 4 (11, 7)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt4(7), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(11); + expect(res).to.equal(8); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 1 (13, 130)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 1 (5, 172)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(13), - this.instances2.alice.encrypt8(130), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt8(172), ); - expect(res).to.equal(143); + expect(res).to.equal(177n); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 2 (9, 13)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt8(13), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(22); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 3 (13, 13)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(13), - this.instances2.alice.encrypt8(13), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(26); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 4 (13, 9)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(13), - this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(22); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (14, 14)', async function () { const res = await this.contract2.sub_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt8(14), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, euint8) => euint8 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint8, euint8) => euint8 test 2 (14, 10)', async function () { const res = await this.contract2.sub_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (2, 98)', async function () { + it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (3, 69)', async function () { const res = await this.contract2.mul_euint8_euint8( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt8(98), + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt8(69), ); - expect(res).to.equal(196); + expect(res).to.equal(207n); }); it('test operator "mul" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -3213,7 +3213,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(4), this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(32); + expect(res).to.equal(32n); }); it('test operator "mul" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { @@ -3221,7 +3221,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(64); + expect(res).to.equal(64n); }); it('test operator "mul" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { @@ -3229,109 +3229,109 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(32); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 1 (79, 88)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 1 (245, 164)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt8(88), + this.instances2.alice.encrypt8(245), + this.instances2.alice.encrypt8(164), ); - expect(res).to.equal(72); + expect(res).to.equal(164); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 2 (75, 79)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 2 (160, 164)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(75), - this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt8(160), + this.instances2.alice.encrypt8(164), ); - expect(res).to.equal(75); + expect(res).to.equal(160); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 3 (79, 79)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 3 (164, 164)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt8(79), + this.instances2.alice.encrypt8(164), + this.instances2.alice.encrypt8(164), ); - expect(res).to.equal(79); + expect(res).to.equal(164); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 4 (79, 75)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 4 (164, 160)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt8(75), + this.instances2.alice.encrypt8(164), + this.instances2.alice.encrypt8(160), ); - expect(res).to.equal(75); + expect(res).to.equal(160); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 1 (120, 101)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 1 (96, 249)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(120), - this.instances2.alice.encrypt8(101), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt8(249), ); - expect(res).to.equal(125); + expect(res).to.equal(249); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 2 (97, 101)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 2 (92, 96)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(97), - this.instances2.alice.encrypt8(101), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt8(96), ); - expect(res).to.equal(101); + expect(res).to.equal(124); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 3 (101, 101)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 3 (96, 96)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(101), - this.instances2.alice.encrypt8(101), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt8(96), ); - expect(res).to.equal(101); + expect(res).to.equal(96); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 4 (101, 97)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 4 (96, 92)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(101), - this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt8(92), ); - expect(res).to.equal(101); + expect(res).to.equal(124); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (44, 19)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (5, 61)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt8(19), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt8(61), ); - expect(res).to.equal(63); + expect(res).to.equal(56); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 2 (15, 19)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(15), - this.instances2.alice.encrypt8(19), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(28); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 3 (19, 19)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(19), - this.instances2.alice.encrypt8(19), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 4 (19, 15)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(19), - this.instances2.alice.encrypt8(15), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(28); + expect(res).to.equal(12); }); - it('test operator "eq" overload (euint8, euint8) => ebool test 1 (8, 206)', async function () { + it('test operator "eq" overload (euint8, euint8) => ebool test 1 (6, 177)', async function () { const res = await this.contract2.eq_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(206), + this.instances2.alice.encrypt8(6), + this.instances2.alice.encrypt8(177), ); expect(res).to.equal(false); }); @@ -3360,10 +3360,10 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 1 (7, 41)', async function () { + it('test operator "ne" overload (euint8, euint8) => ebool test 1 (4, 157)', async function () { const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(7), - this.instances2.alice.encrypt8(41), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(157), ); expect(res).to.equal(true); }); @@ -3392,10 +3392,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint8) => ebool test 1 (2, 203)', async function () { + it('test operator "ge" overload (euint8, euint8) => ebool test 1 (8, 191)', async function () { const res = await this.contract2.ge_euint8_euint8( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt8(203), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(191), ); expect(res).to.equal(false); }); @@ -3424,10 +3424,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint8) => ebool test 1 (3, 44)', async function () { + it('test operator "gt" overload (euint8, euint8) => ebool test 1 (1, 180)', async function () { const res = await this.contract2.gt_euint8_euint8( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt8(44), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(180), ); expect(res).to.equal(false); }); @@ -3456,42 +3456,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 1 (7, 208)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 1 (10, 238)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(7), - this.instances2.alice.encrypt8(208), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(238), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 2 (6, 10)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(6), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 3 (10, 10)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 4 (10, 6)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(6), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint8) => ebool test 1 (5, 181)', async function () { + it('test operator "lt" overload (euint8, euint8) => ebool test 1 (6, 240)', async function () { const res = await this.contract2.lt_euint8_euint8( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt8(181), + this.instances2.alice.encrypt8(6), + this.instances2.alice.encrypt8(240), ); expect(res).to.equal(true); }); @@ -3520,12 +3520,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 1 (5, 106)', async function () { + it('test operator "min" overload (euint8, euint8) => euint8 test 1 (4, 142)', async function () { const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt8(106), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(142), ); - expect(res).to.equal(5); + expect(res).to.equal(4); }); it('test operator "min" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -3552,1476 +3552,1476 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 1 (6, 151)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 1 (9, 9)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(6), - this.instances2.alice.encrypt8(151), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(9), ); - expect(res).to.equal(151); + expect(res).to.equal(9); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 2 (5, 9)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt8(9), ); - expect(res).to.equal(8); + expect(res).to.equal(9); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 3 (9, 9)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(9), ); - expect(res).to.equal(8); + expect(res).to.equal(9); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 4 (9, 5)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(5), ); - expect(res).to.equal(8); + expect(res).to.equal(9); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 1 (1, 237)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 1 (1, 227)', async function () { const res = await this.contract2.add_euint8_euint16( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(237), + this.instances2.alice.encrypt16(227), ); - expect(res).to.equal(238); + expect(res).to.equal(228n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 2 (100, 104)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 2 (22, 26)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(100), - this.instances2.alice.encrypt16(104), + this.instances2.alice.encrypt8(22), + this.instances2.alice.encrypt16(26), ); - expect(res).to.equal(204); + expect(res).to.equal(48n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 3 (104, 104)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 3 (26, 26)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(104), - this.instances2.alice.encrypt16(104), + this.instances2.alice.encrypt8(26), + this.instances2.alice.encrypt16(26), ); - expect(res).to.equal(208); + expect(res).to.equal(52n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 4 (104, 100)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 4 (26, 22)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(104), - this.instances2.alice.encrypt16(100), + this.instances2.alice.encrypt8(26), + this.instances2.alice.encrypt16(22), ); - expect(res).to.equal(204); + expect(res).to.equal(48n); }); - it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (145, 145)', async function () { + it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (202, 202)', async function () { const res = await this.contract2.sub_euint8_euint16( - this.instances2.alice.encrypt8(145), - this.instances2.alice.encrypt16(145), + this.instances2.alice.encrypt8(202), + this.instances2.alice.encrypt16(202), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, euint16) => euint16 test 2 (145, 141)', async function () { + it('test operator "sub" overload (euint8, euint16) => euint16 test 2 (202, 198)', async function () { const res = await this.contract2.sub_euint8_euint16( - this.instances2.alice.encrypt8(145), - this.instances2.alice.encrypt16(141), + this.instances2.alice.encrypt8(202), + this.instances2.alice.encrypt16(198), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (1, 161)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (1, 235)', async function () { const res = await this.contract2.mul_euint8_euint16( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(161), + this.instances2.alice.encrypt16(235), ); - expect(res).to.equal(161); + expect(res).to.equal(235n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 2 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 2 (14, 14)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt16(14), ); - expect(res).to.equal(64); + expect(res).to.equal(196n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 3 (14, 14)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt16(14), ); - expect(res).to.equal(64); + expect(res).to.equal(196n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 4 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 4 (14, 14)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt16(14), ); - expect(res).to.equal(64); + expect(res).to.equal(196n); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 1 (79, 63031)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 1 (245, 17782)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt16(63031), + this.instances2.alice.encrypt8(245), + this.instances2.alice.encrypt16(17782), ); - expect(res).to.equal(7); + expect(res).to.equal(116); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 2 (75, 79)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 2 (241, 245)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(75), - this.instances2.alice.encrypt16(79), + this.instances2.alice.encrypt8(241), + this.instances2.alice.encrypt16(245), ); - expect(res).to.equal(75); + expect(res).to.equal(241); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 3 (79, 79)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 3 (245, 245)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt16(79), + this.instances2.alice.encrypt8(245), + this.instances2.alice.encrypt16(245), ); - expect(res).to.equal(79); + expect(res).to.equal(245); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 4 (79, 75)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 4 (245, 241)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt16(75), + this.instances2.alice.encrypt8(245), + this.instances2.alice.encrypt16(241), ); - expect(res).to.equal(75); + expect(res).to.equal(241); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 1 (120, 47218)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 1 (96, 1790)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(120), - this.instances2.alice.encrypt16(47218), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt16(1790), ); - expect(res).to.equal(47226); + expect(res).to.equal(1790); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 2 (116, 120)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 2 (92, 96)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(116), - this.instances2.alice.encrypt16(120), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt16(96), ); expect(res).to.equal(124); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 3 (120, 120)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 3 (96, 96)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(120), - this.instances2.alice.encrypt16(120), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt16(96), ); - expect(res).to.equal(120); + expect(res).to.equal(96); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 4 (120, 116)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 4 (96, 92)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(120), - this.instances2.alice.encrypt16(116), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt16(92), ); expect(res).to.equal(124); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (44, 50547)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (5, 1712)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt16(50547), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt16(1712), ); - expect(res).to.equal(50527); + expect(res).to.equal(1717); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 2 (40, 44)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(40), - this.instances2.alice.encrypt16(44), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 3 (44, 44)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt16(44), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 4 (44, 40)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt16(40), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 1 (92, 49874)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 1 (18, 27181)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt16(49874), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt16(27181), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 2 (88, 92)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 2 (14, 18)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(88), - this.instances2.alice.encrypt16(92), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt16(18), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 3 (92, 92)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 3 (18, 18)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt16(92), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt16(18), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 4 (92, 88)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 4 (18, 14)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt16(88), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt16(14), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 1 (147, 20222)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 1 (78, 21962)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(147), - this.instances2.alice.encrypt16(20222), + this.instances2.alice.encrypt8(78), + this.instances2.alice.encrypt16(21962), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 2 (143, 147)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 2 (74, 78)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(143), - this.instances2.alice.encrypt16(147), + this.instances2.alice.encrypt8(74), + this.instances2.alice.encrypt16(78), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 3 (147, 147)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 3 (78, 78)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(147), - this.instances2.alice.encrypt16(147), + this.instances2.alice.encrypt8(78), + this.instances2.alice.encrypt16(78), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 4 (147, 143)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 4 (78, 74)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(147), - this.instances2.alice.encrypt16(143), + this.instances2.alice.encrypt8(78), + this.instances2.alice.encrypt16(74), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 1 (254, 25447)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 1 (1, 54905)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(254), - this.instances2.alice.encrypt16(25447), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt16(54905), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 2 (250, 254)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt16(254), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 3 (254, 254)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(254), - this.instances2.alice.encrypt16(254), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 4 (254, 250)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(254), - this.instances2.alice.encrypt16(250), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 1 (240, 31410)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 1 (102, 32183)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(240), - this.instances2.alice.encrypt16(31410), + this.instances2.alice.encrypt8(102), + this.instances2.alice.encrypt16(32183), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 2 (236, 240)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 2 (98, 102)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(236), - this.instances2.alice.encrypt16(240), + this.instances2.alice.encrypt8(98), + this.instances2.alice.encrypt16(102), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 3 (240, 240)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 3 (102, 102)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(240), - this.instances2.alice.encrypt16(240), + this.instances2.alice.encrypt8(102), + this.instances2.alice.encrypt16(102), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 4 (240, 236)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 4 (102, 98)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(240), - this.instances2.alice.encrypt16(236), + this.instances2.alice.encrypt8(102), + this.instances2.alice.encrypt16(98), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 1 (44, 23355)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 1 (96, 42413)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt16(23355), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt16(42413), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 2 (40, 44)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 2 (92, 96)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(40), - this.instances2.alice.encrypt16(44), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt16(96), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 3 (44, 44)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 3 (96, 96)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt16(44), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt16(96), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 4 (44, 40)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 4 (96, 92)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt16(40), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt16(92), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 1 (165, 15128)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 1 (198, 55658)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(165), - this.instances2.alice.encrypt16(15128), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt16(55658), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 2 (161, 165)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 2 (194, 198)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt16(165), + this.instances2.alice.encrypt8(194), + this.instances2.alice.encrypt16(198), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 3 (165, 165)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 3 (198, 198)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(165), - this.instances2.alice.encrypt16(165), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt16(198), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 4 (165, 161)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 4 (198, 194)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(165), - this.instances2.alice.encrypt16(161), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt16(194), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 1 (39, 40958)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 1 (200, 2568)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(39), - this.instances2.alice.encrypt16(40958), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt16(2568), ); - expect(res).to.equal(39); + expect(res).to.equal(200); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 2 (35, 39)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 2 (196, 200)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(35), - this.instances2.alice.encrypt16(39), + this.instances2.alice.encrypt8(196), + this.instances2.alice.encrypt16(200), ); - expect(res).to.equal(35); + expect(res).to.equal(196); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 3 (39, 39)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 3 (200, 200)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(39), - this.instances2.alice.encrypt16(39), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt16(200), ); - expect(res).to.equal(39); + expect(res).to.equal(200); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 4 (39, 35)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 4 (200, 196)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(39), - this.instances2.alice.encrypt16(35), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt16(196), ); - expect(res).to.equal(35); + expect(res).to.equal(196); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 1 (250, 47824)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 1 (161, 11628)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt16(47824), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt16(11628), ); - expect(res).to.equal(47824); + expect(res).to.equal(11628); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 2 (246, 250)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 2 (157, 161)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(246), - this.instances2.alice.encrypt16(250), + this.instances2.alice.encrypt8(157), + this.instances2.alice.encrypt16(161), ); - expect(res).to.equal(250); + expect(res).to.equal(161); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 3 (250, 250)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 3 (161, 161)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt16(250), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt16(161), ); - expect(res).to.equal(250); + expect(res).to.equal(161); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 4 (250, 246)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 4 (161, 157)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt16(246), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt16(157), ); - expect(res).to.equal(250); + expect(res).to.equal(161); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 1 (1, 147)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 1 (1, 228)', async function () { const res = await this.contract2.add_euint8_euint32( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(147), + this.instances2.alice.encrypt32(228), ); - expect(res).to.equal(148); + expect(res).to.equal(229n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 2 (100, 104)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 2 (22, 26)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(100), - this.instances2.alice.encrypt32(104), + this.instances2.alice.encrypt8(22), + this.instances2.alice.encrypt32(26), ); - expect(res).to.equal(204); + expect(res).to.equal(48n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 3 (104, 104)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 3 (26, 26)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(104), - this.instances2.alice.encrypt32(104), + this.instances2.alice.encrypt8(26), + this.instances2.alice.encrypt32(26), ); - expect(res).to.equal(208); + expect(res).to.equal(52n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 4 (104, 100)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 4 (26, 22)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(104), - this.instances2.alice.encrypt32(100), + this.instances2.alice.encrypt8(26), + this.instances2.alice.encrypt32(22), ); - expect(res).to.equal(204); + expect(res).to.equal(48n); }); - it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (145, 145)', async function () { + it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (202, 202)', async function () { const res = await this.contract2.sub_euint8_euint32( - this.instances2.alice.encrypt8(145), - this.instances2.alice.encrypt32(145), + this.instances2.alice.encrypt8(202), + this.instances2.alice.encrypt32(202), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (145, 141)', async function () { + it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (202, 198)', async function () { const res = await this.contract2.sub_euint8_euint32( - this.instances2.alice.encrypt8(145), - this.instances2.alice.encrypt32(141), + this.instances2.alice.encrypt8(202), + this.instances2.alice.encrypt32(198), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 1 (1, 174)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 1 (1, 215)', async function () { const res = await this.contract2.mul_euint8_euint32( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(174), + this.instances2.alice.encrypt32(215), ); - expect(res).to.equal(174); + expect(res).to.equal(215n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 2 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 2 (14, 14)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt32(14), ); - expect(res).to.equal(64); + expect(res).to.equal(196n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 3 (14, 14)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt32(14), ); - expect(res).to.equal(64); + expect(res).to.equal(196n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 4 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 4 (14, 14)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt32(14), ); - expect(res).to.equal(64); + expect(res).to.equal(196n); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 1 (79, 262235113)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 1 (245, 107977808)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt32(262235113), + this.instances2.alice.encrypt8(245), + this.instances2.alice.encrypt32(107977808), ); - expect(res).to.equal(73); + expect(res).to.equal(80); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 2 (75, 79)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 2 (241, 245)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(75), - this.instances2.alice.encrypt32(79), + this.instances2.alice.encrypt8(241), + this.instances2.alice.encrypt32(245), ); - expect(res).to.equal(75); + expect(res).to.equal(241); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 3 (79, 79)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 3 (245, 245)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt32(79), + this.instances2.alice.encrypt8(245), + this.instances2.alice.encrypt32(245), ); - expect(res).to.equal(79); + expect(res).to.equal(245); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 4 (79, 75)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 4 (245, 241)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt32(75), + this.instances2.alice.encrypt8(245), + this.instances2.alice.encrypt32(241), ); - expect(res).to.equal(75); + expect(res).to.equal(241); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 1 (120, 230647135)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 1 (96, 81378325)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(120), - this.instances2.alice.encrypt32(230647135), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt32(81378325), ); - expect(res).to.equal(230647167); + expect(res).to.equal(81378421); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 2 (116, 120)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 2 (92, 96)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(116), - this.instances2.alice.encrypt32(120), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt32(96), ); expect(res).to.equal(124); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 3 (120, 120)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 3 (96, 96)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(120), - this.instances2.alice.encrypt32(120), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt32(96), ); - expect(res).to.equal(120); + expect(res).to.equal(96); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 4 (120, 116)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 4 (96, 92)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(120), - this.instances2.alice.encrypt32(116), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt32(92), ); expect(res).to.equal(124); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (44, 19360952)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (5, 115830538)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt32(19360952), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt32(115830538), ); - expect(res).to.equal(19360916); + expect(res).to.equal(115830543); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 2 (40, 44)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(40), - this.instances2.alice.encrypt32(44), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 3 (44, 44)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt32(44), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 4 (44, 40)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt32(40), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 1 (92, 74149594)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 1 (18, 186668088)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt32(74149594), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt32(186668088), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 2 (88, 92)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 2 (14, 18)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(88), - this.instances2.alice.encrypt32(92), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt32(18), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 3 (92, 92)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 3 (18, 18)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt32(92), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt32(18), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 4 (92, 88)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 4 (18, 14)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt32(88), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt32(14), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 1 (147, 134200275)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 1 (78, 92852552)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(147), - this.instances2.alice.encrypt32(134200275), + this.instances2.alice.encrypt8(78), + this.instances2.alice.encrypt32(92852552), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 2 (143, 147)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 2 (74, 78)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(143), - this.instances2.alice.encrypt32(147), + this.instances2.alice.encrypt8(74), + this.instances2.alice.encrypt32(78), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 3 (147, 147)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 3 (78, 78)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(147), - this.instances2.alice.encrypt32(147), + this.instances2.alice.encrypt8(78), + this.instances2.alice.encrypt32(78), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 4 (147, 143)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 4 (78, 74)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(147), - this.instances2.alice.encrypt32(143), + this.instances2.alice.encrypt8(78), + this.instances2.alice.encrypt32(74), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 1 (254, 174513350)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 1 (1, 66874588)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(254), - this.instances2.alice.encrypt32(174513350), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(66874588), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 2 (250, 254)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt32(254), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 3 (254, 254)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(254), - this.instances2.alice.encrypt32(254), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 4 (254, 250)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(254), - this.instances2.alice.encrypt32(250), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 1 (240, 230709034)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 1 (102, 173287703)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(240), - this.instances2.alice.encrypt32(230709034), + this.instances2.alice.encrypt8(102), + this.instances2.alice.encrypt32(173287703), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 2 (236, 240)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 2 (98, 102)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(236), - this.instances2.alice.encrypt32(240), + this.instances2.alice.encrypt8(98), + this.instances2.alice.encrypt32(102), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 3 (240, 240)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 3 (102, 102)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(240), - this.instances2.alice.encrypt32(240), + this.instances2.alice.encrypt8(102), + this.instances2.alice.encrypt32(102), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 4 (240, 236)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 4 (102, 98)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(240), - this.instances2.alice.encrypt32(236), + this.instances2.alice.encrypt8(102), + this.instances2.alice.encrypt32(98), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 1 (44, 91863139)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 1 (96, 74740688)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt32(91863139), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt32(74740688), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 2 (40, 44)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 2 (92, 96)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(40), - this.instances2.alice.encrypt32(44), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt32(96), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 3 (44, 44)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 3 (96, 96)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt32(44), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt32(96), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 4 (44, 40)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 4 (96, 92)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt32(40), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt32(92), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 1 (165, 242355822)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 1 (198, 20210081)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(165), - this.instances2.alice.encrypt32(242355822), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt32(20210081), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 2 (161, 165)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 2 (194, 198)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt32(165), + this.instances2.alice.encrypt8(194), + this.instances2.alice.encrypt32(198), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 3 (165, 165)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 3 (198, 198)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(165), - this.instances2.alice.encrypt32(165), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt32(198), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 4 (165, 161)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 4 (198, 194)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(165), - this.instances2.alice.encrypt32(161), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt32(194), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 1 (39, 262725927)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 1 (200, 114061461)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(39), - this.instances2.alice.encrypt32(262725927), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt32(114061461), ); - expect(res).to.equal(39); + expect(res).to.equal(200); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 2 (35, 39)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 2 (196, 200)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(35), - this.instances2.alice.encrypt32(39), + this.instances2.alice.encrypt8(196), + this.instances2.alice.encrypt32(200), ); - expect(res).to.equal(35); + expect(res).to.equal(196); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 3 (39, 39)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 3 (200, 200)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(39), - this.instances2.alice.encrypt32(39), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt32(200), ); - expect(res).to.equal(39); + expect(res).to.equal(200); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 4 (39, 35)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 4 (200, 196)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(39), - this.instances2.alice.encrypt32(35), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt32(196), ); - expect(res).to.equal(35); + expect(res).to.equal(196); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 1 (250, 157022809)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 1 (161, 55227414)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt32(157022809), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt32(55227414), ); - expect(res).to.equal(157022809); + expect(res).to.equal(55227414); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 2 (246, 250)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 2 (157, 161)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(246), - this.instances2.alice.encrypt32(250), + this.instances2.alice.encrypt8(157), + this.instances2.alice.encrypt32(161), ); - expect(res).to.equal(250); + expect(res).to.equal(161); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 3 (250, 250)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 3 (161, 161)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt32(250), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt32(161), ); - expect(res).to.equal(250); + expect(res).to.equal(161); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 4 (250, 246)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 4 (161, 157)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt32(246), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt32(157), ); - expect(res).to.equal(250); + expect(res).to.equal(161); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 1 (1, 159)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 1 (1, 248)', async function () { const res = await this.contract2.add_euint8_euint64( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(159), + this.instances2.alice.encrypt64(248), ); - expect(res).to.equal(160); + expect(res).to.equal(249n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 2 (100, 104)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 2 (22, 26)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(100), - this.instances2.alice.encrypt64(104), + this.instances2.alice.encrypt8(22), + this.instances2.alice.encrypt64(26), ); - expect(res).to.equal(204); + expect(res).to.equal(48n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 3 (104, 104)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 3 (26, 26)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(104), - this.instances2.alice.encrypt64(104), + this.instances2.alice.encrypt8(26), + this.instances2.alice.encrypt64(26), ); - expect(res).to.equal(208); + expect(res).to.equal(52n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 4 (104, 100)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 4 (26, 22)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(104), - this.instances2.alice.encrypt64(100), + this.instances2.alice.encrypt8(26), + this.instances2.alice.encrypt64(22), ); - expect(res).to.equal(204); + expect(res).to.equal(48n); }); - it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (145, 145)', async function () { + it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (202, 202)', async function () { const res = await this.contract2.sub_euint8_euint64( - this.instances2.alice.encrypt8(145), - this.instances2.alice.encrypt64(145), + this.instances2.alice.encrypt8(202), + this.instances2.alice.encrypt64(202), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (145, 141)', async function () { + it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (202, 198)', async function () { const res = await this.contract2.sub_euint8_euint64( - this.instances2.alice.encrypt8(145), - this.instances2.alice.encrypt64(141), + this.instances2.alice.encrypt8(202), + this.instances2.alice.encrypt64(198), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (1, 154)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (1, 223)', async function () { const res = await this.contract2.mul_euint8_euint64( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(154), + this.instances2.alice.encrypt64(223), ); - expect(res).to.equal(154); + expect(res).to.equal(223n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 2 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 2 (14, 14)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt64(14), ); - expect(res).to.equal(64); + expect(res).to.equal(196n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 3 (14, 14)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt64(14), ); - expect(res).to.equal(64); + expect(res).to.equal(196n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 4 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 4 (14, 14)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt64(14), ); - expect(res).to.equal(64); + expect(res).to.equal(196n); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 1 (79, 112002348)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 1 (245, 233482558)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt64(112002348), + this.instances2.alice.encrypt8(245), + this.instances2.alice.encrypt64(233482558), ); - expect(res).to.equal(12); + expect(res).to.equal(52); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 2 (75, 79)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 2 (241, 245)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(75), - this.instances2.alice.encrypt64(79), + this.instances2.alice.encrypt8(241), + this.instances2.alice.encrypt64(245), ); - expect(res).to.equal(75); + expect(res).to.equal(241); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 3 (79, 79)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 3 (245, 245)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt64(79), + this.instances2.alice.encrypt8(245), + this.instances2.alice.encrypt64(245), ); - expect(res).to.equal(79); + expect(res).to.equal(245); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 4 (79, 75)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 4 (245, 241)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(79), - this.instances2.alice.encrypt64(75), + this.instances2.alice.encrypt8(245), + this.instances2.alice.encrypt64(241), ); - expect(res).to.equal(75); + expect(res).to.equal(241); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 1 (120, 225077141)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 1 (96, 83329888)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(120), - this.instances2.alice.encrypt64(225077141), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt64(83329888), ); - expect(res).to.equal(225077245); + expect(res).to.equal(83329888); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 2 (116, 120)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 2 (92, 96)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(116), - this.instances2.alice.encrypt64(120), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt64(96), ); expect(res).to.equal(124); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 3 (120, 120)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 3 (96, 96)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(120), - this.instances2.alice.encrypt64(120), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt64(96), ); - expect(res).to.equal(120); + expect(res).to.equal(96); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 4 (120, 116)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 4 (96, 92)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(120), - this.instances2.alice.encrypt64(116), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt64(92), ); expect(res).to.equal(124); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (44, 222033695)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (5, 103206592)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt64(222033695), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt64(103206592), ); - expect(res).to.equal(222033715); + expect(res).to.equal(103206597); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 2 (40, 44)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(40), - this.instances2.alice.encrypt64(44), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 3 (44, 44)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt64(44), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 4 (44, 40)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt64(40), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 1 (92, 249397548)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 1 (18, 130872852)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt64(249397548), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt64(130872852), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 2 (88, 92)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 2 (14, 18)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(88), - this.instances2.alice.encrypt64(92), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt64(18), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 3 (92, 92)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 3 (18, 18)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt64(92), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt64(18), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 4 (92, 88)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 4 (18, 14)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt64(88), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt64(14), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 1 (147, 43277666)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 1 (78, 43366180)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(147), - this.instances2.alice.encrypt64(43277666), + this.instances2.alice.encrypt8(78), + this.instances2.alice.encrypt64(43366180), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 2 (143, 147)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 2 (74, 78)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(143), - this.instances2.alice.encrypt64(147), + this.instances2.alice.encrypt8(74), + this.instances2.alice.encrypt64(78), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 3 (147, 147)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 3 (78, 78)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(147), - this.instances2.alice.encrypt64(147), + this.instances2.alice.encrypt8(78), + this.instances2.alice.encrypt64(78), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 4 (147, 143)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 4 (78, 74)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(147), - this.instances2.alice.encrypt64(143), + this.instances2.alice.encrypt8(78), + this.instances2.alice.encrypt64(74), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 1 (254, 249856292)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 1 (1, 155404527)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(254), - this.instances2.alice.encrypt64(249856292), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(155404527), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 2 (250, 254)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt64(254), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 3 (254, 254)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(254), - this.instances2.alice.encrypt64(254), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 4 (254, 250)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(254), - this.instances2.alice.encrypt64(250), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 1 (240, 179585345)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 1 (102, 257990052)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(240), - this.instances2.alice.encrypt64(179585345), + this.instances2.alice.encrypt8(102), + this.instances2.alice.encrypt64(257990052), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 2 (236, 240)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 2 (98, 102)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(236), - this.instances2.alice.encrypt64(240), + this.instances2.alice.encrypt8(98), + this.instances2.alice.encrypt64(102), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 3 (240, 240)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 3 (102, 102)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(240), - this.instances2.alice.encrypt64(240), + this.instances2.alice.encrypt8(102), + this.instances2.alice.encrypt64(102), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 4 (240, 236)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 4 (102, 98)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(240), - this.instances2.alice.encrypt64(236), + this.instances2.alice.encrypt8(102), + this.instances2.alice.encrypt64(98), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 1 (44, 264172669)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 1 (96, 34093048)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt64(264172669), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt64(34093048), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 2 (40, 44)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 2 (92, 96)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(40), - this.instances2.alice.encrypt64(44), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt64(96), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 3 (44, 44)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 3 (96, 96)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt64(44), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt64(96), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 4 (44, 40)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 4 (96, 92)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(44), - this.instances2.alice.encrypt64(40), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt64(92), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 1 (165, 87596497)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 1 (198, 171810732)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(165), - this.instances2.alice.encrypt64(87596497), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt64(171810732), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 2 (161, 165)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 2 (194, 198)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt64(165), + this.instances2.alice.encrypt8(194), + this.instances2.alice.encrypt64(198), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 3 (165, 165)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 3 (198, 198)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(165), - this.instances2.alice.encrypt64(165), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt64(198), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 4 (165, 161)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 4 (198, 194)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(165), - this.instances2.alice.encrypt64(161), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt64(194), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 1 (39, 57110634)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 1 (200, 124180225)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(39), - this.instances2.alice.encrypt64(57110634), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt64(124180225), ); - expect(res).to.equal(39); + expect(res).to.equal(200); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 2 (35, 39)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 2 (196, 200)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(35), - this.instances2.alice.encrypt64(39), + this.instances2.alice.encrypt8(196), + this.instances2.alice.encrypt64(200), ); - expect(res).to.equal(35); + expect(res).to.equal(196); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 3 (39, 39)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 3 (200, 200)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(39), - this.instances2.alice.encrypt64(39), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt64(200), ); - expect(res).to.equal(39); + expect(res).to.equal(200); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 4 (39, 35)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 4 (200, 196)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(39), - this.instances2.alice.encrypt64(35), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt64(196), ); - expect(res).to.equal(35); + expect(res).to.equal(196); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 1 (250, 147804883)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 1 (161, 242190943)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt64(147804883), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt64(242190943), ); - expect(res).to.equal(147804883); + expect(res).to.equal(242190943); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 2 (246, 250)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 2 (157, 161)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(246), - this.instances2.alice.encrypt64(250), + this.instances2.alice.encrypt8(157), + this.instances2.alice.encrypt64(161), ); - expect(res).to.equal(250); + expect(res).to.equal(161); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 3 (250, 250)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 3 (161, 161)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt64(250), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt64(161), ); - expect(res).to.equal(250); + expect(res).to.equal(161); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 4 (250, 246)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 4 (161, 157)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(250), - this.instances2.alice.encrypt64(246), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt64(157), ); - expect(res).to.equal(250); + expect(res).to.equal(161); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 1 (13, 50)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(13), 50); - expect(res).to.equal(63); + it('test operator "add" overload (euint8, uint8) => euint8 test 1 (5, 209)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(5), 209); + expect(res).to.equal(214n); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 2 (9, 13)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(9), 13); - expect(res).to.equal(22); + it('test operator "add" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 3 (13, 13)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(13), 13); - expect(res).to.equal(26); + it('test operator "add" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 4 (13, 9)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(13), 9); - expect(res).to.equal(22); + it('test operator "add" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(12n); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 1 (104, 50)', async function () { - const res = await this.contract2.add_uint8_euint8(104, this.instances2.alice.encrypt8(50)); - expect(res).to.equal(154); + it('test operator "add" overload (uint8, euint8) => euint8 test 1 (26, 209)', async function () { + const res = await this.contract2.add_uint8_euint8(26, this.instances2.alice.encrypt8(209)); + expect(res).to.equal(235n); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 2 (9, 13)', async function () { - const res = await this.contract2.add_uint8_euint8(9, this.instances2.alice.encrypt8(13)); - expect(res).to.equal(22); + it('test operator "add" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.add_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(12n); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 3 (13, 13)', async function () { - const res = await this.contract2.add_uint8_euint8(13, this.instances2.alice.encrypt8(13)); - expect(res).to.equal(26); + it('test operator "add" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.add_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(16n); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 4 (13, 9)', async function () { - const res = await this.contract2.add_uint8_euint8(13, this.instances2.alice.encrypt8(9)); - expect(res).to.equal(22); + it('test operator "add" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.add_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (8, 8)', async function () { - const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (14, 14)', async function () { + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(14), 14); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (8, 4)', async function () { - const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (14, 10)', async function () { + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(14), 10); expect(res).to.equal(4); }); - it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (8, 8)', async function () { - const res = await this.contract2.sub_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (14, 14)', async function () { + const res = await this.contract2.sub_uint8_euint8(14, this.instances2.alice.encrypt8(14)); expect(res).to.equal(0); }); - it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (8, 4)', async function () { - const res = await this.contract2.sub_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (14, 10)', async function () { + const res = await this.contract2.sub_uint8_euint8(14, this.instances2.alice.encrypt8(10)); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (2, 119)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(2), 119); - expect(res).to.equal(238); + it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (3, 50)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(3), 50); + expect(res).to.equal(150n); }); it('test operator "mul" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(4), 8); - expect(res).to.equal(32); + expect(res).to.equal(32n); }); it('test operator "mul" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(8), 8); - expect(res).to.equal(64); + expect(res).to.equal(64n); }); it('test operator "mul" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(32); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (8, 29)', async function () { - const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(29)); - expect(res).to.equal(232); + it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (14, 6)', async function () { + const res = await this.contract2.mul_uint8_euint8(14, this.instances2.alice.encrypt8(6)); + expect(res).to.equal(84n); }); it('test operator "mul" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.mul_uint8_euint8(4, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(32); + expect(res).to.equal(32n); }); it('test operator "mul" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(64); + expect(res).to.equal(64n); }); it('test operator "mul" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(4)); - expect(res).to.equal(32); + expect(res).to.equal(32n); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 1 (72, 21)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(72), 21); - expect(res).to.equal(3); + it('test operator "div" overload (euint8, uint8) => euint8 test 1 (192, 181)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(192), 181); + expect(res).to.equal(1); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 2 (68, 72)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(68), 72); + it('test operator "div" overload (euint8, uint8) => euint8 test 2 (39, 43)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(39), 43); expect(res).to.equal(0); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 3 (72, 72)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(72), 72); + it('test operator "div" overload (euint8, uint8) => euint8 test 3 (43, 43)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(43), 43); expect(res).to.equal(1); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 4 (72, 68)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(72), 68); + it('test operator "div" overload (euint8, uint8) => euint8 test 4 (43, 39)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(43), 39); expect(res).to.equal(1); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (97, 233)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(97), 233); - expect(res).to.equal(97); + it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (221, 143)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(221), 143); + expect(res).to.equal(78); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 2 (93, 97)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(93), 97); - expect(res).to.equal(93); + it('test operator "rem" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(4); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 3 (97, 97)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(97), 97); + it('test operator "rem" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(8), 8); expect(res).to.equal(0); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 4 (97, 93)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(97), 93); - expect(res).to.equal(4); + it('test operator "rem" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(0); }); - it('test operator "eq" overload (euint8, uint8) => ebool test 1 (8, 233)', async function () { - const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(8), 233); + it('test operator "eq" overload (euint8, uint8) => ebool test 1 (6, 242)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(6), 242); expect(res).to.equal(false); }); @@ -5040,8 +5040,8 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint8) => ebool test 1 (92, 233)', async function () { - const res = await this.contract2.eq_uint8_euint8(92, this.instances2.alice.encrypt8(233)); + it('test operator "eq" overload (uint8, euint8) => ebool test 1 (18, 242)', async function () { + const res = await this.contract2.eq_uint8_euint8(18, this.instances2.alice.encrypt8(242)); expect(res).to.equal(false); }); @@ -5060,8 +5060,8 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 1 (7, 100)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(7), 100); + it('test operator "ne" overload (euint8, uint8) => ebool test 1 (4, 177)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(4), 177); expect(res).to.equal(true); }); @@ -5080,8 +5080,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 1 (147, 100)', async function () { - const res = await this.contract2.ne_uint8_euint8(147, this.instances2.alice.encrypt8(100)); + it('test operator "ne" overload (uint8, euint8) => ebool test 1 (78, 177)', async function () { + const res = await this.contract2.ne_uint8_euint8(78, this.instances2.alice.encrypt8(177)); expect(res).to.equal(true); }); @@ -5100,8 +5100,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, uint8) => ebool test 1 (2, 65)', async function () { - const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(2), 65); + it('test operator "ge" overload (euint8, uint8) => ebool test 1 (8, 42)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(8), 42); expect(res).to.equal(false); }); @@ -5120,9 +5120,9 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint8) => ebool test 1 (254, 65)', async function () { - const res = await this.contract2.ge_uint8_euint8(254, this.instances2.alice.encrypt8(65)); - expect(res).to.equal(true); + it('test operator "ge" overload (uint8, euint8) => ebool test 1 (1, 42)', async function () { + const res = await this.contract2.ge_uint8_euint8(1, this.instances2.alice.encrypt8(42)); + expect(res).to.equal(false); }); it('test operator "ge" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { @@ -5140,8 +5140,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, uint8) => ebool test 1 (3, 110)', async function () { - const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(3), 110); + it('test operator "gt" overload (euint8, uint8) => ebool test 1 (1, 53)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(1), 53); expect(res).to.equal(false); }); @@ -5160,8 +5160,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (uint8, euint8) => ebool test 1 (240, 110)', async function () { - const res = await this.contract2.gt_uint8_euint8(240, this.instances2.alice.encrypt8(110)); + it('test operator "gt" overload (uint8, euint8) => ebool test 1 (102, 53)', async function () { + const res = await this.contract2.gt_uint8_euint8(102, this.instances2.alice.encrypt8(53)); expect(res).to.equal(true); }); @@ -5180,48 +5180,48 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 1 (7, 168)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(7), 168); + it('test operator "le" overload (euint8, uint8) => ebool test 1 (10, 232)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(10), 232); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + it('test operator "le" overload (euint8, uint8) => ebool test 2 (6, 10)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(6), 10); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + it('test operator "le" overload (euint8, uint8) => ebool test 3 (10, 10)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(10), 10); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + it('test operator "le" overload (euint8, uint8) => ebool test 4 (10, 6)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(10), 6); expect(res).to.equal(false); }); - it('test operator "le" overload (uint8, euint8) => ebool test 1 (44, 168)', async function () { - const res = await this.contract2.le_uint8_euint8(44, this.instances2.alice.encrypt8(168)); + it('test operator "le" overload (uint8, euint8) => ebool test 1 (96, 232)', async function () { + const res = await this.contract2.le_uint8_euint8(96, this.instances2.alice.encrypt8(232)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.le_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + it('test operator "le" overload (uint8, euint8) => ebool test 2 (6, 10)', async function () { + const res = await this.contract2.le_uint8_euint8(6, this.instances2.alice.encrypt8(10)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.le_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + it('test operator "le" overload (uint8, euint8) => ebool test 3 (10, 10)', async function () { + const res = await this.contract2.le_uint8_euint8(10, this.instances2.alice.encrypt8(10)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.le_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + it('test operator "le" overload (uint8, euint8) => ebool test 4 (10, 6)', async function () { + const res = await this.contract2.le_uint8_euint8(10, this.instances2.alice.encrypt8(6)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, uint8) => ebool test 1 (5, 37)', async function () { - const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(5), 37); + it('test operator "lt" overload (euint8, uint8) => ebool test 1 (6, 39)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(6), 39); expect(res).to.equal(true); }); @@ -5240,8 +5240,8 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint8) => ebool test 1 (165, 37)', async function () { - const res = await this.contract2.lt_uint8_euint8(165, this.instances2.alice.encrypt8(37)); + it('test operator "lt" overload (uint8, euint8) => ebool test 1 (198, 39)', async function () { + const res = await this.contract2.lt_uint8_euint8(198, this.instances2.alice.encrypt8(39)); expect(res).to.equal(false); }); @@ -5260,9 +5260,9 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 1 (5, 110)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(5), 110); - expect(res).to.equal(5); + it('test operator "min" overload (euint8, uint8) => euint8 test 1 (4, 122)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(4), 122); + expect(res).to.equal(4); }); it('test operator "min" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { @@ -5280,9 +5280,9 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 1 (39, 110)', async function () { - const res = await this.contract2.min_uint8_euint8(39, this.instances2.alice.encrypt8(110)); - expect(res).to.equal(39); + it('test operator "min" overload (uint8, euint8) => euint8 test 1 (200, 122)', async function () { + const res = await this.contract2.min_uint8_euint8(200, this.instances2.alice.encrypt8(122)); + expect(res).to.equal(122); }); it('test operator "min" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -5300,76 +5300,76 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 1 (6, 28)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(6), 28); - expect(res).to.equal(28); + it('test operator "max" overload (euint8, uint8) => euint8 test 1 (9, 61)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(9), 61); + expect(res).to.equal(61); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(4), 8); - expect(res).to.equal(8); + it('test operator "max" overload (euint8, uint8) => euint8 test 2 (5, 9)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(5), 9); + expect(res).to.equal(9); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(8), 8); - expect(res).to.equal(8); + it('test operator "max" overload (euint8, uint8) => euint8 test 3 (9, 9)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(9), 9); + expect(res).to.equal(9); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(8); + it('test operator "max" overload (euint8, uint8) => euint8 test 4 (9, 5)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(9), 5); + expect(res).to.equal(9); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 1 (250, 28)', async function () { - const res = await this.contract2.max_uint8_euint8(250, this.instances2.alice.encrypt8(28)); - expect(res).to.equal(250); + it('test operator "max" overload (uint8, euint8) => euint8 test 1 (161, 61)', async function () { + const res = await this.contract2.max_uint8_euint8(161, this.instances2.alice.encrypt8(61)); + expect(res).to.equal(161); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.max_uint8_euint8(4, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(8); + it('test operator "max" overload (uint8, euint8) => euint8 test 2 (5, 9)', async function () { + const res = await this.contract2.max_uint8_euint8(5, this.instances2.alice.encrypt8(9)); + expect(res).to.equal(9); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.max_uint8_euint8(8, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(8); + it('test operator "max" overload (uint8, euint8) => euint8 test 3 (9, 9)', async function () { + const res = await this.contract2.max_uint8_euint8(9, this.instances2.alice.encrypt8(9)); + expect(res).to.equal(9); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.max_uint8_euint8(8, this.instances2.alice.encrypt8(4)); - expect(res).to.equal(8); + it('test operator "max" overload (uint8, euint8) => euint8 test 4 (9, 5)', async function () { + const res = await this.contract2.max_uint8_euint8(9, this.instances2.alice.encrypt8(5)); + expect(res).to.equal(9); }); - it('test operator "add" overload (euint16, euint4) => euint16 test 1 (7, 1)', async function () { + it('test operator "add" overload (euint16, euint4) => euint16 test 1 (14, 1)', async function () { const res = await this.contract2.add_euint16_euint4( - this.instances2.alice.encrypt16(7), + this.instances2.alice.encrypt16(14), this.instances2.alice.encrypt4(1), ); - expect(res).to.equal(8); + expect(res).to.equal(15n); }); - it('test operator "add" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint16, euint4) => euint16 test 2 (4, 6)', async function () { const res = await this.contract2.add_euint16_euint4( this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt4(6), ); - expect(res).to.equal(12); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint16, euint4) => euint16 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint16, euint4) => euint16 test 3 (6, 6)', async function () { const res = await this.contract2.add_euint16_euint4( - this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt16(6), + this.instances2.alice.encrypt4(6), ); - expect(res).to.equal(8); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint16, euint4) => euint16 test 4 (6, 4)', async function () { const res = await this.contract2.add_euint16_euint4( - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt16(6), this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(10n); }); it('test operator "sub" overload (euint16, euint4) => euint16 test 1 (8, 8)', async function () { @@ -5388,44 +5388,44 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, euint4) => euint16 test 1 (8, 1)', async function () { + it('test operator "mul" overload (euint16, euint4) => euint16 test 1 (12, 1)', async function () { const res = await this.contract2.mul_euint16_euint4( - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt16(12), this.instances2.alice.encrypt4(1), ); - expect(res).to.equal(8); + expect(res).to.equal(12n); }); - it('test operator "mul" overload (euint16, euint4) => euint16 test 2 (2, 3)', async function () { + it('test operator "mul" overload (euint16, euint4) => euint16 test 2 (2, 4)', async function () { const res = await this.contract2.mul_euint16_euint4( this.instances2.alice.encrypt16(2), - this.instances2.alice.encrypt4(3), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(6); + expect(res).to.equal(8n); }); - it('test operator "mul" overload (euint16, euint4) => euint16 test 3 (3, 3)', async function () { + it('test operator "mul" overload (euint16, euint4) => euint16 test 3 (2, 2)', async function () { const res = await this.contract2.mul_euint16_euint4( - this.instances2.alice.encrypt16(3), - this.instances2.alice.encrypt4(3), + this.instances2.alice.encrypt16(2), + this.instances2.alice.encrypt4(2), ); - expect(res).to.equal(9); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint4) => euint16 test 4 (3, 2)', async function () { + it('test operator "mul" overload (euint16, euint4) => euint16 test 4 (4, 2)', async function () { const res = await this.contract2.mul_euint16_euint4( - this.instances2.alice.encrypt16(3), + this.instances2.alice.encrypt16(4), this.instances2.alice.encrypt4(2), ); - expect(res).to.equal(6); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint16, euint4) => euint16 test 1 (26290, 1)', async function () { + it('test operator "and" overload (euint16, euint4) => euint16 test 1 (55927, 3)', async function () { const res = await this.contract2.and_euint16_euint4( - this.instances2.alice.encrypt16(26290), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt16(55927), + this.instances2.alice.encrypt4(3), ); - expect(res).to.equal(0); + expect(res).to.equal(3); }); it('test operator "and" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { @@ -5452,74 +5452,74 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "or" overload (euint16, euint4) => euint16 test 1 (61878, 13)', async function () { + it('test operator "or" overload (euint16, euint4) => euint16 test 1 (25484, 8)', async function () { const res = await this.contract2.or_euint16_euint4( - this.instances2.alice.encrypt16(61878), - this.instances2.alice.encrypt4(13), + this.instances2.alice.encrypt16(25484), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(61887); + expect(res).to.equal(25484); }); - it('test operator "or" overload (euint16, euint4) => euint16 test 2 (9, 13)', async function () { + it('test operator "or" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.or_euint16_euint4( - this.instances2.alice.encrypt16(9), - this.instances2.alice.encrypt4(13), + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(13); + expect(res).to.equal(12); }); - it('test operator "or" overload (euint16, euint4) => euint16 test 3 (13, 13)', async function () { + it('test operator "or" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.or_euint16_euint4( - this.instances2.alice.encrypt16(13), - this.instances2.alice.encrypt4(13), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8); }); - it('test operator "or" overload (euint16, euint4) => euint16 test 4 (13, 9)', async function () { + it('test operator "or" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.or_euint16_euint4( - this.instances2.alice.encrypt16(13), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(13); + expect(res).to.equal(12); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 1 (36773, 10)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 1 (20626, 7)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(36773), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt16(20626), + this.instances2.alice.encrypt4(7), ); - expect(res).to.equal(36783); + expect(res).to.equal(20629); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 2 (6, 10)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(6), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(12); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 3 (10, 10)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(10), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 4 (10, 6)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(10), - this.instances2.alice.encrypt4(6), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(12); }); - it('test operator "eq" overload (euint16, euint4) => ebool test 1 (44634, 3)', async function () { + it('test operator "eq" overload (euint16, euint4) => ebool test 1 (5463, 2)', async function () { const res = await this.contract2.eq_euint16_euint4( - this.instances2.alice.encrypt16(44634), - this.instances2.alice.encrypt4(3), + this.instances2.alice.encrypt16(5463), + this.instances2.alice.encrypt4(2), ); expect(res).to.equal(false); }); @@ -5548,74 +5548,74 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint4) => ebool test 1 (58512, 7)', async function () { + it('test operator "ne" overload (euint16, euint4) => ebool test 1 (24558, 12)', async function () { const res = await this.contract2.ne_euint16_euint4( - this.instances2.alice.encrypt16(58512), - this.instances2.alice.encrypt4(7), + this.instances2.alice.encrypt16(24558), + this.instances2.alice.encrypt4(12), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint16, euint4) => ebool test 2 (8, 12)', async function () { const res = await this.contract2.ne_euint16_euint4( - this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(12), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint16, euint4) => ebool test 3 (12, 12)', async function () { const res = await this.contract2.ne_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(12), + this.instances2.alice.encrypt4(12), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint16, euint4) => ebool test 4 (12, 8)', async function () { const res = await this.contract2.ne_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt16(12), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 1 (2319, 9)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 1 (51421, 10)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(2319), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt16(51421), + this.instances2.alice.encrypt4(10), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 2 (5, 9)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 2 (6, 10)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(5), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt16(6), + this.instances2.alice.encrypt4(10), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 3 (9, 9)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 3 (10, 10)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(9), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt16(10), + this.instances2.alice.encrypt4(10), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 4 (9, 5)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 4 (10, 6)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(9), - this.instances2.alice.encrypt4(5), + this.instances2.alice.encrypt16(10), + this.instances2.alice.encrypt4(6), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint4) => ebool test 1 (39995, 5)', async function () { + it('test operator "gt" overload (euint16, euint4) => ebool test 1 (44465, 6)', async function () { const res = await this.contract2.gt_euint16_euint4( - this.instances2.alice.encrypt16(39995), - this.instances2.alice.encrypt4(5), + this.instances2.alice.encrypt16(44465), + this.instances2.alice.encrypt4(6), ); expect(res).to.equal(true); }); @@ -5644,10 +5644,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint4) => ebool test 1 (11868, 2)', async function () { + it('test operator "le" overload (euint16, euint4) => ebool test 1 (8195, 5)', async function () { const res = await this.contract2.le_euint16_euint4( - this.instances2.alice.encrypt16(11868), - this.instances2.alice.encrypt4(2), + this.instances2.alice.encrypt16(8195), + this.instances2.alice.encrypt4(5), ); expect(res).to.equal(false); }); @@ -5676,41 +5676,41 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint4) => ebool test 1 (13005, 11)', async function () { + it('test operator "lt" overload (euint16, euint4) => ebool test 1 (59556, 1)', async function () { const res = await this.contract2.lt_euint16_euint4( - this.instances2.alice.encrypt16(13005), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt16(59556), + this.instances2.alice.encrypt4(1), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint4) => ebool test 2 (7, 11)', async function () { + it('test operator "lt" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.lt_euint16_euint4( - this.instances2.alice.encrypt16(7), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint4) => ebool test 3 (11, 11)', async function () { + it('test operator "lt" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.lt_euint16_euint4( - this.instances2.alice.encrypt16(11), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint4) => ebool test 4 (11, 7)', async function () { + it('test operator "lt" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.lt_euint16_euint4( - this.instances2.alice.encrypt16(11), - this.instances2.alice.encrypt4(7), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint4) => euint16 test 1 (59594, 13)', async function () { + it('test operator "min" overload (euint16, euint4) => euint16 test 1 (40365, 13)', async function () { const res = await this.contract3.min_euint16_euint4( - this.instances3.alice.encrypt16(59594), + this.instances3.alice.encrypt16(40365), this.instances3.alice.encrypt4(13), ); expect(res).to.equal(13); @@ -5740,2270 +5740,2270 @@ describe('TFHE operations', function () { expect(res).to.equal(9); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 1 (45745, 1)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 1 (45208, 13)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(45745), - this.instances3.alice.encrypt4(1), + this.instances3.alice.encrypt16(45208), + this.instances3.alice.encrypt4(13), ); - expect(res).to.equal(45745); + expect(res).to.equal(45208); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 2 (9, 13)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt16(9), + this.instances3.alice.encrypt4(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 3 (13, 13)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt16(13), + this.instances3.alice.encrypt4(13), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 4 (13, 9)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt16(13), + this.instances3.alice.encrypt4(9), ); - expect(res).to.equal(8); + expect(res).to.equal(13); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 1 (246, 2)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 1 (116, 14)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(246), - this.instances3.alice.encrypt8(2), + this.instances3.alice.encrypt16(116), + this.instances3.alice.encrypt8(14), ); - expect(res).to.equal(248); + expect(res).to.equal(130n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 2 (90, 92)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 2 (115, 117)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(90), - this.instances3.alice.encrypt8(92), + this.instances3.alice.encrypt16(115), + this.instances3.alice.encrypt8(117), ); - expect(res).to.equal(182); + expect(res).to.equal(232n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 3 (92, 92)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 3 (117, 117)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(92), - this.instances3.alice.encrypt8(92), + this.instances3.alice.encrypt16(117), + this.instances3.alice.encrypt8(117), ); - expect(res).to.equal(184); + expect(res).to.equal(234n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 4 (92, 90)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 4 (117, 115)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(92), - this.instances3.alice.encrypt8(90), + this.instances3.alice.encrypt16(117), + this.instances3.alice.encrypt8(115), ); - expect(res).to.equal(182); + expect(res).to.equal(232n); }); - it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (167, 167)', async function () { + it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (125, 125)', async function () { const res = await this.contract3.sub_euint16_euint8( - this.instances3.alice.encrypt16(167), - this.instances3.alice.encrypt8(167), + this.instances3.alice.encrypt16(125), + this.instances3.alice.encrypt8(125), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (167, 163)', async function () { + it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (125, 121)', async function () { const res = await this.contract3.sub_euint16_euint8( - this.instances3.alice.encrypt16(167), - this.instances3.alice.encrypt8(163), + this.instances3.alice.encrypt16(125), + this.instances3.alice.encrypt8(121), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (136, 1)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (207, 1)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(136), + this.instances3.alice.encrypt16(207), this.instances3.alice.encrypt8(1), ); - expect(res).to.equal(136); + expect(res).to.equal(207n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 2 (13, 15)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 2 (12, 14)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(13), - this.instances3.alice.encrypt8(15), + this.instances3.alice.encrypt16(12), + this.instances3.alice.encrypt8(14), ); - expect(res).to.equal(195); + expect(res).to.equal(168n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 3 (15, 15)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 3 (14, 14)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(15), - this.instances3.alice.encrypt8(15), + this.instances3.alice.encrypt16(14), + this.instances3.alice.encrypt8(14), ); - expect(res).to.equal(225); + expect(res).to.equal(196n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 4 (15, 13)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 4 (14, 12)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(15), - this.instances3.alice.encrypt8(13), + this.instances3.alice.encrypt16(14), + this.instances3.alice.encrypt8(12), ); - expect(res).to.equal(195); + expect(res).to.equal(168n); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 1 (26290, 248)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 1 (55927, 14)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(26290), - this.instances3.alice.encrypt8(248), + this.instances3.alice.encrypt16(55927), + this.instances3.alice.encrypt8(14), ); - expect(res).to.equal(176); + expect(res).to.equal(6); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 2 (244, 248)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 2 (10, 14)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(244), - this.instances3.alice.encrypt8(248), + this.instances3.alice.encrypt16(10), + this.instances3.alice.encrypt8(14), ); - expect(res).to.equal(240); + expect(res).to.equal(10); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 3 (248, 248)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 3 (14, 14)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(248), - this.instances3.alice.encrypt8(248), + this.instances3.alice.encrypt16(14), + this.instances3.alice.encrypt8(14), ); - expect(res).to.equal(248); + expect(res).to.equal(14); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 4 (248, 244)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 4 (14, 10)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(248), - this.instances3.alice.encrypt8(244), + this.instances3.alice.encrypt16(14), + this.instances3.alice.encrypt8(10), ); - expect(res).to.equal(240); + expect(res).to.equal(10); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 1 (61878, 247)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 1 (25484, 207)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(61878), - this.instances3.alice.encrypt8(247), + this.instances3.alice.encrypt16(25484), + this.instances3.alice.encrypt8(207), ); - expect(res).to.equal(61943); + expect(res).to.equal(25551); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 2 (243, 247)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 2 (203, 207)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(243), - this.instances3.alice.encrypt8(247), + this.instances3.alice.encrypt16(203), + this.instances3.alice.encrypt8(207), ); - expect(res).to.equal(247); + expect(res).to.equal(207); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 3 (247, 247)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 3 (207, 207)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(247), - this.instances3.alice.encrypt8(247), + this.instances3.alice.encrypt16(207), + this.instances3.alice.encrypt8(207), ); - expect(res).to.equal(247); + expect(res).to.equal(207); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 4 (247, 243)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 4 (207, 203)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(247), - this.instances3.alice.encrypt8(243), + this.instances3.alice.encrypt16(207), + this.instances3.alice.encrypt8(203), ); - expect(res).to.equal(247); + expect(res).to.equal(207); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (36773, 131)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (20626, 38)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(36773), - this.instances3.alice.encrypt8(131), + this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt8(38), ); - expect(res).to.equal(36646); + expect(res).to.equal(20660); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (127, 131)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (34, 38)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(127), - this.instances3.alice.encrypt8(131), + this.instances3.alice.encrypt16(34), + this.instances3.alice.encrypt8(38), ); - expect(res).to.equal(252); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 3 (131, 131)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 3 (38, 38)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(131), - this.instances3.alice.encrypt8(131), + this.instances3.alice.encrypt16(38), + this.instances3.alice.encrypt8(38), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 4 (131, 127)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 4 (38, 34)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(131), - this.instances3.alice.encrypt8(127), + this.instances3.alice.encrypt16(38), + this.instances3.alice.encrypt8(34), ); - expect(res).to.equal(252); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 1 (44634, 93)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 1 (5463, 69)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(44634), - this.instances3.alice.encrypt8(93), + this.instances3.alice.encrypt16(5463), + this.instances3.alice.encrypt8(69), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 2 (89, 93)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 2 (65, 69)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(89), - this.instances3.alice.encrypt8(93), + this.instances3.alice.encrypt16(65), + this.instances3.alice.encrypt8(69), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 3 (93, 93)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 3 (69, 69)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(93), - this.instances3.alice.encrypt8(93), + this.instances3.alice.encrypt16(69), + this.instances3.alice.encrypt8(69), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 4 (93, 89)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 4 (69, 65)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(93), - this.instances3.alice.encrypt8(89), + this.instances3.alice.encrypt16(69), + this.instances3.alice.encrypt8(65), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 1 (58512, 116)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 1 (24558, 239)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(58512), - this.instances3.alice.encrypt8(116), + this.instances3.alice.encrypt16(24558), + this.instances3.alice.encrypt8(239), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 2 (112, 116)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 2 (235, 239)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(112), - this.instances3.alice.encrypt8(116), + this.instances3.alice.encrypt16(235), + this.instances3.alice.encrypt8(239), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 3 (116, 116)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 3 (239, 239)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(116), - this.instances3.alice.encrypt8(116), + this.instances3.alice.encrypt16(239), + this.instances3.alice.encrypt8(239), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 4 (116, 112)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 4 (239, 235)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(116), - this.instances3.alice.encrypt8(112), + this.instances3.alice.encrypt16(239), + this.instances3.alice.encrypt8(235), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 1 (2319, 170)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 1 (51421, 242)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(2319), - this.instances3.alice.encrypt8(170), + this.instances3.alice.encrypt16(51421), + this.instances3.alice.encrypt8(242), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 2 (166, 170)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 2 (238, 242)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(166), - this.instances3.alice.encrypt8(170), + this.instances3.alice.encrypt16(238), + this.instances3.alice.encrypt8(242), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 3 (170, 170)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 3 (242, 242)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(170), - this.instances3.alice.encrypt8(170), + this.instances3.alice.encrypt16(242), + this.instances3.alice.encrypt8(242), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 4 (170, 166)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 4 (242, 238)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(170), - this.instances3.alice.encrypt8(166), + this.instances3.alice.encrypt16(242), + this.instances3.alice.encrypt8(238), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 1 (39995, 222)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 1 (44465, 202)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(39995), - this.instances3.alice.encrypt8(222), + this.instances3.alice.encrypt16(44465), + this.instances3.alice.encrypt8(202), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 2 (218, 222)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 2 (198, 202)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(218), - this.instances3.alice.encrypt8(222), + this.instances3.alice.encrypt16(198), + this.instances3.alice.encrypt8(202), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 3 (222, 222)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 3 (202, 202)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(222), - this.instances3.alice.encrypt8(222), + this.instances3.alice.encrypt16(202), + this.instances3.alice.encrypt8(202), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 4 (222, 218)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 4 (202, 198)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(222), - this.instances3.alice.encrypt8(218), + this.instances3.alice.encrypt16(202), + this.instances3.alice.encrypt8(198), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 1 (11868, 206)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 1 (8195, 93)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(11868), - this.instances3.alice.encrypt8(206), + this.instances3.alice.encrypt16(8195), + this.instances3.alice.encrypt8(93), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint16, euint8) => ebool test 2 (202, 206)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 2 (89, 93)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(202), - this.instances3.alice.encrypt8(206), + this.instances3.alice.encrypt16(89), + this.instances3.alice.encrypt8(93), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 3 (206, 206)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 3 (93, 93)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(206), - this.instances3.alice.encrypt8(206), + this.instances3.alice.encrypt16(93), + this.instances3.alice.encrypt8(93), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 4 (206, 202)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 4 (93, 89)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(206), - this.instances3.alice.encrypt8(202), + this.instances3.alice.encrypt16(93), + this.instances3.alice.encrypt8(89), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 1 (13005, 103)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 1 (59556, 229)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(13005), - this.instances3.alice.encrypt8(103), + this.instances3.alice.encrypt16(59556), + this.instances3.alice.encrypt8(229), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 2 (99, 103)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 2 (225, 229)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(99), - this.instances3.alice.encrypt8(103), + this.instances3.alice.encrypt16(225), + this.instances3.alice.encrypt8(229), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 3 (103, 103)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 3 (229, 229)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(103), - this.instances3.alice.encrypt8(103), + this.instances3.alice.encrypt16(229), + this.instances3.alice.encrypt8(229), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 4 (103, 99)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 4 (229, 225)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(103), - this.instances3.alice.encrypt8(99), + this.instances3.alice.encrypt16(229), + this.instances3.alice.encrypt8(225), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 1 (59594, 150)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 1 (40365, 88)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(59594), - this.instances3.alice.encrypt8(150), + this.instances3.alice.encrypt16(40365), + this.instances3.alice.encrypt8(88), ); - expect(res).to.equal(150); + expect(res).to.equal(88); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 2 (146, 150)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 2 (84, 88)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(146), - this.instances3.alice.encrypt8(150), + this.instances3.alice.encrypt16(84), + this.instances3.alice.encrypt8(88), ); - expect(res).to.equal(146); + expect(res).to.equal(84); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 3 (150, 150)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 3 (88, 88)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(150), - this.instances3.alice.encrypt8(150), + this.instances3.alice.encrypt16(88), + this.instances3.alice.encrypt8(88), ); - expect(res).to.equal(150); + expect(res).to.equal(88); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 4 (150, 146)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 4 (88, 84)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(150), - this.instances3.alice.encrypt8(146), + this.instances3.alice.encrypt16(88), + this.instances3.alice.encrypt8(84), ); - expect(res).to.equal(146); + expect(res).to.equal(84); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 1 (45745, 137)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 1 (45208, 175)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(45745), - this.instances3.alice.encrypt8(137), + this.instances3.alice.encrypt16(45208), + this.instances3.alice.encrypt8(175), ); - expect(res).to.equal(45745); + expect(res).to.equal(45208); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 2 (133, 137)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 2 (171, 175)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(133), - this.instances3.alice.encrypt8(137), + this.instances3.alice.encrypt16(171), + this.instances3.alice.encrypt8(175), ); - expect(res).to.equal(137); + expect(res).to.equal(175); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 3 (137, 137)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 3 (175, 175)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(137), - this.instances3.alice.encrypt8(137), + this.instances3.alice.encrypt16(175), + this.instances3.alice.encrypt8(175), ); - expect(res).to.equal(137); + expect(res).to.equal(175); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 4 (137, 133)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 4 (175, 171)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(137), - this.instances3.alice.encrypt8(133), + this.instances3.alice.encrypt16(175), + this.instances3.alice.encrypt8(171), ); - expect(res).to.equal(137); + expect(res).to.equal(175); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 1 (15771, 31424)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 1 (1870, 63235)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(15771), - this.instances3.alice.encrypt16(31424), + this.instances3.alice.encrypt16(1870), + this.instances3.alice.encrypt16(63235), ); - expect(res).to.equal(47195); + expect(res).to.equal(65105n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 2 (15767, 15771)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 2 (1866, 1870)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(15767), - this.instances3.alice.encrypt16(15771), + this.instances3.alice.encrypt16(1866), + this.instances3.alice.encrypt16(1870), ); - expect(res).to.equal(31538); + expect(res).to.equal(3736n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 3 (15771, 15771)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 3 (1870, 1870)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(15771), - this.instances3.alice.encrypt16(15771), + this.instances3.alice.encrypt16(1870), + this.instances3.alice.encrypt16(1870), ); - expect(res).to.equal(31542); + expect(res).to.equal(3740n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 4 (15771, 15767)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 4 (1870, 1866)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(15771), - this.instances3.alice.encrypt16(15767), + this.instances3.alice.encrypt16(1870), + this.instances3.alice.encrypt16(1866), ); - expect(res).to.equal(31538); + expect(res).to.equal(3736n); }); - it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (20069, 20069)', async function () { + it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (4130, 4130)', async function () { const res = await this.contract3.sub_euint16_euint16( - this.instances3.alice.encrypt16(20069), - this.instances3.alice.encrypt16(20069), + this.instances3.alice.encrypt16(4130), + this.instances3.alice.encrypt16(4130), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, euint16) => euint16 test 2 (20069, 20065)', async function () { + it('test operator "sub" overload (euint16, euint16) => euint16 test 2 (4130, 4126)', async function () { const res = await this.contract3.sub_euint16_euint16( - this.instances3.alice.encrypt16(20069), - this.instances3.alice.encrypt16(20065), + this.instances3.alice.encrypt16(4130), + this.instances3.alice.encrypt16(4126), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (68, 599)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (103, 420)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(68), - this.instances3.alice.encrypt16(599), + this.instances3.alice.encrypt16(103), + this.instances3.alice.encrypt16(420), ); - expect(res).to.equal(40732); + expect(res).to.equal(43260n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 2 (136, 136)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 2 (206, 207)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(136), - this.instances3.alice.encrypt16(136), + this.instances3.alice.encrypt16(206), + this.instances3.alice.encrypt16(207), ); - expect(res).to.equal(18496); + expect(res).to.equal(42642n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 3 (136, 136)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 3 (207, 207)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(136), - this.instances3.alice.encrypt16(136), + this.instances3.alice.encrypt16(207), + this.instances3.alice.encrypt16(207), ); - expect(res).to.equal(18496); + expect(res).to.equal(42849n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 4 (136, 136)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 4 (207, 206)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(136), - this.instances3.alice.encrypt16(136), + this.instances3.alice.encrypt16(207), + this.instances3.alice.encrypt16(206), ); - expect(res).to.equal(18496); + expect(res).to.equal(42642n); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 1 (26290, 23750)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 1 (55927, 33200)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(26290), - this.instances3.alice.encrypt16(23750), + this.instances3.alice.encrypt16(55927), + this.instances3.alice.encrypt16(33200), ); - expect(res).to.equal(17538); + expect(res).to.equal(32816); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 2 (23746, 23750)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 2 (33196, 33200)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(23746), - this.instances3.alice.encrypt16(23750), + this.instances3.alice.encrypt16(33196), + this.instances3.alice.encrypt16(33200), ); - expect(res).to.equal(23746); + expect(res).to.equal(33184); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 3 (23750, 23750)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 3 (33200, 33200)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(23750), - this.instances3.alice.encrypt16(23750), + this.instances3.alice.encrypt16(33200), + this.instances3.alice.encrypt16(33200), ); - expect(res).to.equal(23750); + expect(res).to.equal(33200); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 4 (23750, 23746)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 4 (33200, 33196)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(23750), - this.instances3.alice.encrypt16(23746), + this.instances3.alice.encrypt16(33200), + this.instances3.alice.encrypt16(33196), ); - expect(res).to.equal(23746); + expect(res).to.equal(33184); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 1 (61878, 7772)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 1 (25484, 6586)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(61878), - this.instances3.alice.encrypt16(7772), + this.instances3.alice.encrypt16(25484), + this.instances3.alice.encrypt16(6586), ); - expect(res).to.equal(65534); + expect(res).to.equal(31678); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 2 (7768, 7772)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 2 (6582, 6586)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(7768), - this.instances3.alice.encrypt16(7772), + this.instances3.alice.encrypt16(6582), + this.instances3.alice.encrypt16(6586), ); - expect(res).to.equal(7772); + expect(res).to.equal(6590); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 3 (7772, 7772)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 3 (6586, 6586)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(7772), - this.instances3.alice.encrypt16(7772), + this.instances3.alice.encrypt16(6586), + this.instances3.alice.encrypt16(6586), ); - expect(res).to.equal(7772); + expect(res).to.equal(6586); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 4 (7772, 7768)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 4 (6586, 6582)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(7772), - this.instances3.alice.encrypt16(7768), + this.instances3.alice.encrypt16(6586), + this.instances3.alice.encrypt16(6582), ); - expect(res).to.equal(7772); + expect(res).to.equal(6590); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (36773, 46302)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (20626, 44825)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(36773), - this.instances3.alice.encrypt16(46302), + this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt16(44825), ); - expect(res).to.equal(15227); + expect(res).to.equal(65419); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (36769, 36773)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (20622, 20626)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(36769), - this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt16(20622), + this.instances3.alice.encrypt16(20626), ); - expect(res).to.equal(4); + expect(res).to.equal(28); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 3 (36773, 36773)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 3 (20626, 20626)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(36773), - this.instances3.alice.encrypt16(36773), + this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt16(20626), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 4 (36773, 36769)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 4 (20626, 20622)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(36773), - this.instances3.alice.encrypt16(36769), + this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt16(20622), ); - expect(res).to.equal(4); + expect(res).to.equal(28); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 1 (44634, 41626)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 1 (5463, 64736)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(44634), - this.instances3.alice.encrypt16(41626), + this.instances3.alice.encrypt16(5463), + this.instances3.alice.encrypt16(64736), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 2 (41622, 41626)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 2 (5459, 5463)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(41622), - this.instances3.alice.encrypt16(41626), + this.instances3.alice.encrypt16(5459), + this.instances3.alice.encrypt16(5463), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 3 (41626, 41626)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 3 (5463, 5463)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(41626), - this.instances3.alice.encrypt16(41626), + this.instances3.alice.encrypt16(5463), + this.instances3.alice.encrypt16(5463), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 4 (41626, 41622)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 4 (5463, 5459)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(41626), - this.instances3.alice.encrypt16(41622), + this.instances3.alice.encrypt16(5463), + this.instances3.alice.encrypt16(5459), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 1 (58512, 41579)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 1 (24558, 63661)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(58512), - this.instances3.alice.encrypt16(41579), + this.instances3.alice.encrypt16(24558), + this.instances3.alice.encrypt16(63661), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 2 (41575, 41579)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 2 (24554, 24558)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(41575), - this.instances3.alice.encrypt16(41579), + this.instances3.alice.encrypt16(24554), + this.instances3.alice.encrypt16(24558), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 3 (41579, 41579)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 3 (24558, 24558)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(41579), - this.instances3.alice.encrypt16(41579), + this.instances3.alice.encrypt16(24558), + this.instances3.alice.encrypt16(24558), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 4 (41579, 41575)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 4 (24558, 24554)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(41579), - this.instances3.alice.encrypt16(41575), + this.instances3.alice.encrypt16(24558), + this.instances3.alice.encrypt16(24554), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 1 (2319, 22034)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 1 (51421, 31489)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(2319), - this.instances3.alice.encrypt16(22034), + this.instances3.alice.encrypt16(51421), + this.instances3.alice.encrypt16(31489), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 2 (2315, 2319)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 2 (31485, 31489)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(2315), - this.instances3.alice.encrypt16(2319), + this.instances3.alice.encrypt16(31485), + this.instances3.alice.encrypt16(31489), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 3 (2319, 2319)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 3 (31489, 31489)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(2319), - this.instances3.alice.encrypt16(2319), + this.instances3.alice.encrypt16(31489), + this.instances3.alice.encrypt16(31489), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 4 (2319, 2315)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 4 (31489, 31485)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(2319), - this.instances3.alice.encrypt16(2315), + this.instances3.alice.encrypt16(31489), + this.instances3.alice.encrypt16(31485), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 1 (39995, 43029)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 1 (44465, 46930)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(39995), - this.instances3.alice.encrypt16(43029), + this.instances3.alice.encrypt16(44465), + this.instances3.alice.encrypt16(46930), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 2 (39991, 39995)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 2 (44461, 44465)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(39991), - this.instances3.alice.encrypt16(39995), + this.instances3.alice.encrypt16(44461), + this.instances3.alice.encrypt16(44465), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 3 (39995, 39995)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 3 (44465, 44465)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(39995), - this.instances3.alice.encrypt16(39995), + this.instances3.alice.encrypt16(44465), + this.instances3.alice.encrypt16(44465), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 4 (39995, 39991)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 4 (44465, 44461)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(39995), - this.instances3.alice.encrypt16(39991), + this.instances3.alice.encrypt16(44465), + this.instances3.alice.encrypt16(44461), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 1 (11868, 62015)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 1 (8195, 18657)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(11868), - this.instances3.alice.encrypt16(62015), + this.instances3.alice.encrypt16(8195), + this.instances3.alice.encrypt16(18657), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 2 (11864, 11868)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 2 (8191, 8195)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(11864), - this.instances3.alice.encrypt16(11868), + this.instances3.alice.encrypt16(8191), + this.instances3.alice.encrypt16(8195), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 3 (11868, 11868)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 3 (8195, 8195)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(11868), - this.instances3.alice.encrypt16(11868), + this.instances3.alice.encrypt16(8195), + this.instances3.alice.encrypt16(8195), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 4 (11868, 11864)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 4 (8195, 8191)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(11868), - this.instances3.alice.encrypt16(11864), + this.instances3.alice.encrypt16(8195), + this.instances3.alice.encrypt16(8191), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 1 (13005, 22857)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 1 (59556, 39223)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(13005), - this.instances3.alice.encrypt16(22857), + this.instances3.alice.encrypt16(59556), + this.instances3.alice.encrypt16(39223), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 2 (13001, 13005)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 2 (39219, 39223)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(13001), - this.instances3.alice.encrypt16(13005), + this.instances3.alice.encrypt16(39219), + this.instances3.alice.encrypt16(39223), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 3 (13005, 13005)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 3 (39223, 39223)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(13005), - this.instances3.alice.encrypt16(13005), + this.instances3.alice.encrypt16(39223), + this.instances3.alice.encrypt16(39223), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 4 (13005, 13001)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 4 (39223, 39219)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(13005), - this.instances3.alice.encrypt16(13001), + this.instances3.alice.encrypt16(39223), + this.instances3.alice.encrypt16(39219), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 1 (59594, 35028)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 1 (40365, 36544)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(59594), - this.instances3.alice.encrypt16(35028), + this.instances3.alice.encrypt16(40365), + this.instances3.alice.encrypt16(36544), ); - expect(res).to.equal(35028); + expect(res).to.equal(36544); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 2 (35024, 35028)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 2 (36540, 36544)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(35024), - this.instances3.alice.encrypt16(35028), + this.instances3.alice.encrypt16(36540), + this.instances3.alice.encrypt16(36544), ); - expect(res).to.equal(35024); + expect(res).to.equal(36540); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 3 (35028, 35028)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 3 (36544, 36544)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(35028), - this.instances3.alice.encrypt16(35028), + this.instances3.alice.encrypt16(36544), + this.instances3.alice.encrypt16(36544), ); - expect(res).to.equal(35028); + expect(res).to.equal(36544); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 4 (35028, 35024)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 4 (36544, 36540)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(35028), - this.instances3.alice.encrypt16(35024), + this.instances3.alice.encrypt16(36544), + this.instances3.alice.encrypt16(36540), ); - expect(res).to.equal(35024); + expect(res).to.equal(36540); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 1 (45745, 24760)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 1 (45208, 37832)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(45745), - this.instances3.alice.encrypt16(24760), + this.instances3.alice.encrypt16(45208), + this.instances3.alice.encrypt16(37832), ); - expect(res).to.equal(45745); + expect(res).to.equal(45208); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 2 (24756, 24760)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 2 (37828, 37832)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(24756), - this.instances3.alice.encrypt16(24760), + this.instances3.alice.encrypt16(37828), + this.instances3.alice.encrypt16(37832), ); - expect(res).to.equal(24760); + expect(res).to.equal(37832); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 3 (24760, 24760)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 3 (37832, 37832)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(24760), - this.instances3.alice.encrypt16(24760), + this.instances3.alice.encrypt16(37832), + this.instances3.alice.encrypt16(37832), ); - expect(res).to.equal(24760); + expect(res).to.equal(37832); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 4 (24760, 24756)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 4 (37832, 37828)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(24760), - this.instances3.alice.encrypt16(24756), + this.instances3.alice.encrypt16(37832), + this.instances3.alice.encrypt16(37828), ); - expect(res).to.equal(24760); + expect(res).to.equal(37832); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 1 (6, 46282)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 1 (12, 38505)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(6), - this.instances3.alice.encrypt32(46282), + this.instances3.alice.encrypt16(12), + this.instances3.alice.encrypt32(38505), ); - expect(res).to.equal(46288); + expect(res).to.equal(38517n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 2 (27895, 27899)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 2 (24647, 24651)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(27895), - this.instances3.alice.encrypt32(27899), + this.instances3.alice.encrypt16(24647), + this.instances3.alice.encrypt32(24651), ); - expect(res).to.equal(55794); + expect(res).to.equal(49298n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 3 (27899, 27899)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 3 (24651, 24651)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(27899), - this.instances3.alice.encrypt32(27899), + this.instances3.alice.encrypt16(24651), + this.instances3.alice.encrypt32(24651), ); - expect(res).to.equal(55798); + expect(res).to.equal(49302n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 4 (27899, 27895)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 4 (24651, 24647)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(27899), - this.instances3.alice.encrypt32(27895), + this.instances3.alice.encrypt16(24651), + this.instances3.alice.encrypt32(24647), ); - expect(res).to.equal(55794); + expect(res).to.equal(49298n); }); - it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (63598, 63598)', async function () { + it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (7479, 7479)', async function () { const res = await this.contract3.sub_euint16_euint32( - this.instances3.alice.encrypt16(63598), - this.instances3.alice.encrypt32(63598), + this.instances3.alice.encrypt16(7479), + this.instances3.alice.encrypt32(7479), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (63598, 63594)', async function () { + it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (7479, 7475)', async function () { const res = await this.contract3.sub_euint16_euint32( - this.instances3.alice.encrypt16(63598), - this.instances3.alice.encrypt32(63594), + this.instances3.alice.encrypt16(7479), + this.instances3.alice.encrypt32(7475), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (4, 14667)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (3, 8498)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(14667), + this.instances3.alice.encrypt16(3), + this.instances3.alice.encrypt32(8498), ); - expect(res).to.equal(58668); + expect(res).to.equal(25494n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 2 (154, 154)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 2 (209, 209)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(154), - this.instances3.alice.encrypt32(154), + this.instances3.alice.encrypt16(209), + this.instances3.alice.encrypt32(209), ); - expect(res).to.equal(23716); + expect(res).to.equal(43681n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 3 (154, 154)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 3 (209, 209)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(154), - this.instances3.alice.encrypt32(154), + this.instances3.alice.encrypt16(209), + this.instances3.alice.encrypt32(209), ); - expect(res).to.equal(23716); + expect(res).to.equal(43681n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 4 (154, 154)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 4 (209, 209)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(154), - this.instances3.alice.encrypt32(154), + this.instances3.alice.encrypt16(209), + this.instances3.alice.encrypt32(209), ); - expect(res).to.equal(23716); + expect(res).to.equal(43681n); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 1 (26290, 142339715)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 1 (55927, 26519890)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(26290), - this.instances3.alice.encrypt32(142339715), + this.instances3.alice.encrypt16(55927), + this.instances3.alice.encrypt32(26519890), ); - expect(res).to.equal(26242); + expect(res).to.equal(34898); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 2 (26286, 26290)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 2 (55923, 55927)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(26286), - this.instances3.alice.encrypt32(26290), + this.instances3.alice.encrypt16(55923), + this.instances3.alice.encrypt32(55927), ); - expect(res).to.equal(26274); + expect(res).to.equal(55923); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 3 (26290, 26290)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 3 (55927, 55927)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(26290), - this.instances3.alice.encrypt32(26290), + this.instances3.alice.encrypt16(55927), + this.instances3.alice.encrypt32(55927), ); - expect(res).to.equal(26290); + expect(res).to.equal(55927); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 4 (26290, 26286)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 4 (55927, 55923)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(26290), - this.instances3.alice.encrypt32(26286), + this.instances3.alice.encrypt16(55927), + this.instances3.alice.encrypt32(55923), ); - expect(res).to.equal(26274); + expect(res).to.equal(55923); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 1 (61878, 213802596)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 1 (25484, 156227915)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(61878), - this.instances3.alice.encrypt32(213802596), + this.instances3.alice.encrypt16(25484), + this.instances3.alice.encrypt32(156227915), ); - expect(res).to.equal(213843958); + expect(res).to.equal(156236751); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 2 (61874, 61878)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 2 (25480, 25484)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(61874), - this.instances3.alice.encrypt32(61878), + this.instances3.alice.encrypt16(25480), + this.instances3.alice.encrypt32(25484), ); - expect(res).to.equal(61878); + expect(res).to.equal(25484); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 3 (61878, 61878)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 3 (25484, 25484)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(61878), - this.instances3.alice.encrypt32(61878), + this.instances3.alice.encrypt16(25484), + this.instances3.alice.encrypt32(25484), ); - expect(res).to.equal(61878); + expect(res).to.equal(25484); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 4 (61878, 61874)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 4 (25484, 25480)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(61878), - this.instances3.alice.encrypt32(61874), + this.instances3.alice.encrypt16(25484), + this.instances3.alice.encrypt32(25480), ); - expect(res).to.equal(61878); + expect(res).to.equal(25484); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (36773, 153920052)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (20626, 50344759)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(36773), - this.instances3.alice.encrypt32(153920052), + this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt32(50344759), ); - expect(res).to.equal(153890193); + expect(res).to.equal(50357157); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (36769, 36773)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (20622, 20626)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(36769), - this.instances3.alice.encrypt32(36773), + this.instances3.alice.encrypt16(20622), + this.instances3.alice.encrypt32(20626), ); - expect(res).to.equal(4); + expect(res).to.equal(28); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 3 (36773, 36773)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 3 (20626, 20626)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(36773), - this.instances3.alice.encrypt32(36773), + this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt32(20626), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 4 (36773, 36769)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 4 (20626, 20622)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(36773), - this.instances3.alice.encrypt32(36769), + this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt32(20622), ); - expect(res).to.equal(4); + expect(res).to.equal(28); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 1 (58427, 33310393)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 1 (47820, 152613323)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(58427), - this.instances3.alice.encrypt32(33310393), + this.instances3.alice.encrypt16(47820), + this.instances3.alice.encrypt32(152613323), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 2 (58423, 58427)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 2 (47816, 47820)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(58423), - this.instances3.alice.encrypt32(58427), + this.instances3.alice.encrypt16(47816), + this.instances3.alice.encrypt32(47820), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 3 (58427, 58427)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 3 (47820, 47820)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(58427), - this.instances3.alice.encrypt32(58427), + this.instances3.alice.encrypt16(47820), + this.instances3.alice.encrypt32(47820), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 4 (58427, 58423)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 4 (47820, 47816)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(58427), - this.instances3.alice.encrypt32(58423), + this.instances3.alice.encrypt16(47820), + this.instances3.alice.encrypt32(47816), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 1 (22739, 149626103)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 1 (40202, 108078460)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(22739), - this.instances3.alice.encrypt32(149626103), + this.instances3.alice.encrypt16(40202), + this.instances3.alice.encrypt32(108078460), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 2 (22735, 22739)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 2 (40198, 40202)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(22735), - this.instances3.alice.encrypt32(22739), + this.instances3.alice.encrypt16(40198), + this.instances3.alice.encrypt32(40202), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 3 (22739, 22739)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 3 (40202, 40202)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(22739), - this.instances3.alice.encrypt32(22739), + this.instances3.alice.encrypt16(40202), + this.instances3.alice.encrypt32(40202), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 4 (22739, 22735)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 4 (40202, 40198)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(22739), - this.instances3.alice.encrypt32(22735), + this.instances3.alice.encrypt16(40202), + this.instances3.alice.encrypt32(40198), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 1 (15004, 215912519)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 1 (44552, 89317183)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(15004), - this.instances3.alice.encrypt32(215912519), + this.instances3.alice.encrypt16(44552), + this.instances3.alice.encrypt32(89317183), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 2 (15000, 15004)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 2 (44548, 44552)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(15000), - this.instances3.alice.encrypt32(15004), + this.instances3.alice.encrypt16(44548), + this.instances3.alice.encrypt32(44552), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 3 (15004, 15004)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 3 (44552, 44552)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(15004), - this.instances3.alice.encrypt32(15004), + this.instances3.alice.encrypt16(44552), + this.instances3.alice.encrypt32(44552), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 4 (15004, 15000)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 4 (44552, 44548)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(15004), - this.instances3.alice.encrypt32(15000), + this.instances3.alice.encrypt16(44552), + this.instances3.alice.encrypt32(44548), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 1 (31594, 222562117)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 1 (40972, 46817193)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(31594), - this.instances3.alice.encrypt32(222562117), + this.instances3.alice.encrypt16(40972), + this.instances3.alice.encrypt32(46817193), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 2 (31590, 31594)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 2 (40968, 40972)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(31590), - this.instances3.alice.encrypt32(31594), + this.instances3.alice.encrypt16(40968), + this.instances3.alice.encrypt32(40972), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 3 (31594, 31594)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 3 (40972, 40972)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(31594), - this.instances3.alice.encrypt32(31594), + this.instances3.alice.encrypt16(40972), + this.instances3.alice.encrypt32(40972), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 4 (31594, 31590)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 4 (40972, 40968)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(31594), - this.instances3.alice.encrypt32(31590), + this.instances3.alice.encrypt16(40972), + this.instances3.alice.encrypt32(40968), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 1 (2104, 130166929)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 1 (61583, 12489816)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(2104), - this.instances3.alice.encrypt32(130166929), + this.instances3.alice.encrypt16(61583), + this.instances3.alice.encrypt32(12489816), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 2 (2100, 2104)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 2 (61579, 61583)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(2100), - this.instances3.alice.encrypt32(2104), + this.instances3.alice.encrypt16(61579), + this.instances3.alice.encrypt32(61583), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 3 (2104, 2104)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 3 (61583, 61583)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(2104), - this.instances3.alice.encrypt32(2104), + this.instances3.alice.encrypt16(61583), + this.instances3.alice.encrypt32(61583), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 4 (2104, 2100)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 4 (61583, 61579)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(2104), - this.instances3.alice.encrypt32(2100), + this.instances3.alice.encrypt16(61583), + this.instances3.alice.encrypt32(61579), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 1 (6215, 187516000)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 1 (30406, 222597839)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(6215), - this.instances3.alice.encrypt32(187516000), + this.instances3.alice.encrypt16(30406), + this.instances3.alice.encrypt32(222597839), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 2 (6211, 6215)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 2 (30402, 30406)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(6211), - this.instances3.alice.encrypt32(6215), + this.instances3.alice.encrypt16(30402), + this.instances3.alice.encrypt32(30406), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 3 (6215, 6215)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 3 (30406, 30406)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(6215), - this.instances3.alice.encrypt32(6215), + this.instances3.alice.encrypt16(30406), + this.instances3.alice.encrypt32(30406), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 4 (6215, 6211)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 4 (30406, 30402)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(6215), - this.instances3.alice.encrypt32(6211), + this.instances3.alice.encrypt16(30406), + this.instances3.alice.encrypt32(30402), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 1 (24863, 17029307)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 1 (24104, 263622414)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(24863), - this.instances3.alice.encrypt32(17029307), + this.instances3.alice.encrypt16(24104), + this.instances3.alice.encrypt32(263622414), ); - expect(res).to.equal(24863); + expect(res).to.equal(24104); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 2 (24859, 24863)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 2 (24100, 24104)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(24859), - this.instances3.alice.encrypt32(24863), + this.instances3.alice.encrypt16(24100), + this.instances3.alice.encrypt32(24104), ); - expect(res).to.equal(24859); + expect(res).to.equal(24100); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 3 (24863, 24863)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 3 (24104, 24104)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(24863), - this.instances3.alice.encrypt32(24863), + this.instances3.alice.encrypt16(24104), + this.instances3.alice.encrypt32(24104), ); - expect(res).to.equal(24863); + expect(res).to.equal(24104); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 4 (24863, 24859)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 4 (24104, 24100)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(24863), - this.instances3.alice.encrypt32(24859), + this.instances3.alice.encrypt16(24104), + this.instances3.alice.encrypt32(24100), ); - expect(res).to.equal(24859); + expect(res).to.equal(24100); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 1 (47912, 251556706)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 1 (62549, 239578021)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(47912), - this.instances3.alice.encrypt32(251556706), + this.instances3.alice.encrypt16(62549), + this.instances3.alice.encrypt32(239578021), ); - expect(res).to.equal(251556706); + expect(res).to.equal(239578021); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 2 (47908, 47912)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 2 (62545, 62549)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(47908), - this.instances3.alice.encrypt32(47912), + this.instances3.alice.encrypt16(62545), + this.instances3.alice.encrypt32(62549), ); - expect(res).to.equal(47912); + expect(res).to.equal(62549); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 3 (47912, 47912)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 3 (62549, 62549)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(47912), - this.instances3.alice.encrypt32(47912), + this.instances3.alice.encrypt16(62549), + this.instances3.alice.encrypt32(62549), ); - expect(res).to.equal(47912); + expect(res).to.equal(62549); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 4 (47912, 47908)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 4 (62549, 62545)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(47912), - this.instances3.alice.encrypt32(47908), + this.instances3.alice.encrypt16(62549), + this.instances3.alice.encrypt32(62545), ); - expect(res).to.equal(47912); + expect(res).to.equal(62549); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 1 (108, 51831)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 1 (24, 33045)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(108), - this.instances3.alice.encrypt64(51831), + this.instances3.alice.encrypt16(24), + this.instances3.alice.encrypt64(33045), ); - expect(res).to.equal(51939); + expect(res).to.equal(33069n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 2 (27895, 27899)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 2 (24647, 24651)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(27895), - this.instances3.alice.encrypt64(27899), + this.instances3.alice.encrypt16(24647), + this.instances3.alice.encrypt64(24651), ); - expect(res).to.equal(55794); + expect(res).to.equal(49298n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 3 (27899, 27899)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 3 (24651, 24651)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(27899), - this.instances3.alice.encrypt64(27899), + this.instances3.alice.encrypt16(24651), + this.instances3.alice.encrypt64(24651), ); - expect(res).to.equal(55798); + expect(res).to.equal(49302n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 4 (27899, 27895)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 4 (24651, 24647)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(27899), - this.instances3.alice.encrypt64(27895), + this.instances3.alice.encrypt16(24651), + this.instances3.alice.encrypt64(24647), ); - expect(res).to.equal(55794); + expect(res).to.equal(49298n); }); - it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (63598, 63598)', async function () { + it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (7479, 7479)', async function () { const res = await this.contract3.sub_euint16_euint64( - this.instances3.alice.encrypt16(63598), - this.instances3.alice.encrypt64(63598), + this.instances3.alice.encrypt16(7479), + this.instances3.alice.encrypt64(7479), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (63598, 63594)', async function () { + it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (7479, 7475)', async function () { const res = await this.contract3.sub_euint16_euint64( - this.instances3.alice.encrypt16(63598), - this.instances3.alice.encrypt64(63594), + this.instances3.alice.encrypt16(7479), + this.instances3.alice.encrypt64(7475), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (2, 16788)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (6, 6087)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt64(16788), + this.instances3.alice.encrypt16(6), + this.instances3.alice.encrypt64(6087), ); - expect(res).to.equal(33576); + expect(res).to.equal(36522n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 2 (154, 154)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 2 (209, 209)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(154), - this.instances3.alice.encrypt64(154), + this.instances3.alice.encrypt16(209), + this.instances3.alice.encrypt64(209), ); - expect(res).to.equal(23716); + expect(res).to.equal(43681n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 3 (154, 154)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 3 (209, 209)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(154), - this.instances3.alice.encrypt64(154), + this.instances3.alice.encrypt16(209), + this.instances3.alice.encrypt64(209), ); - expect(res).to.equal(23716); + expect(res).to.equal(43681n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 4 (154, 154)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 4 (209, 209)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(154), - this.instances3.alice.encrypt64(154), + this.instances3.alice.encrypt16(209), + this.instances3.alice.encrypt64(209), ); - expect(res).to.equal(23716); + expect(res).to.equal(43681n); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 1 (26290, 78773969)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 1 (55927, 66357780)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(26290), - this.instances3.alice.encrypt64(78773969), + this.instances3.alice.encrypt16(55927), + this.instances3.alice.encrypt64(66357780), ); - expect(res).to.equal(26256); + expect(res).to.equal(35348); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 2 (26286, 26290)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 2 (55923, 55927)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(26286), - this.instances3.alice.encrypt64(26290), + this.instances3.alice.encrypt16(55923), + this.instances3.alice.encrypt64(55927), ); - expect(res).to.equal(26274); + expect(res).to.equal(55923); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 3 (26290, 26290)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 3 (55927, 55927)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(26290), - this.instances3.alice.encrypt64(26290), + this.instances3.alice.encrypt16(55927), + this.instances3.alice.encrypt64(55927), ); - expect(res).to.equal(26290); + expect(res).to.equal(55927); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 4 (26290, 26286)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 4 (55927, 55923)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(26290), - this.instances3.alice.encrypt64(26286), + this.instances3.alice.encrypt16(55927), + this.instances3.alice.encrypt64(55923), ); - expect(res).to.equal(26274); + expect(res).to.equal(55923); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 1 (61878, 192916939)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 1 (25484, 265773773)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(61878), - this.instances3.alice.encrypt64(192916939), + this.instances3.alice.encrypt16(25484), + this.instances3.alice.encrypt64(265773773), ); - expect(res).to.equal(192937471); + expect(res).to.equal(265774029); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 2 (61874, 61878)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 2 (25480, 25484)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(61874), - this.instances3.alice.encrypt64(61878), + this.instances3.alice.encrypt16(25480), + this.instances3.alice.encrypt64(25484), ); - expect(res).to.equal(61878); + expect(res).to.equal(25484); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 3 (61878, 61878)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 3 (25484, 25484)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(61878), - this.instances3.alice.encrypt64(61878), + this.instances3.alice.encrypt16(25484), + this.instances3.alice.encrypt64(25484), ); - expect(res).to.equal(61878); + expect(res).to.equal(25484); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 4 (61878, 61874)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 4 (25484, 25480)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(61878), - this.instances3.alice.encrypt64(61874), + this.instances3.alice.encrypt16(25484), + this.instances3.alice.encrypt64(25480), ); - expect(res).to.equal(61878); + expect(res).to.equal(25484); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (36773, 191475857)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (20626, 20674993)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(36773), - this.instances3.alice.encrypt64(191475857), + this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt64(20674993), ); - expect(res).to.equal(191446836); + expect(res).to.equal(20654371); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (36769, 36773)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (20622, 20626)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(36769), - this.instances3.alice.encrypt64(36773), + this.instances3.alice.encrypt16(20622), + this.instances3.alice.encrypt64(20626), ); - expect(res).to.equal(4); + expect(res).to.equal(28); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 3 (36773, 36773)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 3 (20626, 20626)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(36773), - this.instances3.alice.encrypt64(36773), + this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt64(20626), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 4 (36773, 36769)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 4 (20626, 20622)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(36773), - this.instances3.alice.encrypt64(36769), + this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt64(20622), ); - expect(res).to.equal(4); + expect(res).to.equal(28); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 1 (58427, 265593759)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 1 (47820, 145445907)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(58427), - this.instances3.alice.encrypt64(265593759), + this.instances3.alice.encrypt16(47820), + this.instances3.alice.encrypt64(145445907), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 2 (58423, 58427)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 2 (47816, 47820)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(58423), - this.instances3.alice.encrypt64(58427), + this.instances3.alice.encrypt16(47816), + this.instances3.alice.encrypt64(47820), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 3 (58427, 58427)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 3 (47820, 47820)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(58427), - this.instances3.alice.encrypt64(58427), + this.instances3.alice.encrypt16(47820), + this.instances3.alice.encrypt64(47820), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 4 (58427, 58423)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 4 (47820, 47816)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(58427), - this.instances3.alice.encrypt64(58423), + this.instances3.alice.encrypt16(47820), + this.instances3.alice.encrypt64(47816), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 1 (22739, 233045312)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 1 (40202, 163102475)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(22739), - this.instances3.alice.encrypt64(233045312), + this.instances3.alice.encrypt16(40202), + this.instances3.alice.encrypt64(163102475), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 2 (22735, 22739)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 2 (40198, 40202)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(22735), - this.instances3.alice.encrypt64(22739), + this.instances3.alice.encrypt16(40198), + this.instances3.alice.encrypt64(40202), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 3 (22739, 22739)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 3 (40202, 40202)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(22739), - this.instances3.alice.encrypt64(22739), + this.instances3.alice.encrypt16(40202), + this.instances3.alice.encrypt64(40202), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 4 (22739, 22735)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 4 (40202, 40198)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(22739), - this.instances3.alice.encrypt64(22735), + this.instances3.alice.encrypt16(40202), + this.instances3.alice.encrypt64(40198), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 1 (15004, 5255422)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 1 (44552, 221643140)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(15004), - this.instances3.alice.encrypt64(5255422), + this.instances3.alice.encrypt16(44552), + this.instances3.alice.encrypt64(221643140), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 2 (15000, 15004)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 2 (44548, 44552)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(15000), - this.instances3.alice.encrypt64(15004), + this.instances3.alice.encrypt16(44548), + this.instances3.alice.encrypt64(44552), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 3 (15004, 15004)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 3 (44552, 44552)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(15004), - this.instances3.alice.encrypt64(15004), + this.instances3.alice.encrypt16(44552), + this.instances3.alice.encrypt64(44552), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 4 (15004, 15000)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 4 (44552, 44548)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(15004), - this.instances3.alice.encrypt64(15000), + this.instances3.alice.encrypt16(44552), + this.instances3.alice.encrypt64(44548), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 1 (31594, 160571558)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 1 (40972, 29158802)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(31594), - this.instances3.alice.encrypt64(160571558), + this.instances3.alice.encrypt16(40972), + this.instances3.alice.encrypt64(29158802), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 2 (31590, 31594)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 2 (40968, 40972)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(31590), - this.instances3.alice.encrypt64(31594), + this.instances3.alice.encrypt16(40968), + this.instances3.alice.encrypt64(40972), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 3 (31594, 31594)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 3 (40972, 40972)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(31594), - this.instances3.alice.encrypt64(31594), + this.instances3.alice.encrypt16(40972), + this.instances3.alice.encrypt64(40972), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 4 (31594, 31590)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 4 (40972, 40968)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(31594), - this.instances3.alice.encrypt64(31590), + this.instances3.alice.encrypt16(40972), + this.instances3.alice.encrypt64(40968), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 1 (2104, 188633784)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 1 (61583, 200076583)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(2104), - this.instances3.alice.encrypt64(188633784), + this.instances3.alice.encrypt16(61583), + this.instances3.alice.encrypt64(200076583), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 2 (2100, 2104)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 2 (61579, 61583)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(2100), - this.instances3.alice.encrypt64(2104), + this.instances3.alice.encrypt16(61579), + this.instances3.alice.encrypt64(61583), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 3 (2104, 2104)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 3 (61583, 61583)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(2104), - this.instances3.alice.encrypt64(2104), + this.instances3.alice.encrypt16(61583), + this.instances3.alice.encrypt64(61583), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 4 (2104, 2100)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 4 (61583, 61579)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(2104), - this.instances3.alice.encrypt64(2100), + this.instances3.alice.encrypt16(61583), + this.instances3.alice.encrypt64(61579), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 1 (6215, 123133979)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 1 (30406, 141165411)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(6215), - this.instances3.alice.encrypt64(123133979), + this.instances3.alice.encrypt16(30406), + this.instances3.alice.encrypt64(141165411), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 2 (6211, 6215)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 2 (30402, 30406)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(6211), - this.instances3.alice.encrypt64(6215), + this.instances3.alice.encrypt16(30402), + this.instances3.alice.encrypt64(30406), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 3 (6215, 6215)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 3 (30406, 30406)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(6215), - this.instances3.alice.encrypt64(6215), + this.instances3.alice.encrypt16(30406), + this.instances3.alice.encrypt64(30406), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 4 (6215, 6211)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 4 (30406, 30402)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(6215), - this.instances3.alice.encrypt64(6211), + this.instances3.alice.encrypt16(30406), + this.instances3.alice.encrypt64(30402), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 1 (24863, 217108470)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 1 (24104, 100961112)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(24863), - this.instances3.alice.encrypt64(217108470), + this.instances3.alice.encrypt16(24104), + this.instances3.alice.encrypt64(100961112), ); - expect(res).to.equal(24863); + expect(res).to.equal(24104); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 2 (24859, 24863)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 2 (24100, 24104)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(24859), - this.instances3.alice.encrypt64(24863), + this.instances3.alice.encrypt16(24100), + this.instances3.alice.encrypt64(24104), ); - expect(res).to.equal(24859); + expect(res).to.equal(24100); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 3 (24863, 24863)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 3 (24104, 24104)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(24863), - this.instances3.alice.encrypt64(24863), + this.instances3.alice.encrypt16(24104), + this.instances3.alice.encrypt64(24104), ); - expect(res).to.equal(24863); + expect(res).to.equal(24104); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 4 (24863, 24859)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 4 (24104, 24100)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(24863), - this.instances3.alice.encrypt64(24859), + this.instances3.alice.encrypt16(24104), + this.instances3.alice.encrypt64(24100), ); - expect(res).to.equal(24859); + expect(res).to.equal(24100); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 1 (47912, 227727600)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 1 (62549, 228731288)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(47912), - this.instances3.alice.encrypt64(227727600), + this.instances3.alice.encrypt16(62549), + this.instances3.alice.encrypt64(228731288), ); - expect(res).to.equal(227727600); + expect(res).to.equal(228731288); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 2 (47908, 47912)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 2 (62545, 62549)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(47908), - this.instances3.alice.encrypt64(47912), + this.instances3.alice.encrypt16(62545), + this.instances3.alice.encrypt64(62549), ); - expect(res).to.equal(47912); + expect(res).to.equal(62549); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 3 (47912, 47912)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 3 (62549, 62549)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(47912), - this.instances3.alice.encrypt64(47912), + this.instances3.alice.encrypt16(62549), + this.instances3.alice.encrypt64(62549), ); - expect(res).to.equal(47912); + expect(res).to.equal(62549); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 4 (47912, 47908)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 4 (62549, 62545)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(47912), - this.instances3.alice.encrypt64(47908), + this.instances3.alice.encrypt16(62549), + this.instances3.alice.encrypt64(62545), ); - expect(res).to.equal(47912); + expect(res).to.equal(62549); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 1 (7885, 25213)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(7885), 25213); - expect(res).to.equal(33098); + it('test operator "add" overload (euint16, uint16) => euint16 test 1 (1870, 31236)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(1870), 31236); + expect(res).to.equal(33106n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 2 (15767, 15771)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(15767), 15771); - expect(res).to.equal(31538); + it('test operator "add" overload (euint16, uint16) => euint16 test 2 (1866, 1870)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(1866), 1870); + expect(res).to.equal(3736n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 3 (15771, 15771)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(15771), 15771); - expect(res).to.equal(31542); + it('test operator "add" overload (euint16, uint16) => euint16 test 3 (1870, 1870)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(1870), 1870); + expect(res).to.equal(3740n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 4 (15771, 15767)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(15771), 15767); - expect(res).to.equal(31538); + it('test operator "add" overload (euint16, uint16) => euint16 test 4 (1870, 1866)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(1870), 1866); + expect(res).to.equal(3736n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 1 (13949, 25213)', async function () { - const res = await this.contract3.add_uint16_euint16(13949, this.instances3.alice.encrypt16(25213)); - expect(res).to.equal(39162); + it('test operator "add" overload (uint16, euint16) => euint16 test 1 (24651, 31236)', async function () { + const res = await this.contract3.add_uint16_euint16(24651, this.instances3.alice.encrypt16(31236)); + expect(res).to.equal(55887n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 2 (15767, 15771)', async function () { - const res = await this.contract3.add_uint16_euint16(15767, this.instances3.alice.encrypt16(15771)); - expect(res).to.equal(31538); + it('test operator "add" overload (uint16, euint16) => euint16 test 2 (1866, 1870)', async function () { + const res = await this.contract3.add_uint16_euint16(1866, this.instances3.alice.encrypt16(1870)); + expect(res).to.equal(3736n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 3 (15771, 15771)', async function () { - const res = await this.contract3.add_uint16_euint16(15771, this.instances3.alice.encrypt16(15771)); - expect(res).to.equal(31542); + it('test operator "add" overload (uint16, euint16) => euint16 test 3 (1870, 1870)', async function () { + const res = await this.contract3.add_uint16_euint16(1870, this.instances3.alice.encrypt16(1870)); + expect(res).to.equal(3740n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 4 (15771, 15767)', async function () { - const res = await this.contract3.add_uint16_euint16(15771, this.instances3.alice.encrypt16(15767)); - expect(res).to.equal(31538); + it('test operator "add" overload (uint16, euint16) => euint16 test 4 (1870, 1866)', async function () { + const res = await this.contract3.add_uint16_euint16(1870, this.instances3.alice.encrypt16(1866)); + expect(res).to.equal(3736n); }); - it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (20069, 20069)', async function () { - const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(20069), 20069); + it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (4130, 4130)', async function () { + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(4130), 4130); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint16, uint16) => euint16 test 2 (20069, 20065)', async function () { - const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(20069), 20065); + it('test operator "sub" overload (euint16, uint16) => euint16 test 2 (4130, 4126)', async function () { + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(4130), 4126); expect(res).to.equal(4); }); - it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (20069, 20069)', async function () { - const res = await this.contract3.sub_uint16_euint16(20069, this.instances3.alice.encrypt16(20069)); + it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (4130, 4130)', async function () { + const res = await this.contract3.sub_uint16_euint16(4130, this.instances3.alice.encrypt16(4130)); expect(res).to.equal(0); }); - it('test operator "sub" overload (uint16, euint16) => euint16 test 2 (20069, 20065)', async function () { - const res = await this.contract3.sub_uint16_euint16(20069, this.instances3.alice.encrypt16(20065)); + it('test operator "sub" overload (uint16, euint16) => euint16 test 2 (4130, 4126)', async function () { + const res = await this.contract3.sub_uint16_euint16(4130, this.instances3.alice.encrypt16(4126)); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (136, 406)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(136), 406); - expect(res).to.equal(55216); + it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (207, 286)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(207), 286); + expect(res).to.equal(59202n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 2 (136, 136)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(136), 136); - expect(res).to.equal(18496); + it('test operator "mul" overload (euint16, uint16) => euint16 test 2 (206, 207)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(206), 207); + expect(res).to.equal(42642n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 3 (136, 136)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(136), 136); - expect(res).to.equal(18496); + it('test operator "mul" overload (euint16, uint16) => euint16 test 3 (207, 207)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(207), 207); + expect(res).to.equal(42849n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 4 (136, 136)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(136), 136); - expect(res).to.equal(18496); + it('test operator "mul" overload (euint16, uint16) => euint16 test 4 (207, 206)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(207), 206); + expect(res).to.equal(42642n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (308, 203)', async function () { - const res = await this.contract3.mul_uint16_euint16(308, this.instances3.alice.encrypt16(203)); - expect(res).to.equal(62524); + it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (419, 71)', async function () { + const res = await this.contract3.mul_uint16_euint16(419, this.instances3.alice.encrypt16(71)); + expect(res).to.equal(29749n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 2 (136, 136)', async function () { - const res = await this.contract3.mul_uint16_euint16(136, this.instances3.alice.encrypt16(136)); - expect(res).to.equal(18496); + it('test operator "mul" overload (uint16, euint16) => euint16 test 2 (206, 207)', async function () { + const res = await this.contract3.mul_uint16_euint16(206, this.instances3.alice.encrypt16(207)); + expect(res).to.equal(42642n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 3 (136, 136)', async function () { - const res = await this.contract3.mul_uint16_euint16(136, this.instances3.alice.encrypt16(136)); - expect(res).to.equal(18496); + it('test operator "mul" overload (uint16, euint16) => euint16 test 3 (207, 207)', async function () { + const res = await this.contract3.mul_uint16_euint16(207, this.instances3.alice.encrypt16(207)); + expect(res).to.equal(42849n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 4 (136, 136)', async function () { - const res = await this.contract3.mul_uint16_euint16(136, this.instances3.alice.encrypt16(136)); - expect(res).to.equal(18496); + it('test operator "mul" overload (uint16, euint16) => euint16 test 4 (207, 206)', async function () { + const res = await this.contract3.mul_uint16_euint16(207, this.instances3.alice.encrypt16(206)); + expect(res).to.equal(42642n); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 1 (34461, 47014)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(34461), 47014); + it('test operator "div" overload (euint16, uint16) => euint16 test 1 (21163, 49228)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(21163), 49228); expect(res).to.equal(0); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 2 (34457, 34461)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(34457), 34461); + it('test operator "div" overload (euint16, uint16) => euint16 test 2 (21159, 21163)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(21159), 21163); expect(res).to.equal(0); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 3 (34461, 34461)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(34461), 34461); + it('test operator "div" overload (euint16, uint16) => euint16 test 3 (21163, 21163)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(21163), 21163); expect(res).to.equal(1); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 4 (34461, 34457)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(34461), 34457); + it('test operator "div" overload (euint16, uint16) => euint16 test 4 (21163, 21159)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(21163), 21159); expect(res).to.equal(1); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (302, 42308)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(302), 42308); - expect(res).to.equal(302); + it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (44670, 10464)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(44670), 10464); + expect(res).to.equal(2814); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 2 (298, 302)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(298), 302); - expect(res).to.equal(298); + it('test operator "rem" overload (euint16, uint16) => euint16 test 2 (44666, 44670)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(44666), 44670); + expect(res).to.equal(44666); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 3 (302, 302)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(302), 302); + it('test operator "rem" overload (euint16, uint16) => euint16 test 3 (44670, 44670)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(44670), 44670); expect(res).to.equal(0); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 4 (302, 298)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(302), 298); + it('test operator "rem" overload (euint16, uint16) => euint16 test 4 (44670, 44666)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(44670), 44666); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 1 (44634, 11079)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(44634), 11079); + it('test operator "eq" overload (euint16, uint16) => ebool test 1 (5463, 19063)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5463), 19063); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 2 (41622, 41626)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(41622), 41626); + it('test operator "eq" overload (euint16, uint16) => ebool test 2 (5459, 5463)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5459), 5463); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 3 (41626, 41626)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(41626), 41626); + it('test operator "eq" overload (euint16, uint16) => ebool test 3 (5463, 5463)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5463), 5463); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 4 (41626, 41622)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(41626), 41622); + it('test operator "eq" overload (euint16, uint16) => ebool test 4 (5463, 5459)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5463), 5459); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 1 (58427, 11079)', async function () { - const res = await this.contract3.eq_uint16_euint16(58427, this.instances3.alice.encrypt16(11079)); + it('test operator "eq" overload (uint16, euint16) => ebool test 1 (47820, 19063)', async function () { + const res = await this.contract3.eq_uint16_euint16(47820, this.instances3.alice.encrypt16(19063)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 2 (41622, 41626)', async function () { - const res = await this.contract3.eq_uint16_euint16(41622, this.instances3.alice.encrypt16(41626)); + it('test operator "eq" overload (uint16, euint16) => ebool test 2 (5459, 5463)', async function () { + const res = await this.contract3.eq_uint16_euint16(5459, this.instances3.alice.encrypt16(5463)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 3 (41626, 41626)', async function () { - const res = await this.contract3.eq_uint16_euint16(41626, this.instances3.alice.encrypt16(41626)); + it('test operator "eq" overload (uint16, euint16) => ebool test 3 (5463, 5463)', async function () { + const res = await this.contract3.eq_uint16_euint16(5463, this.instances3.alice.encrypt16(5463)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 4 (41626, 41622)', async function () { - const res = await this.contract3.eq_uint16_euint16(41626, this.instances3.alice.encrypt16(41622)); + it('test operator "eq" overload (uint16, euint16) => ebool test 4 (5463, 5459)', async function () { + const res = await this.contract3.eq_uint16_euint16(5463, this.instances3.alice.encrypt16(5459)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 1 (58512, 5930)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(58512), 5930); + it('test operator "ne" overload (euint16, uint16) => ebool test 1 (24558, 4639)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(24558), 4639); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 2 (41575, 41579)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(41575), 41579); + it('test operator "ne" overload (euint16, uint16) => ebool test 2 (24554, 24558)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(24554), 24558); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 3 (41579, 41579)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(41579), 41579); + it('test operator "ne" overload (euint16, uint16) => ebool test 3 (24558, 24558)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(24558), 24558); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 4 (41579, 41575)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(41579), 41575); + it('test operator "ne" overload (euint16, uint16) => ebool test 4 (24558, 24554)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(24558), 24554); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 1 (22739, 5930)', async function () { - const res = await this.contract3.ne_uint16_euint16(22739, this.instances3.alice.encrypt16(5930)); + it('test operator "ne" overload (uint16, euint16) => ebool test 1 (40202, 4639)', async function () { + const res = await this.contract3.ne_uint16_euint16(40202, this.instances3.alice.encrypt16(4639)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 2 (41575, 41579)', async function () { - const res = await this.contract3.ne_uint16_euint16(41575, this.instances3.alice.encrypt16(41579)); + it('test operator "ne" overload (uint16, euint16) => ebool test 2 (24554, 24558)', async function () { + const res = await this.contract3.ne_uint16_euint16(24554, this.instances3.alice.encrypt16(24558)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 3 (41579, 41579)', async function () { - const res = await this.contract3.ne_uint16_euint16(41579, this.instances3.alice.encrypt16(41579)); + it('test operator "ne" overload (uint16, euint16) => ebool test 3 (24558, 24558)', async function () { + const res = await this.contract3.ne_uint16_euint16(24558, this.instances3.alice.encrypt16(24558)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 4 (41579, 41575)', async function () { - const res = await this.contract3.ne_uint16_euint16(41579, this.instances3.alice.encrypt16(41575)); + it('test operator "ne" overload (uint16, euint16) => ebool test 4 (24558, 24554)', async function () { + const res = await this.contract3.ne_uint16_euint16(24558, this.instances3.alice.encrypt16(24554)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 1 (2319, 46898)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(2319), 46898); - expect(res).to.equal(false); + it('test operator "ge" overload (euint16, uint16) => ebool test 1 (51421, 1063)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(51421), 1063); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 2 (2315, 2319)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(2315), 2319); + it('test operator "ge" overload (euint16, uint16) => ebool test 2 (31485, 31489)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(31485), 31489); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 3 (2319, 2319)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(2319), 2319); + it('test operator "ge" overload (euint16, uint16) => ebool test 3 (31489, 31489)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(31489), 31489); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 4 (2319, 2315)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(2319), 2315); + it('test operator "ge" overload (euint16, uint16) => ebool test 4 (31489, 31485)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(31489), 31485); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 1 (15004, 46898)', async function () { - const res = await this.contract3.ge_uint16_euint16(15004, this.instances3.alice.encrypt16(46898)); - expect(res).to.equal(false); + it('test operator "ge" overload (uint16, euint16) => ebool test 1 (44552, 1063)', async function () { + const res = await this.contract3.ge_uint16_euint16(44552, this.instances3.alice.encrypt16(1063)); + expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 2 (2315, 2319)', async function () { - const res = await this.contract3.ge_uint16_euint16(2315, this.instances3.alice.encrypt16(2319)); + it('test operator "ge" overload (uint16, euint16) => ebool test 2 (31485, 31489)', async function () { + const res = await this.contract3.ge_uint16_euint16(31485, this.instances3.alice.encrypt16(31489)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 3 (2319, 2319)', async function () { - const res = await this.contract3.ge_uint16_euint16(2319, this.instances3.alice.encrypt16(2319)); + it('test operator "ge" overload (uint16, euint16) => ebool test 3 (31489, 31489)', async function () { + const res = await this.contract3.ge_uint16_euint16(31489, this.instances3.alice.encrypt16(31489)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 4 (2319, 2315)', async function () { - const res = await this.contract3.ge_uint16_euint16(2319, this.instances3.alice.encrypt16(2315)); + it('test operator "ge" overload (uint16, euint16) => ebool test 4 (31489, 31485)', async function () { + const res = await this.contract3.ge_uint16_euint16(31489, this.instances3.alice.encrypt16(31485)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 1 (39995, 40403)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(39995), 40403); + it('test operator "gt" overload (euint16, uint16) => ebool test 1 (44465, 56813)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(44465), 56813); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 2 (39991, 39995)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(39991), 39995); + it('test operator "gt" overload (euint16, uint16) => ebool test 2 (44461, 44465)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(44461), 44465); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 3 (39995, 39995)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(39995), 39995); + it('test operator "gt" overload (euint16, uint16) => ebool test 3 (44465, 44465)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(44465), 44465); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 4 (39995, 39991)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(39995), 39991); + it('test operator "gt" overload (euint16, uint16) => ebool test 4 (44465, 44461)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(44465), 44461); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 1 (31594, 40403)', async function () { - const res = await this.contract3.gt_uint16_euint16(31594, this.instances3.alice.encrypt16(40403)); + it('test operator "gt" overload (uint16, euint16) => ebool test 1 (40972, 56813)', async function () { + const res = await this.contract3.gt_uint16_euint16(40972, this.instances3.alice.encrypt16(56813)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 2 (39991, 39995)', async function () { - const res = await this.contract3.gt_uint16_euint16(39991, this.instances3.alice.encrypt16(39995)); + it('test operator "gt" overload (uint16, euint16) => ebool test 2 (44461, 44465)', async function () { + const res = await this.contract3.gt_uint16_euint16(44461, this.instances3.alice.encrypt16(44465)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 3 (39995, 39995)', async function () { - const res = await this.contract3.gt_uint16_euint16(39995, this.instances3.alice.encrypt16(39995)); + it('test operator "gt" overload (uint16, euint16) => ebool test 3 (44465, 44465)', async function () { + const res = await this.contract3.gt_uint16_euint16(44465, this.instances3.alice.encrypt16(44465)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 4 (39995, 39991)', async function () { - const res = await this.contract3.gt_uint16_euint16(39995, this.instances3.alice.encrypt16(39991)); + it('test operator "gt" overload (uint16, euint16) => ebool test 4 (44465, 44461)', async function () { + const res = await this.contract3.gt_uint16_euint16(44465, this.instances3.alice.encrypt16(44461)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 1 (11868, 63783)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(11868), 63783); + it('test operator "le" overload (euint16, uint16) => ebool test 1 (8195, 15612)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8195), 15612); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 2 (11864, 11868)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(11864), 11868); + it('test operator "le" overload (euint16, uint16) => ebool test 2 (8191, 8195)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8191), 8195); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 3 (11868, 11868)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(11868), 11868); + it('test operator "le" overload (euint16, uint16) => ebool test 3 (8195, 8195)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8195), 8195); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 4 (11868, 11864)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(11868), 11864); + it('test operator "le" overload (euint16, uint16) => ebool test 4 (8195, 8191)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8195), 8191); expect(res).to.equal(false); }); - it('test operator "le" overload (uint16, euint16) => ebool test 1 (2104, 63783)', async function () { - const res = await this.contract3.le_uint16_euint16(2104, this.instances3.alice.encrypt16(63783)); - expect(res).to.equal(true); + it('test operator "le" overload (uint16, euint16) => ebool test 1 (61583, 15612)', async function () { + const res = await this.contract3.le_uint16_euint16(61583, this.instances3.alice.encrypt16(15612)); + expect(res).to.equal(false); }); - it('test operator "le" overload (uint16, euint16) => ebool test 2 (11864, 11868)', async function () { - const res = await this.contract3.le_uint16_euint16(11864, this.instances3.alice.encrypt16(11868)); + it('test operator "le" overload (uint16, euint16) => ebool test 2 (8191, 8195)', async function () { + const res = await this.contract3.le_uint16_euint16(8191, this.instances3.alice.encrypt16(8195)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 3 (11868, 11868)', async function () { - const res = await this.contract3.le_uint16_euint16(11868, this.instances3.alice.encrypt16(11868)); + it('test operator "le" overload (uint16, euint16) => ebool test 3 (8195, 8195)', async function () { + const res = await this.contract3.le_uint16_euint16(8195, this.instances3.alice.encrypt16(8195)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 4 (11868, 11864)', async function () { - const res = await this.contract3.le_uint16_euint16(11868, this.instances3.alice.encrypt16(11864)); + it('test operator "le" overload (uint16, euint16) => ebool test 4 (8195, 8191)', async function () { + const res = await this.contract3.le_uint16_euint16(8195, this.instances3.alice.encrypt16(8191)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 1 (13005, 41485)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(13005), 41485); - expect(res).to.equal(true); + it('test operator "lt" overload (euint16, uint16) => ebool test 1 (59556, 9412)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(59556), 9412); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 2 (13001, 13005)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(13001), 13005); + it('test operator "lt" overload (euint16, uint16) => ebool test 2 (39219, 39223)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(39219), 39223); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 3 (13005, 13005)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(13005), 13005); + it('test operator "lt" overload (euint16, uint16) => ebool test 3 (39223, 39223)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(39223), 39223); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 4 (13005, 13001)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(13005), 13001); + it('test operator "lt" overload (euint16, uint16) => ebool test 4 (39223, 39219)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(39223), 39219); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 1 (6215, 41485)', async function () { - const res = await this.contract3.lt_uint16_euint16(6215, this.instances3.alice.encrypt16(41485)); - expect(res).to.equal(true); + it('test operator "lt" overload (uint16, euint16) => ebool test 1 (30406, 9412)', async function () { + const res = await this.contract3.lt_uint16_euint16(30406, this.instances3.alice.encrypt16(9412)); + expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 2 (13001, 13005)', async function () { - const res = await this.contract3.lt_uint16_euint16(13001, this.instances3.alice.encrypt16(13005)); + it('test operator "lt" overload (uint16, euint16) => ebool test 2 (39219, 39223)', async function () { + const res = await this.contract3.lt_uint16_euint16(39219, this.instances3.alice.encrypt16(39223)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 3 (13005, 13005)', async function () { - const res = await this.contract3.lt_uint16_euint16(13005, this.instances3.alice.encrypt16(13005)); + it('test operator "lt" overload (uint16, euint16) => ebool test 3 (39223, 39223)', async function () { + const res = await this.contract3.lt_uint16_euint16(39223, this.instances3.alice.encrypt16(39223)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 4 (13005, 13001)', async function () { - const res = await this.contract3.lt_uint16_euint16(13005, this.instances3.alice.encrypt16(13001)); + it('test operator "lt" overload (uint16, euint16) => ebool test 4 (39223, 39219)', async function () { + const res = await this.contract3.lt_uint16_euint16(39223, this.instances3.alice.encrypt16(39219)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 1 (59594, 37209)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(59594), 37209); - expect(res).to.equal(37209); + it('test operator "min" overload (euint16, uint16) => euint16 test 1 (40365, 56848)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(40365), 56848); + expect(res).to.equal(40365); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 2 (35024, 35028)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(35024), 35028); - expect(res).to.equal(35024); + it('test operator "min" overload (euint16, uint16) => euint16 test 2 (36540, 36544)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(36540), 36544); + expect(res).to.equal(36540); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 3 (35028, 35028)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(35028), 35028); - expect(res).to.equal(35028); + it('test operator "min" overload (euint16, uint16) => euint16 test 3 (36544, 36544)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(36544), 36544); + expect(res).to.equal(36544); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 4 (35028, 35024)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(35028), 35024); - expect(res).to.equal(35024); + it('test operator "min" overload (euint16, uint16) => euint16 test 4 (36544, 36540)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(36544), 36540); + expect(res).to.equal(36540); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 1 (24863, 37209)', async function () { - const res = await this.contract3.min_uint16_euint16(24863, this.instances3.alice.encrypt16(37209)); - expect(res).to.equal(24863); + it('test operator "min" overload (uint16, euint16) => euint16 test 1 (24104, 56848)', async function () { + const res = await this.contract3.min_uint16_euint16(24104, this.instances3.alice.encrypt16(56848)); + expect(res).to.equal(24104); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 2 (35024, 35028)', async function () { - const res = await this.contract3.min_uint16_euint16(35024, this.instances3.alice.encrypt16(35028)); - expect(res).to.equal(35024); + it('test operator "min" overload (uint16, euint16) => euint16 test 2 (36540, 36544)', async function () { + const res = await this.contract3.min_uint16_euint16(36540, this.instances3.alice.encrypt16(36544)); + expect(res).to.equal(36540); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 3 (35028, 35028)', async function () { - const res = await this.contract3.min_uint16_euint16(35028, this.instances3.alice.encrypt16(35028)); - expect(res).to.equal(35028); + it('test operator "min" overload (uint16, euint16) => euint16 test 3 (36544, 36544)', async function () { + const res = await this.contract3.min_uint16_euint16(36544, this.instances3.alice.encrypt16(36544)); + expect(res).to.equal(36544); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 4 (35028, 35024)', async function () { - const res = await this.contract3.min_uint16_euint16(35028, this.instances3.alice.encrypt16(35024)); - expect(res).to.equal(35024); + it('test operator "min" overload (uint16, euint16) => euint16 test 4 (36544, 36540)', async function () { + const res = await this.contract3.min_uint16_euint16(36544, this.instances3.alice.encrypt16(36540)); + expect(res).to.equal(36540); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 1 (45745, 18939)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(45745), 18939); - expect(res).to.equal(45745); + it('test operator "max" overload (euint16, uint16) => euint16 test 1 (45208, 8803)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(45208), 8803); + expect(res).to.equal(45208); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 2 (24756, 24760)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(24756), 24760); - expect(res).to.equal(24760); + it('test operator "max" overload (euint16, uint16) => euint16 test 2 (37828, 37832)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37828), 37832); + expect(res).to.equal(37832); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 3 (24760, 24760)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(24760), 24760); - expect(res).to.equal(24760); + it('test operator "max" overload (euint16, uint16) => euint16 test 3 (37832, 37832)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37832), 37832); + expect(res).to.equal(37832); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 4 (24760, 24756)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(24760), 24756); - expect(res).to.equal(24760); + it('test operator "max" overload (euint16, uint16) => euint16 test 4 (37832, 37828)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37832), 37828); + expect(res).to.equal(37832); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 1 (47912, 18939)', async function () { - const res = await this.contract3.max_uint16_euint16(47912, this.instances3.alice.encrypt16(18939)); - expect(res).to.equal(47912); + it('test operator "max" overload (uint16, euint16) => euint16 test 1 (62549, 8803)', async function () { + const res = await this.contract3.max_uint16_euint16(62549, this.instances3.alice.encrypt16(8803)); + expect(res).to.equal(62549); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 2 (24756, 24760)', async function () { - const res = await this.contract3.max_uint16_euint16(24756, this.instances3.alice.encrypt16(24760)); - expect(res).to.equal(24760); + it('test operator "max" overload (uint16, euint16) => euint16 test 2 (37828, 37832)', async function () { + const res = await this.contract3.max_uint16_euint16(37828, this.instances3.alice.encrypt16(37832)); + expect(res).to.equal(37832); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 3 (24760, 24760)', async function () { - const res = await this.contract3.max_uint16_euint16(24760, this.instances3.alice.encrypt16(24760)); - expect(res).to.equal(24760); + it('test operator "max" overload (uint16, euint16) => euint16 test 3 (37832, 37832)', async function () { + const res = await this.contract3.max_uint16_euint16(37832, this.instances3.alice.encrypt16(37832)); + expect(res).to.equal(37832); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 4 (24760, 24756)', async function () { - const res = await this.contract3.max_uint16_euint16(24760, this.instances3.alice.encrypt16(24756)); - expect(res).to.equal(24760); + it('test operator "max" overload (uint16, euint16) => euint16 test 4 (37832, 37828)', async function () { + const res = await this.contract3.max_uint16_euint16(37832, this.instances3.alice.encrypt16(37828)); + expect(res).to.equal(37832); }); - it('test operator "add" overload (euint32, euint4) => euint32 test 1 (10, 1)', async function () { + it('test operator "add" overload (euint32, euint4) => euint32 test 1 (8, 1)', async function () { const res = await this.contract3.add_euint32_euint4( - this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt32(8), this.instances3.alice.encrypt4(1), ); - expect(res).to.equal(11); + expect(res).to.equal(9n); }); - it('test operator "add" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint32, euint4) => euint32 test 2 (3, 5)', async function () { const res = await this.contract3.add_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(3), + this.instances3.alice.encrypt4(5), ); - expect(res).to.equal(12); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint32, euint4) => euint32 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint32, euint4) => euint32 test 3 (5, 5)', async function () { const res = await this.contract3.add_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt4(5), ); - expect(res).to.equal(8); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint32, euint4) => euint32 test 4 (5, 3)', async function () { const res = await this.contract3.add_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt4(3), ); - expect(res).to.equal(12); + expect(res).to.equal(8n); }); - it('test operator "sub" overload (euint32, euint4) => euint32 test 1 (10, 10)', async function () { + it('test operator "sub" overload (euint32, euint4) => euint32 test 1 (8, 8)', async function () { const res = await this.contract3.sub_euint32_euint4( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt4(10), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, euint4) => euint32 test 2 (10, 6)', async function () { + it('test operator "sub" overload (euint32, euint4) => euint32 test 2 (8, 4)', async function () { const res = await this.contract3.sub_euint32_euint4( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt4(6), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); expect(res).to.equal(4); }); @@ -8013,15 +8013,15 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(9), this.instances3.alice.encrypt4(1), ); - expect(res).to.equal(9); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 2 (2, 4)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(3), - this.instances3.alice.encrypt4(5), + this.instances3.alice.encrypt32(2), + this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(15); + expect(res).to.equal(8n); }); it('test operator "mul" overload (euint32, euint4) => euint32 test 3 (2, 2)', async function () { @@ -8029,55 +8029,55 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(2), this.instances3.alice.encrypt4(2), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 4 (4, 2)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(5), - this.instances3.alice.encrypt4(3), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(2), ); - expect(res).to.equal(15); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 1 (241094180, 10)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 1 (145081557, 6)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(241094180), - this.instances3.alice.encrypt4(10), + this.instances3.alice.encrypt32(145081557), + this.instances3.alice.encrypt4(6), ); - expect(res).to.equal(0); + expect(res).to.equal(4); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 2 (6, 10)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(6), - this.instances3.alice.encrypt4(10), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(2); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 3 (10, 10)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt4(10), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(10); + expect(res).to.equal(8); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 4 (10, 6)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt4(6), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(2); + expect(res).to.equal(0); }); - it('test operator "or" overload (euint32, euint4) => euint32 test 1 (51366153, 1)', async function () { + it('test operator "or" overload (euint32, euint4) => euint32 test 1 (138135196, 6)', async function () { const res = await this.contract3.or_euint32_euint4( - this.instances3.alice.encrypt32(51366153), - this.instances3.alice.encrypt4(1), + this.instances3.alice.encrypt32(138135196), + this.instances3.alice.encrypt4(6), ); - expect(res).to.equal(51366153); + expect(res).to.equal(138135198); }); it('test operator "or" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { @@ -8104,137 +8104,137 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 1 (30847431, 8)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 1 (27190055, 14)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(30847431), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(27190055), + this.instances3.alice.encrypt4(14), ); - expect(res).to.equal(30847439); + expect(res).to.equal(27190057); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 2 (10, 14)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(14), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 3 (14, 14)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(14), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 4 (14, 10)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(10), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 1 (82686069, 12)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 1 (60042820, 13)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(82686069), - this.instances3.alice.encrypt4(12), + this.instances3.alice.encrypt32(60042820), + this.instances3.alice.encrypt4(13), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 2 (8, 12)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 2 (9, 13)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(12), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(13), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 3 (12, 12)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 3 (13, 13)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(12), - this.instances3.alice.encrypt4(12), + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(13), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 4 (12, 8)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 4 (13, 9)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(12), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 1 (3660714, 9)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 1 (83574454, 8)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(3660714), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt32(83574454), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 2 (5, 9)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(5), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 3 (9, 9)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(9), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 4 (9, 5)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(9), - this.instances3.alice.encrypt4(5), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 1 (182035180, 9)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 1 (55218710, 2)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(182035180), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt32(55218710), + this.instances3.alice.encrypt4(2), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 2 (5, 9)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(5), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 3 (9, 9)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(9), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 4 (9, 5)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(9), - this.instances3.alice.encrypt4(5), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint4) => ebool test 1 (228583889, 14)', async function () { + it('test operator "gt" overload (euint32, euint4) => ebool test 1 (44051971, 14)', async function () { const res = await this.contract3.gt_euint32_euint4( - this.instances3.alice.encrypt32(228583889), + this.instances3.alice.encrypt32(44051971), this.instances3.alice.encrypt4(14), ); expect(res).to.equal(true); @@ -8264,178 +8264,178 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 1 (232635457, 13)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 1 (253532839, 12)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(232635457), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt32(253532839), + this.instances3.alice.encrypt4(12), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint4) => ebool test 2 (9, 13)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 2 (8, 12)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(9), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(12), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 3 (13, 13)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 3 (12, 12)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(13), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt4(12), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 4 (13, 9)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 4 (12, 8)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(13), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 1 (89546642, 8)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 1 (77180163, 11)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(89546642), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(77180163), + this.instances3.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 2 (7, 11)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(7), + this.instances3.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 3 (11, 11)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(11), + this.instances3.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 4 (11, 7)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(11), + this.instances3.alice.encrypt4(7), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint4) => euint32 test 1 (58829340, 8)', async function () { + it('test operator "min" overload (euint32, euint4) => euint32 test 1 (178824069, 14)', async function () { const res = await this.contract3.min_euint32_euint4( - this.instances3.alice.encrypt32(58829340), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(178824069), + this.instances3.alice.encrypt4(14), ); - expect(res).to.equal(8); + expect(res).to.equal(14); }); - it('test operator "min" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint32, euint4) => euint32 test 2 (10, 14)', async function () { const res = await this.contract3.min_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(14), ); - expect(res).to.equal(4); + expect(res).to.equal(10); }); - it('test operator "min" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint32, euint4) => euint32 test 3 (14, 14)', async function () { const res = await this.contract3.min_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(14), ); - expect(res).to.equal(8); + expect(res).to.equal(14); }); - it('test operator "min" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint32, euint4) => euint32 test 4 (14, 10)', async function () { const res = await this.contract3.min_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(10), ); - expect(res).to.equal(4); + expect(res).to.equal(10); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 1 (8800615, 7)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 1 (234155387, 12)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(8800615), - this.instances3.alice.encrypt4(7), + this.instances3.alice.encrypt32(234155387), + this.instances3.alice.encrypt4(12), ); - expect(res).to.equal(8800615); + expect(res).to.equal(234155387); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 2 (8, 12)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(12), ); - expect(res).to.equal(8); + expect(res).to.equal(12); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 3 (12, 12)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt4(12), ); - expect(res).to.equal(8); + expect(res).to.equal(12); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 4 (12, 8)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(12); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 1 (165, 1)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 1 (134, 1)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(165), + this.instances3.alice.encrypt32(134), this.instances3.alice.encrypt8(1), ); - expect(res).to.equal(166); + expect(res).to.equal(135n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 2 (13, 17)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 2 (76, 80)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(13), - this.instances3.alice.encrypt8(17), + this.instances3.alice.encrypt32(76), + this.instances3.alice.encrypt8(80), ); - expect(res).to.equal(30); + expect(res).to.equal(156n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 3 (17, 17)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 3 (80, 80)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(17), - this.instances3.alice.encrypt8(17), + this.instances3.alice.encrypt32(80), + this.instances3.alice.encrypt8(80), ); - expect(res).to.equal(34); + expect(res).to.equal(160n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 4 (17, 13)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 4 (80, 76)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(17), - this.instances3.alice.encrypt8(13), + this.instances3.alice.encrypt32(80), + this.instances3.alice.encrypt8(76), ); - expect(res).to.equal(30); + expect(res).to.equal(156n); }); - it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (123, 123)', async function () { + it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (186, 186)', async function () { const res = await this.contract3.sub_euint32_euint8( - this.instances3.alice.encrypt32(123), - this.instances3.alice.encrypt8(123), + this.instances3.alice.encrypt32(186), + this.instances3.alice.encrypt8(186), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, euint8) => euint32 test 2 (123, 119)', async function () { + it('test operator "sub" overload (euint32, euint8) => euint32 test 2 (186, 182)', async function () { const res = await this.contract3.sub_euint32_euint8( - this.instances3.alice.encrypt32(123), - this.instances3.alice.encrypt8(119), + this.instances3.alice.encrypt32(186), + this.instances3.alice.encrypt8(182), ); expect(res).to.equal(4); }); @@ -8445,2203 +8445,2203 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(146), this.instances3.alice.encrypt8(1), ); - expect(res).to.equal(146); + expect(res).to.equal(146n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 2 (9, 10)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 2 (12, 12)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(9), - this.instances3.alice.encrypt8(10), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt8(12), ); - expect(res).to.equal(90); + expect(res).to.equal(144n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 3 (10, 10)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 3 (12, 12)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt8(10), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt8(12), ); - expect(res).to.equal(100); + expect(res).to.equal(144n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 4 (10, 9)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 4 (12, 12)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt8(9), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt8(12), ); - expect(res).to.equal(90); + expect(res).to.equal(144n); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 1 (241094180, 159)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 1 (145081557, 138)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(241094180), - this.instances3.alice.encrypt8(159), + this.instances3.alice.encrypt32(145081557), + this.instances3.alice.encrypt8(138), ); - expect(res).to.equal(4); + expect(res).to.equal(128); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 2 (155, 159)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 2 (134, 138)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(155), - this.instances3.alice.encrypt8(159), + this.instances3.alice.encrypt32(134), + this.instances3.alice.encrypt8(138), ); - expect(res).to.equal(155); + expect(res).to.equal(130); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 3 (159, 159)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 3 (138, 138)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(159), - this.instances3.alice.encrypt8(159), + this.instances3.alice.encrypt32(138), + this.instances3.alice.encrypt8(138), ); - expect(res).to.equal(159); + expect(res).to.equal(138); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 4 (159, 155)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 4 (138, 134)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(159), - this.instances3.alice.encrypt8(155), + this.instances3.alice.encrypt32(138), + this.instances3.alice.encrypt8(134), ); - expect(res).to.equal(155); + expect(res).to.equal(130); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 1 (51366153, 56)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 1 (138135196, 250)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(51366153), - this.instances4.alice.encrypt8(56), + this.instances4.alice.encrypt32(138135196), + this.instances4.alice.encrypt8(250), ); - expect(res).to.equal(51366201); + expect(res).to.equal(138135294); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 2 (52, 56)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 2 (246, 250)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(52), - this.instances4.alice.encrypt8(56), + this.instances4.alice.encrypt32(246), + this.instances4.alice.encrypt8(250), ); - expect(res).to.equal(60); + expect(res).to.equal(254); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 3 (56, 56)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 3 (250, 250)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(56), - this.instances4.alice.encrypt8(56), + this.instances4.alice.encrypt32(250), + this.instances4.alice.encrypt8(250), ); - expect(res).to.equal(56); + expect(res).to.equal(250); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 4 (56, 52)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 4 (250, 246)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(56), - this.instances4.alice.encrypt8(52), + this.instances4.alice.encrypt32(250), + this.instances4.alice.encrypt8(246), ); - expect(res).to.equal(60); + expect(res).to.equal(254); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (30847431, 23)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (27190055, 85)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(30847431), - this.instances4.alice.encrypt8(23), + this.instances4.alice.encrypt32(27190055), + this.instances4.alice.encrypt8(85), ); - expect(res).to.equal(30847440); + expect(res).to.equal(27190130); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (19, 23)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (81, 85)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(19), - this.instances4.alice.encrypt8(23), + this.instances4.alice.encrypt32(81), + this.instances4.alice.encrypt8(85), ); expect(res).to.equal(4); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 3 (23, 23)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 3 (85, 85)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(23), - this.instances4.alice.encrypt8(23), + this.instances4.alice.encrypt32(85), + this.instances4.alice.encrypt8(85), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 4 (23, 19)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 4 (85, 81)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(23), - this.instances4.alice.encrypt8(19), + this.instances4.alice.encrypt32(85), + this.instances4.alice.encrypt8(81), ); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 1 (82686069, 42)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 1 (60042820, 117)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(82686069), - this.instances4.alice.encrypt8(42), + this.instances4.alice.encrypt32(60042820), + this.instances4.alice.encrypt8(117), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 2 (38, 42)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 2 (113, 117)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(38), - this.instances4.alice.encrypt8(42), + this.instances4.alice.encrypt32(113), + this.instances4.alice.encrypt8(117), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 3 (42, 42)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 3 (117, 117)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(42), - this.instances4.alice.encrypt8(42), + this.instances4.alice.encrypt32(117), + this.instances4.alice.encrypt8(117), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 4 (42, 38)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 4 (117, 113)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(42), - this.instances4.alice.encrypt8(38), + this.instances4.alice.encrypt32(117), + this.instances4.alice.encrypt8(113), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 1 (3660714, 206)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 1 (83574454, 68)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(3660714), - this.instances4.alice.encrypt8(206), + this.instances4.alice.encrypt32(83574454), + this.instances4.alice.encrypt8(68), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 2 (202, 206)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 2 (64, 68)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(202), - this.instances4.alice.encrypt8(206), + this.instances4.alice.encrypt32(64), + this.instances4.alice.encrypt8(68), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 3 (206, 206)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 3 (68, 68)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(206), - this.instances4.alice.encrypt8(206), + this.instances4.alice.encrypt32(68), + this.instances4.alice.encrypt8(68), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 4 (206, 202)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 4 (68, 64)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(206), - this.instances4.alice.encrypt8(202), + this.instances4.alice.encrypt32(68), + this.instances4.alice.encrypt8(64), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 1 (182035180, 64)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 1 (55218710, 19)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(182035180), - this.instances4.alice.encrypt8(64), + this.instances4.alice.encrypt32(55218710), + this.instances4.alice.encrypt8(19), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 2 (60, 64)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 2 (15, 19)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(60), - this.instances4.alice.encrypt8(64), + this.instances4.alice.encrypt32(15), + this.instances4.alice.encrypt8(19), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 3 (64, 64)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 3 (19, 19)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(64), - this.instances4.alice.encrypt8(64), + this.instances4.alice.encrypt32(19), + this.instances4.alice.encrypt8(19), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 4 (64, 60)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 4 (19, 15)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(64), - this.instances4.alice.encrypt8(60), + this.instances4.alice.encrypt32(19), + this.instances4.alice.encrypt8(15), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 1 (228583889, 150)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 1 (44051971, 62)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(228583889), - this.instances4.alice.encrypt8(150), + this.instances4.alice.encrypt32(44051971), + this.instances4.alice.encrypt8(62), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 2 (146, 150)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 2 (58, 62)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(146), - this.instances4.alice.encrypt8(150), + this.instances4.alice.encrypt32(58), + this.instances4.alice.encrypt8(62), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 3 (150, 150)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 3 (62, 62)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(150), - this.instances4.alice.encrypt8(150), + this.instances4.alice.encrypt32(62), + this.instances4.alice.encrypt8(62), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 4 (150, 146)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 4 (62, 58)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(150), - this.instances4.alice.encrypt8(146), + this.instances4.alice.encrypt32(62), + this.instances4.alice.encrypt8(58), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 1 (232635457, 170)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 1 (253532839, 184)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(232635457), - this.instances4.alice.encrypt8(170), + this.instances4.alice.encrypt32(253532839), + this.instances4.alice.encrypt8(184), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint8) => ebool test 2 (166, 170)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 2 (180, 184)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(166), - this.instances4.alice.encrypt8(170), + this.instances4.alice.encrypt32(180), + this.instances4.alice.encrypt8(184), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 3 (170, 170)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 3 (184, 184)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(170), - this.instances4.alice.encrypt8(170), + this.instances4.alice.encrypt32(184), + this.instances4.alice.encrypt8(184), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 4 (170, 166)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 4 (184, 180)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(170), - this.instances4.alice.encrypt8(166), + this.instances4.alice.encrypt32(184), + this.instances4.alice.encrypt8(180), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 1 (89546642, 186)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 1 (77180163, 96)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(89546642), - this.instances4.alice.encrypt8(186), + this.instances4.alice.encrypt32(77180163), + this.instances4.alice.encrypt8(96), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 2 (182, 186)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 2 (92, 96)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(182), - this.instances4.alice.encrypt8(186), + this.instances4.alice.encrypt32(92), + this.instances4.alice.encrypt8(96), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 3 (186, 186)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 3 (96, 96)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(186), - this.instances4.alice.encrypt8(186), + this.instances4.alice.encrypt32(96), + this.instances4.alice.encrypt8(96), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 4 (186, 182)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 4 (96, 92)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(186), - this.instances4.alice.encrypt8(182), + this.instances4.alice.encrypt32(96), + this.instances4.alice.encrypt8(92), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 1 (58829340, 181)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 1 (178824069, 96)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(58829340), - this.instances4.alice.encrypt8(181), + this.instances4.alice.encrypt32(178824069), + this.instances4.alice.encrypt8(96), ); - expect(res).to.equal(181); + expect(res).to.equal(96); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 2 (177, 181)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 2 (92, 96)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(177), - this.instances4.alice.encrypt8(181), + this.instances4.alice.encrypt32(92), + this.instances4.alice.encrypt8(96), ); - expect(res).to.equal(177); + expect(res).to.equal(92); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 3 (181, 181)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 3 (96, 96)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(181), - this.instances4.alice.encrypt8(181), + this.instances4.alice.encrypt32(96), + this.instances4.alice.encrypt8(96), ); - expect(res).to.equal(181); + expect(res).to.equal(96); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 4 (181, 177)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 4 (96, 92)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(181), - this.instances4.alice.encrypt8(177), + this.instances4.alice.encrypt32(96), + this.instances4.alice.encrypt8(92), ); - expect(res).to.equal(177); + expect(res).to.equal(92); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 1 (8800615, 210)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 1 (234155387, 198)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(8800615), - this.instances4.alice.encrypt8(210), + this.instances4.alice.encrypt32(234155387), + this.instances4.alice.encrypt8(198), ); - expect(res).to.equal(8800615); + expect(res).to.equal(234155387); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 2 (206, 210)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 2 (194, 198)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(206), - this.instances4.alice.encrypt8(210), + this.instances4.alice.encrypt32(194), + this.instances4.alice.encrypt8(198), ); - expect(res).to.equal(210); + expect(res).to.equal(198); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 3 (210, 210)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 3 (198, 198)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(210), - this.instances4.alice.encrypt8(210), + this.instances4.alice.encrypt32(198), + this.instances4.alice.encrypt8(198), ); - expect(res).to.equal(210); + expect(res).to.equal(198); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 4 (210, 206)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 4 (198, 194)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(210), - this.instances4.alice.encrypt8(206), + this.instances4.alice.encrypt32(198), + this.instances4.alice.encrypt8(194), ); - expect(res).to.equal(210); + expect(res).to.equal(198); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 1 (42385, 126)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 1 (34382, 13)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(42385), - this.instances4.alice.encrypt16(126), + this.instances4.alice.encrypt32(34382), + this.instances4.alice.encrypt16(13), ); - expect(res).to.equal(42511); + expect(res).to.equal(34395n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 2 (32398, 32400)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 2 (27184, 27186)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(32398), - this.instances4.alice.encrypt16(32400), + this.instances4.alice.encrypt32(27184), + this.instances4.alice.encrypt16(27186), ); - expect(res).to.equal(64798); + expect(res).to.equal(54370n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 3 (32400, 32400)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 3 (27186, 27186)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(32400), - this.instances4.alice.encrypt16(32400), + this.instances4.alice.encrypt32(27186), + this.instances4.alice.encrypt16(27186), ); - expect(res).to.equal(64800); + expect(res).to.equal(54372n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 4 (32400, 32398)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 4 (27186, 27184)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(32400), - this.instances4.alice.encrypt16(32398), + this.instances4.alice.encrypt32(27186), + this.instances4.alice.encrypt16(27184), ); - expect(res).to.equal(64798); + expect(res).to.equal(54370n); }); - it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (43081, 43081)', async function () { + it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (30277, 30277)', async function () { const res = await this.contract4.sub_euint32_euint16( - this.instances4.alice.encrypt32(43081), - this.instances4.alice.encrypt16(43081), + this.instances4.alice.encrypt32(30277), + this.instances4.alice.encrypt16(30277), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, euint16) => euint32 test 2 (43081, 43077)', async function () { + it('test operator "sub" overload (euint32, euint16) => euint32 test 2 (30277, 30273)', async function () { const res = await this.contract4.sub_euint32_euint16( - this.instances4.alice.encrypt32(43081), - this.instances4.alice.encrypt16(43077), + this.instances4.alice.encrypt32(30277), + this.instances4.alice.encrypt16(30273), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (9346, 3)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (9347, 3)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(9346), + this.instances4.alice.encrypt32(9347), this.instances4.alice.encrypt16(3), ); - expect(res).to.equal(28038); + expect(res).to.equal(28041n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 2 (206, 206)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 2 (234, 234)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(206), - this.instances4.alice.encrypt16(206), + this.instances4.alice.encrypt32(234), + this.instances4.alice.encrypt16(234), ); - expect(res).to.equal(42436); + expect(res).to.equal(54756n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 3 (206, 206)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 3 (234, 234)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(206), - this.instances4.alice.encrypt16(206), + this.instances4.alice.encrypt32(234), + this.instances4.alice.encrypt16(234), ); - expect(res).to.equal(42436); + expect(res).to.equal(54756n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 4 (206, 206)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 4 (234, 234)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(206), - this.instances4.alice.encrypt16(206), + this.instances4.alice.encrypt32(234), + this.instances4.alice.encrypt16(234), ); - expect(res).to.equal(42436); + expect(res).to.equal(54756n); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 1 (241094180, 53800)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 1 (145081557, 34219)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(241094180), - this.instances4.alice.encrypt16(53800), + this.instances4.alice.encrypt32(145081557), + this.instances4.alice.encrypt16(34219), ); - expect(res).to.equal(49696); + expect(res).to.equal(33921); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 2 (53796, 53800)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 2 (34215, 34219)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(53796), - this.instances4.alice.encrypt16(53800), + this.instances4.alice.encrypt32(34215), + this.instances4.alice.encrypt16(34219), ); - expect(res).to.equal(53792); + expect(res).to.equal(34211); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 3 (53800, 53800)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 3 (34219, 34219)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(53800), - this.instances4.alice.encrypt16(53800), + this.instances4.alice.encrypt32(34219), + this.instances4.alice.encrypt16(34219), ); - expect(res).to.equal(53800); + expect(res).to.equal(34219); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 4 (53800, 53796)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 4 (34219, 34215)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(53800), - this.instances4.alice.encrypt16(53796), + this.instances4.alice.encrypt32(34219), + this.instances4.alice.encrypt16(34215), ); - expect(res).to.equal(53792); + expect(res).to.equal(34211); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 1 (51366153, 45753)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 1 (138135196, 24679)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(51366153), - this.instances4.alice.encrypt16(45753), + this.instances4.alice.encrypt32(138135196), + this.instances4.alice.encrypt16(24679), ); - expect(res).to.equal(51379129); + expect(res).to.equal(138143487); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 2 (45749, 45753)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 2 (24675, 24679)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(45749), - this.instances4.alice.encrypt16(45753), + this.instances4.alice.encrypt32(24675), + this.instances4.alice.encrypt16(24679), ); - expect(res).to.equal(45757); + expect(res).to.equal(24679); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 3 (45753, 45753)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 3 (24679, 24679)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(45753), - this.instances4.alice.encrypt16(45753), + this.instances4.alice.encrypt32(24679), + this.instances4.alice.encrypt16(24679), ); - expect(res).to.equal(45753); + expect(res).to.equal(24679); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 4 (45753, 45749)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 4 (24679, 24675)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(45753), - this.instances4.alice.encrypt16(45749), + this.instances4.alice.encrypt32(24679), + this.instances4.alice.encrypt16(24675), ); - expect(res).to.equal(45757); + expect(res).to.equal(24679); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (30847431, 51762)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (27190055, 32965)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(30847431), - this.instances4.alice.encrypt16(51762), + this.instances4.alice.encrypt32(27190055), + this.instances4.alice.encrypt16(32965), ); - expect(res).to.equal(30833653); + expect(res).to.equal(27157474); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 2 (51758, 51762)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 2 (32961, 32965)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(51758), - this.instances4.alice.encrypt16(51762), + this.instances4.alice.encrypt32(32961), + this.instances4.alice.encrypt16(32965), ); - expect(res).to.equal(28); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 3 (51762, 51762)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 3 (32965, 32965)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(51762), - this.instances4.alice.encrypt16(51762), + this.instances4.alice.encrypt32(32965), + this.instances4.alice.encrypt16(32965), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 4 (51762, 51758)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 4 (32965, 32961)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(51762), - this.instances4.alice.encrypt16(51758), + this.instances4.alice.encrypt32(32965), + this.instances4.alice.encrypt16(32961), ); - expect(res).to.equal(28); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 1 (82686069, 20674)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 1 (60042820, 3366)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(82686069), - this.instances4.alice.encrypt16(20674), + this.instances4.alice.encrypt32(60042820), + this.instances4.alice.encrypt16(3366), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 2 (20670, 20674)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 2 (3362, 3366)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(20670), - this.instances4.alice.encrypt16(20674), + this.instances4.alice.encrypt32(3362), + this.instances4.alice.encrypt16(3366), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 3 (20674, 20674)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 3 (3366, 3366)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(20674), - this.instances4.alice.encrypt16(20674), + this.instances4.alice.encrypt32(3366), + this.instances4.alice.encrypt16(3366), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 4 (20674, 20670)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 4 (3366, 3362)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(20674), - this.instances4.alice.encrypt16(20670), + this.instances4.alice.encrypt32(3366), + this.instances4.alice.encrypt16(3362), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 1 (3660714, 6484)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 1 (83574454, 51513)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(3660714), - this.instances4.alice.encrypt16(6484), + this.instances4.alice.encrypt32(83574454), + this.instances4.alice.encrypt16(51513), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 2 (6480, 6484)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 2 (51509, 51513)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(6480), - this.instances4.alice.encrypt16(6484), + this.instances4.alice.encrypt32(51509), + this.instances4.alice.encrypt16(51513), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 3 (6484, 6484)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 3 (51513, 51513)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(6484), - this.instances4.alice.encrypt16(6484), + this.instances4.alice.encrypt32(51513), + this.instances4.alice.encrypt16(51513), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 4 (6484, 6480)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 4 (51513, 51509)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(6484), - this.instances4.alice.encrypt16(6480), + this.instances4.alice.encrypt32(51513), + this.instances4.alice.encrypt16(51509), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 1 (182035180, 57858)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 1 (55218710, 21355)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(182035180), - this.instances4.alice.encrypt16(57858), + this.instances4.alice.encrypt32(55218710), + this.instances4.alice.encrypt16(21355), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 2 (57854, 57858)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 2 (21351, 21355)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(57854), - this.instances4.alice.encrypt16(57858), + this.instances4.alice.encrypt32(21351), + this.instances4.alice.encrypt16(21355), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 3 (57858, 57858)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 3 (21355, 21355)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(57858), - this.instances4.alice.encrypt16(57858), + this.instances4.alice.encrypt32(21355), + this.instances4.alice.encrypt16(21355), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 4 (57858, 57854)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 4 (21355, 21351)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(57858), - this.instances4.alice.encrypt16(57854), + this.instances4.alice.encrypt32(21355), + this.instances4.alice.encrypt16(21351), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 1 (228583889, 65231)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 1 (44051971, 62126)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(228583889), - this.instances4.alice.encrypt16(65231), + this.instances4.alice.encrypt32(44051971), + this.instances4.alice.encrypt16(62126), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 2 (65227, 65231)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 2 (62122, 62126)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(65227), - this.instances4.alice.encrypt16(65231), + this.instances4.alice.encrypt32(62122), + this.instances4.alice.encrypt16(62126), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 3 (65231, 65231)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 3 (62126, 62126)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(65231), - this.instances4.alice.encrypt16(65231), + this.instances4.alice.encrypt32(62126), + this.instances4.alice.encrypt16(62126), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 4 (65231, 65227)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 4 (62126, 62122)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(65231), - this.instances4.alice.encrypt16(65227), + this.instances4.alice.encrypt32(62126), + this.instances4.alice.encrypt16(62122), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 1 (232635457, 42879)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 1 (253532839, 30629)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(232635457), - this.instances4.alice.encrypt16(42879), + this.instances4.alice.encrypt32(253532839), + this.instances4.alice.encrypt16(30629), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint16) => ebool test 2 (42875, 42879)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 2 (30625, 30629)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(42875), - this.instances4.alice.encrypt16(42879), + this.instances4.alice.encrypt32(30625), + this.instances4.alice.encrypt16(30629), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 3 (42879, 42879)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 3 (30629, 30629)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(42879), - this.instances4.alice.encrypt16(42879), + this.instances4.alice.encrypt32(30629), + this.instances4.alice.encrypt16(30629), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 4 (42879, 42875)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 4 (30629, 30625)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(42879), - this.instances4.alice.encrypt16(42875), + this.instances4.alice.encrypt32(30629), + this.instances4.alice.encrypt16(30625), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 1 (89546642, 11355)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 1 (77180163, 31631)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(89546642), - this.instances4.alice.encrypt16(11355), + this.instances4.alice.encrypt32(77180163), + this.instances4.alice.encrypt16(31631), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 2 (11351, 11355)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 2 (31627, 31631)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(11351), - this.instances4.alice.encrypt16(11355), + this.instances4.alice.encrypt32(31627), + this.instances4.alice.encrypt16(31631), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 3 (11355, 11355)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 3 (31631, 31631)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(11355), - this.instances4.alice.encrypt16(11355), + this.instances4.alice.encrypt32(31631), + this.instances4.alice.encrypt16(31631), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 4 (11355, 11351)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 4 (31631, 31627)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(11355), - this.instances4.alice.encrypt16(11351), + this.instances4.alice.encrypt32(31631), + this.instances4.alice.encrypt16(31627), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 1 (58829340, 33486)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 1 (178824069, 29702)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(58829340), - this.instances4.alice.encrypt16(33486), + this.instances4.alice.encrypt32(178824069), + this.instances4.alice.encrypt16(29702), ); - expect(res).to.equal(33486); + expect(res).to.equal(29702); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 2 (33482, 33486)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 2 (29698, 29702)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(33482), - this.instances4.alice.encrypt16(33486), + this.instances4.alice.encrypt32(29698), + this.instances4.alice.encrypt16(29702), ); - expect(res).to.equal(33482); + expect(res).to.equal(29698); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 3 (33486, 33486)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 3 (29702, 29702)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(33486), - this.instances4.alice.encrypt16(33486), + this.instances4.alice.encrypt32(29702), + this.instances4.alice.encrypt16(29702), ); - expect(res).to.equal(33486); + expect(res).to.equal(29702); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 4 (33486, 33482)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 4 (29702, 29698)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(33486), - this.instances4.alice.encrypt16(33482), + this.instances4.alice.encrypt32(29702), + this.instances4.alice.encrypt16(29698), ); - expect(res).to.equal(33482); + expect(res).to.equal(29698); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 1 (8800615, 31093)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 1 (234155387, 33887)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(8800615), - this.instances4.alice.encrypt16(31093), + this.instances4.alice.encrypt32(234155387), + this.instances4.alice.encrypt16(33887), ); - expect(res).to.equal(8800615); + expect(res).to.equal(234155387); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 2 (31089, 31093)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 2 (33883, 33887)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(31089), - this.instances4.alice.encrypt16(31093), + this.instances4.alice.encrypt32(33883), + this.instances4.alice.encrypt16(33887), ); - expect(res).to.equal(31093); + expect(res).to.equal(33887); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 3 (31093, 31093)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 3 (33887, 33887)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(31093), - this.instances4.alice.encrypt16(31093), + this.instances4.alice.encrypt32(33887), + this.instances4.alice.encrypt16(33887), ); - expect(res).to.equal(31093); + expect(res).to.equal(33887); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 4 (31093, 31089)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 4 (33887, 33883)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(31093), - this.instances4.alice.encrypt16(31089), + this.instances4.alice.encrypt32(33887), + this.instances4.alice.encrypt16(33883), ); - expect(res).to.equal(31093); + expect(res).to.equal(33887); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 1 (21701237, 233681477)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 1 (140830493, 233846954)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(21701237), - this.instances4.alice.encrypt32(233681477), + this.instances4.alice.encrypt32(140830493), + this.instances4.alice.encrypt32(233846954), ); - expect(res).to.equal(255382714); + expect(res).to.equal(374677447n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 2 (21701233, 21701237)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 2 (140830489, 140830493)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(21701233), - this.instances4.alice.encrypt32(21701237), + this.instances4.alice.encrypt32(140830489), + this.instances4.alice.encrypt32(140830493), ); - expect(res).to.equal(43402470); + expect(res).to.equal(281660982n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 3 (21701237, 21701237)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 3 (140830493, 140830493)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(21701237), - this.instances4.alice.encrypt32(21701237), + this.instances4.alice.encrypt32(140830493), + this.instances4.alice.encrypt32(140830493), ); - expect(res).to.equal(43402474); + expect(res).to.equal(281660986n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 4 (21701237, 21701233)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 4 (140830493, 140830489)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(21701237), - this.instances4.alice.encrypt32(21701233), + this.instances4.alice.encrypt32(140830493), + this.instances4.alice.encrypt32(140830489), ); - expect(res).to.equal(43402470); + expect(res).to.equal(281660982n); }); - it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (142194314, 142194314)', async function () { + it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (72155792, 72155792)', async function () { const res = await this.contract4.sub_euint32_euint32( - this.instances4.alice.encrypt32(142194314), - this.instances4.alice.encrypt32(142194314), + this.instances4.alice.encrypt32(72155792), + this.instances4.alice.encrypt32(72155792), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, euint32) => euint32 test 2 (142194314, 142194310)', async function () { + it('test operator "sub" overload (euint32, euint32) => euint32 test 2 (72155792, 72155788)', async function () { const res = await this.contract4.sub_euint32_euint32( - this.instances4.alice.encrypt32(142194314), - this.instances4.alice.encrypt32(142194310), + this.instances4.alice.encrypt32(72155792), + this.instances4.alice.encrypt32(72155788), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (74769, 34417)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (149553, 18251)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(74769), - this.instances4.alice.encrypt32(34417), + this.instances4.alice.encrypt32(149553), + this.instances4.alice.encrypt32(18251), ); - expect(res).to.equal(2573324673); + expect(res).to.equal(2729491803n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 2 (34417, 34417)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 2 (36502, 36502)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(34417), - this.instances4.alice.encrypt32(34417), + this.instances4.alice.encrypt32(36502), + this.instances4.alice.encrypt32(36502), ); - expect(res).to.equal(1184529889); + expect(res).to.equal(1332396004n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 3 (34417, 34417)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 3 (36502, 36502)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(34417), - this.instances4.alice.encrypt32(34417), + this.instances4.alice.encrypt32(36502), + this.instances4.alice.encrypt32(36502), ); - expect(res).to.equal(1184529889); + expect(res).to.equal(1332396004n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 4 (34417, 34417)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 4 (36502, 36502)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(34417), - this.instances4.alice.encrypt32(34417), + this.instances4.alice.encrypt32(36502), + this.instances4.alice.encrypt32(36502), ); - expect(res).to.equal(1184529889); + expect(res).to.equal(1332396004n); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 1 (241094180, 79267520)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 1 (145081557, 40551396)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(241094180), - this.instances4.alice.encrypt32(79267520), + this.instances4.alice.encrypt32(145081557), + this.instances4.alice.encrypt32(40551396), ); - expect(res).to.equal(68716032); + expect(res).to.equal(2146500); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 2 (79267516, 79267520)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 2 (40551392, 40551396)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(79267516), - this.instances4.alice.encrypt32(79267520), + this.instances4.alice.encrypt32(40551392), + this.instances4.alice.encrypt32(40551396), ); - expect(res).to.equal(79267456); + expect(res).to.equal(40551392); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 3 (79267520, 79267520)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 3 (40551396, 40551396)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(79267520), - this.instances4.alice.encrypt32(79267520), + this.instances4.alice.encrypt32(40551396), + this.instances4.alice.encrypt32(40551396), ); - expect(res).to.equal(79267520); + expect(res).to.equal(40551396); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 4 (79267520, 79267516)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 4 (40551396, 40551392)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(79267520), - this.instances4.alice.encrypt32(79267516), + this.instances4.alice.encrypt32(40551396), + this.instances4.alice.encrypt32(40551392), ); - expect(res).to.equal(79267456); + expect(res).to.equal(40551392); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 1 (51366153, 128317949)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 1 (138135196, 147717442)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(51366153), - this.instances4.alice.encrypt32(128317949), + this.instances4.alice.encrypt32(138135196), + this.instances4.alice.encrypt32(147717442), ); - expect(res).to.equal(128973309); + expect(res).to.equal(150994910); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 2 (51366149, 51366153)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 2 (138135192, 138135196)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(51366149), - this.instances4.alice.encrypt32(51366153), + this.instances4.alice.encrypt32(138135192), + this.instances4.alice.encrypt32(138135196), ); - expect(res).to.equal(51366157); + expect(res).to.equal(138135196); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 3 (51366153, 51366153)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 3 (138135196, 138135196)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(51366153), - this.instances4.alice.encrypt32(51366153), + this.instances4.alice.encrypt32(138135196), + this.instances4.alice.encrypt32(138135196), ); - expect(res).to.equal(51366153); + expect(res).to.equal(138135196); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 4 (51366153, 51366149)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 4 (138135196, 138135192)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(51366153), - this.instances4.alice.encrypt32(51366149), + this.instances4.alice.encrypt32(138135196), + this.instances4.alice.encrypt32(138135192), ); - expect(res).to.equal(51366157); + expect(res).to.equal(138135196); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (30847431, 53515901)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (27190055, 97550225)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(30847431), - this.instances4.alice.encrypt32(53515901), + this.instances4.alice.encrypt32(27190055), + this.instances4.alice.encrypt32(97550225), ); - expect(res).to.equal(48637882); + expect(res).to.equal(72260790); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (30847427, 30847431)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (27190051, 27190055)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(30847427), - this.instances4.alice.encrypt32(30847431), + this.instances4.alice.encrypt32(27190051), + this.instances4.alice.encrypt32(27190055), ); expect(res).to.equal(4); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 3 (30847431, 30847431)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 3 (27190055, 27190055)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(30847431), - this.instances4.alice.encrypt32(30847431), + this.instances4.alice.encrypt32(27190055), + this.instances4.alice.encrypt32(27190055), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 4 (30847431, 30847427)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 4 (27190055, 27190051)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(30847431), - this.instances4.alice.encrypt32(30847427), + this.instances4.alice.encrypt32(27190055), + this.instances4.alice.encrypt32(27190051), ); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 1 (82686069, 111825281)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 1 (60042820, 132291744)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(82686069), - this.instances4.alice.encrypt32(111825281), + this.instances4.alice.encrypt32(60042820), + this.instances4.alice.encrypt32(132291744), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 2 (82686065, 82686069)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 2 (60042816, 60042820)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(82686065), - this.instances4.alice.encrypt32(82686069), + this.instances4.alice.encrypt32(60042816), + this.instances4.alice.encrypt32(60042820), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 3 (82686069, 82686069)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 3 (60042820, 60042820)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(82686069), - this.instances4.alice.encrypt32(82686069), + this.instances4.alice.encrypt32(60042820), + this.instances4.alice.encrypt32(60042820), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 4 (82686069, 82686065)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 4 (60042820, 60042816)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(82686069), - this.instances4.alice.encrypt32(82686065), + this.instances4.alice.encrypt32(60042820), + this.instances4.alice.encrypt32(60042816), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 1 (3660714, 184322766)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 1 (83574454, 51569943)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(3660714), - this.instances4.alice.encrypt32(184322766), + this.instances4.alice.encrypt32(83574454), + this.instances4.alice.encrypt32(51569943), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 2 (3660710, 3660714)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 2 (51569939, 51569943)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(3660710), - this.instances4.alice.encrypt32(3660714), + this.instances4.alice.encrypt32(51569939), + this.instances4.alice.encrypt32(51569943), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 3 (3660714, 3660714)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 3 (51569943, 51569943)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(3660714), - this.instances4.alice.encrypt32(3660714), + this.instances4.alice.encrypt32(51569943), + this.instances4.alice.encrypt32(51569943), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 4 (3660714, 3660710)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 4 (51569943, 51569939)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(3660714), - this.instances4.alice.encrypt32(3660710), + this.instances4.alice.encrypt32(51569943), + this.instances4.alice.encrypt32(51569939), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 1 (182035180, 102858487)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 1 (55218710, 165530810)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(182035180), - this.instances4.alice.encrypt32(102858487), + this.instances4.alice.encrypt32(55218710), + this.instances4.alice.encrypt32(165530810), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 2 (102858483, 102858487)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 2 (55218706, 55218710)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(102858483), - this.instances4.alice.encrypt32(102858487), + this.instances4.alice.encrypt32(55218706), + this.instances4.alice.encrypt32(55218710), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 3 (102858487, 102858487)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 3 (55218710, 55218710)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(102858487), - this.instances4.alice.encrypt32(102858487), + this.instances4.alice.encrypt32(55218710), + this.instances4.alice.encrypt32(55218710), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 4 (102858487, 102858483)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 4 (55218710, 55218706)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(102858487), - this.instances4.alice.encrypt32(102858483), + this.instances4.alice.encrypt32(55218710), + this.instances4.alice.encrypt32(55218706), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 1 (228583889, 44696680)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 1 (44051971, 234370209)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(228583889), - this.instances4.alice.encrypt32(44696680), + this.instances4.alice.encrypt32(44051971), + this.instances4.alice.encrypt32(234370209), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 2 (44696676, 44696680)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 2 (44051967, 44051971)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(44696676), - this.instances4.alice.encrypt32(44696680), + this.instances4.alice.encrypt32(44051967), + this.instances4.alice.encrypt32(44051971), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 3 (44696680, 44696680)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 3 (44051971, 44051971)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(44696680), - this.instances4.alice.encrypt32(44696680), + this.instances4.alice.encrypt32(44051971), + this.instances4.alice.encrypt32(44051971), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 4 (44696680, 44696676)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 4 (44051971, 44051967)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(44696680), - this.instances4.alice.encrypt32(44696676), + this.instances4.alice.encrypt32(44051971), + this.instances4.alice.encrypt32(44051967), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 1 (232635457, 156819794)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 1 (253532839, 259475014)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(232635457), - this.instances4.alice.encrypt32(156819794), + this.instances4.alice.encrypt32(253532839), + this.instances4.alice.encrypt32(259475014), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 2 (156819790, 156819794)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 2 (253532835, 253532839)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(156819790), - this.instances4.alice.encrypt32(156819794), + this.instances4.alice.encrypt32(253532835), + this.instances4.alice.encrypt32(253532839), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 3 (156819794, 156819794)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 3 (253532839, 253532839)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(156819794), - this.instances4.alice.encrypt32(156819794), + this.instances4.alice.encrypt32(253532839), + this.instances4.alice.encrypt32(253532839), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 4 (156819794, 156819790)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 4 (253532839, 253532835)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(156819794), - this.instances4.alice.encrypt32(156819790), + this.instances4.alice.encrypt32(253532839), + this.instances4.alice.encrypt32(253532835), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 1 (89546642, 135434402)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 1 (77180163, 25179168)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(89546642), - this.instances4.alice.encrypt32(135434402), + this.instances4.alice.encrypt32(77180163), + this.instances4.alice.encrypt32(25179168), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 2 (89546638, 89546642)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 2 (25179164, 25179168)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(89546638), - this.instances4.alice.encrypt32(89546642), + this.instances4.alice.encrypt32(25179164), + this.instances4.alice.encrypt32(25179168), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 3 (89546642, 89546642)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 3 (25179168, 25179168)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(89546642), - this.instances4.alice.encrypt32(89546642), + this.instances4.alice.encrypt32(25179168), + this.instances4.alice.encrypt32(25179168), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 4 (89546642, 89546638)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 4 (25179168, 25179164)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(89546642), - this.instances4.alice.encrypt32(89546638), + this.instances4.alice.encrypt32(25179168), + this.instances4.alice.encrypt32(25179164), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 1 (58829340, 209742110)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 1 (178824069, 78448235)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(58829340), - this.instances4.alice.encrypt32(209742110), + this.instances4.alice.encrypt32(178824069), + this.instances4.alice.encrypt32(78448235), ); - expect(res).to.equal(58829340); + expect(res).to.equal(78448235); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 2 (58829336, 58829340)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 2 (78448231, 78448235)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(58829336), - this.instances4.alice.encrypt32(58829340), + this.instances4.alice.encrypt32(78448231), + this.instances4.alice.encrypt32(78448235), ); - expect(res).to.equal(58829336); + expect(res).to.equal(78448231); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 3 (58829340, 58829340)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 3 (78448235, 78448235)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(58829340), - this.instances4.alice.encrypt32(58829340), + this.instances4.alice.encrypt32(78448235), + this.instances4.alice.encrypt32(78448235), ); - expect(res).to.equal(58829340); + expect(res).to.equal(78448235); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 4 (58829340, 58829336)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 4 (78448235, 78448231)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(58829340), - this.instances4.alice.encrypt32(58829336), + this.instances4.alice.encrypt32(78448235), + this.instances4.alice.encrypt32(78448231), ); - expect(res).to.equal(58829336); + expect(res).to.equal(78448231); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 1 (8800615, 151759654)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 1 (234155387, 122578470)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(8800615), - this.instances4.alice.encrypt32(151759654), + this.instances4.alice.encrypt32(234155387), + this.instances4.alice.encrypt32(122578470), ); - expect(res).to.equal(151759654); + expect(res).to.equal(234155387); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 2 (8800611, 8800615)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 2 (122578466, 122578470)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(8800611), - this.instances4.alice.encrypt32(8800615), + this.instances4.alice.encrypt32(122578466), + this.instances4.alice.encrypt32(122578470), ); - expect(res).to.equal(8800615); + expect(res).to.equal(122578470); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 3 (8800615, 8800615)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 3 (122578470, 122578470)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(8800615), - this.instances4.alice.encrypt32(8800615), + this.instances4.alice.encrypt32(122578470), + this.instances4.alice.encrypt32(122578470), ); - expect(res).to.equal(8800615); + expect(res).to.equal(122578470); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 4 (8800615, 8800611)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 4 (122578470, 122578466)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(8800615), - this.instances4.alice.encrypt32(8800611), + this.instances4.alice.encrypt32(122578470), + this.instances4.alice.encrypt32(122578466), ); - expect(res).to.equal(8800615); + expect(res).to.equal(122578470); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 1 (203659740, 114096043)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 1 (88545588, 105438338)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(203659740), - this.instances4.alice.encrypt64(114096043), + this.instances4.alice.encrypt32(88545588), + this.instances4.alice.encrypt64(105438338), ); - expect(res).to.equal(317755783); + expect(res).to.equal(193983926n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 2 (114096039, 114096043)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 2 (88545584, 88545588)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(114096039), - this.instances4.alice.encrypt64(114096043), + this.instances4.alice.encrypt32(88545584), + this.instances4.alice.encrypt64(88545588), ); - expect(res).to.equal(228192082); + expect(res).to.equal(177091172n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 3 (114096043, 114096043)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 3 (88545588, 88545588)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(114096043), - this.instances4.alice.encrypt64(114096043), + this.instances4.alice.encrypt32(88545588), + this.instances4.alice.encrypt64(88545588), ); - expect(res).to.equal(228192086); + expect(res).to.equal(177091176n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 4 (114096043, 114096039)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 4 (88545588, 88545584)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(114096043), - this.instances4.alice.encrypt64(114096039), + this.instances4.alice.encrypt32(88545588), + this.instances4.alice.encrypt64(88545584), ); - expect(res).to.equal(228192082); + expect(res).to.equal(177091172n); }); - it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (116748811, 116748811)', async function () { + it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (119509877, 119509877)', async function () { const res = await this.contract4.sub_euint32_euint64( - this.instances4.alice.encrypt32(116748811), - this.instances4.alice.encrypt64(116748811), + this.instances4.alice.encrypt32(119509877), + this.instances4.alice.encrypt64(119509877), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, euint64) => euint64 test 2 (116748811, 116748807)', async function () { + it('test operator "sub" overload (euint32, euint64) => euint64 test 2 (119509877, 119509873)', async function () { const res = await this.contract4.sub_euint32_euint64( - this.instances4.alice.encrypt32(116748811), - this.instances4.alice.encrypt64(116748807), + this.instances4.alice.encrypt32(119509877), + this.instances4.alice.encrypt64(119509873), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (10792, 161277)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (64389, 42894)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(10792), - this.instances4.alice.encrypt64(161277), + this.instances4.alice.encrypt32(64389), + this.instances4.alice.encrypt64(42894), ); - expect(res).to.equal(1740501384); + expect(res).to.equal(2761901766n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 2 (43171, 43171)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 2 (42894, 42894)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(43171), - this.instances4.alice.encrypt64(43171), + this.instances4.alice.encrypt32(42894), + this.instances4.alice.encrypt64(42894), ); - expect(res).to.equal(1863735241); + expect(res).to.equal(1839895236n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 3 (43171, 43171)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 3 (42894, 42894)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(43171), - this.instances4.alice.encrypt64(43171), + this.instances4.alice.encrypt32(42894), + this.instances4.alice.encrypt64(42894), ); - expect(res).to.equal(1863735241); + expect(res).to.equal(1839895236n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 4 (43171, 43171)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 4 (42894, 42894)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(43171), - this.instances4.alice.encrypt64(43171), + this.instances4.alice.encrypt32(42894), + this.instances4.alice.encrypt64(42894), ); - expect(res).to.equal(1863735241); + expect(res).to.equal(1839895236n); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 1 (241094180, 246901357)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 1 (145081557, 212896076)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(241094180), - this.instances4.alice.encrypt64(246901357), + this.instances4.alice.encrypt32(145081557), + this.instances4.alice.encrypt64(212896076), ); - expect(res).to.equal(236341796); + expect(res).to.equal(144736324); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 2 (241094176, 241094180)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 2 (145081553, 145081557)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(241094176), - this.instances4.alice.encrypt64(241094180), + this.instances4.alice.encrypt32(145081553), + this.instances4.alice.encrypt64(145081557), ); - expect(res).to.equal(241094176); + expect(res).to.equal(145081553); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 3 (241094180, 241094180)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 3 (145081557, 145081557)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(241094180), - this.instances4.alice.encrypt64(241094180), + this.instances4.alice.encrypt32(145081557), + this.instances4.alice.encrypt64(145081557), ); - expect(res).to.equal(241094180); + expect(res).to.equal(145081557); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 4 (241094180, 241094176)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 4 (145081557, 145081553)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(241094180), - this.instances4.alice.encrypt64(241094176), + this.instances4.alice.encrypt32(145081557), + this.instances4.alice.encrypt64(145081553), ); - expect(res).to.equal(241094176); + expect(res).to.equal(145081553); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 1 (51366153, 141446953)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 1 (138135196, 193074409)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(51366153), - this.instances4.alice.encrypt64(141446953), + this.instances4.alice.encrypt32(138135196), + this.instances4.alice.encrypt64(193074409), ); - expect(res).to.equal(191876905); + expect(res).to.equal(196859645); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 2 (51366149, 51366153)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 2 (138135192, 138135196)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(51366149), - this.instances4.alice.encrypt64(51366153), + this.instances4.alice.encrypt32(138135192), + this.instances4.alice.encrypt64(138135196), ); - expect(res).to.equal(51366157); + expect(res).to.equal(138135196); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 3 (51366153, 51366153)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 3 (138135196, 138135196)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(51366153), - this.instances4.alice.encrypt64(51366153), + this.instances4.alice.encrypt32(138135196), + this.instances4.alice.encrypt64(138135196), ); - expect(res).to.equal(51366153); + expect(res).to.equal(138135196); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 4 (51366153, 51366149)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 4 (138135196, 138135192)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(51366153), - this.instances4.alice.encrypt64(51366149), + this.instances4.alice.encrypt32(138135196), + this.instances4.alice.encrypt64(138135192), ); - expect(res).to.equal(51366157); + expect(res).to.equal(138135196); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (30847431, 224936709)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (27190055, 77242514)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(30847431), - this.instances4.alice.encrypt64(224936709), + this.instances4.alice.encrypt32(27190055), + this.instances4.alice.encrypt64(77242514), ); - expect(res).to.equal(213840578); + expect(res).to.equal(84165557); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 2 (30847427, 30847431)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 2 (27190051, 27190055)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(30847427), - this.instances4.alice.encrypt64(30847431), + this.instances4.alice.encrypt32(27190051), + this.instances4.alice.encrypt64(27190055), ); expect(res).to.equal(4); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 3 (30847431, 30847431)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 3 (27190055, 27190055)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(30847431), - this.instances4.alice.encrypt64(30847431), + this.instances4.alice.encrypt32(27190055), + this.instances4.alice.encrypt64(27190055), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 4 (30847431, 30847427)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 4 (27190055, 27190051)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(30847431), - this.instances4.alice.encrypt64(30847427), + this.instances4.alice.encrypt32(27190055), + this.instances4.alice.encrypt64(27190051), ); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 1 (6049542, 40221551)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 1 (112966432, 124746241)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(6049542), - this.instances4.alice.encrypt64(40221551), + this.instances4.alice.encrypt32(112966432), + this.instances4.alice.encrypt64(124746241), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 2 (6049538, 6049542)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 2 (112966428, 112966432)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(6049538), - this.instances4.alice.encrypt64(6049542), + this.instances4.alice.encrypt32(112966428), + this.instances4.alice.encrypt64(112966432), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 3 (6049542, 6049542)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 3 (112966432, 112966432)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(6049542), - this.instances4.alice.encrypt64(6049542), + this.instances4.alice.encrypt32(112966432), + this.instances4.alice.encrypt64(112966432), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 4 (6049542, 6049538)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 4 (112966432, 112966428)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(6049542), - this.instances4.alice.encrypt64(6049538), + this.instances4.alice.encrypt32(112966432), + this.instances4.alice.encrypt64(112966428), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 1 (223424023, 59824452)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 1 (216563924, 186359172)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(223424023), - this.instances4.alice.encrypt64(59824452), + this.instances4.alice.encrypt32(216563924), + this.instances4.alice.encrypt64(186359172), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 2 (59824448, 59824452)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 2 (186359168, 186359172)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(59824448), - this.instances4.alice.encrypt64(59824452), + this.instances4.alice.encrypt32(186359168), + this.instances4.alice.encrypt64(186359172), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 3 (59824452, 59824452)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 3 (186359172, 186359172)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(59824452), - this.instances4.alice.encrypt64(59824452), + this.instances4.alice.encrypt32(186359172), + this.instances4.alice.encrypt64(186359172), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 4 (59824452, 59824448)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 4 (186359172, 186359168)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(59824452), - this.instances4.alice.encrypt64(59824448), + this.instances4.alice.encrypt32(186359172), + this.instances4.alice.encrypt64(186359168), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 1 (173909597, 200114020)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 1 (252617126, 78317021)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(173909597), - this.instances4.alice.encrypt64(200114020), + this.instances4.alice.encrypt32(252617126), + this.instances4.alice.encrypt64(78317021), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 2 (173909593, 173909597)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 2 (78317017, 78317021)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(173909593), - this.instances4.alice.encrypt64(173909597), + this.instances4.alice.encrypt32(78317017), + this.instances4.alice.encrypt64(78317021), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 3 (173909597, 173909597)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 3 (78317021, 78317021)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(173909597), - this.instances4.alice.encrypt64(173909597), + this.instances4.alice.encrypt32(78317021), + this.instances4.alice.encrypt64(78317021), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 4 (173909597, 173909593)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 4 (78317021, 78317017)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(173909597), - this.instances4.alice.encrypt64(173909593), + this.instances4.alice.encrypt32(78317021), + this.instances4.alice.encrypt64(78317017), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 1 (51988955, 19324508)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 1 (66236212, 254779952)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(51988955), - this.instances4.alice.encrypt64(19324508), + this.instances4.alice.encrypt32(66236212), + this.instances4.alice.encrypt64(254779952), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 2 (19324504, 19324508)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 2 (66236208, 66236212)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(19324504), - this.instances4.alice.encrypt64(19324508), + this.instances4.alice.encrypt32(66236208), + this.instances4.alice.encrypt64(66236212), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 3 (19324508, 19324508)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 3 (66236212, 66236212)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(19324508), - this.instances4.alice.encrypt64(19324508), + this.instances4.alice.encrypt32(66236212), + this.instances4.alice.encrypt64(66236212), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 4 (19324508, 19324504)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 4 (66236212, 66236208)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(19324508), - this.instances4.alice.encrypt64(19324504), + this.instances4.alice.encrypt32(66236212), + this.instances4.alice.encrypt64(66236208), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 1 (239805571, 15147063)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 1 (106864717, 136047136)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(239805571), - this.instances4.alice.encrypt64(15147063), + this.instances4.alice.encrypt32(106864717), + this.instances4.alice.encrypt64(136047136), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 2 (15147059, 15147063)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 2 (106864713, 106864717)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(15147059), - this.instances4.alice.encrypt64(15147063), + this.instances4.alice.encrypt32(106864713), + this.instances4.alice.encrypt64(106864717), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 3 (15147063, 15147063)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 3 (106864717, 106864717)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(15147063), - this.instances4.alice.encrypt64(15147063), + this.instances4.alice.encrypt32(106864717), + this.instances4.alice.encrypt64(106864717), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 4 (15147063, 15147059)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 4 (106864717, 106864713)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(15147063), - this.instances4.alice.encrypt64(15147059), + this.instances4.alice.encrypt32(106864717), + this.instances4.alice.encrypt64(106864713), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 1 (87828731, 91983750)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 1 (68403682, 75018920)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(87828731), - this.instances4.alice.encrypt64(91983750), + this.instances4.alice.encrypt32(68403682), + this.instances4.alice.encrypt64(75018920), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 2 (87828727, 87828731)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 2 (68403678, 68403682)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(87828727), - this.instances4.alice.encrypt64(87828731), + this.instances4.alice.encrypt32(68403678), + this.instances4.alice.encrypt64(68403682), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 3 (87828731, 87828731)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 3 (68403682, 68403682)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(87828731), - this.instances4.alice.encrypt64(87828731), + this.instances4.alice.encrypt32(68403682), + this.instances4.alice.encrypt64(68403682), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 4 (87828731, 87828727)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 4 (68403682, 68403678)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(87828731), - this.instances4.alice.encrypt64(87828727), + this.instances4.alice.encrypt32(68403682), + this.instances4.alice.encrypt64(68403678), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 1 (20594417, 150398136)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 1 (189968743, 122440911)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(20594417), - this.instances4.alice.encrypt64(150398136), + this.instances4.alice.encrypt32(189968743), + this.instances4.alice.encrypt64(122440911), ); - expect(res).to.equal(20594417); + expect(res).to.equal(122440911); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 2 (20594413, 20594417)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 2 (122440907, 122440911)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(20594413), - this.instances4.alice.encrypt64(20594417), + this.instances4.alice.encrypt32(122440907), + this.instances4.alice.encrypt64(122440911), ); - expect(res).to.equal(20594413); + expect(res).to.equal(122440907); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 3 (20594417, 20594417)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 3 (122440911, 122440911)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(20594417), - this.instances4.alice.encrypt64(20594417), + this.instances4.alice.encrypt32(122440911), + this.instances4.alice.encrypt64(122440911), ); - expect(res).to.equal(20594417); + expect(res).to.equal(122440911); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 4 (20594417, 20594413)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 4 (122440911, 122440907)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(20594417), - this.instances4.alice.encrypt64(20594413), + this.instances4.alice.encrypt32(122440911), + this.instances4.alice.encrypt64(122440907), ); - expect(res).to.equal(20594413); + expect(res).to.equal(122440907); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 1 (220335343, 138563730)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 1 (88769233, 236236514)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(220335343), - this.instances4.alice.encrypt64(138563730), + this.instances4.alice.encrypt32(88769233), + this.instances4.alice.encrypt64(236236514), ); - expect(res).to.equal(220335343); + expect(res).to.equal(236236514); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 2 (138563726, 138563730)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 2 (88769229, 88769233)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(138563726), - this.instances4.alice.encrypt64(138563730), + this.instances4.alice.encrypt32(88769229), + this.instances4.alice.encrypt64(88769233), ); - expect(res).to.equal(138563730); + expect(res).to.equal(88769233); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 3 (138563730, 138563730)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 3 (88769233, 88769233)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(138563730), - this.instances4.alice.encrypt64(138563730), + this.instances4.alice.encrypt32(88769233), + this.instances4.alice.encrypt64(88769233), ); - expect(res).to.equal(138563730); + expect(res).to.equal(88769233); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 4 (138563730, 138563726)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 4 (88769233, 88769229)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(138563730), - this.instances4.alice.encrypt64(138563726), + this.instances4.alice.encrypt32(88769233), + this.instances4.alice.encrypt64(88769229), ); - expect(res).to.equal(138563730); + expect(res).to.equal(88769233); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 1 (21701237, 252093913)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(21701237), 252093913); - expect(res).to.equal(273795150); + it('test operator "add" overload (euint32, uint32) => euint32 test 1 (140830493, 37413668)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(140830493), 37413668); + expect(res).to.equal(178244161n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 2 (21701233, 21701237)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(21701233), 21701237); - expect(res).to.equal(43402470); + it('test operator "add" overload (euint32, uint32) => euint32 test 2 (140830489, 140830493)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(140830489), 140830493); + expect(res).to.equal(281660982n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 3 (21701237, 21701237)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(21701237), 21701237); - expect(res).to.equal(43402474); + it('test operator "add" overload (euint32, uint32) => euint32 test 3 (140830493, 140830493)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(140830493), 140830493); + expect(res).to.equal(281660986n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 4 (21701237, 21701233)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(21701237), 21701233); - expect(res).to.equal(43402470); + it('test operator "add" overload (euint32, uint32) => euint32 test 4 (140830493, 140830489)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(140830493), 140830489); + expect(res).to.equal(281660982n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 1 (203659740, 252093913)', async function () { - const res = await this.contract4.add_uint32_euint32(203659740, this.instances4.alice.encrypt32(252093913)); - expect(res).to.equal(455753653); + it('test operator "add" overload (uint32, euint32) => euint32 test 1 (88545588, 37413668)', async function () { + const res = await this.contract4.add_uint32_euint32(88545588, this.instances4.alice.encrypt32(37413668)); + expect(res).to.equal(125959256n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 2 (21701233, 21701237)', async function () { - const res = await this.contract4.add_uint32_euint32(21701233, this.instances4.alice.encrypt32(21701237)); - expect(res).to.equal(43402470); + it('test operator "add" overload (uint32, euint32) => euint32 test 2 (140830489, 140830493)', async function () { + const res = await this.contract4.add_uint32_euint32(140830489, this.instances4.alice.encrypt32(140830493)); + expect(res).to.equal(281660982n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 3 (21701237, 21701237)', async function () { - const res = await this.contract4.add_uint32_euint32(21701237, this.instances4.alice.encrypt32(21701237)); - expect(res).to.equal(43402474); + it('test operator "add" overload (uint32, euint32) => euint32 test 3 (140830493, 140830493)', async function () { + const res = await this.contract4.add_uint32_euint32(140830493, this.instances4.alice.encrypt32(140830493)); + expect(res).to.equal(281660986n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 4 (21701237, 21701233)', async function () { - const res = await this.contract4.add_uint32_euint32(21701237, this.instances4.alice.encrypt32(21701233)); - expect(res).to.equal(43402470); + it('test operator "add" overload (uint32, euint32) => euint32 test 4 (140830493, 140830489)', async function () { + const res = await this.contract4.add_uint32_euint32(140830493, this.instances4.alice.encrypt32(140830489)); + expect(res).to.equal(281660982n); }); - it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (142194314, 142194314)', async function () { - const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(142194314), 142194314); + it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (72155792, 72155792)', async function () { + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(72155792), 72155792); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint32, uint32) => euint32 test 2 (142194314, 142194310)', async function () { - const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(142194314), 142194310); + it('test operator "sub" overload (euint32, uint32) => euint32 test 2 (72155792, 72155788)', async function () { + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(72155792), 72155788); expect(res).to.equal(4); }); - it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (142194314, 142194314)', async function () { - const res = await this.contract4.sub_uint32_euint32(142194314, this.instances4.alice.encrypt32(142194314)); + it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (72155792, 72155792)', async function () { + const res = await this.contract4.sub_uint32_euint32(72155792, this.instances4.alice.encrypt32(72155792)); expect(res).to.equal(0); }); - it('test operator "sub" overload (uint32, euint32) => euint32 test 2 (142194314, 142194310)', async function () { - const res = await this.contract4.sub_uint32_euint32(142194314, this.instances4.alice.encrypt32(142194310)); + it('test operator "sub" overload (uint32, euint32) => euint32 test 2 (72155792, 72155788)', async function () { + const res = await this.contract4.sub_uint32_euint32(72155792, this.instances4.alice.encrypt32(72155788)); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (37384, 56630)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(37384), 56630); - expect(res).to.equal(2117055920); + it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (37388, 46853)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(37388), 46853); + expect(res).to.equal(1751739964n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 2 (34417, 34417)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(34417), 34417); - expect(res).to.equal(1184529889); + it('test operator "mul" overload (euint32, uint32) => euint32 test 2 (36502, 36502)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(36502), 36502); + expect(res).to.equal(1332396004n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 3 (34417, 34417)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(34417), 34417); - expect(res).to.equal(1184529889); + it('test operator "mul" overload (euint32, uint32) => euint32 test 3 (36502, 36502)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(36502), 36502); + expect(res).to.equal(1332396004n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 4 (34417, 34417)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(34417), 34417); - expect(res).to.equal(1184529889); + it('test operator "mul" overload (euint32, uint32) => euint32 test 4 (36502, 36502)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(36502), 36502); + expect(res).to.equal(1332396004n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (5396, 226523)', async function () { - const res = await this.contract4.mul_uint32_euint32(5396, this.instances4.alice.encrypt32(226523)); - expect(res).to.equal(1222318108); + it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (64389, 46853)', async function () { + const res = await this.contract4.mul_uint32_euint32(64389, this.instances4.alice.encrypt32(46853)); + expect(res).to.equal(3016817817n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 2 (34417, 34417)', async function () { - const res = await this.contract4.mul_uint32_euint32(34417, this.instances4.alice.encrypt32(34417)); - expect(res).to.equal(1184529889); + it('test operator "mul" overload (uint32, euint32) => euint32 test 2 (36502, 36502)', async function () { + const res = await this.contract4.mul_uint32_euint32(36502, this.instances4.alice.encrypt32(36502)); + expect(res).to.equal(1332396004n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 3 (34417, 34417)', async function () { - const res = await this.contract4.mul_uint32_euint32(34417, this.instances4.alice.encrypt32(34417)); - expect(res).to.equal(1184529889); + it('test operator "mul" overload (uint32, euint32) => euint32 test 3 (36502, 36502)', async function () { + const res = await this.contract4.mul_uint32_euint32(36502, this.instances4.alice.encrypt32(36502)); + expect(res).to.equal(1332396004n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 4 (34417, 34417)', async function () { - const res = await this.contract4.mul_uint32_euint32(34417, this.instances4.alice.encrypt32(34417)); - expect(res).to.equal(1184529889); + it('test operator "mul" overload (uint32, euint32) => euint32 test 4 (36502, 36502)', async function () { + const res = await this.contract4.mul_uint32_euint32(36502, this.instances4.alice.encrypt32(36502)); + expect(res).to.equal(1332396004n); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 1 (20956235, 20556991)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(20956235), 20556991); - expect(res).to.equal(1); + it('test operator "div" overload (euint32, uint32) => euint32 test 1 (4617026, 124132502)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(4617026), 124132502); + expect(res).to.equal(0); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 2 (20956231, 20956235)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(20956231), 20956235); + it('test operator "div" overload (euint32, uint32) => euint32 test 2 (4617022, 4617026)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(4617022), 4617026); expect(res).to.equal(0); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 3 (20956235, 20956235)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(20956235), 20956235); + it('test operator "div" overload (euint32, uint32) => euint32 test 3 (4617026, 4617026)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(4617026), 4617026); expect(res).to.equal(1); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 4 (20956235, 20956231)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(20956235), 20956231); + it('test operator "div" overload (euint32, uint32) => euint32 test 4 (4617026, 4617022)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(4617026), 4617022); expect(res).to.equal(1); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (227728407, 99085597)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(227728407), 99085597); - expect(res).to.equal(29557213); + it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (48793720, 87597111)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(48793720), 87597111); + expect(res).to.equal(48793720); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 2 (187916193, 187916197)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(187916193), 187916197); - expect(res).to.equal(187916193); + it('test operator "rem" overload (euint32, uint32) => euint32 test 2 (48793716, 48793720)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(48793716), 48793720); + expect(res).to.equal(48793716); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 3 (187916197, 187916197)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(187916197), 187916197); + it('test operator "rem" overload (euint32, uint32) => euint32 test 3 (48793720, 48793720)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(48793720), 48793720); expect(res).to.equal(0); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 4 (187916197, 187916193)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(187916197), 187916193); + it('test operator "rem" overload (euint32, uint32) => euint32 test 4 (48793720, 48793716)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(48793720), 48793716); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 1 (82686069, 99342572)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(82686069), 99342572); + it('test operator "eq" overload (euint32, uint32) => ebool test 1 (60042820, 16792460)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(60042820), 16792460); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 2 (82686065, 82686069)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(82686065), 82686069); + it('test operator "eq" overload (euint32, uint32) => ebool test 2 (60042816, 60042820)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(60042816), 60042820); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 3 (82686069, 82686069)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(82686069), 82686069); + it('test operator "eq" overload (euint32, uint32) => ebool test 3 (60042820, 60042820)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(60042820), 60042820); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 4 (82686069, 82686065)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(82686069), 82686065); + it('test operator "eq" overload (euint32, uint32) => ebool test 4 (60042820, 60042816)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(60042820), 60042816); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 1 (6049542, 99342572)', async function () { - const res = await this.contract4.eq_uint32_euint32(6049542, this.instances4.alice.encrypt32(99342572)); + it('test operator "eq" overload (uint32, euint32) => ebool test 1 (112966432, 16792460)', async function () { + const res = await this.contract4.eq_uint32_euint32(112966432, this.instances4.alice.encrypt32(16792460)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 2 (82686065, 82686069)', async function () { - const res = await this.contract4.eq_uint32_euint32(82686065, this.instances4.alice.encrypt32(82686069)); + it('test operator "eq" overload (uint32, euint32) => ebool test 2 (60042816, 60042820)', async function () { + const res = await this.contract4.eq_uint32_euint32(60042816, this.instances4.alice.encrypt32(60042820)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 3 (82686069, 82686069)', async function () { - const res = await this.contract4.eq_uint32_euint32(82686069, this.instances4.alice.encrypt32(82686069)); + it('test operator "eq" overload (uint32, euint32) => ebool test 3 (60042820, 60042820)', async function () { + const res = await this.contract4.eq_uint32_euint32(60042820, this.instances4.alice.encrypt32(60042820)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 4 (82686069, 82686065)', async function () { - const res = await this.contract4.eq_uint32_euint32(82686069, this.instances4.alice.encrypt32(82686065)); + it('test operator "eq" overload (uint32, euint32) => ebool test 4 (60042820, 60042816)', async function () { + const res = await this.contract4.eq_uint32_euint32(60042820, this.instances4.alice.encrypt32(60042816)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 1 (3660714, 206743981)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3660714), 206743981); + it('test operator "ne" overload (euint32, uint32) => ebool test 1 (83574454, 88187509)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(83574454), 88187509); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 2 (3660710, 3660714)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3660710), 3660714); + it('test operator "ne" overload (euint32, uint32) => ebool test 2 (51569939, 51569943)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(51569939), 51569943); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 3 (3660714, 3660714)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3660714), 3660714); + it('test operator "ne" overload (euint32, uint32) => ebool test 3 (51569943, 51569943)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(51569943), 51569943); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 4 (3660714, 3660710)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(3660714), 3660710); + it('test operator "ne" overload (euint32, uint32) => ebool test 4 (51569943, 51569939)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(51569943), 51569939); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 1 (223424023, 206743981)', async function () { - const res = await this.contract4.ne_uint32_euint32(223424023, this.instances4.alice.encrypt32(206743981)); + it('test operator "ne" overload (uint32, euint32) => ebool test 1 (216563924, 88187509)', async function () { + const res = await this.contract4.ne_uint32_euint32(216563924, this.instances4.alice.encrypt32(88187509)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 2 (3660710, 3660714)', async function () { - const res = await this.contract4.ne_uint32_euint32(3660710, this.instances4.alice.encrypt32(3660714)); + it('test operator "ne" overload (uint32, euint32) => ebool test 2 (51569939, 51569943)', async function () { + const res = await this.contract4.ne_uint32_euint32(51569939, this.instances4.alice.encrypt32(51569943)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 3 (3660714, 3660714)', async function () { - const res = await this.contract4.ne_uint32_euint32(3660714, this.instances4.alice.encrypt32(3660714)); + it('test operator "ne" overload (uint32, euint32) => ebool test 3 (51569943, 51569943)', async function () { + const res = await this.contract4.ne_uint32_euint32(51569943, this.instances4.alice.encrypt32(51569943)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 4 (3660714, 3660710)', async function () { - const res = await this.contract4.ne_uint32_euint32(3660714, this.instances4.alice.encrypt32(3660710)); + it('test operator "ne" overload (uint32, euint32) => ebool test 4 (51569943, 51569939)', async function () { + const res = await this.contract4.ne_uint32_euint32(51569943, this.instances4.alice.encrypt32(51569939)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 1 (182035180, 57241334)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(182035180), 57241334); - expect(res).to.equal(true); + it('test operator "ge" overload (euint32, uint32) => ebool test 1 (55218710, 91594514)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(55218710), 91594514); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 2 (102858483, 102858487)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(102858483), 102858487); + it('test operator "ge" overload (euint32, uint32) => ebool test 2 (55218706, 55218710)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(55218706), 55218710); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 3 (102858487, 102858487)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(102858487), 102858487); + it('test operator "ge" overload (euint32, uint32) => ebool test 3 (55218710, 55218710)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(55218710), 55218710); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 4 (102858487, 102858483)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(102858487), 102858483); + it('test operator "ge" overload (euint32, uint32) => ebool test 4 (55218710, 55218706)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(55218710), 55218706); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 1 (173909597, 57241334)', async function () { - const res = await this.contract4.ge_uint32_euint32(173909597, this.instances4.alice.encrypt32(57241334)); + it('test operator "ge" overload (uint32, euint32) => ebool test 1 (252617126, 91594514)', async function () { + const res = await this.contract4.ge_uint32_euint32(252617126, this.instances4.alice.encrypt32(91594514)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 2 (102858483, 102858487)', async function () { - const res = await this.contract4.ge_uint32_euint32(102858483, this.instances4.alice.encrypt32(102858487)); + it('test operator "ge" overload (uint32, euint32) => ebool test 2 (55218706, 55218710)', async function () { + const res = await this.contract4.ge_uint32_euint32(55218706, this.instances4.alice.encrypt32(55218710)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 3 (102858487, 102858487)', async function () { - const res = await this.contract4.ge_uint32_euint32(102858487, this.instances4.alice.encrypt32(102858487)); + it('test operator "ge" overload (uint32, euint32) => ebool test 3 (55218710, 55218710)', async function () { + const res = await this.contract4.ge_uint32_euint32(55218710, this.instances4.alice.encrypt32(55218710)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 4 (102858487, 102858483)', async function () { - const res = await this.contract4.ge_uint32_euint32(102858487, this.instances4.alice.encrypt32(102858483)); + it('test operator "ge" overload (uint32, euint32) => ebool test 4 (55218710, 55218706)', async function () { + const res = await this.contract4.ge_uint32_euint32(55218710, this.instances4.alice.encrypt32(55218706)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 1 (228583889, 207183969)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(228583889), 207183969); - expect(res).to.equal(true); + it('test operator "gt" overload (euint32, uint32) => ebool test 1 (44051971, 72656620)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44051971), 72656620); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 2 (44696676, 44696680)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44696676), 44696680); + it('test operator "gt" overload (euint32, uint32) => ebool test 2 (44051967, 44051971)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44051967), 44051971); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 3 (44696680, 44696680)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44696680), 44696680); + it('test operator "gt" overload (euint32, uint32) => ebool test 3 (44051971, 44051971)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44051971), 44051971); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 4 (44696680, 44696676)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44696680), 44696676); + it('test operator "gt" overload (euint32, uint32) => ebool test 4 (44051971, 44051967)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44051971), 44051967); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 1 (51988955, 207183969)', async function () { - const res = await this.contract4.gt_uint32_euint32(51988955, this.instances4.alice.encrypt32(207183969)); + it('test operator "gt" overload (uint32, euint32) => ebool test 1 (66236212, 72656620)', async function () { + const res = await this.contract4.gt_uint32_euint32(66236212, this.instances4.alice.encrypt32(72656620)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 2 (44696676, 44696680)', async function () { - const res = await this.contract4.gt_uint32_euint32(44696676, this.instances4.alice.encrypt32(44696680)); + it('test operator "gt" overload (uint32, euint32) => ebool test 2 (44051967, 44051971)', async function () { + const res = await this.contract4.gt_uint32_euint32(44051967, this.instances4.alice.encrypt32(44051971)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 3 (44696680, 44696680)', async function () { - const res = await this.contract4.gt_uint32_euint32(44696680, this.instances4.alice.encrypt32(44696680)); + it('test operator "gt" overload (uint32, euint32) => ebool test 3 (44051971, 44051971)', async function () { + const res = await this.contract4.gt_uint32_euint32(44051971, this.instances4.alice.encrypt32(44051971)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 4 (44696680, 44696676)', async function () { - const res = await this.contract4.gt_uint32_euint32(44696680, this.instances4.alice.encrypt32(44696676)); + it('test operator "gt" overload (uint32, euint32) => ebool test 4 (44051971, 44051967)', async function () { + const res = await this.contract4.gt_uint32_euint32(44051971, this.instances4.alice.encrypt32(44051967)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 1 (232635457, 92190924)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(232635457), 92190924); + it('test operator "le" overload (euint32, uint32) => ebool test 1 (253532839, 235451435)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(253532839), 235451435); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, uint32) => ebool test 2 (156819790, 156819794)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(156819790), 156819794); + it('test operator "le" overload (euint32, uint32) => ebool test 2 (253532835, 253532839)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(253532835), 253532839); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 3 (156819794, 156819794)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(156819794), 156819794); + it('test operator "le" overload (euint32, uint32) => ebool test 3 (253532839, 253532839)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(253532839), 253532839); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 4 (156819794, 156819790)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(156819794), 156819790); + it('test operator "le" overload (euint32, uint32) => ebool test 4 (253532839, 253532835)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(253532839), 253532835); expect(res).to.equal(false); }); - it('test operator "le" overload (uint32, euint32) => ebool test 1 (239805571, 92190924)', async function () { - const res = await this.contract4.le_uint32_euint32(239805571, this.instances4.alice.encrypt32(92190924)); - expect(res).to.equal(false); + it('test operator "le" overload (uint32, euint32) => ebool test 1 (106864717, 235451435)', async function () { + const res = await this.contract4.le_uint32_euint32(106864717, this.instances4.alice.encrypt32(235451435)); + expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 2 (156819790, 156819794)', async function () { - const res = await this.contract4.le_uint32_euint32(156819790, this.instances4.alice.encrypt32(156819794)); + it('test operator "le" overload (uint32, euint32) => ebool test 2 (253532835, 253532839)', async function () { + const res = await this.contract4.le_uint32_euint32(253532835, this.instances4.alice.encrypt32(253532839)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 3 (156819794, 156819794)', async function () { - const res = await this.contract4.le_uint32_euint32(156819794, this.instances4.alice.encrypt32(156819794)); + it('test operator "le" overload (uint32, euint32) => ebool test 3 (253532839, 253532839)', async function () { + const res = await this.contract4.le_uint32_euint32(253532839, this.instances4.alice.encrypt32(253532839)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 4 (156819794, 156819790)', async function () { - const res = await this.contract4.le_uint32_euint32(156819794, this.instances4.alice.encrypt32(156819790)); + it('test operator "le" overload (uint32, euint32) => ebool test 4 (253532839, 253532835)', async function () { + const res = await this.contract4.le_uint32_euint32(253532839, this.instances4.alice.encrypt32(253532835)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 1 (89546642, 53290899)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(89546642), 53290899); - expect(res).to.equal(false); + it('test operator "lt" overload (euint32, uint32) => ebool test 1 (77180163, 83634693)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(77180163), 83634693); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 2 (89546638, 89546642)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(89546638), 89546642); + it('test operator "lt" overload (euint32, uint32) => ebool test 2 (25179164, 25179168)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(25179164), 25179168); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 3 (89546642, 89546642)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(89546642), 89546642); + it('test operator "lt" overload (euint32, uint32) => ebool test 3 (25179168, 25179168)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(25179168), 25179168); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 4 (89546642, 89546638)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(89546642), 89546638); + it('test operator "lt" overload (euint32, uint32) => ebool test 4 (25179168, 25179164)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(25179168), 25179164); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 1 (87828731, 53290899)', async function () { - const res = await this.contract4.lt_uint32_euint32(87828731, this.instances4.alice.encrypt32(53290899)); - expect(res).to.equal(false); + it('test operator "lt" overload (uint32, euint32) => ebool test 1 (68403682, 83634693)', async function () { + const res = await this.contract4.lt_uint32_euint32(68403682, this.instances4.alice.encrypt32(83634693)); + expect(res).to.equal(true); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 2 (89546638, 89546642)', async function () { - const res = await this.contract4.lt_uint32_euint32(89546638, this.instances4.alice.encrypt32(89546642)); + it('test operator "lt" overload (uint32, euint32) => ebool test 2 (25179164, 25179168)', async function () { + const res = await this.contract4.lt_uint32_euint32(25179164, this.instances4.alice.encrypt32(25179168)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 3 (89546642, 89546642)', async function () { - const res = await this.contract4.lt_uint32_euint32(89546642, this.instances4.alice.encrypt32(89546642)); + it('test operator "lt" overload (uint32, euint32) => ebool test 3 (25179168, 25179168)', async function () { + const res = await this.contract4.lt_uint32_euint32(25179168, this.instances4.alice.encrypt32(25179168)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 4 (89546642, 89546638)', async function () { - const res = await this.contract4.lt_uint32_euint32(89546642, this.instances4.alice.encrypt32(89546638)); + it('test operator "lt" overload (uint32, euint32) => ebool test 4 (25179168, 25179164)', async function () { + const res = await this.contract4.lt_uint32_euint32(25179168, this.instances4.alice.encrypt32(25179164)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 1 (58829340, 90321027)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(58829340), 90321027); - expect(res).to.equal(58829340); + it('test operator "min" overload (euint32, uint32) => euint32 test 1 (178824069, 197749167)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(178824069), 197749167); + expect(res).to.equal(178824069); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 2 (58829336, 58829340)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(58829336), 58829340); - expect(res).to.equal(58829336); + it('test operator "min" overload (euint32, uint32) => euint32 test 2 (78448231, 78448235)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(78448231), 78448235); + expect(res).to.equal(78448231); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 3 (58829340, 58829340)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(58829340), 58829340); - expect(res).to.equal(58829340); + it('test operator "min" overload (euint32, uint32) => euint32 test 3 (78448235, 78448235)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(78448235), 78448235); + expect(res).to.equal(78448235); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 4 (58829340, 58829336)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(58829340), 58829336); - expect(res).to.equal(58829336); + it('test operator "min" overload (euint32, uint32) => euint32 test 4 (78448235, 78448231)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(78448235), 78448231); + expect(res).to.equal(78448231); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 1 (20594417, 90321027)', async function () { - const res = await this.contract4.min_uint32_euint32(20594417, this.instances4.alice.encrypt32(90321027)); - expect(res).to.equal(20594417); + it('test operator "min" overload (uint32, euint32) => euint32 test 1 (189968743, 197749167)', async function () { + const res = await this.contract4.min_uint32_euint32(189968743, this.instances4.alice.encrypt32(197749167)); + expect(res).to.equal(189968743); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 2 (58829336, 58829340)', async function () { - const res = await this.contract4.min_uint32_euint32(58829336, this.instances4.alice.encrypt32(58829340)); - expect(res).to.equal(58829336); + it('test operator "min" overload (uint32, euint32) => euint32 test 2 (78448231, 78448235)', async function () { + const res = await this.contract4.min_uint32_euint32(78448231, this.instances4.alice.encrypt32(78448235)); + expect(res).to.equal(78448231); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 3 (58829340, 58829340)', async function () { - const res = await this.contract4.min_uint32_euint32(58829340, this.instances4.alice.encrypt32(58829340)); - expect(res).to.equal(58829340); + it('test operator "min" overload (uint32, euint32) => euint32 test 3 (78448235, 78448235)', async function () { + const res = await this.contract4.min_uint32_euint32(78448235, this.instances4.alice.encrypt32(78448235)); + expect(res).to.equal(78448235); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 4 (58829340, 58829336)', async function () { - const res = await this.contract4.min_uint32_euint32(58829340, this.instances4.alice.encrypt32(58829336)); - expect(res).to.equal(58829336); + it('test operator "min" overload (uint32, euint32) => euint32 test 4 (78448235, 78448231)', async function () { + const res = await this.contract4.min_uint32_euint32(78448235, this.instances4.alice.encrypt32(78448231)); + expect(res).to.equal(78448231); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 1 (8800615, 201659044)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8800615), 201659044); - expect(res).to.equal(201659044); + it('test operator "max" overload (euint32, uint32) => euint32 test 1 (234155387, 181088842)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(234155387), 181088842); + expect(res).to.equal(234155387); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 2 (8800611, 8800615)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8800611), 8800615); - expect(res).to.equal(8800615); + it('test operator "max" overload (euint32, uint32) => euint32 test 2 (122578466, 122578470)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(122578466), 122578470); + expect(res).to.equal(122578470); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 3 (8800615, 8800615)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8800615), 8800615); - expect(res).to.equal(8800615); + it('test operator "max" overload (euint32, uint32) => euint32 test 3 (122578470, 122578470)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(122578470), 122578470); + expect(res).to.equal(122578470); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 4 (8800615, 8800611)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8800615), 8800611); - expect(res).to.equal(8800615); + it('test operator "max" overload (euint32, uint32) => euint32 test 4 (122578470, 122578466)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(122578470), 122578466); + expect(res).to.equal(122578470); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 1 (220335343, 201659044)', async function () { - const res = await this.contract4.max_uint32_euint32(220335343, this.instances4.alice.encrypt32(201659044)); - expect(res).to.equal(220335343); + it('test operator "max" overload (uint32, euint32) => euint32 test 1 (88769233, 181088842)', async function () { + const res = await this.contract4.max_uint32_euint32(88769233, this.instances4.alice.encrypt32(181088842)); + expect(res).to.equal(181088842); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 2 (8800611, 8800615)', async function () { - const res = await this.contract4.max_uint32_euint32(8800611, this.instances4.alice.encrypt32(8800615)); - expect(res).to.equal(8800615); + it('test operator "max" overload (uint32, euint32) => euint32 test 2 (122578466, 122578470)', async function () { + const res = await this.contract4.max_uint32_euint32(122578466, this.instances4.alice.encrypt32(122578470)); + expect(res).to.equal(122578470); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 3 (8800615, 8800615)', async function () { - const res = await this.contract4.max_uint32_euint32(8800615, this.instances4.alice.encrypt32(8800615)); - expect(res).to.equal(8800615); + it('test operator "max" overload (uint32, euint32) => euint32 test 3 (122578470, 122578470)', async function () { + const res = await this.contract4.max_uint32_euint32(122578470, this.instances4.alice.encrypt32(122578470)); + expect(res).to.equal(122578470); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 4 (8800615, 8800611)', async function () { - const res = await this.contract4.max_uint32_euint32(8800615, this.instances4.alice.encrypt32(8800611)); - expect(res).to.equal(8800615); + it('test operator "max" overload (uint32, euint32) => euint32 test 4 (122578470, 122578466)', async function () { + const res = await this.contract4.max_uint32_euint32(122578470, this.instances4.alice.encrypt32(122578466)); + expect(res).to.equal(122578470); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 1 (13, 1)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 1 (10, 1)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(13), + this.instances4.alice.encrypt64(10), this.instances4.alice.encrypt4(1), ); - expect(res).to.equal(14); + expect(res).to.equal(11n); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 2 (3, 5)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(3), - this.instances4.alice.encrypt4(5), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 3 (5, 5)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 3 (4, 4)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(5), - this.instances4.alice.encrypt4(5), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(10); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 4 (5, 3)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(5), - this.instances4.alice.encrypt4(3), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(8); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint64, euint4) => euint64 test 1 (13, 13)', async function () { + it('test operator "sub" overload (euint64, euint4) => euint64 test 1 (10, 10)', async function () { const res = await this.contract4.sub_euint64_euint4( - this.instances4.alice.encrypt64(13), - this.instances4.alice.encrypt4(13), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(10), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, euint4) => euint64 test 2 (13, 9)', async function () { + it('test operator "sub" overload (euint64, euint4) => euint64 test 2 (10, 6)', async function () { const res = await this.contract4.sub_euint64_euint4( - this.instances4.alice.encrypt64(13), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(6), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 1 (11, 1)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 1 (10, 1)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt64(10), this.instances4.alice.encrypt4(1), ); - expect(res).to.equal(11); + expect(res).to.equal(10n); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 2 (2, 4)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(3), - this.instances4.alice.encrypt4(5), + this.instances4.alice.encrypt64(2), + this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(15); + expect(res).to.equal(8n); }); it('test operator "mul" overload (euint64, euint4) => euint64 test 3 (2, 2)', async function () { @@ -10649,87 +10649,87 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(2), this.instances4.alice.encrypt4(2), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 4 (4, 2)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(5), - this.instances4.alice.encrypt4(3), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(2), ); - expect(res).to.equal(15); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 1 (190497921, 5)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 1 (238356224, 9)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(190497921), - this.instances4.alice.encrypt4(5), + this.instances4.alice.encrypt64(238356224), + this.instances4.alice.encrypt4(9), ); - expect(res).to.equal(1); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 2 (5, 9)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(5), + this.instances4.alice.encrypt4(9), ); - expect(res).to.equal(0); + expect(res).to.equal(1); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 3 (9, 9)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(9), + this.instances4.alice.encrypt4(9), ); - expect(res).to.equal(8); + expect(res).to.equal(9); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 4 (9, 5)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(9), + this.instances4.alice.encrypt4(5), ); - expect(res).to.equal(0); + expect(res).to.equal(1); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 1 (144995790, 3)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 1 (50536480, 11)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(144995790), - this.instances4.alice.encrypt4(3), + this.instances4.alice.encrypt64(50536480), + this.instances4.alice.encrypt4(11), ); - expect(res).to.equal(144995791); + expect(res).to.equal(50536491); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 2 (7, 11)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(7), + this.instances4.alice.encrypt4(11), ); - expect(res).to.equal(12); + expect(res).to.equal(15); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 3 (11, 11)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt4(11), ); - expect(res).to.equal(8); + expect(res).to.equal(11); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 4 (11, 7)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt4(7), ); - expect(res).to.equal(12); + expect(res).to.equal(15); }); - it('test operator "xor" overload (euint64, euint4) => euint64 test 1 (236438189, 1)', async function () { + it('test operator "xor" overload (euint64, euint4) => euint64 test 1 (147215301, 1)', async function () { const res = await this.contract4.xor_euint64_euint4( - this.instances4.alice.encrypt64(236438189), + this.instances4.alice.encrypt64(147215301), this.instances4.alice.encrypt4(1), ); - expect(res).to.equal(236438188); + expect(res).to.equal(147215300); }); it('test operator "xor" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { @@ -10756,10 +10756,10 @@ describe('TFHE operations', function () { expect(res).to.equal(12); }); - it('test operator "eq" overload (euint64, euint4) => ebool test 1 (173975280, 4)', async function () { + it('test operator "eq" overload (euint64, euint4) => ebool test 1 (113183278, 7)', async function () { const res = await this.contract4.eq_euint64_euint4( - this.instances4.alice.encrypt64(173975280), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(113183278), + this.instances4.alice.encrypt4(7), ); expect(res).to.equal(false); }); @@ -10788,9 +10788,9 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 1 (86198263, 13)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 1 (129256608, 13)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(86198263), + this.instances4.alice.encrypt64(129256608), this.instances4.alice.encrypt4(13), ); expect(res).to.equal(true); @@ -10820,74 +10820,74 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 1 (105082351, 8)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 1 (116051290, 10)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(105082351), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(116051290), + this.instances4.alice.encrypt4(10), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 2 (6, 10)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(6), + this.instances4.alice.encrypt4(10), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 3 (10, 10)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(10), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 4 (10, 6)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(6), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 1 (264058266, 10)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 1 (208318592, 6)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(264058266), - this.instances4.alice.encrypt4(10), + this.instances4.alice.encrypt64(208318592), + this.instances4.alice.encrypt4(6), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 2 (6, 10)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(6), - this.instances4.alice.encrypt4(10), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 3 (10, 10)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt4(10), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 4 (10, 6)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt4(6), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint4) => ebool test 1 (4853853, 7)', async function () { + it('test operator "le" overload (euint64, euint4) => ebool test 1 (217701220, 1)', async function () { const res = await this.contract4.le_euint64_euint4( - this.instances4.alice.encrypt64(4853853), - this.instances4.alice.encrypt4(7), + this.instances4.alice.encrypt64(217701220), + this.instances4.alice.encrypt4(1), ); expect(res).to.equal(false); }); @@ -10916,44 +10916,44 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 1 (109092109, 11)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 1 (264374974, 2)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(109092109), - this.instances4.alice.encrypt4(11), + this.instances4.alice.encrypt64(264374974), + this.instances4.alice.encrypt4(2), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 2 (7, 11)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(7), - this.instances4.alice.encrypt4(11), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 3 (11, 11)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(11), - this.instances4.alice.encrypt4(11), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 4 (11, 7)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(11), - this.instances4.alice.encrypt4(7), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint4) => euint64 test 1 (244314733, 7)', async function () { + it('test operator "min" overload (euint64, euint4) => euint64 test 1 (67905839, 8)', async function () { const res = await this.contract4.min_euint64_euint4( - this.instances4.alice.encrypt64(244314733), - this.instances4.alice.encrypt4(7), + this.instances4.alice.encrypt64(67905839), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(7); + expect(res).to.equal(8); }); it('test operator "min" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { @@ -10980,12 +10980,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4); }); - it('test operator "max" overload (euint64, euint4) => euint64 test 1 (18255176, 3)', async function () { + it('test operator "max" overload (euint64, euint4) => euint64 test 1 (215341582, 6)', async function () { const res = await this.contract4.max_euint64_euint4( - this.instances4.alice.encrypt64(18255176), - this.instances4.alice.encrypt4(3), + this.instances4.alice.encrypt64(215341582), + this.instances4.alice.encrypt4(6), ); - expect(res).to.equal(18255176); + expect(res).to.equal(215341582); }); it('test operator "max" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { @@ -11012,60 +11012,60 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 1 (222, 1)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 1 (162, 1)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(222), + this.instances4.alice.encrypt64(162), this.instances4.alice.encrypt8(1), ); - expect(res).to.equal(223); + expect(res).to.equal(163n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 2 (78, 82)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 2 (109, 111)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(78), - this.instances4.alice.encrypt8(82), + this.instances4.alice.encrypt64(109), + this.instances4.alice.encrypt8(111), ); - expect(res).to.equal(160); + expect(res).to.equal(220n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 3 (82, 82)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 3 (111, 111)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(82), - this.instances4.alice.encrypt8(82), + this.instances4.alice.encrypt64(111), + this.instances4.alice.encrypt8(111), ); - expect(res).to.equal(164); + expect(res).to.equal(222n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 4 (82, 78)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 4 (111, 109)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(82), - this.instances4.alice.encrypt8(78), + this.instances4.alice.encrypt64(111), + this.instances4.alice.encrypt8(109), ); - expect(res).to.equal(160); + expect(res).to.equal(220n); }); - it('test operator "sub" overload (euint64, euint8) => euint64 test 1 (236, 236)', async function () { + it('test operator "sub" overload (euint64, euint8) => euint64 test 1 (240, 240)', async function () { const res = await this.contract4.sub_euint64_euint8( - this.instances4.alice.encrypt64(236), - this.instances4.alice.encrypt8(236), + this.instances4.alice.encrypt64(240), + this.instances4.alice.encrypt8(240), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, euint8) => euint64 test 2 (236, 232)', async function () { + it('test operator "sub" overload (euint64, euint8) => euint64 test 2 (240, 236)', async function () { const res = await this.contract4.sub_euint64_euint8( - this.instances4.alice.encrypt64(236), - this.instances4.alice.encrypt8(232), + this.instances4.alice.encrypt64(240), + this.instances4.alice.encrypt8(236), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (177, 1)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (175, 1)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(177), + this.instances4.alice.encrypt64(175), this.instances4.alice.encrypt8(1), ); - expect(res).to.equal(177); + expect(res).to.equal(175n); }); it('test operator "mul" overload (euint64, euint8) => euint64 test 2 (10, 10)', async function () { @@ -11073,7 +11073,7 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(10), this.instances4.alice.encrypt8(10), ); - expect(res).to.equal(100); + expect(res).to.equal(100n); }); it('test operator "mul" overload (euint64, euint8) => euint64 test 3 (10, 10)', async function () { @@ -11081,7 +11081,7 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(10), this.instances4.alice.encrypt8(10), ); - expect(res).to.equal(100); + expect(res).to.equal(100n); }); it('test operator "mul" overload (euint64, euint8) => euint64 test 4 (10, 10)', async function () { @@ -11089,2120 +11089,2120 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(10), this.instances4.alice.encrypt8(10), ); - expect(res).to.equal(100); + expect(res).to.equal(100n); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 1 (190497921, 253)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 1 (238356224, 211)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(190497921), - this.instances4.alice.encrypt8(253), + this.instances4.alice.encrypt64(238356224), + this.instances4.alice.encrypt8(211), ); - expect(res).to.equal(129); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 2 (249, 253)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 2 (207, 211)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(249), - this.instances4.alice.encrypt8(253), + this.instances4.alice.encrypt64(207), + this.instances4.alice.encrypt8(211), ); - expect(res).to.equal(249); + expect(res).to.equal(195); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 3 (253, 253)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 3 (211, 211)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(253), - this.instances4.alice.encrypt8(253), + this.instances4.alice.encrypt64(211), + this.instances4.alice.encrypt8(211), ); - expect(res).to.equal(253); + expect(res).to.equal(211); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 4 (253, 249)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 4 (211, 207)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(253), - this.instances4.alice.encrypt8(249), + this.instances4.alice.encrypt64(211), + this.instances4.alice.encrypt8(207), ); - expect(res).to.equal(249); + expect(res).to.equal(195); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 1 (144995790, 114)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 1 (50536480, 64)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(144995790), - this.instances4.alice.encrypt8(114), + this.instances4.alice.encrypt64(50536480), + this.instances4.alice.encrypt8(64), ); - expect(res).to.equal(144995838); + expect(res).to.equal(50536544); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 2 (110, 114)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 2 (60, 64)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(110), - this.instances4.alice.encrypt8(114), + this.instances4.alice.encrypt64(60), + this.instances4.alice.encrypt8(64), ); - expect(res).to.equal(126); + expect(res).to.equal(124); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 3 (114, 114)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 3 (64, 64)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(114), - this.instances4.alice.encrypt8(114), + this.instances4.alice.encrypt64(64), + this.instances4.alice.encrypt8(64), ); - expect(res).to.equal(114); + expect(res).to.equal(64); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 4 (114, 110)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 4 (64, 60)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(114), - this.instances4.alice.encrypt8(110), + this.instances4.alice.encrypt64(64), + this.instances4.alice.encrypt8(60), ); - expect(res).to.equal(126); + expect(res).to.equal(124); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (236438189, 12)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (147215301, 174)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(236438189), - this.instances4.alice.encrypt8(12), + this.instances4.alice.encrypt64(147215301), + this.instances4.alice.encrypt8(174), ); - expect(res).to.equal(236438177); + expect(res).to.equal(147215211); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (8, 12)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (170, 174)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(12), + this.instances4.alice.encrypt64(170), + this.instances4.alice.encrypt8(174), ); expect(res).to.equal(4); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 3 (12, 12)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 3 (174, 174)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(12), - this.instances4.alice.encrypt8(12), + this.instances4.alice.encrypt64(174), + this.instances4.alice.encrypt8(174), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 4 (12, 8)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 4 (174, 170)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(12), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(174), + this.instances4.alice.encrypt8(170), ); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 1 (173975280, 29)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 1 (113183278, 90)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(173975280), - this.instances4.alice.encrypt8(29), + this.instances4.alice.encrypt64(113183278), + this.instances4.alice.encrypt8(90), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 2 (25, 29)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 2 (86, 90)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(25), - this.instances4.alice.encrypt8(29), + this.instances4.alice.encrypt64(86), + this.instances4.alice.encrypt8(90), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 3 (29, 29)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 3 (90, 90)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(29), - this.instances4.alice.encrypt8(29), + this.instances4.alice.encrypt64(90), + this.instances4.alice.encrypt8(90), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 4 (29, 25)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 4 (90, 86)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(29), - this.instances4.alice.encrypt8(25), + this.instances4.alice.encrypt64(90), + this.instances4.alice.encrypt8(86), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 1 (86198263, 223)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 1 (129256608, 230)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(86198263), - this.instances4.alice.encrypt8(223), + this.instances4.alice.encrypt64(129256608), + this.instances4.alice.encrypt8(230), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 2 (219, 223)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 2 (226, 230)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(219), - this.instances4.alice.encrypt8(223), + this.instances4.alice.encrypt64(226), + this.instances4.alice.encrypt8(230), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 3 (223, 223)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 3 (230, 230)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(223), - this.instances4.alice.encrypt8(223), + this.instances4.alice.encrypt64(230), + this.instances4.alice.encrypt8(230), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 4 (223, 219)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 4 (230, 226)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(223), - this.instances4.alice.encrypt8(219), + this.instances4.alice.encrypt64(230), + this.instances4.alice.encrypt8(226), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 1 (105082351, 165)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 1 (116051290, 252)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(105082351), - this.instances4.alice.encrypt8(165), + this.instances4.alice.encrypt64(116051290), + this.instances4.alice.encrypt8(252), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 2 (161, 165)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 2 (248, 252)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(161), - this.instances4.alice.encrypt8(165), + this.instances4.alice.encrypt64(248), + this.instances4.alice.encrypt8(252), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 3 (165, 165)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 3 (252, 252)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(165), - this.instances4.alice.encrypt8(165), + this.instances4.alice.encrypt64(252), + this.instances4.alice.encrypt8(252), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 4 (165, 161)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 4 (252, 248)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(165), - this.instances4.alice.encrypt8(161), + this.instances4.alice.encrypt64(252), + this.instances4.alice.encrypt8(248), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 1 (264058266, 147)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 1 (208318592, 189)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(264058266), - this.instances4.alice.encrypt8(147), + this.instances4.alice.encrypt64(208318592), + this.instances4.alice.encrypt8(189), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 2 (143, 147)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 2 (185, 189)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(143), - this.instances4.alice.encrypt8(147), + this.instances4.alice.encrypt64(185), + this.instances4.alice.encrypt8(189), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 3 (147, 147)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 3 (189, 189)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(147), - this.instances4.alice.encrypt8(147), + this.instances4.alice.encrypt64(189), + this.instances4.alice.encrypt8(189), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 4 (147, 143)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 4 (189, 185)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(147), - this.instances4.alice.encrypt8(143), + this.instances4.alice.encrypt64(189), + this.instances4.alice.encrypt8(185), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 1 (4853853, 164)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 1 (217701220, 215)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(4853853), - this.instances5.alice.encrypt8(164), + this.instances5.alice.encrypt64(217701220), + this.instances5.alice.encrypt8(215), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint8) => ebool test 2 (160, 164)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 2 (211, 215)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(160), - this.instances5.alice.encrypt8(164), + this.instances5.alice.encrypt64(211), + this.instances5.alice.encrypt8(215), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 3 (164, 164)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 3 (215, 215)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(164), - this.instances5.alice.encrypt8(164), + this.instances5.alice.encrypt64(215), + this.instances5.alice.encrypt8(215), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 4 (164, 160)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 4 (215, 211)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(164), - this.instances5.alice.encrypt8(160), + this.instances5.alice.encrypt64(215), + this.instances5.alice.encrypt8(211), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 1 (109092109, 64)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 1 (264374974, 197)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(109092109), - this.instances5.alice.encrypt8(64), + this.instances5.alice.encrypt64(264374974), + this.instances5.alice.encrypt8(197), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 2 (60, 64)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 2 (193, 197)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(60), - this.instances5.alice.encrypt8(64), + this.instances5.alice.encrypt64(193), + this.instances5.alice.encrypt8(197), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 3 (64, 64)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 3 (197, 197)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(64), - this.instances5.alice.encrypt8(64), + this.instances5.alice.encrypt64(197), + this.instances5.alice.encrypt8(197), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 4 (64, 60)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 4 (197, 193)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(64), - this.instances5.alice.encrypt8(60), + this.instances5.alice.encrypt64(197), + this.instances5.alice.encrypt8(193), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 1 (244314733, 93)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 1 (67905839, 86)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(244314733), - this.instances5.alice.encrypt8(93), + this.instances5.alice.encrypt64(67905839), + this.instances5.alice.encrypt8(86), ); - expect(res).to.equal(93); + expect(res).to.equal(86); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 2 (89, 93)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 2 (82, 86)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(89), - this.instances5.alice.encrypt8(93), + this.instances5.alice.encrypt64(82), + this.instances5.alice.encrypt8(86), ); - expect(res).to.equal(89); + expect(res).to.equal(82); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 3 (93, 93)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 3 (86, 86)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(93), - this.instances5.alice.encrypt8(93), + this.instances5.alice.encrypt64(86), + this.instances5.alice.encrypt8(86), ); - expect(res).to.equal(93); + expect(res).to.equal(86); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 4 (93, 89)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 4 (86, 82)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(93), - this.instances5.alice.encrypt8(89), + this.instances5.alice.encrypt64(86), + this.instances5.alice.encrypt8(82), ); - expect(res).to.equal(89); + expect(res).to.equal(82); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 1 (18255176, 147)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 1 (215341582, 146)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(18255176), - this.instances5.alice.encrypt8(147), + this.instances5.alice.encrypt64(215341582), + this.instances5.alice.encrypt8(146), ); - expect(res).to.equal(18255176); + expect(res).to.equal(215341582); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 2 (143, 147)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 2 (142, 146)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(143), - this.instances5.alice.encrypt8(147), + this.instances5.alice.encrypt64(142), + this.instances5.alice.encrypt8(146), ); - expect(res).to.equal(147); + expect(res).to.equal(146); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 3 (147, 147)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 3 (146, 146)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(147), - this.instances5.alice.encrypt8(147), + this.instances5.alice.encrypt64(146), + this.instances5.alice.encrypt8(146), ); - expect(res).to.equal(147); + expect(res).to.equal(146); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 4 (147, 143)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 4 (146, 142)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(147), - this.instances5.alice.encrypt8(143), + this.instances5.alice.encrypt64(146), + this.instances5.alice.encrypt8(142), ); - expect(res).to.equal(147); + expect(res).to.equal(146); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 1 (57062, 3)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 1 (41532, 11)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(57062), - this.instances5.alice.encrypt16(3), + this.instances5.alice.encrypt64(41532), + this.instances5.alice.encrypt16(11), ); - expect(res).to.equal(57065); + expect(res).to.equal(41543n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 2 (16133, 16137)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 2 (23875, 23877)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(16133), - this.instances5.alice.encrypt16(16137), + this.instances5.alice.encrypt64(23875), + this.instances5.alice.encrypt16(23877), ); - expect(res).to.equal(32270); + expect(res).to.equal(47752n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 3 (16137, 16137)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 3 (23877, 23877)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(16137), - this.instances5.alice.encrypt16(16137), + this.instances5.alice.encrypt64(23877), + this.instances5.alice.encrypt16(23877), ); - expect(res).to.equal(32274); + expect(res).to.equal(47754n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 4 (16137, 16133)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 4 (23877, 23875)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(16137), - this.instances5.alice.encrypt16(16133), + this.instances5.alice.encrypt64(23877), + this.instances5.alice.encrypt16(23875), ); - expect(res).to.equal(32270); + expect(res).to.equal(47752n); }); - it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (23608, 23608)', async function () { + it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (19514, 19514)', async function () { const res = await this.contract5.sub_euint64_euint16( - this.instances5.alice.encrypt64(23608), - this.instances5.alice.encrypt16(23608), + this.instances5.alice.encrypt64(19514), + this.instances5.alice.encrypt16(19514), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, euint16) => euint64 test 2 (23608, 23604)', async function () { + it('test operator "sub" overload (euint64, euint16) => euint64 test 2 (19514, 19510)', async function () { const res = await this.contract5.sub_euint64_euint16( - this.instances5.alice.encrypt64(23608), - this.instances5.alice.encrypt16(23604), + this.instances5.alice.encrypt64(19514), + this.instances5.alice.encrypt16(19510), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (11381, 2)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (11257, 5)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(11381), - this.instances5.alice.encrypt16(2), + this.instances5.alice.encrypt64(11257), + this.instances5.alice.encrypt16(5), ); - expect(res).to.equal(22762); + expect(res).to.equal(56285n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 2 (150, 150)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 2 (165, 165)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(150), - this.instances5.alice.encrypt16(150), + this.instances5.alice.encrypt64(165), + this.instances5.alice.encrypt16(165), ); - expect(res).to.equal(22500); + expect(res).to.equal(27225n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 3 (150, 150)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 3 (165, 165)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(150), - this.instances5.alice.encrypt16(150), + this.instances5.alice.encrypt64(165), + this.instances5.alice.encrypt16(165), ); - expect(res).to.equal(22500); + expect(res).to.equal(27225n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 4 (150, 150)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 4 (165, 165)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(150), - this.instances5.alice.encrypt16(150), + this.instances5.alice.encrypt64(165), + this.instances5.alice.encrypt16(165), ); - expect(res).to.equal(22500); + expect(res).to.equal(27225n); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 1 (190497921, 60802)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 1 (238356224, 18546)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(190497921), - this.instances5.alice.encrypt16(60802), + this.instances5.alice.encrypt64(238356224), + this.instances5.alice.encrypt16(18546), ); - expect(res).to.equal(50304); + expect(res).to.equal(0); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 2 (60798, 60802)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 2 (18542, 18546)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(60798), - this.instances5.alice.encrypt16(60802), + this.instances5.alice.encrypt64(18542), + this.instances5.alice.encrypt16(18546), ); - expect(res).to.equal(60674); + expect(res).to.equal(18530); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 3 (60802, 60802)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 3 (18546, 18546)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(60802), - this.instances5.alice.encrypt16(60802), + this.instances5.alice.encrypt64(18546), + this.instances5.alice.encrypt16(18546), ); - expect(res).to.equal(60802); + expect(res).to.equal(18546); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 4 (60802, 60798)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 4 (18546, 18542)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(60802), - this.instances5.alice.encrypt16(60798), + this.instances5.alice.encrypt64(18546), + this.instances5.alice.encrypt16(18542), ); - expect(res).to.equal(60674); + expect(res).to.equal(18530); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 1 (144995790, 62529)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 1 (50536480, 3556)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(144995790), - this.instances5.alice.encrypt16(62529), + this.instances5.alice.encrypt64(50536480), + this.instances5.alice.encrypt16(3556), ); - expect(res).to.equal(145028559); + expect(res).to.equal(50540004); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 2 (62525, 62529)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 2 (3552, 3556)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(62525), - this.instances5.alice.encrypt16(62529), + this.instances5.alice.encrypt64(3552), + this.instances5.alice.encrypt16(3556), ); - expect(res).to.equal(62589); + expect(res).to.equal(3556); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 3 (62529, 62529)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 3 (3556, 3556)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(62529), - this.instances5.alice.encrypt16(62529), + this.instances5.alice.encrypt64(3556), + this.instances5.alice.encrypt16(3556), ); - expect(res).to.equal(62529); + expect(res).to.equal(3556); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 4 (62529, 62525)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 4 (3556, 3552)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(62529), - this.instances5.alice.encrypt16(62525), + this.instances5.alice.encrypt64(3556), + this.instances5.alice.encrypt16(3552), ); - expect(res).to.equal(62589); + expect(res).to.equal(3556); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (236438189, 51285)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (147215301, 35671)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(236438189), - this.instances5.alice.encrypt16(51285), + this.instances5.alice.encrypt64(147215301), + this.instances5.alice.encrypt16(35671), ); - expect(res).to.equal(236391160); + expect(res).to.equal(147249298); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 2 (51281, 51285)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 2 (35667, 35671)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(51281), - this.instances5.alice.encrypt16(51285), + this.instances5.alice.encrypt64(35667), + this.instances5.alice.encrypt16(35671), ); expect(res).to.equal(4); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 3 (51285, 51285)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 3 (35671, 35671)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(51285), - this.instances5.alice.encrypt16(51285), + this.instances5.alice.encrypt64(35671), + this.instances5.alice.encrypt16(35671), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 4 (51285, 51281)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 4 (35671, 35667)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(51285), - this.instances5.alice.encrypt16(51281), + this.instances5.alice.encrypt64(35671), + this.instances5.alice.encrypt16(35667), ); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 1 (173975280, 43434)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 1 (113183278, 17213)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(173975280), - this.instances5.alice.encrypt16(43434), + this.instances5.alice.encrypt64(113183278), + this.instances5.alice.encrypt16(17213), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 2 (43430, 43434)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 2 (17209, 17213)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(43430), - this.instances5.alice.encrypt16(43434), + this.instances5.alice.encrypt64(17209), + this.instances5.alice.encrypt16(17213), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 3 (43434, 43434)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 3 (17213, 17213)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(43434), - this.instances5.alice.encrypt16(43434), + this.instances5.alice.encrypt64(17213), + this.instances5.alice.encrypt16(17213), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 4 (43434, 43430)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 4 (17213, 17209)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(43434), - this.instances5.alice.encrypt16(43430), + this.instances5.alice.encrypt64(17213), + this.instances5.alice.encrypt16(17209), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 1 (86198263, 29976)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 1 (129256608, 25758)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(86198263), - this.instances5.alice.encrypt16(29976), + this.instances5.alice.encrypt64(129256608), + this.instances5.alice.encrypt16(25758), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 2 (29972, 29976)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 2 (25754, 25758)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(29972), - this.instances5.alice.encrypt16(29976), + this.instances5.alice.encrypt64(25754), + this.instances5.alice.encrypt16(25758), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 3 (29976, 29976)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 3 (25758, 25758)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(29976), - this.instances5.alice.encrypt16(29976), + this.instances5.alice.encrypt64(25758), + this.instances5.alice.encrypt16(25758), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 4 (29976, 29972)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 4 (25758, 25754)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(29976), - this.instances5.alice.encrypt16(29972), + this.instances5.alice.encrypt64(25758), + this.instances5.alice.encrypt16(25754), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 1 (105082351, 16536)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 1 (116051290, 2338)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(105082351), - this.instances5.alice.encrypt16(16536), + this.instances5.alice.encrypt64(116051290), + this.instances5.alice.encrypt16(2338), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 2 (16532, 16536)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 2 (2334, 2338)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(16532), - this.instances5.alice.encrypt16(16536), + this.instances5.alice.encrypt64(2334), + this.instances5.alice.encrypt16(2338), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 3 (16536, 16536)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 3 (2338, 2338)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(16536), - this.instances5.alice.encrypt16(16536), + this.instances5.alice.encrypt64(2338), + this.instances5.alice.encrypt16(2338), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 4 (16536, 16532)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 4 (2338, 2334)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(16536), - this.instances5.alice.encrypt16(16532), + this.instances5.alice.encrypt64(2338), + this.instances5.alice.encrypt16(2334), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 1 (264058266, 4272)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 1 (208318592, 48949)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(264058266), - this.instances5.alice.encrypt16(4272), + this.instances5.alice.encrypt64(208318592), + this.instances5.alice.encrypt16(48949), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 2 (4268, 4272)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 2 (48945, 48949)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(4268), - this.instances5.alice.encrypt16(4272), + this.instances5.alice.encrypt64(48945), + this.instances5.alice.encrypt16(48949), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 3 (4272, 4272)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 3 (48949, 48949)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(4272), - this.instances5.alice.encrypt16(4272), + this.instances5.alice.encrypt64(48949), + this.instances5.alice.encrypt16(48949), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 4 (4272, 4268)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 4 (48949, 48945)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(4272), - this.instances5.alice.encrypt16(4268), + this.instances5.alice.encrypt64(48949), + this.instances5.alice.encrypt16(48945), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 1 (4853853, 22531)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 1 (217701220, 49721)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(4853853), - this.instances5.alice.encrypt16(22531), + this.instances5.alice.encrypt64(217701220), + this.instances5.alice.encrypt16(49721), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint16) => ebool test 2 (22527, 22531)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 2 (49717, 49721)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(22527), - this.instances5.alice.encrypt16(22531), + this.instances5.alice.encrypt64(49717), + this.instances5.alice.encrypt16(49721), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 3 (22531, 22531)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 3 (49721, 49721)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(22531), - this.instances5.alice.encrypt16(22531), + this.instances5.alice.encrypt64(49721), + this.instances5.alice.encrypt16(49721), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 4 (22531, 22527)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 4 (49721, 49717)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(22531), - this.instances5.alice.encrypt16(22527), + this.instances5.alice.encrypt64(49721), + this.instances5.alice.encrypt16(49717), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 1 (109092109, 63916)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 1 (264374974, 23947)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(109092109), - this.instances5.alice.encrypt16(63916), + this.instances5.alice.encrypt64(264374974), + this.instances5.alice.encrypt16(23947), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 2 (63912, 63916)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 2 (23943, 23947)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(63912), - this.instances5.alice.encrypt16(63916), + this.instances5.alice.encrypt64(23943), + this.instances5.alice.encrypt16(23947), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 3 (63916, 63916)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 3 (23947, 23947)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(63916), - this.instances5.alice.encrypt16(63916), + this.instances5.alice.encrypt64(23947), + this.instances5.alice.encrypt16(23947), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 4 (63916, 63912)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 4 (23947, 23943)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(63916), - this.instances5.alice.encrypt16(63912), + this.instances5.alice.encrypt64(23947), + this.instances5.alice.encrypt16(23943), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 1 (244314733, 6873)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 1 (67905839, 62663)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(244314733), - this.instances5.alice.encrypt16(6873), + this.instances5.alice.encrypt64(67905839), + this.instances5.alice.encrypt16(62663), ); - expect(res).to.equal(6873); + expect(res).to.equal(62663); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 2 (6869, 6873)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 2 (62659, 62663)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(6869), - this.instances5.alice.encrypt16(6873), + this.instances5.alice.encrypt64(62659), + this.instances5.alice.encrypt16(62663), ); - expect(res).to.equal(6869); + expect(res).to.equal(62659); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 3 (6873, 6873)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 3 (62663, 62663)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(6873), - this.instances5.alice.encrypt16(6873), + this.instances5.alice.encrypt64(62663), + this.instances5.alice.encrypt16(62663), ); - expect(res).to.equal(6873); + expect(res).to.equal(62663); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 4 (6873, 6869)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 4 (62663, 62659)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(6873), - this.instances5.alice.encrypt16(6869), + this.instances5.alice.encrypt64(62663), + this.instances5.alice.encrypt16(62659), ); - expect(res).to.equal(6869); + expect(res).to.equal(62659); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 1 (18255176, 7223)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 1 (215341582, 59093)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(18255176), - this.instances5.alice.encrypt16(7223), + this.instances5.alice.encrypt64(215341582), + this.instances5.alice.encrypt16(59093), ); - expect(res).to.equal(18255176); + expect(res).to.equal(215341582); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 2 (7219, 7223)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 2 (59089, 59093)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(7219), - this.instances5.alice.encrypt16(7223), + this.instances5.alice.encrypt64(59089), + this.instances5.alice.encrypt16(59093), ); - expect(res).to.equal(7223); + expect(res).to.equal(59093); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 3 (7223, 7223)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 3 (59093, 59093)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(7223), - this.instances5.alice.encrypt16(7223), + this.instances5.alice.encrypt64(59093), + this.instances5.alice.encrypt16(59093), ); - expect(res).to.equal(7223); + expect(res).to.equal(59093); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 4 (7223, 7219)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 4 (59093, 59089)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(7223), - this.instances5.alice.encrypt16(7219), + this.instances5.alice.encrypt64(59093), + this.instances5.alice.encrypt16(59089), ); - expect(res).to.equal(7223); + expect(res).to.equal(59093); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 1 (233729261, 108243872)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 1 (170118033, 266084851)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(233729261), - this.instances5.alice.encrypt32(108243872), + this.instances5.alice.encrypt64(170118033), + this.instances5.alice.encrypt32(266084851), ); - expect(res).to.equal(341973133); + expect(res).to.equal(436202884n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 2 (108243868, 108243872)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 2 (170118029, 170118033)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(108243868), - this.instances5.alice.encrypt32(108243872), + this.instances5.alice.encrypt64(170118029), + this.instances5.alice.encrypt32(170118033), ); - expect(res).to.equal(216487740); + expect(res).to.equal(340236062n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 3 (108243872, 108243872)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 3 (170118033, 170118033)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(108243872), - this.instances5.alice.encrypt32(108243872), + this.instances5.alice.encrypt64(170118033), + this.instances5.alice.encrypt32(170118033), ); - expect(res).to.equal(216487744); + expect(res).to.equal(340236066n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 4 (108243872, 108243868)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 4 (170118033, 170118029)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(108243872), - this.instances5.alice.encrypt32(108243868), + this.instances5.alice.encrypt64(170118033), + this.instances5.alice.encrypt32(170118029), ); - expect(res).to.equal(216487740); + expect(res).to.equal(340236062n); }); - it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (279607, 279607)', async function () { + it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (69685503, 69685503)', async function () { const res = await this.contract5.sub_euint64_euint32( - this.instances5.alice.encrypt64(279607), - this.instances5.alice.encrypt32(279607), + this.instances5.alice.encrypt64(69685503), + this.instances5.alice.encrypt32(69685503), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, euint32) => euint64 test 2 (279607, 279603)', async function () { + it('test operator "sub" overload (euint64, euint32) => euint64 test 2 (69685503, 69685499)', async function () { const res = await this.contract5.sub_euint64_euint32( - this.instances5.alice.encrypt64(279607), - this.instances5.alice.encrypt32(279603), + this.instances5.alice.encrypt64(69685503), + this.instances5.alice.encrypt32(69685499), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (91048, 15465)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (45030, 88250)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(91048), - this.instances5.alice.encrypt32(15465), + this.instances5.alice.encrypt64(45030), + this.instances5.alice.encrypt32(88250), ); - expect(res).to.equal(1408057320); + expect(res).to.equal(3973897500n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 2 (61860, 61860)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 2 (45030, 45030)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(61860), - this.instances5.alice.encrypt32(61860), + this.instances5.alice.encrypt64(45030), + this.instances5.alice.encrypt32(45030), ); - expect(res).to.equal(3826659600); + expect(res).to.equal(2027700900n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 3 (61860, 61860)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 3 (45030, 45030)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(61860), - this.instances5.alice.encrypt32(61860), + this.instances5.alice.encrypt64(45030), + this.instances5.alice.encrypt32(45030), ); - expect(res).to.equal(3826659600); + expect(res).to.equal(2027700900n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 4 (61860, 61860)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 4 (45030, 45030)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(61860), - this.instances5.alice.encrypt32(61860), + this.instances5.alice.encrypt64(45030), + this.instances5.alice.encrypt32(45030), ); - expect(res).to.equal(3826659600); + expect(res).to.equal(2027700900n); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 1 (190497921, 164161585)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 1 (238356224, 212953386)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(190497921), - this.instances5.alice.encrypt32(164161585), + this.instances5.alice.encrypt64(238356224), + this.instances5.alice.encrypt32(212953386), ); - expect(res).to.equal(155762689); + expect(res).to.equal(204538112); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 2 (164161581, 164161585)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 2 (212953382, 212953386)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(164161581), - this.instances5.alice.encrypt32(164161585), + this.instances5.alice.encrypt64(212953382), + this.instances5.alice.encrypt32(212953386), ); - expect(res).to.equal(164161569); + expect(res).to.equal(212953378); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 3 (164161585, 164161585)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 3 (212953386, 212953386)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(164161585), - this.instances5.alice.encrypt32(164161585), + this.instances5.alice.encrypt64(212953386), + this.instances5.alice.encrypt32(212953386), ); - expect(res).to.equal(164161585); + expect(res).to.equal(212953386); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 4 (164161585, 164161581)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 4 (212953386, 212953382)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(164161585), - this.instances5.alice.encrypt32(164161581), + this.instances5.alice.encrypt64(212953386), + this.instances5.alice.encrypt32(212953382), ); - expect(res).to.equal(164161569); + expect(res).to.equal(212953378); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 1 (144995790, 109170461)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 1 (50536480, 16913643)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(144995790), - this.instances5.alice.encrypt32(109170461), + this.instances5.alice.encrypt64(50536480), + this.instances5.alice.encrypt32(16913643), ); - expect(res).to.equal(245759967); + expect(res).to.equal(50541803); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 2 (109170457, 109170461)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 2 (16913639, 16913643)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(109170457), - this.instances5.alice.encrypt32(109170461), + this.instances5.alice.encrypt64(16913639), + this.instances5.alice.encrypt32(16913643), ); - expect(res).to.equal(109170461); + expect(res).to.equal(16913647); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 3 (109170461, 109170461)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 3 (16913643, 16913643)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(109170461), - this.instances5.alice.encrypt32(109170461), + this.instances5.alice.encrypt64(16913643), + this.instances5.alice.encrypt32(16913643), ); - expect(res).to.equal(109170461); + expect(res).to.equal(16913643); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 4 (109170461, 109170457)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 4 (16913643, 16913639)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(109170461), - this.instances5.alice.encrypt32(109170457), + this.instances5.alice.encrypt64(16913643), + this.instances5.alice.encrypt32(16913639), ); - expect(res).to.equal(109170461); + expect(res).to.equal(16913647); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (236438189, 33113563)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (147215301, 173065039)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(236438189), - this.instances5.alice.encrypt32(33113563), + this.instances5.alice.encrypt64(147215301), + this.instances5.alice.encrypt32(173065039), ); - expect(res).to.equal(267290486); + expect(res).to.equal(43421834); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 2 (33113559, 33113563)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 2 (147215297, 147215301)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(33113559), - this.instances5.alice.encrypt32(33113563), + this.instances5.alice.encrypt64(147215297), + this.instances5.alice.encrypt32(147215301), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 3 (33113563, 33113563)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 3 (147215301, 147215301)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(33113563), - this.instances5.alice.encrypt32(33113563), + this.instances5.alice.encrypt64(147215301), + this.instances5.alice.encrypt32(147215301), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 4 (33113563, 33113559)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 4 (147215301, 147215297)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(33113563), - this.instances5.alice.encrypt32(33113559), + this.instances5.alice.encrypt64(147215301), + this.instances5.alice.encrypt32(147215297), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 1 (173975280, 95821853)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 1 (113183278, 255380188)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(173975280), - this.instances5.alice.encrypt32(95821853), + this.instances5.alice.encrypt64(113183278), + this.instances5.alice.encrypt32(255380188), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 2 (95821849, 95821853)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 2 (113183274, 113183278)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(95821849), - this.instances5.alice.encrypt32(95821853), + this.instances5.alice.encrypt64(113183274), + this.instances5.alice.encrypt32(113183278), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 3 (95821853, 95821853)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 3 (113183278, 113183278)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(95821853), - this.instances5.alice.encrypt32(95821853), + this.instances5.alice.encrypt64(113183278), + this.instances5.alice.encrypt32(113183278), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 4 (95821853, 95821849)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 4 (113183278, 113183274)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(95821853), - this.instances5.alice.encrypt32(95821849), + this.instances5.alice.encrypt64(113183278), + this.instances5.alice.encrypt32(113183274), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 1 (86198263, 155458175)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 1 (129256608, 191248966)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(86198263), - this.instances5.alice.encrypt32(155458175), + this.instances5.alice.encrypt64(129256608), + this.instances5.alice.encrypt32(191248966), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 2 (86198259, 86198263)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 2 (129256604, 129256608)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(86198259), - this.instances5.alice.encrypt32(86198263), + this.instances5.alice.encrypt64(129256604), + this.instances5.alice.encrypt32(129256608), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 3 (86198263, 86198263)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 3 (129256608, 129256608)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(86198263), - this.instances5.alice.encrypt32(86198263), + this.instances5.alice.encrypt64(129256608), + this.instances5.alice.encrypt32(129256608), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 4 (86198263, 86198259)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 4 (129256608, 129256604)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(86198263), - this.instances5.alice.encrypt32(86198259), + this.instances5.alice.encrypt64(129256608), + this.instances5.alice.encrypt32(129256604), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 1 (105082351, 181571496)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 1 (116051290, 95719061)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(105082351), - this.instances5.alice.encrypt32(181571496), + this.instances5.alice.encrypt64(116051290), + this.instances5.alice.encrypt32(95719061), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 2 (105082347, 105082351)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 2 (95719057, 95719061)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(105082347), - this.instances5.alice.encrypt32(105082351), + this.instances5.alice.encrypt64(95719057), + this.instances5.alice.encrypt32(95719061), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 3 (105082351, 105082351)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 3 (95719061, 95719061)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(105082351), - this.instances5.alice.encrypt32(105082351), + this.instances5.alice.encrypt64(95719061), + this.instances5.alice.encrypt32(95719061), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 4 (105082351, 105082347)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 4 (95719061, 95719057)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(105082351), - this.instances5.alice.encrypt32(105082347), + this.instances5.alice.encrypt64(95719061), + this.instances5.alice.encrypt32(95719057), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 1 (264058266, 243897804)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 1 (208318592, 245955324)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(264058266), - this.instances5.alice.encrypt32(243897804), + this.instances5.alice.encrypt64(208318592), + this.instances5.alice.encrypt32(245955324), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 2 (243897800, 243897804)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 2 (208318588, 208318592)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(243897800), - this.instances5.alice.encrypt32(243897804), + this.instances5.alice.encrypt64(208318588), + this.instances5.alice.encrypt32(208318592), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 3 (243897804, 243897804)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 3 (208318592, 208318592)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(243897804), - this.instances5.alice.encrypt32(243897804), + this.instances5.alice.encrypt64(208318592), + this.instances5.alice.encrypt32(208318592), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 4 (243897804, 243897800)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 4 (208318592, 208318588)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(243897804), - this.instances5.alice.encrypt32(243897800), + this.instances5.alice.encrypt64(208318592), + this.instances5.alice.encrypt32(208318588), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 1 (4853853, 119615921)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 1 (217701220, 133414572)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(4853853), - this.instances5.alice.encrypt32(119615921), + this.instances5.alice.encrypt64(217701220), + this.instances5.alice.encrypt32(133414572), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint32) => ebool test 2 (4853849, 4853853)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 2 (133414568, 133414572)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(4853849), - this.instances5.alice.encrypt32(4853853), + this.instances5.alice.encrypt64(133414568), + this.instances5.alice.encrypt32(133414572), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 3 (4853853, 4853853)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 3 (133414572, 133414572)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(4853853), - this.instances5.alice.encrypt32(4853853), + this.instances5.alice.encrypt64(133414572), + this.instances5.alice.encrypt32(133414572), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 4 (4853853, 4853849)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 4 (133414572, 133414568)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(4853853), - this.instances5.alice.encrypt32(4853849), + this.instances5.alice.encrypt64(133414572), + this.instances5.alice.encrypt32(133414568), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 1 (109092109, 83205790)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 1 (264374974, 253580652)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(109092109), - this.instances5.alice.encrypt32(83205790), + this.instances5.alice.encrypt64(264374974), + this.instances5.alice.encrypt32(253580652), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 2 (83205786, 83205790)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 2 (253580648, 253580652)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(83205786), - this.instances5.alice.encrypt32(83205790), + this.instances5.alice.encrypt64(253580648), + this.instances5.alice.encrypt32(253580652), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 3 (83205790, 83205790)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 3 (253580652, 253580652)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(83205790), - this.instances5.alice.encrypt32(83205790), + this.instances5.alice.encrypt64(253580652), + this.instances5.alice.encrypt32(253580652), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 4 (83205790, 83205786)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 4 (253580652, 253580648)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(83205790), - this.instances5.alice.encrypt32(83205786), + this.instances5.alice.encrypt64(253580652), + this.instances5.alice.encrypt32(253580648), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 1 (244314733, 157421113)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 1 (67905839, 157717094)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(244314733), - this.instances5.alice.encrypt32(157421113), + this.instances5.alice.encrypt64(67905839), + this.instances5.alice.encrypt32(157717094), ); - expect(res).to.equal(157421113); + expect(res).to.equal(67905839); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 2 (157421109, 157421113)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 2 (67905835, 67905839)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(157421109), - this.instances5.alice.encrypt32(157421113), + this.instances5.alice.encrypt64(67905835), + this.instances5.alice.encrypt32(67905839), ); - expect(res).to.equal(157421109); + expect(res).to.equal(67905835); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 3 (157421113, 157421113)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 3 (67905839, 67905839)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(157421113), - this.instances5.alice.encrypt32(157421113), + this.instances5.alice.encrypt64(67905839), + this.instances5.alice.encrypt32(67905839), ); - expect(res).to.equal(157421113); + expect(res).to.equal(67905839); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 4 (157421113, 157421109)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 4 (67905839, 67905835)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(157421113), - this.instances5.alice.encrypt32(157421109), + this.instances5.alice.encrypt64(67905839), + this.instances5.alice.encrypt32(67905835), ); - expect(res).to.equal(157421109); + expect(res).to.equal(67905835); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 1 (18255176, 254973729)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 1 (215341582, 62329989)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(18255176), - this.instances5.alice.encrypt32(254973729), + this.instances5.alice.encrypt64(215341582), + this.instances5.alice.encrypt32(62329989), ); - expect(res).to.equal(254973729); + expect(res).to.equal(215341582); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 2 (18255172, 18255176)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 2 (62329985, 62329989)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(18255172), - this.instances5.alice.encrypt32(18255176), + this.instances5.alice.encrypt64(62329985), + this.instances5.alice.encrypt32(62329989), ); - expect(res).to.equal(18255176); + expect(res).to.equal(62329989); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 3 (18255176, 18255176)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 3 (62329989, 62329989)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(18255176), - this.instances5.alice.encrypt32(18255176), + this.instances5.alice.encrypt64(62329989), + this.instances5.alice.encrypt32(62329989), ); - expect(res).to.equal(18255176); + expect(res).to.equal(62329989); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 4 (18255176, 18255172)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 4 (62329989, 62329985)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(18255176), - this.instances5.alice.encrypt32(18255172), + this.instances5.alice.encrypt64(62329989), + this.instances5.alice.encrypt32(62329985), ); - expect(res).to.equal(18255176); + expect(res).to.equal(62329989); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 1 (233729261, 36139823)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 1 (170118033, 75374623)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(233729261), - this.instances5.alice.encrypt64(36139823), + this.instances5.alice.encrypt64(170118033), + this.instances5.alice.encrypt64(75374623), ); - expect(res).to.equal(269869084); + expect(res).to.equal(245492656n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 2 (36139819, 36139823)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 2 (75374619, 75374623)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(36139819), - this.instances5.alice.encrypt64(36139823), + this.instances5.alice.encrypt64(75374619), + this.instances5.alice.encrypt64(75374623), ); - expect(res).to.equal(72279642); + expect(res).to.equal(150749242n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 3 (36139823, 36139823)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 3 (75374623, 75374623)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(36139823), - this.instances5.alice.encrypt64(36139823), + this.instances5.alice.encrypt64(75374623), + this.instances5.alice.encrypt64(75374623), ); - expect(res).to.equal(72279646); + expect(res).to.equal(150749246n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 4 (36139823, 36139819)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 4 (75374623, 75374619)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(36139823), - this.instances5.alice.encrypt64(36139819), + this.instances5.alice.encrypt64(75374623), + this.instances5.alice.encrypt64(75374619), ); - expect(res).to.equal(72279642); + expect(res).to.equal(150749242n); }); - it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (279607, 279607)', async function () { + it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (65505221, 65505221)', async function () { const res = await this.contract5.sub_euint64_euint64( - this.instances5.alice.encrypt64(279607), - this.instances5.alice.encrypt64(279607), + this.instances5.alice.encrypt64(65505221), + this.instances5.alice.encrypt64(65505221), ); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, euint64) => euint64 test 2 (279607, 279603)', async function () { + it('test operator "sub" overload (euint64, euint64) => euint64 test 2 (65505221, 65505217)', async function () { const res = await this.contract5.sub_euint64_euint64( - this.instances5.alice.encrypt64(279607), - this.instances5.alice.encrypt64(279603), + this.instances5.alice.encrypt64(65505221), + this.instances5.alice.encrypt64(65505217), ); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (186466494, 16277264)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (92221761, 267518717)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(186466494), - this.instances5.alice.encrypt64(16277264), + this.instances5.alice.encrypt64(92221761), + this.instances5.alice.encrypt64(267518717), ); - expect(res).to.equal(3035164349992416); + expect(res).to.equal(24671047182200637n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 2 (16277260, 16277264)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 2 (92221757, 92221761)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(16277260), - this.instances5.alice.encrypt64(16277264), + this.instances5.alice.encrypt64(92221757), + this.instances5.alice.encrypt64(92221761), ); - expect(res).to.equal(264949258216640); + expect(res).to.equal(8504852833054077n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 3 (16277264, 16277264)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 3 (92221761, 92221761)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(16277264), - this.instances5.alice.encrypt64(16277264), + this.instances5.alice.encrypt64(92221761), + this.instances5.alice.encrypt64(92221761), ); - expect(res).to.equal(264949323325696); + expect(res).to.equal(8504853201941121n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 4 (16277264, 16277260)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 4 (92221761, 92221757)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(16277264), - this.instances5.alice.encrypt64(16277260), + this.instances5.alice.encrypt64(92221761), + this.instances5.alice.encrypt64(92221757), ); - expect(res).to.equal(264949258216640); + expect(res).to.equal(8504852833054077n); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 1 (190497921, 34355274)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 1 (238356224, 13141105)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(190497921), - this.instances5.alice.encrypt64(34355274), + this.instances5.alice.encrypt64(238356224), + this.instances5.alice.encrypt64(13141105), ); - expect(res).to.equal(34078720); + expect(res).to.equal(1024); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 2 (34355270, 34355274)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 2 (13141101, 13141105)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(34355270), - this.instances5.alice.encrypt64(34355274), + this.instances5.alice.encrypt64(13141101), + this.instances5.alice.encrypt64(13141105), ); - expect(res).to.equal(34355266); + expect(res).to.equal(13141089); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 3 (34355274, 34355274)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 3 (13141105, 13141105)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(34355274), - this.instances5.alice.encrypt64(34355274), + this.instances5.alice.encrypt64(13141105), + this.instances5.alice.encrypt64(13141105), ); - expect(res).to.equal(34355274); + expect(res).to.equal(13141105); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 4 (34355274, 34355270)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 4 (13141105, 13141101)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(34355274), - this.instances5.alice.encrypt64(34355270), + this.instances5.alice.encrypt64(13141105), + this.instances5.alice.encrypt64(13141101), ); - expect(res).to.equal(34355266); + expect(res).to.equal(13141089); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 1 (144995790, 193337091)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 1 (50536480, 244448701)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(144995790), - this.instances5.alice.encrypt64(193337091), + this.instances5.alice.encrypt64(50536480), + this.instances5.alice.encrypt64(244448701), ); - expect(res).to.equal(195459023); + expect(res).to.equal(261356989); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 2 (144995786, 144995790)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 2 (50536476, 50536480)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(144995786), - this.instances5.alice.encrypt64(144995790), + this.instances5.alice.encrypt64(50536476), + this.instances5.alice.encrypt64(50536480), ); - expect(res).to.equal(144995790); + expect(res).to.equal(50536508); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 3 (144995790, 144995790)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 3 (50536480, 50536480)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(144995790), - this.instances5.alice.encrypt64(144995790), + this.instances5.alice.encrypt64(50536480), + this.instances5.alice.encrypt64(50536480), ); - expect(res).to.equal(144995790); + expect(res).to.equal(50536480); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 4 (144995790, 144995786)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 4 (50536480, 50536476)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(144995790), - this.instances5.alice.encrypt64(144995786), + this.instances5.alice.encrypt64(50536480), + this.instances5.alice.encrypt64(50536476), ); - expect(res).to.equal(144995790); + expect(res).to.equal(50536508); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (236438189, 150524138)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (147215301, 32869222)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(236438189), - this.instances5.alice.encrypt64(150524138), + this.instances5.alice.encrypt64(147215301), + this.instances5.alice.encrypt64(32869222), ); - expect(res).to.equal(116331079); + expect(res).to.equal(154392739); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (150524134, 150524138)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (32869218, 32869222)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(150524134), - this.instances5.alice.encrypt64(150524138), + this.instances5.alice.encrypt64(32869218), + this.instances5.alice.encrypt64(32869222), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 3 (150524138, 150524138)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 3 (32869222, 32869222)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(150524138), - this.instances5.alice.encrypt64(150524138), + this.instances5.alice.encrypt64(32869222), + this.instances5.alice.encrypt64(32869222), ); expect(res).to.equal(0); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 4 (150524138, 150524134)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 4 (32869222, 32869218)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(150524138), - this.instances5.alice.encrypt64(150524134), + this.instances5.alice.encrypt64(32869222), + this.instances5.alice.encrypt64(32869218), ); - expect(res).to.equal(12); + expect(res).to.equal(4); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 1 (173975280, 53304343)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 1 (113183278, 1631862)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(173975280), - this.instances5.alice.encrypt64(53304343), + this.instances5.alice.encrypt64(113183278), + this.instances5.alice.encrypt64(1631862), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 2 (53304339, 53304343)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 2 (1631858, 1631862)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(53304339), - this.instances5.alice.encrypt64(53304343), + this.instances5.alice.encrypt64(1631858), + this.instances5.alice.encrypt64(1631862), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 3 (53304343, 53304343)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 3 (1631862, 1631862)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(53304343), - this.instances5.alice.encrypt64(53304343), + this.instances5.alice.encrypt64(1631862), + this.instances5.alice.encrypt64(1631862), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 4 (53304343, 53304339)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 4 (1631862, 1631858)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(53304343), - this.instances5.alice.encrypt64(53304339), + this.instances5.alice.encrypt64(1631862), + this.instances5.alice.encrypt64(1631858), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 1 (86198263, 178805096)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 1 (129256608, 198214797)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(86198263), - this.instances5.alice.encrypt64(178805096), + this.instances5.alice.encrypt64(129256608), + this.instances5.alice.encrypt64(198214797), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 2 (86198259, 86198263)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 2 (129256604, 129256608)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(86198259), - this.instances5.alice.encrypt64(86198263), + this.instances5.alice.encrypt64(129256604), + this.instances5.alice.encrypt64(129256608), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 3 (86198263, 86198263)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 3 (129256608, 129256608)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(86198263), - this.instances5.alice.encrypt64(86198263), + this.instances5.alice.encrypt64(129256608), + this.instances5.alice.encrypt64(129256608), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 4 (86198263, 86198259)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 4 (129256608, 129256604)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(86198263), - this.instances5.alice.encrypt64(86198259), + this.instances5.alice.encrypt64(129256608), + this.instances5.alice.encrypt64(129256604), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 1 (105082351, 33126302)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 1 (116051290, 122147524)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(105082351), - this.instances5.alice.encrypt64(33126302), + this.instances5.alice.encrypt64(116051290), + this.instances5.alice.encrypt64(122147524), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 2 (33126298, 33126302)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 2 (116051286, 116051290)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(33126298), - this.instances5.alice.encrypt64(33126302), + this.instances5.alice.encrypt64(116051286), + this.instances5.alice.encrypt64(116051290), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 3 (33126302, 33126302)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 3 (116051290, 116051290)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(33126302), - this.instances5.alice.encrypt64(33126302), + this.instances5.alice.encrypt64(116051290), + this.instances5.alice.encrypt64(116051290), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 4 (33126302, 33126298)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 4 (116051290, 116051286)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(33126302), - this.instances5.alice.encrypt64(33126298), + this.instances5.alice.encrypt64(116051290), + this.instances5.alice.encrypt64(116051286), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 1 (264058266, 143096333)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 1 (208318592, 117484228)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(264058266), - this.instances5.alice.encrypt64(143096333), + this.instances5.alice.encrypt64(208318592), + this.instances5.alice.encrypt64(117484228), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 2 (143096329, 143096333)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 2 (117484224, 117484228)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(143096329), - this.instances5.alice.encrypt64(143096333), + this.instances5.alice.encrypt64(117484224), + this.instances5.alice.encrypt64(117484228), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 3 (143096333, 143096333)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 3 (117484228, 117484228)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(143096333), - this.instances5.alice.encrypt64(143096333), + this.instances5.alice.encrypt64(117484228), + this.instances5.alice.encrypt64(117484228), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 4 (143096333, 143096329)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 4 (117484228, 117484224)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(143096333), - this.instances5.alice.encrypt64(143096329), + this.instances5.alice.encrypt64(117484228), + this.instances5.alice.encrypt64(117484224), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 1 (4853853, 166520373)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 1 (217701220, 184213537)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(4853853), - this.instances5.alice.encrypt64(166520373), + this.instances5.alice.encrypt64(217701220), + this.instances5.alice.encrypt64(184213537), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint64) => ebool test 2 (4853849, 4853853)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 2 (184213533, 184213537)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(4853849), - this.instances5.alice.encrypt64(4853853), + this.instances5.alice.encrypt64(184213533), + this.instances5.alice.encrypt64(184213537), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 3 (4853853, 4853853)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 3 (184213537, 184213537)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(4853853), - this.instances5.alice.encrypt64(4853853), + this.instances5.alice.encrypt64(184213537), + this.instances5.alice.encrypt64(184213537), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 4 (4853853, 4853849)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 4 (184213537, 184213533)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(4853853), - this.instances5.alice.encrypt64(4853849), + this.instances5.alice.encrypt64(184213537), + this.instances5.alice.encrypt64(184213533), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 1 (109092109, 141689285)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 1 (264374974, 138721892)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(109092109), - this.instances5.alice.encrypt64(141689285), + this.instances5.alice.encrypt64(264374974), + this.instances5.alice.encrypt64(138721892), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 2 (109092105, 109092109)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 2 (138721888, 138721892)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(109092105), - this.instances5.alice.encrypt64(109092109), + this.instances5.alice.encrypt64(138721888), + this.instances5.alice.encrypt64(138721892), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 3 (109092109, 109092109)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 3 (138721892, 138721892)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(109092109), - this.instances5.alice.encrypt64(109092109), + this.instances5.alice.encrypt64(138721892), + this.instances5.alice.encrypt64(138721892), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 4 (109092109, 109092105)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 4 (138721892, 138721888)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(109092109), - this.instances5.alice.encrypt64(109092105), + this.instances5.alice.encrypt64(138721892), + this.instances5.alice.encrypt64(138721888), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 1 (244314733, 181820547)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 1 (67905839, 52961865)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(244314733), - this.instances5.alice.encrypt64(181820547), + this.instances5.alice.encrypt64(67905839), + this.instances5.alice.encrypt64(52961865), ); - expect(res).to.equal(181820547); + expect(res).to.equal(52961865); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 2 (181820543, 181820547)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 2 (52961861, 52961865)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(181820543), - this.instances5.alice.encrypt64(181820547), + this.instances5.alice.encrypt64(52961861), + this.instances5.alice.encrypt64(52961865), ); - expect(res).to.equal(181820543); + expect(res).to.equal(52961861); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 3 (181820547, 181820547)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 3 (52961865, 52961865)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(181820547), - this.instances5.alice.encrypt64(181820547), + this.instances5.alice.encrypt64(52961865), + this.instances5.alice.encrypt64(52961865), ); - expect(res).to.equal(181820547); + expect(res).to.equal(52961865); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 4 (181820547, 181820543)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 4 (52961865, 52961861)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(181820547), - this.instances5.alice.encrypt64(181820543), + this.instances5.alice.encrypt64(52961865), + this.instances5.alice.encrypt64(52961861), ); - expect(res).to.equal(181820543); + expect(res).to.equal(52961861); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 1 (18255176, 49337889)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 1 (215341582, 39049834)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(18255176), - this.instances5.alice.encrypt64(49337889), + this.instances5.alice.encrypt64(215341582), + this.instances5.alice.encrypt64(39049834), ); - expect(res).to.equal(49337889); + expect(res).to.equal(215341582); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 2 (18255172, 18255176)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 2 (39049830, 39049834)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(18255172), - this.instances5.alice.encrypt64(18255176), + this.instances5.alice.encrypt64(39049830), + this.instances5.alice.encrypt64(39049834), ); - expect(res).to.equal(18255176); + expect(res).to.equal(39049834); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 3 (18255176, 18255176)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 3 (39049834, 39049834)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(18255176), - this.instances5.alice.encrypt64(18255176), + this.instances5.alice.encrypt64(39049834), + this.instances5.alice.encrypt64(39049834), ); - expect(res).to.equal(18255176); + expect(res).to.equal(39049834); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 4 (18255176, 18255172)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 4 (39049834, 39049830)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(18255176), - this.instances5.alice.encrypt64(18255172), + this.instances5.alice.encrypt64(39049834), + this.instances5.alice.encrypt64(39049830), ); - expect(res).to.equal(18255176); + expect(res).to.equal(39049834); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 1 (233729261, 163957114)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(233729261), 163957114); - expect(res).to.equal(397686375); + it('test operator "add" overload (euint64, uint64) => euint64 test 1 (170118033, 60441680)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(170118033), 60441680); + expect(res).to.equal(230559713n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 2 (36139819, 36139823)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(36139819), 36139823); - expect(res).to.equal(72279642); + it('test operator "add" overload (euint64, uint64) => euint64 test 2 (75374619, 75374623)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(75374619), 75374623); + expect(res).to.equal(150749242n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 3 (36139823, 36139823)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(36139823), 36139823); - expect(res).to.equal(72279646); + it('test operator "add" overload (euint64, uint64) => euint64 test 3 (75374623, 75374623)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(75374623), 75374623); + expect(res).to.equal(150749246n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 4 (36139823, 36139819)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(36139823), 36139819); - expect(res).to.equal(72279642); + it('test operator "add" overload (euint64, uint64) => euint64 test 4 (75374623, 75374619)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(75374623), 75374619); + expect(res).to.equal(150749242n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 1 (35664883, 163957114)', async function () { - const res = await this.contract5.add_uint64_euint64(35664883, this.instances5.alice.encrypt64(163957114)); - expect(res).to.equal(199621997); + it('test operator "add" overload (uint64, euint64) => euint64 test 1 (187809144, 60441680)', async function () { + const res = await this.contract5.add_uint64_euint64(187809144, this.instances5.alice.encrypt64(60441680)); + expect(res).to.equal(248250824n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 2 (36139819, 36139823)', async function () { - const res = await this.contract5.add_uint64_euint64(36139819, this.instances5.alice.encrypt64(36139823)); - expect(res).to.equal(72279642); + it('test operator "add" overload (uint64, euint64) => euint64 test 2 (75374619, 75374623)', async function () { + const res = await this.contract5.add_uint64_euint64(75374619, this.instances5.alice.encrypt64(75374623)); + expect(res).to.equal(150749242n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 3 (36139823, 36139823)', async function () { - const res = await this.contract5.add_uint64_euint64(36139823, this.instances5.alice.encrypt64(36139823)); - expect(res).to.equal(72279646); + it('test operator "add" overload (uint64, euint64) => euint64 test 3 (75374623, 75374623)', async function () { + const res = await this.contract5.add_uint64_euint64(75374623, this.instances5.alice.encrypt64(75374623)); + expect(res).to.equal(150749246n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 4 (36139823, 36139819)', async function () { - const res = await this.contract5.add_uint64_euint64(36139823, this.instances5.alice.encrypt64(36139819)); - expect(res).to.equal(72279642); + it('test operator "add" overload (uint64, euint64) => euint64 test 4 (75374623, 75374619)', async function () { + const res = await this.contract5.add_uint64_euint64(75374623, this.instances5.alice.encrypt64(75374619)); + expect(res).to.equal(150749242n); }); - it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (279607, 279607)', async function () { - const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(279607), 279607); + it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (65505221, 65505221)', async function () { + const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(65505221), 65505221); expect(res).to.equal(0); }); - it('test operator "sub" overload (euint64, uint64) => euint64 test 2 (279607, 279603)', async function () { - const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(279607), 279603); + it('test operator "sub" overload (euint64, uint64) => euint64 test 2 (65505221, 65505217)', async function () { + const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(65505221), 65505217); expect(res).to.equal(4); }); - it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (279607, 279607)', async function () { - const res = await this.contract5.sub_uint64_euint64(279607, this.instances5.alice.encrypt64(279607)); + it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (65505221, 65505221)', async function () { + const res = await this.contract5.sub_uint64_euint64(65505221, this.instances5.alice.encrypt64(65505221)); expect(res).to.equal(0); }); - it('test operator "sub" overload (uint64, euint64) => euint64 test 2 (279607, 279603)', async function () { - const res = await this.contract5.sub_uint64_euint64(279607, this.instances5.alice.encrypt64(279603)); + it('test operator "sub" overload (uint64, euint64) => euint64 test 2 (65505221, 65505217)', async function () { + const res = await this.contract5.sub_uint64_euint64(65505221, this.instances5.alice.encrypt64(65505217)); expect(res).to.equal(4); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (186466494, 244564286)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(186466494), 244564286); - expect(res).to.equal(45603044968033280); + it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (92221761, 195753020)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(92221761), 195753020); + expect(res).to.equal(18052688225468220n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 2 (16277260, 16277264)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(16277260), 16277264); - expect(res).to.equal(264949258216640); + it('test operator "mul" overload (euint64, uint64) => euint64 test 2 (92221757, 92221761)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(92221757), 92221761); + expect(res).to.equal(8504852833054077n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 3 (16277264, 16277264)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(16277264), 16277264); - expect(res).to.equal(264949323325696); + it('test operator "mul" overload (euint64, uint64) => euint64 test 3 (92221761, 92221761)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(92221761), 92221761); + expect(res).to.equal(8504853201941121n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 4 (16277264, 16277260)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(16277264), 16277260); - expect(res).to.equal(264949258216640); + it('test operator "mul" overload (euint64, uint64) => euint64 test 4 (92221761, 92221757)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(92221761), 92221757); + expect(res).to.equal(8504852833054077n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (8323036, 244564286)', async function () { - const res = await this.contract5.mul_uint64_euint64(8323036, this.instances5.alice.encrypt64(244564286)); - expect(res).to.equal(2035517356692296); + it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (213768336, 195753020)', async function () { + const res = await this.contract5.mul_uint64_euint64(213768336, this.instances5.alice.encrypt64(195753020)); + expect(res).to.equal(41845797352374720n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 2 (16277260, 16277264)', async function () { - const res = await this.contract5.mul_uint64_euint64(16277260, this.instances5.alice.encrypt64(16277264)); - expect(res).to.equal(264949258216640); + it('test operator "mul" overload (uint64, euint64) => euint64 test 2 (92221757, 92221761)', async function () { + const res = await this.contract5.mul_uint64_euint64(92221757, this.instances5.alice.encrypt64(92221761)); + expect(res).to.equal(8504852833054077n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 3 (16277264, 16277264)', async function () { - const res = await this.contract5.mul_uint64_euint64(16277264, this.instances5.alice.encrypt64(16277264)); - expect(res).to.equal(264949323325696); + it('test operator "mul" overload (uint64, euint64) => euint64 test 3 (92221761, 92221761)', async function () { + const res = await this.contract5.mul_uint64_euint64(92221761, this.instances5.alice.encrypt64(92221761)); + expect(res).to.equal(8504853201941121n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 4 (16277264, 16277260)', async function () { - const res = await this.contract5.mul_uint64_euint64(16277264, this.instances5.alice.encrypt64(16277260)); - expect(res).to.equal(264949258216640); + it('test operator "mul" overload (uint64, euint64) => euint64 test 4 (92221761, 92221757)', async function () { + const res = await this.contract5.mul_uint64_euint64(92221761, this.instances5.alice.encrypt64(92221757)); + expect(res).to.equal(8504852833054077n); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 1 (253358888, 98592501)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(253358888), 98592501); - expect(res).to.equal(2); + it('test operator "div" overload (euint64, uint64) => euint64 test 1 (163939989, 238706096)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(163939989), 238706096); + expect(res).to.equal(0); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 2 (216552409, 216552413)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(216552409), 216552413); + it('test operator "div" overload (euint64, uint64) => euint64 test 2 (98898938, 98898942)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(98898938), 98898942); expect(res).to.equal(0); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 3 (216552413, 216552413)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(216552413), 216552413); + it('test operator "div" overload (euint64, uint64) => euint64 test 3 (98898942, 98898942)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(98898942), 98898942); expect(res).to.equal(1); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 4 (216552413, 216552409)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(216552413), 216552409); + it('test operator "div" overload (euint64, uint64) => euint64 test 4 (98898942, 98898938)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(98898942), 98898938); expect(res).to.equal(1); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (188635834, 135019919)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(188635834), 135019919); - expect(res).to.equal(53615915); + it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (81522034, 93915045)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(81522034), 93915045); + expect(res).to.equal(81522034); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 2 (188635830, 188635834)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(188635830), 188635834); - expect(res).to.equal(188635830); + it('test operator "rem" overload (euint64, uint64) => euint64 test 2 (81522030, 81522034)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(81522030), 81522034); + expect(res).to.equal(81522030); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 3 (188635834, 188635834)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(188635834), 188635834); + it('test operator "rem" overload (euint64, uint64) => euint64 test 3 (81522034, 81522034)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(81522034), 81522034); expect(res).to.equal(0); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 4 (188635834, 188635830)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(188635834), 188635830); + it('test operator "rem" overload (euint64, uint64) => euint64 test 4 (81522034, 81522030)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(81522034), 81522030); expect(res).to.equal(4); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 1 (173975280, 166663710)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(173975280), 166663710); + it('test operator "eq" overload (euint64, uint64) => ebool test 1 (113183278, 36833882)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(113183278), 36833882); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 2 (53304339, 53304343)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(53304339), 53304343); + it('test operator "eq" overload (euint64, uint64) => ebool test 2 (1631858, 1631862)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1631858), 1631862); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 3 (53304343, 53304343)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(53304343), 53304343); + it('test operator "eq" overload (euint64, uint64) => ebool test 3 (1631862, 1631862)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1631862), 1631862); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 4 (53304343, 53304339)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(53304343), 53304339); + it('test operator "eq" overload (euint64, uint64) => ebool test 4 (1631862, 1631858)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1631862), 1631858); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 1 (122047770, 166663710)', async function () { - const res = await this.contract5.eq_uint64_euint64(122047770, this.instances5.alice.encrypt64(166663710)); + it('test operator "eq" overload (uint64, euint64) => ebool test 1 (95843694, 36833882)', async function () { + const res = await this.contract5.eq_uint64_euint64(95843694, this.instances5.alice.encrypt64(36833882)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 2 (53304339, 53304343)', async function () { - const res = await this.contract5.eq_uint64_euint64(53304339, this.instances5.alice.encrypt64(53304343)); + it('test operator "eq" overload (uint64, euint64) => ebool test 2 (1631858, 1631862)', async function () { + const res = await this.contract5.eq_uint64_euint64(1631858, this.instances5.alice.encrypt64(1631862)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 3 (53304343, 53304343)', async function () { - const res = await this.contract5.eq_uint64_euint64(53304343, this.instances5.alice.encrypt64(53304343)); + it('test operator "eq" overload (uint64, euint64) => ebool test 3 (1631862, 1631862)', async function () { + const res = await this.contract5.eq_uint64_euint64(1631862, this.instances5.alice.encrypt64(1631862)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 4 (53304343, 53304339)', async function () { - const res = await this.contract5.eq_uint64_euint64(53304343, this.instances5.alice.encrypt64(53304339)); + it('test operator "eq" overload (uint64, euint64) => ebool test 4 (1631862, 1631858)', async function () { + const res = await this.contract5.eq_uint64_euint64(1631862, this.instances5.alice.encrypt64(1631858)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 1 (86198263, 40246882)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(86198263), 40246882); + it('test operator "ne" overload (euint64, uint64) => ebool test 1 (129256608, 155795571)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(129256608), 155795571); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 2 (86198259, 86198263)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(86198259), 86198263); + it('test operator "ne" overload (euint64, uint64) => ebool test 2 (129256604, 129256608)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(129256604), 129256608); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 3 (86198263, 86198263)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(86198263), 86198263); + it('test operator "ne" overload (euint64, uint64) => ebool test 3 (129256608, 129256608)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(129256608), 129256608); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 4 (86198263, 86198259)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(86198263), 86198259); + it('test operator "ne" overload (euint64, uint64) => ebool test 4 (129256608, 129256604)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(129256608), 129256604); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 1 (167642465, 40246882)', async function () { - const res = await this.contract5.ne_uint64_euint64(167642465, this.instances5.alice.encrypt64(40246882)); + it('test operator "ne" overload (uint64, euint64) => ebool test 1 (38125121, 155795571)', async function () { + const res = await this.contract5.ne_uint64_euint64(38125121, this.instances5.alice.encrypt64(155795571)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 2 (86198259, 86198263)', async function () { - const res = await this.contract5.ne_uint64_euint64(86198259, this.instances5.alice.encrypt64(86198263)); + it('test operator "ne" overload (uint64, euint64) => ebool test 2 (129256604, 129256608)', async function () { + const res = await this.contract5.ne_uint64_euint64(129256604, this.instances5.alice.encrypt64(129256608)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 3 (86198263, 86198263)', async function () { - const res = await this.contract5.ne_uint64_euint64(86198263, this.instances5.alice.encrypt64(86198263)); + it('test operator "ne" overload (uint64, euint64) => ebool test 3 (129256608, 129256608)', async function () { + const res = await this.contract5.ne_uint64_euint64(129256608, this.instances5.alice.encrypt64(129256608)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 4 (86198263, 86198259)', async function () { - const res = await this.contract5.ne_uint64_euint64(86198263, this.instances5.alice.encrypt64(86198259)); + it('test operator "ne" overload (uint64, euint64) => ebool test 4 (129256608, 129256604)', async function () { + const res = await this.contract5.ne_uint64_euint64(129256608, this.instances5.alice.encrypt64(129256604)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 1 (105082351, 48493907)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(105082351), 48493907); - expect(res).to.equal(true); + it('test operator "ge" overload (euint64, uint64) => ebool test 1 (116051290, 135280853)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(116051290), 135280853); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 2 (33126298, 33126302)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(33126298), 33126302); + it('test operator "ge" overload (euint64, uint64) => ebool test 2 (116051286, 116051290)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(116051286), 116051290); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 3 (33126302, 33126302)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(33126302), 33126302); + it('test operator "ge" overload (euint64, uint64) => ebool test 3 (116051290, 116051290)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(116051290), 116051290); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 4 (33126302, 33126298)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(33126302), 33126298); + it('test operator "ge" overload (euint64, uint64) => ebool test 4 (116051290, 116051286)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(116051290), 116051286); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 1 (322150, 48493907)', async function () { - const res = await this.contract5.ge_uint64_euint64(322150, this.instances5.alice.encrypt64(48493907)); - expect(res).to.equal(false); + it('test operator "ge" overload (uint64, euint64) => ebool test 1 (182502154, 135280853)', async function () { + const res = await this.contract5.ge_uint64_euint64(182502154, this.instances5.alice.encrypt64(135280853)); + expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 2 (33126298, 33126302)', async function () { - const res = await this.contract5.ge_uint64_euint64(33126298, this.instances5.alice.encrypt64(33126302)); + it('test operator "ge" overload (uint64, euint64) => ebool test 2 (116051286, 116051290)', async function () { + const res = await this.contract5.ge_uint64_euint64(116051286, this.instances5.alice.encrypt64(116051290)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 3 (33126302, 33126302)', async function () { - const res = await this.contract5.ge_uint64_euint64(33126302, this.instances5.alice.encrypt64(33126302)); + it('test operator "ge" overload (uint64, euint64) => ebool test 3 (116051290, 116051290)', async function () { + const res = await this.contract5.ge_uint64_euint64(116051290, this.instances5.alice.encrypt64(116051290)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 4 (33126302, 33126298)', async function () { - const res = await this.contract5.ge_uint64_euint64(33126302, this.instances5.alice.encrypt64(33126298)); + it('test operator "ge" overload (uint64, euint64) => ebool test 4 (116051290, 116051286)', async function () { + const res = await this.contract5.ge_uint64_euint64(116051290, this.instances5.alice.encrypt64(116051286)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 1 (264058266, 101035647)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(264058266), 101035647); + it('test operator "gt" overload (euint64, uint64) => ebool test 1 (208318592, 117293406)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(208318592), 117293406); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 2 (143096329, 143096333)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(143096329), 143096333); + it('test operator "gt" overload (euint64, uint64) => ebool test 2 (117484224, 117484228)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(117484224), 117484228); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 3 (143096333, 143096333)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(143096333), 143096333); + it('test operator "gt" overload (euint64, uint64) => ebool test 3 (117484228, 117484228)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(117484228), 117484228); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 4 (143096333, 143096329)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(143096333), 143096329); + it('test operator "gt" overload (euint64, uint64) => ebool test 4 (117484228, 117484224)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(117484228), 117484224); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 1 (236395744, 101035647)', async function () { - const res = await this.contract5.gt_uint64_euint64(236395744, this.instances5.alice.encrypt64(101035647)); - expect(res).to.equal(true); + it('test operator "gt" overload (uint64, euint64) => ebool test 1 (29790592, 117293406)', async function () { + const res = await this.contract5.gt_uint64_euint64(29790592, this.instances5.alice.encrypt64(117293406)); + expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 2 (143096329, 143096333)', async function () { - const res = await this.contract5.gt_uint64_euint64(143096329, this.instances5.alice.encrypt64(143096333)); + it('test operator "gt" overload (uint64, euint64) => ebool test 2 (117484224, 117484228)', async function () { + const res = await this.contract5.gt_uint64_euint64(117484224, this.instances5.alice.encrypt64(117484228)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 3 (143096333, 143096333)', async function () { - const res = await this.contract5.gt_uint64_euint64(143096333, this.instances5.alice.encrypt64(143096333)); + it('test operator "gt" overload (uint64, euint64) => ebool test 3 (117484228, 117484228)', async function () { + const res = await this.contract5.gt_uint64_euint64(117484228, this.instances5.alice.encrypt64(117484228)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 4 (143096333, 143096329)', async function () { - const res = await this.contract5.gt_uint64_euint64(143096333, this.instances5.alice.encrypt64(143096329)); + it('test operator "gt" overload (uint64, euint64) => ebool test 4 (117484228, 117484224)', async function () { + const res = await this.contract5.gt_uint64_euint64(117484228, this.instances5.alice.encrypt64(117484224)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 1 (4853853, 71100277)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(4853853), 71100277); - expect(res).to.equal(true); + it('test operator "le" overload (euint64, uint64) => ebool test 1 (217701220, 169995885)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(217701220), 169995885); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, uint64) => ebool test 2 (4853849, 4853853)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(4853849), 4853853); + it('test operator "le" overload (euint64, uint64) => ebool test 2 (184213533, 184213537)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(184213533), 184213537); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 3 (4853853, 4853853)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(4853853), 4853853); + it('test operator "le" overload (euint64, uint64) => ebool test 3 (184213537, 184213537)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(184213537), 184213537); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 4 (4853853, 4853849)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(4853853), 4853849); + it('test operator "le" overload (euint64, uint64) => ebool test 4 (184213537, 184213533)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(184213537), 184213533); expect(res).to.equal(false); }); - it('test operator "le" overload (uint64, euint64) => ebool test 1 (111458198, 71100277)', async function () { - const res = await this.contract5.le_uint64_euint64(111458198, this.instances5.alice.encrypt64(71100277)); - expect(res).to.equal(false); + it('test operator "le" overload (uint64, euint64) => ebool test 1 (133029453, 169995885)', async function () { + const res = await this.contract5.le_uint64_euint64(133029453, this.instances5.alice.encrypt64(169995885)); + expect(res).to.equal(true); }); - it('test operator "le" overload (uint64, euint64) => ebool test 2 (4853849, 4853853)', async function () { - const res = await this.contract5.le_uint64_euint64(4853849, this.instances5.alice.encrypt64(4853853)); + it('test operator "le" overload (uint64, euint64) => ebool test 2 (184213533, 184213537)', async function () { + const res = await this.contract5.le_uint64_euint64(184213533, this.instances5.alice.encrypt64(184213537)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint64, euint64) => ebool test 3 (4853853, 4853853)', async function () { - const res = await this.contract5.le_uint64_euint64(4853853, this.instances5.alice.encrypt64(4853853)); + it('test operator "le" overload (uint64, euint64) => ebool test 3 (184213537, 184213537)', async function () { + const res = await this.contract5.le_uint64_euint64(184213537, this.instances5.alice.encrypt64(184213537)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint64, euint64) => ebool test 4 (4853853, 4853849)', async function () { - const res = await this.contract5.le_uint64_euint64(4853853, this.instances5.alice.encrypt64(4853849)); + it('test operator "le" overload (uint64, euint64) => ebool test 4 (184213537, 184213533)', async function () { + const res = await this.contract5.le_uint64_euint64(184213537, this.instances5.alice.encrypt64(184213533)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 1 (109092109, 187709038)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(109092109), 187709038); - expect(res).to.equal(true); + it('test operator "lt" overload (euint64, uint64) => ebool test 1 (264374974, 177602426)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(264374974), 177602426); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 2 (109092105, 109092109)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(109092105), 109092109); + it('test operator "lt" overload (euint64, uint64) => ebool test 2 (138721888, 138721892)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(138721888), 138721892); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 3 (109092109, 109092109)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(109092109), 109092109); + it('test operator "lt" overload (euint64, uint64) => ebool test 3 (138721892, 138721892)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(138721892), 138721892); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 4 (109092109, 109092105)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(109092109), 109092105); + it('test operator "lt" overload (euint64, uint64) => ebool test 4 (138721892, 138721888)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(138721892), 138721888); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 1 (191874287, 187709038)', async function () { - const res = await this.contract5.lt_uint64_euint64(191874287, this.instances5.alice.encrypt64(187709038)); + it('test operator "lt" overload (uint64, euint64) => ebool test 1 (220331487, 177602426)', async function () { + const res = await this.contract5.lt_uint64_euint64(220331487, this.instances5.alice.encrypt64(177602426)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 2 (109092105, 109092109)', async function () { - const res = await this.contract5.lt_uint64_euint64(109092105, this.instances5.alice.encrypt64(109092109)); + it('test operator "lt" overload (uint64, euint64) => ebool test 2 (138721888, 138721892)', async function () { + const res = await this.contract5.lt_uint64_euint64(138721888, this.instances5.alice.encrypt64(138721892)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 3 (109092109, 109092109)', async function () { - const res = await this.contract5.lt_uint64_euint64(109092109, this.instances5.alice.encrypt64(109092109)); + it('test operator "lt" overload (uint64, euint64) => ebool test 3 (138721892, 138721892)', async function () { + const res = await this.contract5.lt_uint64_euint64(138721892, this.instances5.alice.encrypt64(138721892)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 4 (109092109, 109092105)', async function () { - const res = await this.contract5.lt_uint64_euint64(109092109, this.instances5.alice.encrypt64(109092105)); + it('test operator "lt" overload (uint64, euint64) => ebool test 4 (138721892, 138721888)', async function () { + const res = await this.contract5.lt_uint64_euint64(138721892, this.instances5.alice.encrypt64(138721888)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 1 (244314733, 105400651)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(244314733), 105400651); - expect(res).to.equal(105400651); + it('test operator "min" overload (euint64, uint64) => euint64 test 1 (67905839, 116349816)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(67905839), 116349816); + expect(res).to.equal(67905839); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 2 (181820543, 181820547)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(181820543), 181820547); - expect(res).to.equal(181820543); + it('test operator "min" overload (euint64, uint64) => euint64 test 2 (52961861, 52961865)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(52961861), 52961865); + expect(res).to.equal(52961861); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 3 (181820547, 181820547)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(181820547), 181820547); - expect(res).to.equal(181820547); + it('test operator "min" overload (euint64, uint64) => euint64 test 3 (52961865, 52961865)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(52961865), 52961865); + expect(res).to.equal(52961865); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 4 (181820547, 181820543)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(181820547), 181820543); - expect(res).to.equal(181820543); + it('test operator "min" overload (euint64, uint64) => euint64 test 4 (52961865, 52961861)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(52961865), 52961861); + expect(res).to.equal(52961861); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 1 (92885905, 105400651)', async function () { - const res = await this.contract5.min_uint64_euint64(92885905, this.instances5.alice.encrypt64(105400651)); - expect(res).to.equal(92885905); + it('test operator "min" overload (uint64, euint64) => euint64 test 1 (78138466, 116349816)', async function () { + const res = await this.contract5.min_uint64_euint64(78138466, this.instances5.alice.encrypt64(116349816)); + expect(res).to.equal(78138466); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 2 (181820543, 181820547)', async function () { - const res = await this.contract5.min_uint64_euint64(181820543, this.instances5.alice.encrypt64(181820547)); - expect(res).to.equal(181820543); + it('test operator "min" overload (uint64, euint64) => euint64 test 2 (52961861, 52961865)', async function () { + const res = await this.contract5.min_uint64_euint64(52961861, this.instances5.alice.encrypt64(52961865)); + expect(res).to.equal(52961861); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 3 (181820547, 181820547)', async function () { - const res = await this.contract5.min_uint64_euint64(181820547, this.instances5.alice.encrypt64(181820547)); - expect(res).to.equal(181820547); + it('test operator "min" overload (uint64, euint64) => euint64 test 3 (52961865, 52961865)', async function () { + const res = await this.contract5.min_uint64_euint64(52961865, this.instances5.alice.encrypt64(52961865)); + expect(res).to.equal(52961865); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 4 (181820547, 181820543)', async function () { - const res = await this.contract5.min_uint64_euint64(181820547, this.instances5.alice.encrypt64(181820543)); - expect(res).to.equal(181820543); + it('test operator "min" overload (uint64, euint64) => euint64 test 4 (52961865, 52961861)', async function () { + const res = await this.contract5.min_uint64_euint64(52961865, this.instances5.alice.encrypt64(52961861)); + expect(res).to.equal(52961861); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 1 (18255176, 62769148)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(18255176), 62769148); - expect(res).to.equal(62769148); + it('test operator "max" overload (euint64, uint64) => euint64 test 1 (215341582, 64923876)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(215341582), 64923876); + expect(res).to.equal(215341582); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 2 (18255172, 18255176)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(18255172), 18255176); - expect(res).to.equal(18255176); + it('test operator "max" overload (euint64, uint64) => euint64 test 2 (39049830, 39049834)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(39049830), 39049834); + expect(res).to.equal(39049834); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 3 (18255176, 18255176)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(18255176), 18255176); - expect(res).to.equal(18255176); + it('test operator "max" overload (euint64, uint64) => euint64 test 3 (39049834, 39049834)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(39049834), 39049834); + expect(res).to.equal(39049834); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 4 (18255176, 18255172)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(18255176), 18255172); - expect(res).to.equal(18255176); + it('test operator "max" overload (euint64, uint64) => euint64 test 4 (39049834, 39049830)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(39049834), 39049830); + expect(res).to.equal(39049834); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 1 (31807553, 62769148)', async function () { - const res = await this.contract5.max_uint64_euint64(31807553, this.instances5.alice.encrypt64(62769148)); - expect(res).to.equal(62769148); + it('test operator "max" overload (uint64, euint64) => euint64 test 1 (174351991, 64923876)', async function () { + const res = await this.contract5.max_uint64_euint64(174351991, this.instances5.alice.encrypt64(64923876)); + expect(res).to.equal(174351991); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 2 (18255172, 18255176)', async function () { - const res = await this.contract5.max_uint64_euint64(18255172, this.instances5.alice.encrypt64(18255176)); - expect(res).to.equal(18255176); + it('test operator "max" overload (uint64, euint64) => euint64 test 2 (39049830, 39049834)', async function () { + const res = await this.contract5.max_uint64_euint64(39049830, this.instances5.alice.encrypt64(39049834)); + expect(res).to.equal(39049834); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 3 (18255176, 18255176)', async function () { - const res = await this.contract5.max_uint64_euint64(18255176, this.instances5.alice.encrypt64(18255176)); - expect(res).to.equal(18255176); + it('test operator "max" overload (uint64, euint64) => euint64 test 3 (39049834, 39049834)', async function () { + const res = await this.contract5.max_uint64_euint64(39049834, this.instances5.alice.encrypt64(39049834)); + expect(res).to.equal(39049834); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 4 (18255176, 18255172)', async function () { - const res = await this.contract5.max_uint64_euint64(18255176, this.instances5.alice.encrypt64(18255172)); - expect(res).to.equal(18255176); + it('test operator "max" overload (uint64, euint64) => euint64 test 4 (39049834, 39049830)', async function () { + const res = await this.contract5.max_uint64_euint64(39049834, this.instances5.alice.encrypt64(39049830)); + expect(res).to.equal(39049834); }); - it('test operator "shl" overload (euint4, uint8) => euint4 test 1 (1, 7)', async function () { - const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(1), 7); - expect(res).to.equal(8); + it('test operator "shl" overload (euint4, uint8) => euint4 test 1 (7, 4)', async function () { + const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(7), 4); + expect(res).to.equal(7); }); it('test operator "shl" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { @@ -13220,9 +13220,9 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "shr" overload (euint4, uint8) => euint4 test 1 (6, 5)', async function () { - const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(6), 5); - expect(res).to.equal(3); + it('test operator "shr" overload (euint4, uint8) => euint4 test 1 (8, 2)', async function () { + const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(8), 2); + expect(res).to.equal(2); }); it('test operator "shr" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { @@ -13240,12 +13240,12 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (89, 1)', async function () { + it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (107, 3)', async function () { const res = await this.contract5.shl_euint8_euint8( - this.instances5.alice.encrypt8(89), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt8(107), + this.instances5.alice.encrypt8(3), ); - expect(res).to.equal(178); + expect(res).to.equal(88); }); it('test operator "shl" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -13272,9 +13272,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (89, 1)', async function () { - const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(89), 1); - expect(res).to.equal(178); + it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (107, 3)', async function () { + const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(107), 3); + expect(res).to.equal(88); }); it('test operator "shl" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { @@ -13292,12 +13292,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (83, 5)', async function () { + it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (226, 1)', async function () { const res = await this.contract5.shr_euint8_euint8( - this.instances5.alice.encrypt8(83), - this.instances5.alice.encrypt8(5), + this.instances5.alice.encrypt8(226), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(2); + expect(res).to.equal(113); }); it('test operator "shr" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -13324,9 +13324,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (83, 5)', async function () { - const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(83), 5); - expect(res).to.equal(2); + it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (226, 1)', async function () { + const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(226), 1); + expect(res).to.equal(113); }); it('test operator "shr" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { @@ -13344,12 +13344,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (52308, 7)', async function () { + it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (31359, 1)', async function () { const res = await this.contract5.shl_euint16_euint8( - this.instances5.alice.encrypt16(52308), - this.instances5.alice.encrypt8(7), + this.instances5.alice.encrypt16(31359), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(10752); + expect(res).to.equal(62718); }); it('test operator "shl" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { @@ -13376,9 +13376,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (52308, 7)', async function () { - const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(52308), 7); - expect(res).to.equal(10752); + it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (31359, 1)', async function () { + const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(31359), 1); + expect(res).to.equal(62718); }); it('test operator "shl" overload (euint16, uint8) => euint16 test 2 (4, 8)', async function () { @@ -13396,12 +13396,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (60963, 1)', async function () { + it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (47516, 3)', async function () { const res = await this.contract5.shr_euint16_euint8( - this.instances5.alice.encrypt16(60963), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt16(47516), + this.instances5.alice.encrypt8(3), ); - expect(res).to.equal(30481); + expect(res).to.equal(5939); }); it('test operator "shr" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { @@ -13428,9 +13428,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (60963, 1)', async function () { - const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(60963), 1); - expect(res).to.equal(30481); + it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (47516, 3)', async function () { + const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(47516), 3); + expect(res).to.equal(5939); }); it('test operator "shr" overload (euint16, uint8) => euint16 test 2 (4, 8)', async function () { @@ -13448,12 +13448,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (136621573, 1)', async function () { + it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (226777595, 3)', async function () { const res = await this.contract5.shl_euint32_euint8( - this.instances5.alice.encrypt32(136621573), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt32(226777595), + this.instances5.alice.encrypt8(3), ); - expect(res).to.equal(273243146); + expect(res).to.equal(1814220760); }); it('test operator "shl" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { @@ -13480,9 +13480,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (136621573, 1)', async function () { - const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(136621573), 1); - expect(res).to.equal(273243146); + it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (226777595, 3)', async function () { + const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(226777595), 3); + expect(res).to.equal(1814220760); }); it('test operator "shl" overload (euint32, uint8) => euint32 test 2 (4, 8)', async function () { @@ -13500,12 +13500,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (157098209, 6)', async function () { + it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (145753602, 4)', async function () { const res = await this.contract5.shr_euint32_euint8( - this.instances5.alice.encrypt32(157098209), - this.instances5.alice.encrypt8(6), + this.instances5.alice.encrypt32(145753602), + this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(2454659); + expect(res).to.equal(9109600); }); it('test operator "shr" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { @@ -13532,9 +13532,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (157098209, 6)', async function () { - const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(157098209), 6); - expect(res).to.equal(2454659); + it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (145753602, 4)', async function () { + const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(145753602), 4); + expect(res).to.equal(9109600); }); it('test operator "shr" overload (euint32, uint8) => euint32 test 2 (4, 8)', async function () { @@ -13552,12 +13552,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (163054538, 3)', async function () { + it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (39313001, 2)', async function () { const res = await this.contract5.shl_euint64_euint8( - this.instances5.alice.encrypt64(163054538), - this.instances5.alice.encrypt8(3), + this.instances5.alice.encrypt64(39313001), + this.instances5.alice.encrypt8(2), ); - expect(res).to.equal(1304436304); + expect(res).to.equal(157252004); }); it('test operator "shl" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { @@ -13584,9 +13584,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (163054538, 3)', async function () { - const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(163054538), 3); - expect(res).to.equal(1304436304); + it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (39313001, 2)', async function () { + const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(39313001), 2); + expect(res).to.equal(157252004); }); it('test operator "shl" overload (euint64, uint8) => euint64 test 2 (4, 8)', async function () { @@ -13604,12 +13604,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (151463759, 7)', async function () { + it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (231610183, 4)', async function () { const res = await this.contract5.shr_euint64_euint8( - this.instances5.alice.encrypt64(151463759), - this.instances5.alice.encrypt8(7), + this.instances5.alice.encrypt64(231610183), + this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(1183310); + expect(res).to.equal(14475636); }); it('test operator "shr" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { @@ -13636,9 +13636,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (151463759, 7)', async function () { - const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(151463759), 7); - expect(res).to.equal(1183310); + it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (231610183, 4)', async function () { + const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(231610183), 4); + expect(res).to.equal(14475636); }); it('test operator "shr" overload (euint64, uint8) => euint64 test 2 (4, 8)', async function () { @@ -13656,53 +13656,53 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "neg" overload (euint4) => euint4 test 1 (11)', async function () { - const res = await this.contract5.neg_euint4(this.instances5.alice.encrypt4(11)); - expect(res).to.equal(5n); + it('test operator "neg" overload (euint4) => euint4 test 1 (3)', async function () { + const res = await this.contract5.neg_euint4(this.instances5.alice.encrypt4(3)); + expect(res).to.equal(13n); }); - it('test operator "not" overload (euint4) => euint4 test 1 (9)', async function () { - const res = await this.contract5.not_euint4(this.instances5.alice.encrypt4(9)); - expect(res).to.equal(6n); + it('test operator "not" overload (euint4) => euint4 test 1 (12)', async function () { + const res = await this.contract5.not_euint4(this.instances5.alice.encrypt4(12)); + expect(res).to.equal(3n); }); - it('test operator "neg" overload (euint8) => euint8 test 1 (177)', async function () { - const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(177)); - expect(res).to.equal(79n); + it('test operator "neg" overload (euint8) => euint8 test 1 (165)', async function () { + const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(165)); + expect(res).to.equal(91n); }); - it('test operator "not" overload (euint8) => euint8 test 1 (30)', async function () { - const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(30)); - expect(res).to.equal(225n); + it('test operator "not" overload (euint8) => euint8 test 1 (74)', async function () { + const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(74)); + expect(res).to.equal(181n); }); - it('test operator "neg" overload (euint16) => euint16 test 1 (26575)', async function () { - const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(26575)); - expect(res).to.equal(38961n); + it('test operator "neg" overload (euint16) => euint16 test 1 (17405)', async function () { + const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(17405)); + expect(res).to.equal(48131n); }); - it('test operator "not" overload (euint16) => euint16 test 1 (15626)', async function () { - const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(15626)); - expect(res).to.equal(49909n); + it('test operator "not" overload (euint16) => euint16 test 1 (51762)', async function () { + const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(51762)); + expect(res).to.equal(13773n); }); - it('test operator "neg" overload (euint32) => euint32 test 1 (204914882)', async function () { - const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(204914882)); - expect(res).to.equal(4090052414n); + it('test operator "neg" overload (euint32) => euint32 test 1 (202665091)', async function () { + const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(202665091)); + expect(res).to.equal(4092302205n); }); - it('test operator "not" overload (euint32) => euint32 test 1 (22116422)', async function () { - const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(22116422)); - expect(res).to.equal(4272850873n); + it('test operator "not" overload (euint32) => euint32 test 1 (34192436)', async function () { + const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(34192436)); + expect(res).to.equal(4260774859n); }); - it('test operator "neg" overload (euint64) => euint64 test 1 (39253840)', async function () { - const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(39253840)); - expect(res).to.equal(18446744073670297776n); + it('test operator "neg" overload (euint64) => euint64 test 1 (6247856)', async function () { + const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(6247856)); + expect(res).to.equal(18446744073703303760n); }); - it('test operator "not" overload (euint64) => euint64 test 1 (172305424)', async function () { - const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(172305424)); - expect(res).to.equal(18446744073537246191n); + it('test operator "not" overload (euint64) => euint64 test 1 (131894418)', async function () { + const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(131894418)); + expect(res).to.equal(18446744073577657197n); }); }); From a7981893406ec8b49ddd9e5ab49251164459d13b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Fri, 1 Mar 2024 13:50:03 +0100 Subject: [PATCH 10/12] fix: add bigint support for inputs --- codegen/generateOverloads.ts | 91 +- codegen/overloadTests.ts | 19 +- codegen/overloads.json | 3786 ++++----- codegen/testgen.ts | 4 +- test/tfheOperations/tfheOperations.ts | 10478 ++++++++++++------------ 5 files changed, 7200 insertions(+), 7178 deletions(-) diff --git a/codegen/generateOverloads.ts b/codegen/generateOverloads.ts index 92f02758..905f341a 100644 --- a/codegen/generateOverloads.ts +++ b/codegen/generateOverloads.ts @@ -1,5 +1,5 @@ type Test = { - inputs: number[]; + inputs: bigint[]; output: number | boolean | bigint; }; @@ -20,11 +20,11 @@ type SupportedFunction = SupportedFunctionParams & ( | { unary?: false; - evalTest: (lhsNumber: number, rhsNumber: number, lhs: number, rhs: number) => number | boolean | bigint; + evalTest: (lhsNumber: bigint, rhsNumber: bigint, lhs: number, rhs: number) => number | boolean | bigint; } | { unary: true; - evalTest: (lhs: number, bits: number) => number | boolean | bigint; + evalTest: (lhs: bigint, bits: number) => number | boolean | bigint; } ); @@ -35,14 +35,25 @@ type SupportedFunction = SupportedFunctionParams & const SUPPORTED_UINT = [8, 16, 32, 64, 128, 256]; const SUPPORTED_BITS = [4, 8, 16, 32, 64]; +const bigIntMin = (...args: bigint[]) => { + return args.reduce((min, e) => (e < min ? e : min), args[0]); +}; + +const bigIntMax = (...args: bigint[]) => { + return args.reduce((max, e) => (e > max ? e : max), args[0]); +}; + const generateNumber = (bits: number) => { - return Math.max(Math.floor(Math.random() * (Math.pow(2, Math.min(bits, 28)) - 1)), 1); + const power = BigInt(Math.pow(2, bits) - 1); + const maxRange = bigIntMin(power, BigInt(Number.MAX_SAFE_INTEGER)); + const divider = bigIntMax(BigInt(Math.floor(Math.random() * Number(maxRange))), 1n); + return bigIntMax(power / divider, 1n); }; const safeEval = ( - fn: (lhsNumber: number, rhsNumber: number, lhs: number, rhs: number) => number | boolean | bigint, - lhsNumber: number, - rhsNumber: number, + fn: (lhsNumber: bigint, rhsNumber: bigint, lhs: number, rhs: number) => number | boolean | bigint, + lhsNumber: bigint, + rhsNumber: bigint, lhs: number, rhs: number, safeMin: boolean = false, @@ -52,10 +63,10 @@ const safeEval = ( const logs: any[] = []; if (typeof result === 'number' || typeof result === 'bigint') { while ((result as number | bigint) > Math.pow(2, bitResults) - 1) { - lhsNumber = Math.max(Math.floor(lhsNumber / 2), 1); - rhsNumber = Math.max(Math.floor(rhsNumber / 2), 1); + lhsNumber = lhsNumber / 2n + 1n; + rhsNumber = rhsNumber / 2n + 1n; result = fn(lhsNumber, rhsNumber, lhs, rhs); - logs.push([lhsNumber, rhsNumber, result]); + logs.push([lhs, rhs, lhsNumber, rhsNumber, result]); } } return { inputs: [lhsNumber, rhsNumber], output: result }; @@ -65,59 +76,59 @@ export const SUPPORTED_FUNCTIONS: SupportedFunctions = { add: { supportedBits: SUPPORTED_BITS, safeMin: true, - evalTest: (lhsNumber: number, rhsNumber: number) => BigInt(lhsNumber) + BigInt(rhsNumber), + evalTest: (lhsNumber, rhsNumber) => BigInt(lhsNumber) + BigInt(rhsNumber), }, sub: { supportedBits: SUPPORTED_BITS, lhsHigher: true, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber - rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber - rhsNumber, }, mul: { supportedBits: SUPPORTED_BITS, safeMin: true, - evalTest: (lhsNumber: number, rhsNumber: number) => BigInt(lhsNumber) * BigInt(rhsNumber), + evalTest: (lhsNumber, rhsNumber) => BigInt(lhsNumber) * BigInt(rhsNumber), }, div: { supportedBits: SUPPORTED_BITS, - evalTest: (lhsNumber: number, rhsNumber: number) => Math.floor(lhsNumber / rhsNumber), + evalTest: (lhsNumber, rhsNumber) => lhsNumber / rhsNumber, scalarOnly: true, }, rem: { supportedBits: SUPPORTED_BITS, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber % rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber % rhsNumber, scalarOnly: true, }, le: { supportedBits: SUPPORTED_BITS, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber <= rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber <= rhsNumber, }, lt: { supportedBits: SUPPORTED_BITS, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber < rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber < rhsNumber, }, ge: { supportedBits: SUPPORTED_BITS, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber >= rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber >= rhsNumber, }, gt: { supportedBits: SUPPORTED_BITS, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber > rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber > rhsNumber, }, eq: { supportedBits: SUPPORTED_BITS, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber === rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber === rhsNumber, }, ne: { supportedBits: SUPPORTED_BITS, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber !== rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber !== rhsNumber, }, shl: { supportedBits: SUPPORTED_BITS, limit: 'bits', - evalTest: (lhsNumber: number, rhsNumber: number, lhs: number, rhs: number) => { + evalTest: (lhsNumber, rhsNumber, lhs, rhs) => { const bits = `${new Array(256).fill('0').join('')}${lhsNumber.toString(2)}`.slice(-lhs).split(''); const r = bits.map((_, index) => { - const newIndex = index + (rhsNumber % lhs); + const newIndex = Number(BigInt(index) + (rhsNumber % BigInt(lhs))); return newIndex >= bits.length ? '0' : bits[newIndex]; }); return parseInt(r.join(''), 2); @@ -126,10 +137,10 @@ export const SUPPORTED_FUNCTIONS: SupportedFunctions = { shr: { supportedBits: SUPPORTED_BITS, limit: 'bits', - evalTest: (lhsNumber: number, rhsNumber: number, lhs: number, rhs: number) => { + evalTest: (lhsNumber, rhsNumber, lhs, rhs) => { const bits = `${new Array(256).fill('0').join('')}${lhsNumber.toString(2)}`.slice(-lhs).split(''); const r = bits.map((_, index) => { - const newIndex = index - (rhsNumber % lhs); + const newIndex = Number(BigInt(index) - (rhsNumber % BigInt(lhs))); return newIndex < 0 ? '0' : bits[newIndex]; }); return parseInt(r.join(''), 2); @@ -138,31 +149,31 @@ export const SUPPORTED_FUNCTIONS: SupportedFunctions = { max: { supportedBits: SUPPORTED_BITS, unary: false, - evalTest: (lhsNumber: number, rhsNumber: number) => (lhsNumber > rhsNumber ? lhsNumber : rhsNumber), + evalTest: (lhsNumber, rhsNumber) => (lhsNumber > rhsNumber ? lhsNumber : rhsNumber), }, min: { supportedBits: SUPPORTED_BITS, - evalTest: (lhsNumber: number, rhsNumber: number) => (lhsNumber < rhsNumber ? lhsNumber : rhsNumber), + evalTest: (lhsNumber, rhsNumber) => (lhsNumber < rhsNumber ? lhsNumber : rhsNumber), }, or: { supportedBits: SUPPORTED_BITS, noScalar: true, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber | rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber | rhsNumber, }, and: { supportedBits: SUPPORTED_BITS, noScalar: true, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber & rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber & rhsNumber, }, xor: { supportedBits: SUPPORTED_BITS, noScalar: true, - evalTest: (lhsNumber: number, rhsNumber: number) => lhsNumber ^ rhsNumber, + evalTest: (lhsNumber, rhsNumber) => lhsNumber ^ rhsNumber, }, not: { supportedBits: SUPPORTED_BITS, unary: true, - evalTest: (lhsNumber: number, bits: number) => { + evalTest: (lhsNumber, bits) => { const val = `${new Array(256).fill('0').join('')}${lhsNumber.toString(2)}`.slice(-bits).split(''); return BigInt( `0b${val @@ -177,7 +188,7 @@ export const SUPPORTED_FUNCTIONS: SupportedFunctions = { neg: { supportedBits: SUPPORTED_BITS, unary: true, - evalTest: (lhsNumber: number, bits: number) => { + evalTest: (lhsNumber, bits) => { const val = `${new Array(256).fill('0').join('')}${lhsNumber.toString(2)}`.slice(-bits).split(''); return ( BigInt( @@ -212,9 +223,9 @@ export const generateTests = () => { const bitResults = Math.min(lhs, rhs); let rhsNumber = generateNumber(rhs); if (test.limit === 'bits') { - rhsNumber = 1 + Math.floor(Math.random() * (rhs - 1)); + rhsNumber = BigInt(1 + Math.floor(Math.random() * (rhs - 1))); } - const smallest = Math.max(Math.min(lhsNumber, rhsNumber), 8); + const smallest = bigIntMax(bigIntMin(lhsNumber, rhsNumber), 8n); const only8bits = test.limit === 'bits' && rhs === 8; const onlyEncrypted8bits = only8bits && lhs > 4; @@ -223,10 +234,10 @@ export const generateTests = () => { const encryptedTests: Test[] = []; if (!test.lhsHigher) { encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, lhs, rhs, test.safeMin)); - encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest - 4n, smallest, lhs, rhs, test.safeMin)); } encryptedTests.push(safeEval(test.evalTest, smallest, smallest, lhs, rhs, test.safeMin)); - encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4n, lhs, rhs, test.safeMin)); tests[encryptedTestName] = encryptedTests; } @@ -240,10 +251,10 @@ export const generateTests = () => { const encryptedTests: Test[] = []; if (!test.lhsHigher) { encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, lhs, rhs, test.safeMin)); - encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest - 4n, smallest, lhs, rhs, test.safeMin)); } encryptedTests.push(safeEval(test.evalTest, smallest, smallest, lhs, rhs, test.safeMin)); - encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4n, lhs, rhs, test.safeMin)); tests[encryptedTestName] = encryptedTests; } if (SUPPORTED_UINT.includes(lhs) && test.limit !== 'bits' && scalarCondition && !test.scalarOnly) { @@ -252,10 +263,10 @@ export const generateTests = () => { const encryptedTests: Test[] = []; if (!test.lhsHigher) { encryptedTests.push(safeEval(test.evalTest, lhsNumber, rhsNumber, lhs, rhs, test.safeMin)); - encryptedTests.push(safeEval(test.evalTest, smallest - 4, smallest, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest - 4n, smallest, lhs, rhs, test.safeMin)); } encryptedTests.push(safeEval(test.evalTest, smallest, smallest, lhs, rhs, test.safeMin)); - encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4, lhs, rhs, test.safeMin)); + encryptedTests.push(safeEval(test.evalTest, smallest, smallest - 4n, lhs, rhs, test.safeMin)); tests[encryptedTestName] = encryptedTests; } }); diff --git a/codegen/overloadTests.ts b/codegen/overloadTests.ts index 11444e16..41c15e56 100644 --- a/codegen/overloadTests.ts +++ b/codegen/overloadTests.ts @@ -1,13 +1,22 @@ import overloads from './overloads.json'; import { OverloadSignature, signatureContractMethodName } from './testgen'; -type OverloadTest = { - inputs: number[]; +type OverloadTestJSON = { + inputs: (number | bigint | string)[]; output: boolean | number | bigint | string; }; -const transformBigInt = (o: { [methodName: string]: OverloadTest[] }) => { + +type OverloadTest = { + inputs: (number | bigint)[]; + output: boolean | number | bigint; +}; + +const transformBigInt = (o: { [methodName: string]: OverloadTestJSON[] }) => { Object.keys(o).forEach((k) => { o[k].forEach((test) => { + test.inputs.forEach((input, i) => { + if (typeof input === 'string') test.inputs[i] = BigInt(input); + }); if (typeof test.output === 'string') test.output = BigInt(test.output); }); }); @@ -15,4 +24,6 @@ const transformBigInt = (o: { [methodName: string]: OverloadTest[] }) => { transformBigInt(overloads); -export const overloadTests: { [methodName: string]: OverloadTest[] } = overloads; +export const overloadTests: { [methodName: string]: OverloadTest[] } = overloads as unknown as { + [methodName: string]: OverloadTest[]; +}; diff --git a/codegen/overloads.json b/codegen/overloads.json index 7e05d287..4e33c67e 100644 --- a/codegen/overloads.json +++ b/codegen/overloads.json @@ -1,2870 +1,2870 @@ { "add_euint4_euint4": [ - { "inputs": [4, 7], "output": "11" }, - { "inputs": [5, 9], "output": "14" }, - { "inputs": [4, 4], "output": "8" }, - { "inputs": [9, 5], "output": "14" } + { "inputs": ["8", "2"], "output": "10" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint4_euint8": [ - { "inputs": [1, 12], "output": "13" }, - { "inputs": [5, 9], "output": "14" }, - { "inputs": [4, 4], "output": "8" }, - { "inputs": [9, 5], "output": "14" } + { "inputs": ["8", "3"], "output": "11" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint4_uint8": [ - { "inputs": [4, 4], "output": "8" }, - { "inputs": [5, 9], "output": "14" }, - { "inputs": [4, 4], "output": "8" }, - { "inputs": [9, 5], "output": "14" } + { "inputs": ["8", "2"], "output": "10" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint4_euint16": [ - { "inputs": [1, 9], "output": "10" }, - { "inputs": [5, 9], "output": "14" }, - { "inputs": [4, 4], "output": "8" }, - { "inputs": [9, 5], "output": "14" } + { "inputs": ["8", "1"], "output": "9" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint4_euint32": [ - { "inputs": [1, 7], "output": "8" }, - { "inputs": [5, 9], "output": "14" }, - { "inputs": [4, 4], "output": "8" }, - { "inputs": [9, 5], "output": "14" } + { "inputs": ["8", "1"], "output": "9" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint4_euint64": [ - { "inputs": [1, 9], "output": "10" }, - { "inputs": [5, 9], "output": "14" }, - { "inputs": [4, 4], "output": "8" }, - { "inputs": [9, 5], "output": "14" } + { "inputs": ["2", "10"], "output": "12" }, + { "inputs": ["6", "8"], "output": "14" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "6"], "output": "14" } ], "add_euint8_euint4": [ - { "inputs": [9, 1], "output": "10" }, - { "inputs": [4, 8], "output": "12" }, - { "inputs": [4, 4], "output": "8" }, - { "inputs": [8, 4], "output": "12" } + { "inputs": ["2", "1"], "output": "3" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_uint8_euint4": [ - { "inputs": [5, 7], "output": "12" }, - { "inputs": [4, 8], "output": "12" }, - { "inputs": [4, 4], "output": "8" }, - { "inputs": [8, 4], "output": "12" } + { "inputs": ["8", "1"], "output": "9" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint8_euint8": [ - { "inputs": [5, 172], "output": "177" }, - { "inputs": [4, 8], "output": "12" }, - { "inputs": [8, 8], "output": "16" }, - { "inputs": [8, 4], "output": "12" } + { "inputs": ["15", "3"], "output": "18" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint8_uint8": [ - { "inputs": [5, 209], "output": "214" }, - { "inputs": [4, 8], "output": "12" }, - { "inputs": [8, 8], "output": "16" }, - { "inputs": [8, 4], "output": "12" } + { "inputs": ["15", "1"], "output": "16" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_uint8_euint8": [ - { "inputs": [26, 209], "output": "235" }, - { "inputs": [4, 8], "output": "12" }, - { "inputs": [8, 8], "output": "16" }, - { "inputs": [8, 4], "output": "12" } + { "inputs": ["36", "1"], "output": "37" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint8_euint16": [ - { "inputs": [1, 227], "output": "228" }, - { "inputs": [22, 26], "output": "48" }, - { "inputs": [26, 26], "output": "52" }, - { "inputs": [26, 22], "output": "48" } + { "inputs": ["36", "1"], "output": "37" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint8_euint32": [ - { "inputs": [1, 228], "output": "229" }, - { "inputs": [22, 26], "output": "48" }, - { "inputs": [26, 26], "output": "52" }, - { "inputs": [26, 22], "output": "48" } + { "inputs": ["36", "2"], "output": "38" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint8_euint64": [ - { "inputs": [1, 248], "output": "249" }, - { "inputs": [22, 26], "output": "48" }, - { "inputs": [26, 26], "output": "52" }, - { "inputs": [26, 22], "output": "48" } + { "inputs": ["3", "168"], "output": "171" }, + { "inputs": ["32", "36"], "output": "68" }, + { "inputs": ["36", "36"], "output": "72" }, + { "inputs": ["36", "32"], "output": "68" } ], "add_euint16_euint4": [ - { "inputs": [14, 1], "output": "15" }, - { "inputs": [4, 6], "output": "10" }, - { "inputs": [6, 6], "output": "12" }, - { "inputs": [6, 4], "output": "10" } + { "inputs": ["3", "2"], "output": "5" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint16_euint8": [ - { "inputs": [116, 14], "output": "130" }, - { "inputs": [115, 117], "output": "232" }, - { "inputs": [117, 117], "output": "234" }, - { "inputs": [117, 115], "output": "232" } + { "inputs": ["3", "1"], "output": "4" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint16_euint16": [ - { "inputs": [1870, 63235], "output": "65105" }, - { "inputs": [1866, 1870], "output": "3736" }, - { "inputs": [1870, 1870], "output": "3740" }, - { "inputs": [1870, 1866], "output": "3736" } + { "inputs": ["3", "3"], "output": "6" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint16_uint16": [ - { "inputs": [1870, 31236], "output": "33106" }, - { "inputs": [1866, 1870], "output": "3736" }, - { "inputs": [1870, 1870], "output": "3740" }, - { "inputs": [1870, 1866], "output": "3736" } + { "inputs": ["3", "2"], "output": "5" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_uint16_euint16": [ - { "inputs": [24651, 31236], "output": "55887" }, - { "inputs": [1866, 1870], "output": "3736" }, - { "inputs": [1870, 1870], "output": "3740" }, - { "inputs": [1870, 1866], "output": "3736" } + { "inputs": ["2", "2"], "output": "4" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint16_euint32": [ - { "inputs": [12, 38505], "output": "38517" }, - { "inputs": [24647, 24651], "output": "49298" }, - { "inputs": [24651, 24651], "output": "49302" }, - { "inputs": [24651, 24647], "output": "49298" } + { "inputs": ["2", "2"], "output": "4" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint16_euint64": [ - { "inputs": [24, 33045], "output": "33069" }, - { "inputs": [24647, 24651], "output": "49298" }, - { "inputs": [24651, 24651], "output": "49302" }, - { "inputs": [24651, 24647], "output": "49298" } + { "inputs": ["2", "5596"], "output": "5598" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint32_euint4": [ - { "inputs": [8, 1], "output": "9" }, - { "inputs": [3, 5], "output": "8" }, - { "inputs": [5, 5], "output": "10" }, - { "inputs": [5, 3], "output": "8" } + { "inputs": ["2", "8"], "output": "10" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint32_euint8": [ - { "inputs": [134, 1], "output": "135" }, - { "inputs": [76, 80], "output": "156" }, - { "inputs": [80, 80], "output": "160" }, - { "inputs": [80, 76], "output": "156" } + { "inputs": ["3", "1"], "output": "4" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint32_euint16": [ - { "inputs": [34382, 13], "output": "34395" }, - { "inputs": [27184, 27186], "output": "54370" }, - { "inputs": [27186, 27186], "output": "54372" }, - { "inputs": [27186, 27184], "output": "54370" } + { "inputs": ["3", "5"], "output": "8" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint32_euint32": [ - { "inputs": [140830493, 233846954], "output": "374677447" }, - { "inputs": [140830489, 140830493], "output": "281660982" }, - { "inputs": [140830493, 140830493], "output": "281660986" }, - { "inputs": [140830493, 140830489], "output": "281660982" } + { "inputs": ["3", "1"], "output": "4" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint32_uint32": [ - { "inputs": [140830493, 37413668], "output": "178244161" }, - { "inputs": [140830489, 140830493], "output": "281660982" }, - { "inputs": [140830493, 140830493], "output": "281660986" }, - { "inputs": [140830493, 140830489], "output": "281660982" } + { "inputs": ["3", "1"], "output": "4" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_uint32_euint32": [ - { "inputs": [88545588, 37413668], "output": "125959256" }, - { "inputs": [140830489, 140830493], "output": "281660982" }, - { "inputs": [140830493, 140830493], "output": "281660986" }, - { "inputs": [140830493, 140830489], "output": "281660982" } + { "inputs": ["8", "1"], "output": "9" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint32_euint64": [ - { "inputs": [88545588, 105438338], "output": "193983926" }, - { "inputs": [88545584, 88545588], "output": "177091172" }, - { "inputs": [88545588, 88545588], "output": "177091176" }, - { "inputs": [88545588, 88545584], "output": "177091172" } + { "inputs": ["8", "2055"], "output": "2063" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint64_euint4": [ - { "inputs": [10, 1], "output": "11" }, - { "inputs": [4, 8], "output": "12" }, - { "inputs": [4, 4], "output": "8" }, - { "inputs": [8, 4], "output": "12" } + { "inputs": ["10", "1"], "output": "11" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["5", "5"], "output": "10" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint64_euint8": [ - { "inputs": [162, 1], "output": "163" }, - { "inputs": [109, 111], "output": "220" }, - { "inputs": [111, 111], "output": "222" }, - { "inputs": [111, 109], "output": "220" } + { "inputs": ["141", "2"], "output": "143" }, + { "inputs": ["10", "14"], "output": "24" }, + { "inputs": ["14", "14"], "output": "28" }, + { "inputs": ["14", "10"], "output": "24" } ], "add_euint64_euint16": [ - { "inputs": [41532, 11], "output": "41543" }, - { "inputs": [23875, 23877], "output": "47752" }, - { "inputs": [23877, 23877], "output": "47754" }, - { "inputs": [23877, 23875], "output": "47752" } + { "inputs": ["17823", "1"], "output": "17824" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint64_euint32": [ - { "inputs": [170118033, 266084851], "output": "436202884" }, - { "inputs": [170118029, 170118033], "output": "340236062" }, - { "inputs": [170118033, 170118033], "output": "340236066" }, - { "inputs": [170118033, 170118029], "output": "340236062" } + { "inputs": ["17823", "2"], "output": "17825" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "16" }, + { "inputs": ["8", "4"], "output": "12" } ], "add_euint64_euint64": [ - { "inputs": [170118033, 75374623], "output": "245492656" }, - { "inputs": [75374619, 75374623], "output": "150749242" }, - { "inputs": [75374623, 75374623], "output": "150749246" }, - { "inputs": [75374623, 75374619], "output": "150749242" } + { "inputs": ["17823", "3432"], "output": "21255" }, + { "inputs": ["3428", "3432"], "output": "6860" }, + { "inputs": ["3432", "3432"], "output": "6864" }, + { "inputs": ["3432", "3428"], "output": "6860" } ], "add_euint64_uint64": [ - { "inputs": [170118033, 60441680], "output": "230559713" }, - { "inputs": [75374619, 75374623], "output": "150749242" }, - { "inputs": [75374623, 75374623], "output": "150749246" }, - { "inputs": [75374623, 75374619], "output": "150749242" } + { "inputs": ["17823", "7318"], "output": "25141" }, + { "inputs": ["3428", "3432"], "output": "6860" }, + { "inputs": ["3432", "3432"], "output": "6864" }, + { "inputs": ["3432", "3428"], "output": "6860" } ], "add_uint64_euint64": [ - { "inputs": [187809144, 60441680], "output": "248250824" }, - { "inputs": [75374619, 75374623], "output": "150749242" }, - { "inputs": [75374623, 75374623], "output": "150749246" }, - { "inputs": [75374623, 75374619], "output": "150749242" } + { "inputs": ["5752", "7318"], "output": "13070" }, + { "inputs": ["3428", "3432"], "output": "6860" }, + { "inputs": ["3432", "3432"], "output": "6864" }, + { "inputs": ["3432", "3428"], "output": "6860" } ], "sub_euint4_euint4": [ - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint4_euint8": [ - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint4_uint8": [ - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint4_euint16": [ - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint4_euint32": [ - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint4_euint64": [ - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint8_euint4": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_uint8_euint4": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint8_euint8": [ - { "inputs": [14, 14], "output": 0 }, - { "inputs": [14, 10], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint8_uint8": [ - { "inputs": [14, 14], "output": 0 }, - { "inputs": [14, 10], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_uint8_euint8": [ - { "inputs": [14, 14], "output": 0 }, - { "inputs": [14, 10], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint8_euint16": [ - { "inputs": [202, 202], "output": 0 }, - { "inputs": [202, 198], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint8_euint32": [ - { "inputs": [202, 202], "output": 0 }, - { "inputs": [202, 198], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint8_euint64": [ - { "inputs": [202, 202], "output": 0 }, - { "inputs": [202, 198], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint16_euint4": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint16_euint8": [ - { "inputs": [125, 125], "output": 0 }, - { "inputs": [125, 121], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint16_euint16": [ - { "inputs": [4130, 4130], "output": 0 }, - { "inputs": [4130, 4126], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint16_uint16": [ - { "inputs": [4130, 4130], "output": 0 }, - { "inputs": [4130, 4126], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_uint16_euint16": [ - { "inputs": [4130, 4130], "output": 0 }, - { "inputs": [4130, 4126], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint16_euint32": [ - { "inputs": [7479, 7479], "output": 0 }, - { "inputs": [7479, 7475], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint16_euint64": [ - { "inputs": [7479, 7479], "output": 0 }, - { "inputs": [7479, 7475], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint32_euint4": [ - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint32_euint8": [ - { "inputs": [186, 186], "output": 0 }, - { "inputs": [186, 182], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint32_euint16": [ - { "inputs": [30277, 30277], "output": 0 }, - { "inputs": [30277, 30273], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint32_euint32": [ - { "inputs": [72155792, 72155792], "output": 0 }, - { "inputs": [72155792, 72155788], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint32_uint32": [ - { "inputs": [72155792, 72155792], "output": 0 }, - { "inputs": [72155792, 72155788], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_uint32_euint32": [ - { "inputs": [72155792, 72155792], "output": 0 }, - { "inputs": [72155792, 72155788], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint32_euint64": [ - { "inputs": [119509877, 119509877], "output": 0 }, - { "inputs": [119509877, 119509873], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint64_euint4": [ - { "inputs": [10, 10], "output": 0 }, - { "inputs": [10, 6], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint64_euint8": [ - { "inputs": [240, 240], "output": 0 }, - { "inputs": [240, 236], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint64_euint16": [ - { "inputs": [19514, 19514], "output": 0 }, - { "inputs": [19514, 19510], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint64_euint32": [ - { "inputs": [69685503, 69685503], "output": 0 }, - { "inputs": [69685503, 69685499], "output": 4 } + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "4" } ], "sub_euint64_euint64": [ - { "inputs": [65505221, 65505221], "output": 0 }, - { "inputs": [65505221, 65505217], "output": 4 } + { "inputs": ["3660", "3660"], "output": "0" }, + { "inputs": ["3660", "3656"], "output": "4" } ], "sub_euint64_uint64": [ - { "inputs": [65505221, 65505221], "output": 0 }, - { "inputs": [65505221, 65505217], "output": 4 } + { "inputs": ["3660", "3660"], "output": "0" }, + { "inputs": ["3660", "3656"], "output": "4" } ], "sub_uint64_euint64": [ - { "inputs": [65505221, 65505221], "output": 0 }, - { "inputs": [65505221, 65505217], "output": 4 } + { "inputs": ["3660", "3660"], "output": "0" }, + { "inputs": ["3660", "3656"], "output": "4" } ], "mul_euint4_euint4": [ - { "inputs": [7, 1], "output": "7" }, - { "inputs": [2, 4], "output": "8" }, - { "inputs": [2, 2], "output": "4" }, - { "inputs": [4, 2], "output": "8" } + { "inputs": ["1", "2"], "output": "2" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_euint4_euint8": [ - { "inputs": [1, 9], "output": "9" }, - { "inputs": [2, 3], "output": "6" }, - { "inputs": [3, 3], "output": "9" }, - { "inputs": [3, 2], "output": "6" } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_euint4_uint8": [ - { "inputs": [7, 2], "output": "14" }, - { "inputs": [2, 3], "output": "6" }, - { "inputs": [3, 3], "output": "9" }, - { "inputs": [3, 2], "output": "6" } + { "inputs": ["1", "3"], "output": "3" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_euint4_euint16": [ - { "inputs": [1, 13], "output": "13" }, - { "inputs": [2, 3], "output": "6" }, - { "inputs": [3, 3], "output": "9" }, - { "inputs": [3, 2], "output": "6" } + { "inputs": ["1", "12"], "output": "12" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_euint4_euint32": [ - { "inputs": [1, 15], "output": "15" }, - { "inputs": [2, 3], "output": "6" }, - { "inputs": [3, 3], "output": "9" }, - { "inputs": [3, 2], "output": "6" } + { "inputs": ["1", "2"], "output": "2" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_euint4_euint64": [ - { "inputs": [1, 15], "output": "15" }, - { "inputs": [2, 3], "output": "6" }, - { "inputs": [3, 3], "output": "9" }, - { "inputs": [3, 2], "output": "6" } + { "inputs": ["1", "13"], "output": "13" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_euint8_euint4": [ - { "inputs": [8, 1], "output": "8" }, - { "inputs": [2, 3], "output": "6" }, - { "inputs": [3, 3], "output": "9" }, - { "inputs": [3, 2], "output": "6" } + { "inputs": ["2", "5"], "output": "10" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_uint8_euint4": [ - { "inputs": [1, 3], "output": "3" }, - { "inputs": [2, 3], "output": "6" }, - { "inputs": [3, 3], "output": "9" }, - { "inputs": [3, 2], "output": "6" } + { "inputs": ["2", "5"], "output": "10" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_euint8_euint8": [ - { "inputs": [3, 69], "output": "207" }, - { "inputs": [4, 8], "output": "32" }, - { "inputs": [8, 8], "output": "64" }, - { "inputs": [8, 4], "output": "32" } + { "inputs": ["2", "2"], "output": "4" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint8_uint8": [ - { "inputs": [3, 50], "output": "150" }, - { "inputs": [4, 8], "output": "32" }, - { "inputs": [8, 8], "output": "64" }, - { "inputs": [8, 4], "output": "32" } + { "inputs": ["2", "2"], "output": "4" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_uint8_euint8": [ - { "inputs": [14, 6], "output": "84" }, - { "inputs": [4, 8], "output": "32" }, - { "inputs": [8, 8], "output": "64" }, - { "inputs": [8, 4], "output": "32" } + { "inputs": ["1", "2"], "output": "2" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint8_euint16": [ - { "inputs": [1, 235], "output": "235" }, - { "inputs": [14, 14], "output": "196" }, - { "inputs": [14, 14], "output": "196" }, - { "inputs": [14, 14], "output": "196" } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint8_euint32": [ - { "inputs": [1, 215], "output": "215" }, - { "inputs": [14, 14], "output": "196" }, - { "inputs": [14, 14], "output": "196" }, - { "inputs": [14, 14], "output": "196" } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint8_euint64": [ - { "inputs": [1, 223], "output": "223" }, - { "inputs": [14, 14], "output": "196" }, - { "inputs": [14, 14], "output": "196" }, - { "inputs": [14, 14], "output": "196" } + { "inputs": ["1", "140"], "output": "140" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint16_euint4": [ - { "inputs": [12, 1], "output": "12" }, - { "inputs": [2, 4], "output": "8" }, - { "inputs": [2, 2], "output": "4" }, - { "inputs": [4, 2], "output": "8" } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_euint16_euint8": [ - { "inputs": [207, 1], "output": "207" }, - { "inputs": [12, 14], "output": "168" }, - { "inputs": [14, 14], "output": "196" }, - { "inputs": [14, 12], "output": "168" } + { "inputs": ["1", "21"], "output": "21" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint16_euint16": [ - { "inputs": [103, 420], "output": "43260" }, - { "inputs": [206, 207], "output": "42642" }, - { "inputs": [207, 207], "output": "42849" }, - { "inputs": [207, 206], "output": "42642" } + { "inputs": ["1", "2"], "output": "2" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint16_uint16": [ - { "inputs": [207, 286], "output": "59202" }, - { "inputs": [206, 207], "output": "42642" }, - { "inputs": [207, 207], "output": "42849" }, - { "inputs": [207, 206], "output": "42642" } + { "inputs": ["1", "14"], "output": "14" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_uint16_euint16": [ - { "inputs": [419, 71], "output": "29749" }, - { "inputs": [206, 207], "output": "42642" }, - { "inputs": [207, 207], "output": "42849" }, - { "inputs": [207, 206], "output": "42642" } + { "inputs": ["2", "14"], "output": "28" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint16_euint32": [ - { "inputs": [3, 8498], "output": "25494" }, - { "inputs": [209, 209], "output": "43681" }, - { "inputs": [209, 209], "output": "43681" }, - { "inputs": [209, 209], "output": "43681" } + { "inputs": ["2", "1"], "output": "2" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint16_euint64": [ - { "inputs": [6, 6087], "output": "36522" }, - { "inputs": [209, 209], "output": "43681" }, - { "inputs": [209, 209], "output": "43681" }, - { "inputs": [209, 209], "output": "43681" } + { "inputs": ["2", "2601"], "output": "5202" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint32_euint4": [ - { "inputs": [9, 1], "output": "9" }, - { "inputs": [2, 4], "output": "8" }, - { "inputs": [2, 2], "output": "4" }, - { "inputs": [4, 2], "output": "8" } + { "inputs": ["1", "2"], "output": "2" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_euint32_euint8": [ - { "inputs": [146, 1], "output": "146" }, - { "inputs": [12, 12], "output": "144" }, - { "inputs": [12, 12], "output": "144" }, - { "inputs": [12, 12], "output": "144" } + { "inputs": ["1", "3"], "output": "3" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint32_euint16": [ - { "inputs": [9347, 3], "output": "28041" }, - { "inputs": [234, 234], "output": "54756" }, - { "inputs": [234, 234], "output": "54756" }, - { "inputs": [234, 234], "output": "54756" } + { "inputs": ["1", "4"], "output": "4" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint32_euint32": [ - { "inputs": [149553, 18251], "output": "2729491803" }, - { "inputs": [36502, 36502], "output": "1332396004" }, - { "inputs": [36502, 36502], "output": "1332396004" }, - { "inputs": [36502, 36502], "output": "1332396004" } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint32_uint32": [ - { "inputs": [37388, 46853], "output": "1751739964" }, - { "inputs": [36502, 36502], "output": "1332396004" }, - { "inputs": [36502, 36502], "output": "1332396004" }, - { "inputs": [36502, 36502], "output": "1332396004" } + { "inputs": ["1", "4"], "output": "4" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_uint32_euint32": [ - { "inputs": [64389, 46853], "output": "3016817817" }, - { "inputs": [36502, 36502], "output": "1332396004" }, - { "inputs": [36502, 36502], "output": "1332396004" }, - { "inputs": [36502, 36502], "output": "1332396004" } + { "inputs": ["1", "4"], "output": "4" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint32_euint64": [ - { "inputs": [64389, 42894], "output": "2761901766" }, - { "inputs": [42894, 42894], "output": "1839895236" }, - { "inputs": [42894, 42894], "output": "1839895236" }, - { "inputs": [42894, 42894], "output": "1839895236" } + { "inputs": ["1", "2410"], "output": "2410" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint64_euint4": [ - { "inputs": [10, 1], "output": "10" }, - { "inputs": [2, 4], "output": "8" }, - { "inputs": [2, 2], "output": "4" }, - { "inputs": [4, 2], "output": "8" } + { "inputs": ["15", "1"], "output": "15" }, + { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["5", "3"], "output": "15" } ], "mul_euint64_euint8": [ - { "inputs": [175, 1], "output": "175" }, - { "inputs": [10, 10], "output": "100" }, - { "inputs": [10, 10], "output": "100" }, - { "inputs": [10, 10], "output": "100" } + { "inputs": ["109", "2"], "output": "218" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint64_euint16": [ - { "inputs": [11257, 5], "output": "56285" }, - { "inputs": [165, 165], "output": "27225" }, - { "inputs": [165, 165], "output": "27225" }, - { "inputs": [165, 165], "output": "27225" } + { "inputs": ["3449", "2"], "output": "6898" }, + { "inputs": ["4", "8"], "output": "32" }, + { "inputs": ["8", "8"], "output": "64" }, + { "inputs": ["8", "4"], "output": "32" } ], "mul_euint64_euint32": [ - { "inputs": [45030, 88250], "output": "3973897500" }, - { "inputs": [45030, 45030], "output": "2027700900" }, - { "inputs": [45030, 45030], "output": "2027700900" }, - { "inputs": [45030, 45030], "output": "2027700900" } + { "inputs": ["3449", "9"], "output": "31041" }, + { "inputs": ["5", "9"], "output": "45" }, + { "inputs": ["9", "9"], "output": "81" }, + { "inputs": ["9", "5"], "output": "45" } ], "mul_euint64_euint64": [ - { "inputs": [92221761, 267518717], "output": "24671047182200637" }, - { "inputs": [92221757, 92221761], "output": "8504852833054077" }, - { "inputs": [92221761, 92221761], "output": "8504853201941121" }, - { "inputs": [92221761, 92221757], "output": "8504852833054077" } + { "inputs": ["3449", "2396"], "output": "8263804" }, + { "inputs": ["2392", "2396"], "output": "5731232" }, + { "inputs": ["2396", "2396"], "output": "5740816" }, + { "inputs": ["2396", "2392"], "output": "5731232" } ], "mul_euint64_uint64": [ - { "inputs": [92221761, 195753020], "output": "18052688225468220" }, - { "inputs": [92221757, 92221761], "output": "8504852833054077" }, - { "inputs": [92221761, 92221761], "output": "8504853201941121" }, - { "inputs": [92221761, 92221757], "output": "8504852833054077" } + { "inputs": ["3449", "4919"], "output": "16965631" }, + { "inputs": ["2392", "2396"], "output": "5731232" }, + { "inputs": ["2396", "2396"], "output": "5740816" }, + { "inputs": ["2396", "2392"], "output": "5731232" } ], "mul_uint64_euint64": [ - { "inputs": [213768336, 195753020], "output": "41845797352374720" }, - { "inputs": [92221757, 92221761], "output": "8504852833054077" }, - { "inputs": [92221761, 92221761], "output": "8504853201941121" }, - { "inputs": [92221761, 92221757], "output": "8504852833054077" } + { "inputs": ["2383", "4919"], "output": "11721977" }, + { "inputs": ["2392", "2396"], "output": "5731232" }, + { "inputs": ["2396", "2396"], "output": "5740816" }, + { "inputs": ["2396", "2392"], "output": "5731232" } ], "div_euint4_uint8": [ - { "inputs": [11, 8], "output": 1 }, - { "inputs": [7, 11], "output": 0 }, - { "inputs": [11, 11], "output": 1 }, - { "inputs": [11, 7], "output": 1 } + { "inputs": ["1", "2"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "1" }, + { "inputs": ["8", "4"], "output": "2" } ], "div_euint8_uint8": [ - { "inputs": [192, 181], "output": 1 }, - { "inputs": [39, 43], "output": 0 }, - { "inputs": [43, 43], "output": 1 }, - { "inputs": [43, 39], "output": 1 } + { "inputs": ["1", "7"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "1" }, + { "inputs": ["8", "4"], "output": "2" } ], "div_euint16_uint16": [ - { "inputs": [21163, 49228], "output": 0 }, - { "inputs": [21159, 21163], "output": 0 }, - { "inputs": [21163, 21163], "output": 1 }, - { "inputs": [21163, 21159], "output": 1 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "1" }, + { "inputs": ["8", "4"], "output": "2" } ], "div_euint32_uint32": [ - { "inputs": [4617026, 124132502], "output": 0 }, - { "inputs": [4617022, 4617026], "output": 0 }, - { "inputs": [4617026, 4617026], "output": 1 }, - { "inputs": [4617026, 4617022], "output": 1 } + { "inputs": ["1", "12"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "1" }, + { "inputs": ["8", "4"], "output": "2" } ], "div_euint64_uint64": [ - { "inputs": [163939989, 238706096], "output": 0 }, - { "inputs": [98898938, 98898942], "output": 0 }, - { "inputs": [98898942, 98898942], "output": 1 }, - { "inputs": [98898942, 98898938], "output": 1 } + { "inputs": ["3692", "2899"], "output": "1" }, + { "inputs": ["3688", "3692"], "output": "0" }, + { "inputs": ["3692", "3692"], "output": "1" }, + { "inputs": ["3692", "3688"], "output": "1" } ], "rem_euint4_uint8": [ - { "inputs": [1, 12], "output": 1 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["15", "2"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "0" } ], "rem_euint8_uint8": [ - { "inputs": [221, 143], "output": 78 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["1", "1"], "output": "0" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "0" } ], "rem_euint16_uint16": [ - { "inputs": [44670, 10464], "output": 2814 }, - { "inputs": [44666, 44670], "output": 44666 }, - { "inputs": [44670, 44670], "output": 0 }, - { "inputs": [44670, 44666], "output": 4 } + { "inputs": ["1", "3"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "0" } ], "rem_euint32_uint32": [ - { "inputs": [48793720, 87597111], "output": 48793720 }, - { "inputs": [48793716, 48793720], "output": 48793716 }, - { "inputs": [48793720, 48793720], "output": 0 }, - { "inputs": [48793720, 48793716], "output": 4 } + { "inputs": ["1", "1"], "output": "0" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "0" } ], "rem_euint64_uint64": [ - { "inputs": [81522034, 93915045], "output": 81522034 }, - { "inputs": [81522030, 81522034], "output": 81522030 }, - { "inputs": [81522034, 81522034], "output": 0 }, - { "inputs": [81522034, 81522030], "output": 4 } + { "inputs": ["2467", "230368"], "output": "2467" }, + { "inputs": ["2168", "2172"], "output": "2168" }, + { "inputs": ["2172", "2172"], "output": "0" }, + { "inputs": ["2172", "2168"], "output": "4" } ], "le_euint4_euint4": [ - { "inputs": [10, 10], "output": true }, - { "inputs": [6, 10], "output": true }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": ["1", "3"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint4_euint8": [ - { "inputs": [10, 82], "output": true }, - { "inputs": [6, 10], "output": true }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint4_uint8": [ - { "inputs": [10, 7], "output": false }, - { "inputs": [6, 10], "output": true }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": ["1", "7"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint4_euint16": [ - { "inputs": [10, 44221], "output": true }, - { "inputs": [6, 10], "output": true }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": ["1", "17"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint4_euint32": [ - { "inputs": [10, 3145467], "output": true }, - { "inputs": [6, 10], "output": true }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint4_euint64": [ - { "inputs": [10, 167407557], "output": true }, - { "inputs": [6, 10], "output": true }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": ["1", "10377"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint8_euint4": [ - { "inputs": [207, 11], "output": false }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": ["1", "2"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_uint8_euint4": [ - { "inputs": [10, 11], "output": true }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": ["1", "2"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint8_euint8": [ - { "inputs": [10, 238], "output": true }, - { "inputs": [6, 10], "output": true }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": ["1", "4"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint8_uint8": [ - { "inputs": [10, 232], "output": true }, - { "inputs": [6, 10], "output": true }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": ["1", "2"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_uint8_euint8": [ - { "inputs": [96, 232], "output": true }, - { "inputs": [6, 10], "output": true }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": false } + { "inputs": ["15", "2"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint8_euint16": [ - { "inputs": [96, 42413], "output": true }, - { "inputs": [92, 96], "output": true }, - { "inputs": [96, 96], "output": true }, - { "inputs": [96, 92], "output": false } + { "inputs": ["15", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint8_euint32": [ - { "inputs": [96, 74740688], "output": true }, - { "inputs": [92, 96], "output": true }, - { "inputs": [96, 96], "output": true }, - { "inputs": [96, 92], "output": false } + { "inputs": ["15", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint8_euint64": [ - { "inputs": [96, 34093048], "output": true }, - { "inputs": [92, 96], "output": true }, - { "inputs": [96, 96], "output": true }, - { "inputs": [96, 92], "output": false } + { "inputs": ["15", "3500"], "output": true }, + { "inputs": ["11", "15"], "output": true }, + { "inputs": ["15", "15"], "output": true }, + { "inputs": ["15", "11"], "output": false } ], "le_euint16_euint4": [ - { "inputs": [8195, 5], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["23", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint16_euint8": [ - { "inputs": [8195, 93], "output": false }, - { "inputs": [89, 93], "output": true }, - { "inputs": [93, 93], "output": true }, - { "inputs": [93, 89], "output": false } + { "inputs": ["23", "2"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint16_euint16": [ - { "inputs": [8195, 18657], "output": true }, - { "inputs": [8191, 8195], "output": true }, - { "inputs": [8195, 8195], "output": true }, - { "inputs": [8195, 8191], "output": false } + { "inputs": ["23", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint16_uint16": [ - { "inputs": [8195, 15612], "output": true }, - { "inputs": [8191, 8195], "output": true }, - { "inputs": [8195, 8195], "output": true }, - { "inputs": [8195, 8191], "output": false } + { "inputs": ["23", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_uint16_euint16": [ - { "inputs": [61583, 15612], "output": false }, - { "inputs": [8191, 8195], "output": true }, - { "inputs": [8195, 8195], "output": true }, - { "inputs": [8195, 8191], "output": false } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint16_euint32": [ - { "inputs": [61583, 12489816], "output": true }, - { "inputs": [61579, 61583], "output": true }, - { "inputs": [61583, 61583], "output": true }, - { "inputs": [61583, 61579], "output": false } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint16_euint64": [ - { "inputs": [61583, 200076583], "output": true }, - { "inputs": [61579, 61583], "output": true }, - { "inputs": [61583, 61583], "output": true }, - { "inputs": [61583, 61579], "output": false } + { "inputs": ["1", "7578"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint32_euint4": [ - { "inputs": [253532839, 12], "output": false }, - { "inputs": [8, 12], "output": true }, - { "inputs": [12, 12], "output": true }, - { "inputs": [12, 8], "output": false } + { "inputs": ["25", "15"], "output": false }, + { "inputs": ["11", "15"], "output": true }, + { "inputs": ["15", "15"], "output": true }, + { "inputs": ["15", "11"], "output": false } ], "le_euint32_euint8": [ - { "inputs": [253532839, 184], "output": false }, - { "inputs": [180, 184], "output": true }, - { "inputs": [184, 184], "output": true }, - { "inputs": [184, 180], "output": false } + { "inputs": ["25", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint32_euint16": [ - { "inputs": [253532839, 30629], "output": false }, - { "inputs": [30625, 30629], "output": true }, - { "inputs": [30629, 30629], "output": true }, - { "inputs": [30629, 30625], "output": false } + { "inputs": ["25", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint32_euint32": [ - { "inputs": [253532839, 259475014], "output": true }, - { "inputs": [253532835, 253532839], "output": true }, - { "inputs": [253532839, 253532839], "output": true }, - { "inputs": [253532839, 253532835], "output": false } + { "inputs": ["25", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint32_uint32": [ - { "inputs": [253532839, 235451435], "output": false }, - { "inputs": [253532835, 253532839], "output": true }, - { "inputs": [253532839, 253532839], "output": true }, - { "inputs": [253532839, 253532835], "output": false } + { "inputs": ["25", "3"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_uint32_euint32": [ - { "inputs": [106864717, 235451435], "output": true }, - { "inputs": [253532835, 253532839], "output": true }, - { "inputs": [253532839, 253532839], "output": true }, - { "inputs": [253532839, 253532835], "output": false } + { "inputs": ["2", "3"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint32_euint64": [ - { "inputs": [106864717, 136047136], "output": true }, - { "inputs": [106864713, 106864717], "output": true }, - { "inputs": [106864717, 106864717], "output": true }, - { "inputs": [106864717, 106864713], "output": false } + { "inputs": ["2", "2235"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint64_euint4": [ - { "inputs": [217701220, 1], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["4742", "7"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint64_euint8": [ - { "inputs": [217701220, 215], "output": false }, - { "inputs": [211, 215], "output": true }, - { "inputs": [215, 215], "output": true }, - { "inputs": [215, 211], "output": false } + { "inputs": ["4742", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint64_euint16": [ - { "inputs": [217701220, 49721], "output": false }, - { "inputs": [49717, 49721], "output": true }, - { "inputs": [49721, 49721], "output": true }, - { "inputs": [49721, 49717], "output": false } + { "inputs": ["4742", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "le_euint64_euint32": [ - { "inputs": [217701220, 133414572], "output": false }, - { "inputs": [133414568, 133414572], "output": true }, - { "inputs": [133414572, 133414572], "output": true }, - { "inputs": [133414572, 133414568], "output": false } + { "inputs": ["4742", "21"], "output": false }, + { "inputs": ["17", "21"], "output": true }, + { "inputs": ["21", "21"], "output": true }, + { "inputs": ["21", "17"], "output": false } ], "le_euint64_euint64": [ - { "inputs": [217701220, 184213537], "output": false }, - { "inputs": [184213533, 184213537], "output": true }, - { "inputs": [184213537, 184213537], "output": true }, - { "inputs": [184213537, 184213533], "output": false } + { "inputs": ["4742", "3626"], "output": false }, + { "inputs": ["3622", "3626"], "output": true }, + { "inputs": ["3626", "3626"], "output": true }, + { "inputs": ["3626", "3622"], "output": false } ], "le_euint64_uint64": [ - { "inputs": [217701220, 169995885], "output": false }, - { "inputs": [184213533, 184213537], "output": true }, - { "inputs": [184213537, 184213537], "output": true }, - { "inputs": [184213537, 184213533], "output": false } + { "inputs": ["4742", "42694"], "output": true }, + { "inputs": ["3622", "3626"], "output": true }, + { "inputs": ["3626", "3626"], "output": true }, + { "inputs": ["3626", "3622"], "output": false } ], "le_uint64_euint64": [ - { "inputs": [133029453, 169995885], "output": true }, - { "inputs": [184213533, 184213537], "output": true }, - { "inputs": [184213537, 184213537], "output": true }, - { "inputs": [184213537, 184213533], "output": false } + { "inputs": ["2150", "42694"], "output": true }, + { "inputs": ["3622", "3626"], "output": true }, + { "inputs": ["3626", "3626"], "output": true }, + { "inputs": ["3626", "3622"], "output": false } ], "lt_euint4_euint4": [ - { "inputs": [4, 1], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["2", "5"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint4_euint8": [ - { "inputs": [4, 146], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["2", "255"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint4_uint8": [ - { "inputs": [4, 14], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["2", "3"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint4_euint16": [ - { "inputs": [4, 61168], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["2", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint4_euint32": [ - { "inputs": [4, 187774996], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["2", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint4_euint64": [ - { "inputs": [4, 169419678], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["2", "8139"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint8_euint4": [ - { "inputs": [94, 14], "output": false }, - { "inputs": [10, 14], "output": true }, - { "inputs": [14, 14], "output": false }, - { "inputs": [14, 10], "output": false } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_uint8_euint4": [ - { "inputs": [6, 14], "output": true }, - { "inputs": [10, 14], "output": true }, - { "inputs": [14, 14], "output": false }, - { "inputs": [14, 10], "output": false } + { "inputs": ["15", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint8_euint8": [ - { "inputs": [6, 240], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["15", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint8_uint8": [ - { "inputs": [6, 39], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["15", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_uint8_euint8": [ - { "inputs": [198, 39], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint8_euint16": [ - { "inputs": [198, 55658], "output": true }, - { "inputs": [194, 198], "output": true }, - { "inputs": [198, 198], "output": false }, - { "inputs": [198, 194], "output": false } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint8_euint32": [ - { "inputs": [198, 20210081], "output": true }, - { "inputs": [194, 198], "output": true }, - { "inputs": [198, 198], "output": false }, - { "inputs": [198, 194], "output": false } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint8_euint64": [ - { "inputs": [198, 171810732], "output": true }, - { "inputs": [194, 198], "output": true }, - { "inputs": [198, 198], "output": false }, - { "inputs": [198, 194], "output": false } + { "inputs": ["1", "2371"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint16_euint4": [ - { "inputs": [59556, 1], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint16_euint8": [ - { "inputs": [59556, 229], "output": false }, - { "inputs": [225, 229], "output": true }, - { "inputs": [229, 229], "output": false }, - { "inputs": [229, 225], "output": false } + { "inputs": ["1", "5"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint16_euint16": [ - { "inputs": [59556, 39223], "output": false }, - { "inputs": [39219, 39223], "output": true }, - { "inputs": [39223, 39223], "output": false }, - { "inputs": [39223, 39219], "output": false } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint16_uint16": [ - { "inputs": [59556, 9412], "output": false }, - { "inputs": [39219, 39223], "output": true }, - { "inputs": [39223, 39223], "output": false }, - { "inputs": [39223, 39219], "output": false } + { "inputs": ["1", "8"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_uint16_euint16": [ - { "inputs": [30406, 9412], "output": false }, - { "inputs": [39219, 39223], "output": true }, - { "inputs": [39223, 39223], "output": false }, - { "inputs": [39223, 39219], "output": false } + { "inputs": ["2", "8"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint16_euint32": [ - { "inputs": [30406, 222597839], "output": true }, - { "inputs": [30402, 30406], "output": true }, - { "inputs": [30406, 30406], "output": false }, - { "inputs": [30406, 30402], "output": false } + { "inputs": ["2", "4"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint16_euint64": [ - { "inputs": [30406, 141165411], "output": true }, - { "inputs": [30402, 30406], "output": true }, - { "inputs": [30406, 30406], "output": false }, - { "inputs": [30406, 30402], "output": false } + { "inputs": ["2", "2714"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint32_euint4": [ - { "inputs": [77180163, 11], "output": false }, - { "inputs": [7, 11], "output": true }, - { "inputs": [11, 11], "output": false }, - { "inputs": [11, 7], "output": false } + { "inputs": ["2", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint32_euint8": [ - { "inputs": [77180163, 96], "output": false }, - { "inputs": [92, 96], "output": true }, - { "inputs": [96, 96], "output": false }, - { "inputs": [96, 92], "output": false } + { "inputs": ["2", "4"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint32_euint16": [ - { "inputs": [77180163, 31631], "output": false }, - { "inputs": [31627, 31631], "output": true }, - { "inputs": [31631, 31631], "output": false }, - { "inputs": [31631, 31627], "output": false } + { "inputs": ["2", "6"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint32_euint32": [ - { "inputs": [77180163, 25179168], "output": false }, - { "inputs": [25179164, 25179168], "output": true }, - { "inputs": [25179168, 25179168], "output": false }, - { "inputs": [25179168, 25179164], "output": false } + { "inputs": ["2", "25"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint32_uint32": [ - { "inputs": [77180163, 83634693], "output": true }, - { "inputs": [25179164, 25179168], "output": true }, - { "inputs": [25179168, 25179168], "output": false }, - { "inputs": [25179168, 25179164], "output": false } + { "inputs": ["2", "2"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_uint32_euint32": [ - { "inputs": [68403682, 83634693], "output": true }, - { "inputs": [25179164, 25179168], "output": true }, - { "inputs": [25179168, 25179168], "output": false }, - { "inputs": [25179168, 25179164], "output": false } + { "inputs": ["4", "2"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint32_euint64": [ - { "inputs": [68403682, 75018920], "output": true }, - { "inputs": [68403678, 68403682], "output": true }, - { "inputs": [68403682, 68403682], "output": false }, - { "inputs": [68403682, 68403678], "output": false } + { "inputs": ["4", "5352"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint64_euint4": [ - { "inputs": [264374974, 2], "output": false }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": false } + { "inputs": ["16329", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint64_euint8": [ - { "inputs": [264374974, 197], "output": false }, - { "inputs": [193, 197], "output": true }, - { "inputs": [197, 197], "output": false }, - { "inputs": [197, 193], "output": false } + { "inputs": ["16329", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint64_euint16": [ - { "inputs": [264374974, 23947], "output": false }, - { "inputs": [23943, 23947], "output": true }, - { "inputs": [23947, 23947], "output": false }, - { "inputs": [23947, 23943], "output": false } + { "inputs": ["16329", "3"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint64_euint32": [ - { "inputs": [264374974, 253580652], "output": false }, - { "inputs": [253580648, 253580652], "output": true }, - { "inputs": [253580652, 253580652], "output": false }, - { "inputs": [253580652, 253580648], "output": false } + { "inputs": ["16329", "2"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": false } ], "lt_euint64_euint64": [ - { "inputs": [264374974, 138721892], "output": false }, - { "inputs": [138721888, 138721892], "output": true }, - { "inputs": [138721892, 138721892], "output": false }, - { "inputs": [138721892, 138721888], "output": false } + { "inputs": ["16329", "2082"], "output": false }, + { "inputs": ["2078", "2082"], "output": true }, + { "inputs": ["2082", "2082"], "output": false }, + { "inputs": ["2082", "2078"], "output": false } ], "lt_euint64_uint64": [ - { "inputs": [264374974, 177602426], "output": false }, - { "inputs": [138721888, 138721892], "output": true }, - { "inputs": [138721892, 138721892], "output": false }, - { "inputs": [138721892, 138721888], "output": false } + { "inputs": ["16329", "2853"], "output": false }, + { "inputs": ["2078", "2082"], "output": true }, + { "inputs": ["2082", "2082"], "output": false }, + { "inputs": ["2082", "2078"], "output": false } ], "lt_uint64_euint64": [ - { "inputs": [220331487, 177602426], "output": false }, - { "inputs": [138721888, 138721892], "output": true }, - { "inputs": [138721892, 138721892], "output": false }, - { "inputs": [138721892, 138721888], "output": false } + { "inputs": ["27593", "2853"], "output": false }, + { "inputs": ["2078", "2082"], "output": true }, + { "inputs": ["2082", "2082"], "output": false }, + { "inputs": ["2082", "2078"], "output": false } ], "ge_euint4_euint4": [ - { "inputs": [9, 4], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": ["2", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint4_euint8": [ - { "inputs": [9, 39], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": true } + { "inputs": ["2", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint4_uint8": [ - { "inputs": [9, 2], "output": true }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": true } + { "inputs": ["2", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint4_euint16": [ - { "inputs": [9, 12663], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": true } + { "inputs": ["2", "10"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint4_euint32": [ - { "inputs": [9, 36890948], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": true } + { "inputs": ["2", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint4_euint64": [ - { "inputs": [9, 16491235], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": true }, - { "inputs": [9, 5], "output": true } + { "inputs": ["2", "3677"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint8_euint4": [ - { "inputs": [130, 1], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": ["2", "15"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_uint8_euint4": [ - { "inputs": [8, 1], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": ["2", "15"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint8_euint8": [ - { "inputs": [8, 191], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": ["2", "2"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint8_uint8": [ - { "inputs": [8, 42], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": ["2", "11"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_uint8_euint8": [ - { "inputs": [1, 42], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": ["1", "11"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint8_euint16": [ - { "inputs": [1, 54905], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": ["1", "26"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint8_euint32": [ - { "inputs": [1, 66874588], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint8_euint64": [ - { "inputs": [1, 155404527], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": ["1", "7637"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint16_euint4": [ - { "inputs": [51421, 10], "output": true }, - { "inputs": [6, 10], "output": false }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": true } + { "inputs": ["1", "7"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint16_euint8": [ - { "inputs": [51421, 242], "output": true }, - { "inputs": [238, 242], "output": false }, - { "inputs": [242, 242], "output": true }, - { "inputs": [242, 238], "output": true } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint16_euint16": [ - { "inputs": [51421, 31489], "output": true }, - { "inputs": [31485, 31489], "output": false }, - { "inputs": [31489, 31489], "output": true }, - { "inputs": [31489, 31485], "output": true } + { "inputs": ["1", "2"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint16_uint16": [ - { "inputs": [51421, 1063], "output": true }, - { "inputs": [31485, 31489], "output": false }, - { "inputs": [31489, 31489], "output": true }, - { "inputs": [31489, 31485], "output": true } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_uint16_euint16": [ - { "inputs": [44552, 1063], "output": true }, - { "inputs": [31485, 31489], "output": false }, - { "inputs": [31489, 31489], "output": true }, - { "inputs": [31489, 31485], "output": true } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint16_euint32": [ - { "inputs": [44552, 89317183], "output": false }, - { "inputs": [44548, 44552], "output": false }, - { "inputs": [44552, 44552], "output": true }, - { "inputs": [44552, 44548], "output": true } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint16_euint64": [ - { "inputs": [44552, 221643140], "output": false }, - { "inputs": [44548, 44552], "output": false }, - { "inputs": [44552, 44552], "output": true }, - { "inputs": [44552, 44548], "output": true } + { "inputs": ["1", "3917"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint32_euint4": [ - { "inputs": [55218710, 2], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": true } + { "inputs": ["1", "15"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint32_euint8": [ - { "inputs": [55218710, 19], "output": true }, - { "inputs": [15, 19], "output": false }, - { "inputs": [19, 19], "output": true }, - { "inputs": [19, 15], "output": true } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint32_euint16": [ - { "inputs": [55218710, 21355], "output": true }, - { "inputs": [21351, 21355], "output": false }, - { "inputs": [21355, 21355], "output": true }, - { "inputs": [21355, 21351], "output": true } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint32_euint32": [ - { "inputs": [55218710, 165530810], "output": false }, - { "inputs": [55218706, 55218710], "output": false }, - { "inputs": [55218710, 55218710], "output": true }, - { "inputs": [55218710, 55218706], "output": true } + { "inputs": ["1", "22"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint32_uint32": [ - { "inputs": [55218710, 91594514], "output": false }, - { "inputs": [55218706, 55218710], "output": false }, - { "inputs": [55218710, 55218710], "output": true }, - { "inputs": [55218710, 55218706], "output": true } + { "inputs": ["1", "2"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_uint32_euint32": [ - { "inputs": [252617126, 91594514], "output": true }, - { "inputs": [55218706, 55218710], "output": false }, - { "inputs": [55218710, 55218710], "output": true }, - { "inputs": [55218710, 55218706], "output": true } + { "inputs": ["2", "2"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint32_euint64": [ - { "inputs": [252617126, 78317021], "output": true }, - { "inputs": [78317017, 78317021], "output": false }, - { "inputs": [78317021, 78317021], "output": true }, - { "inputs": [78317021, 78317017], "output": true } + { "inputs": ["2", "2385"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint64_euint4": [ - { "inputs": [116051290, 10], "output": true }, - { "inputs": [6, 10], "output": false }, - { "inputs": [10, 10], "output": true }, - { "inputs": [10, 6], "output": true } + { "inputs": ["3383", "2"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint64_euint8": [ - { "inputs": [116051290, 252], "output": true }, - { "inputs": [248, 252], "output": false }, - { "inputs": [252, 252], "output": true }, - { "inputs": [252, 248], "output": true } + { "inputs": ["3383", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint64_euint16": [ - { "inputs": [116051290, 2338], "output": true }, - { "inputs": [2334, 2338], "output": false }, - { "inputs": [2338, 2338], "output": true }, - { "inputs": [2338, 2334], "output": true } + { "inputs": ["3383", "2"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint64_euint32": [ - { "inputs": [116051290, 95719061], "output": true }, - { "inputs": [95719057, 95719061], "output": false }, - { "inputs": [95719061, 95719061], "output": true }, - { "inputs": [95719061, 95719057], "output": true } + { "inputs": ["3383", "8"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": true } ], "ge_euint64_euint64": [ - { "inputs": [116051290, 122147524], "output": false }, - { "inputs": [116051286, 116051290], "output": false }, - { "inputs": [116051290, 116051290], "output": true }, - { "inputs": [116051290, 116051286], "output": true } + { "inputs": ["3383", "7363"], "output": false }, + { "inputs": ["3379", "3383"], "output": false }, + { "inputs": ["3383", "3383"], "output": true }, + { "inputs": ["3383", "3379"], "output": true } ], "ge_euint64_uint64": [ - { "inputs": [116051290, 135280853], "output": false }, - { "inputs": [116051286, 116051290], "output": false }, - { "inputs": [116051290, 116051290], "output": true }, - { "inputs": [116051290, 116051286], "output": true } + { "inputs": ["3383", "3479"], "output": false }, + { "inputs": ["3379", "3383"], "output": false }, + { "inputs": ["3383", "3383"], "output": true }, + { "inputs": ["3383", "3379"], "output": true } ], "ge_uint64_euint64": [ - { "inputs": [182502154, 135280853], "output": true }, - { "inputs": [116051286, 116051290], "output": false }, - { "inputs": [116051290, 116051290], "output": true }, - { "inputs": [116051290, 116051286], "output": true } + { "inputs": ["27028", "3479"], "output": true }, + { "inputs": ["3379", "3383"], "output": false }, + { "inputs": ["3383", "3383"], "output": true }, + { "inputs": ["3383", "3379"], "output": true } ], "gt_euint4_euint4": [ - { "inputs": [9, 9], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": false }, - { "inputs": [9, 5], "output": true } + { "inputs": ["3", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint4_euint8": [ - { "inputs": [9, 247], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": false }, - { "inputs": [9, 5], "output": true } + { "inputs": ["3", "4"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint4_uint8": [ - { "inputs": [9, 9], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": false }, - { "inputs": [9, 5], "output": true } + { "inputs": ["3", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint4_euint16": [ - { "inputs": [9, 35570], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": false }, - { "inputs": [9, 5], "output": true } + { "inputs": ["3", "2"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint4_euint32": [ - { "inputs": [9, 89558247], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": false }, - { "inputs": [9, 5], "output": true } + { "inputs": ["3", "4"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint4_euint64": [ - { "inputs": [9, 53485181], "output": false }, - { "inputs": [5, 9], "output": false }, - { "inputs": [9, 9], "output": false }, - { "inputs": [9, 5], "output": true } + { "inputs": ["3", "6288"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint8_euint4": [ - { "inputs": [130, 1], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["1", "15"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_uint8_euint4": [ - { "inputs": [1, 1], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["5", "15"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint8_euint8": [ - { "inputs": [1, 180], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["5", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint8_uint8": [ - { "inputs": [1, 53], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["5", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_uint8_euint8": [ - { "inputs": [102, 53], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["2", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint8_euint16": [ - { "inputs": [102, 32183], "output": false }, - { "inputs": [98, 102], "output": false }, - { "inputs": [102, 102], "output": false }, - { "inputs": [102, 98], "output": true } + { "inputs": ["2", "2"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint8_euint32": [ - { "inputs": [102, 173287703], "output": false }, - { "inputs": [98, 102], "output": false }, - { "inputs": [102, 102], "output": false }, - { "inputs": [102, 98], "output": true } + { "inputs": ["2", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint8_euint64": [ - { "inputs": [102, 257990052], "output": false }, - { "inputs": [98, 102], "output": false }, - { "inputs": [102, 102], "output": false }, - { "inputs": [102, 98], "output": true } + { "inputs": ["2", "2952"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint16_euint4": [ - { "inputs": [44465, 6], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint16_euint8": [ - { "inputs": [44465, 202], "output": true }, - { "inputs": [198, 202], "output": false }, - { "inputs": [202, 202], "output": false }, - { "inputs": [202, 198], "output": true } + { "inputs": ["1", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint16_euint16": [ - { "inputs": [44465, 46930], "output": false }, - { "inputs": [44461, 44465], "output": false }, - { "inputs": [44465, 44465], "output": false }, - { "inputs": [44465, 44461], "output": true } + { "inputs": ["1", "2"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint16_uint16": [ - { "inputs": [44465, 56813], "output": false }, - { "inputs": [44461, 44465], "output": false }, - { "inputs": [44465, 44465], "output": false }, - { "inputs": [44465, 44461], "output": true } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_uint16_euint16": [ - { "inputs": [40972, 56813], "output": false }, - { "inputs": [44461, 44465], "output": false }, - { "inputs": [44465, 44465], "output": false }, - { "inputs": [44465, 44461], "output": true } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint16_euint32": [ - { "inputs": [40972, 46817193], "output": false }, - { "inputs": [40968, 40972], "output": false }, - { "inputs": [40972, 40972], "output": false }, - { "inputs": [40972, 40968], "output": true } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint16_euint64": [ - { "inputs": [40972, 29158802], "output": false }, - { "inputs": [40968, 40972], "output": false }, - { "inputs": [40972, 40972], "output": false }, - { "inputs": [40972, 40968], "output": true } + { "inputs": ["1", "23898"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint32_euint4": [ - { "inputs": [44051971, 14], "output": true }, - { "inputs": [10, 14], "output": false }, - { "inputs": [14, 14], "output": false }, - { "inputs": [14, 10], "output": true } + { "inputs": ["1", "15"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint32_euint8": [ - { "inputs": [44051971, 62], "output": true }, - { "inputs": [58, 62], "output": false }, - { "inputs": [62, 62], "output": false }, - { "inputs": [62, 58], "output": true } + { "inputs": ["1", "7"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint32_euint16": [ - { "inputs": [44051971, 62126], "output": true }, - { "inputs": [62122, 62126], "output": false }, - { "inputs": [62126, 62126], "output": false }, - { "inputs": [62126, 62122], "output": true } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint32_euint32": [ - { "inputs": [44051971, 234370209], "output": false }, - { "inputs": [44051967, 44051971], "output": false }, - { "inputs": [44051971, 44051971], "output": false }, - { "inputs": [44051971, 44051967], "output": true } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint32_uint32": [ - { "inputs": [44051971, 72656620], "output": false }, - { "inputs": [44051967, 44051971], "output": false }, - { "inputs": [44051971, 44051971], "output": false }, - { "inputs": [44051971, 44051967], "output": true } + { "inputs": ["1", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_uint32_euint32": [ - { "inputs": [66236212, 72656620], "output": false }, - { "inputs": [44051967, 44051971], "output": false }, - { "inputs": [44051971, 44051971], "output": false }, - { "inputs": [44051971, 44051967], "output": true } + { "inputs": ["1", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint32_euint64": [ - { "inputs": [66236212, 254779952], "output": false }, - { "inputs": [66236208, 66236212], "output": false }, - { "inputs": [66236212, 66236212], "output": false }, - { "inputs": [66236212, 66236208], "output": true } + { "inputs": ["1", "3010"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint64_euint4": [ - { "inputs": [208318592, 6], "output": true }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["2050", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint64_euint8": [ - { "inputs": [208318592, 189], "output": true }, - { "inputs": [185, 189], "output": false }, - { "inputs": [189, 189], "output": false }, - { "inputs": [189, 185], "output": true } + { "inputs": ["2050", "12"], "output": true }, + { "inputs": ["8", "12"], "output": false }, + { "inputs": ["12", "12"], "output": false }, + { "inputs": ["12", "8"], "output": true } ], "gt_euint64_euint16": [ - { "inputs": [208318592, 48949], "output": true }, - { "inputs": [48945, 48949], "output": false }, - { "inputs": [48949, 48949], "output": false }, - { "inputs": [48949, 48945], "output": true } + { "inputs": ["2050", "6"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint64_euint32": [ - { "inputs": [208318592, 245955324], "output": false }, - { "inputs": [208318588, 208318592], "output": false }, - { "inputs": [208318592, 208318592], "output": false }, - { "inputs": [208318592, 208318588], "output": true } + { "inputs": ["2050", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "gt_euint64_euint64": [ - { "inputs": [208318592, 117484228], "output": true }, - { "inputs": [117484224, 117484228], "output": false }, - { "inputs": [117484228, 117484228], "output": false }, - { "inputs": [117484228, 117484224], "output": true } + { "inputs": ["2050", "2503"], "output": false }, + { "inputs": ["2046", "2050"], "output": false }, + { "inputs": ["2050", "2050"], "output": false }, + { "inputs": ["2050", "2046"], "output": true } ], "gt_euint64_uint64": [ - { "inputs": [208318592, 117293406], "output": true }, - { "inputs": [117484224, 117484228], "output": false }, - { "inputs": [117484228, 117484228], "output": false }, - { "inputs": [117484228, 117484224], "output": true } + { "inputs": ["2050", "4117"], "output": false }, + { "inputs": ["2046", "2050"], "output": false }, + { "inputs": ["2050", "2050"], "output": false }, + { "inputs": ["2050", "2046"], "output": true } ], "gt_uint64_euint64": [ - { "inputs": [29790592, 117293406], "output": false }, - { "inputs": [117484224, 117484228], "output": false }, - { "inputs": [117484228, 117484228], "output": false }, - { "inputs": [117484228, 117484224], "output": true } + { "inputs": ["44963", "4117"], "output": true }, + { "inputs": ["2046", "2050"], "output": false }, + { "inputs": ["2050", "2050"], "output": false }, + { "inputs": ["2050", "2046"], "output": true } ], "eq_euint4_euint4": [ - { "inputs": [5, 2], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["15", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint4_euint8": [ - { "inputs": [5, 81], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["15", "5"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint4_uint8": [ - { "inputs": [5, 7], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["15", "15"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint4_euint16": [ - { "inputs": [5, 1690], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["15", "2"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint4_euint32": [ - { "inputs": [5, 67800295], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["15", "16"], "output": false }, + { "inputs": ["11", "15"], "output": false }, + { "inputs": ["15", "15"], "output": true }, + { "inputs": ["15", "11"], "output": false } ], "eq_euint4_euint64": [ - { "inputs": [5, 143961113], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["15", "191715"], "output": false }, + { "inputs": ["11", "15"], "output": false }, + { "inputs": ["15", "15"], "output": true }, + { "inputs": ["15", "11"], "output": false } ], "eq_euint8_euint4": [ - { "inputs": [152, 11], "output": false }, - { "inputs": [7, 11], "output": false }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": ["1", "2"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_uint8_euint4": [ - { "inputs": [6, 11], "output": false }, - { "inputs": [7, 11], "output": false }, - { "inputs": [11, 11], "output": true }, - { "inputs": [11, 7], "output": false } + { "inputs": ["1", "2"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint8_euint8": [ - { "inputs": [6, 177], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint8_uint8": [ - { "inputs": [6, 242], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_uint8_euint8": [ - { "inputs": [18, 242], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["5", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint8_euint16": [ - { "inputs": [18, 27181], "output": false }, - { "inputs": [14, 18], "output": false }, - { "inputs": [18, 18], "output": true }, - { "inputs": [18, 14], "output": false } + { "inputs": ["5", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint8_euint32": [ - { "inputs": [18, 186668088], "output": false }, - { "inputs": [14, 18], "output": false }, - { "inputs": [18, 18], "output": true }, - { "inputs": [18, 14], "output": false } + { "inputs": ["5", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint8_euint64": [ - { "inputs": [18, 130872852], "output": false }, - { "inputs": [14, 18], "output": false }, - { "inputs": [18, 18], "output": true }, - { "inputs": [18, 14], "output": false } + { "inputs": ["5", "5764"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint16_euint4": [ - { "inputs": [5463, 2], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["5", "7"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint16_euint8": [ - { "inputs": [5463, 69], "output": false }, - { "inputs": [65, 69], "output": false }, - { "inputs": [69, 69], "output": true }, - { "inputs": [69, 65], "output": false } + { "inputs": ["5", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint16_euint16": [ - { "inputs": [5463, 64736], "output": false }, - { "inputs": [5459, 5463], "output": false }, - { "inputs": [5463, 5463], "output": true }, - { "inputs": [5463, 5459], "output": false } + { "inputs": ["5", "6"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint16_uint16": [ - { "inputs": [5463, 19063], "output": false }, - { "inputs": [5459, 5463], "output": false }, - { "inputs": [5463, 5463], "output": true }, - { "inputs": [5463, 5459], "output": false } + { "inputs": ["5", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_uint16_euint16": [ - { "inputs": [47820, 19063], "output": false }, - { "inputs": [5459, 5463], "output": false }, - { "inputs": [5463, 5463], "output": true }, - { "inputs": [5463, 5459], "output": false } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint16_euint32": [ - { "inputs": [47820, 152613323], "output": false }, - { "inputs": [47816, 47820], "output": false }, - { "inputs": [47820, 47820], "output": true }, - { "inputs": [47820, 47816], "output": false } + { "inputs": ["1", "9"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint16_euint64": [ - { "inputs": [47820, 145445907], "output": false }, - { "inputs": [47816, 47820], "output": false }, - { "inputs": [47820, 47820], "output": true }, - { "inputs": [47820, 47816], "output": false } + { "inputs": ["1", "4154"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint32_euint4": [ - { "inputs": [60042820, 13], "output": false }, - { "inputs": [9, 13], "output": false }, - { "inputs": [13, 13], "output": true }, - { "inputs": [13, 9], "output": false } + { "inputs": ["1", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint32_euint8": [ - { "inputs": [60042820, 117], "output": false }, - { "inputs": [113, 117], "output": false }, - { "inputs": [117, 117], "output": true }, - { "inputs": [117, 113], "output": false } + { "inputs": ["1", "1"], "output": true }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint32_euint16": [ - { "inputs": [60042820, 3366], "output": false }, - { "inputs": [3362, 3366], "output": false }, - { "inputs": [3366, 3366], "output": true }, - { "inputs": [3366, 3362], "output": false } + { "inputs": ["1", "5"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint32_euint32": [ - { "inputs": [60042820, 132291744], "output": false }, - { "inputs": [60042816, 60042820], "output": false }, - { "inputs": [60042820, 60042820], "output": true }, - { "inputs": [60042820, 60042816], "output": false } + { "inputs": ["1", "54"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint32_uint32": [ - { "inputs": [60042820, 16792460], "output": false }, - { "inputs": [60042816, 60042820], "output": false }, - { "inputs": [60042820, 60042820], "output": true }, - { "inputs": [60042820, 60042816], "output": false } + { "inputs": ["1", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_uint32_euint32": [ - { "inputs": [112966432, 16792460], "output": false }, - { "inputs": [60042816, 60042820], "output": false }, - { "inputs": [60042820, 60042820], "output": true }, - { "inputs": [60042820, 60042816], "output": false } + { "inputs": ["1", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint32_euint64": [ - { "inputs": [112966432, 124746241], "output": false }, - { "inputs": [112966428, 112966432], "output": false }, - { "inputs": [112966432, 112966432], "output": true }, - { "inputs": [112966432, 112966428], "output": false } + { "inputs": ["1", "2530"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint64_euint4": [ - { "inputs": [113183278, 7], "output": false }, - { "inputs": [4, 8], "output": false }, - { "inputs": [8, 8], "output": true }, - { "inputs": [8, 4], "output": false } + { "inputs": ["55032", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint64_euint8": [ - { "inputs": [113183278, 90], "output": false }, - { "inputs": [86, 90], "output": false }, - { "inputs": [90, 90], "output": true }, - { "inputs": [90, 86], "output": false } + { "inputs": ["55032", "1"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint64_euint16": [ - { "inputs": [113183278, 17213], "output": false }, - { "inputs": [17209, 17213], "output": false }, - { "inputs": [17213, 17213], "output": true }, - { "inputs": [17213, 17209], "output": false } + { "inputs": ["55032", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint64_euint32": [ - { "inputs": [113183278, 255380188], "output": false }, - { "inputs": [113183274, 113183278], "output": false }, - { "inputs": [113183278, 113183278], "output": true }, - { "inputs": [113183278, 113183274], "output": false } + { "inputs": ["55032", "3"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint64_euint64": [ - { "inputs": [113183278, 1631862], "output": false }, - { "inputs": [1631858, 1631862], "output": false }, - { "inputs": [1631862, 1631862], "output": true }, - { "inputs": [1631862, 1631858], "output": false } + { "inputs": ["55032", "3655"], "output": false }, + { "inputs": ["3651", "3655"], "output": false }, + { "inputs": ["3655", "3655"], "output": true }, + { "inputs": ["3655", "3651"], "output": false } ], "eq_euint64_uint64": [ - { "inputs": [113183278, 36833882], "output": false }, - { "inputs": [1631858, 1631862], "output": false }, - { "inputs": [1631862, 1631862], "output": true }, - { "inputs": [1631862, 1631858], "output": false } + { "inputs": ["55032", "2077"], "output": false }, + { "inputs": ["3651", "3655"], "output": false }, + { "inputs": ["3655", "3655"], "output": true }, + { "inputs": ["3655", "3651"], "output": false } ], "eq_uint64_euint64": [ - { "inputs": [95843694, 36833882], "output": false }, - { "inputs": [1631858, 1631862], "output": false }, - { "inputs": [1631862, 1631862], "output": true }, - { "inputs": [1631862, 1631858], "output": false } + { "inputs": ["6350", "2077"], "output": false }, + { "inputs": ["3651", "3655"], "output": false }, + { "inputs": ["3655", "3655"], "output": true }, + { "inputs": ["3655", "3651"], "output": false } ], "ne_euint4_euint4": [ - { "inputs": [7, 1], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["3", "3"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint4_euint8": [ - { "inputs": [7, 29], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["3", "3"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint4_uint8": [ - { "inputs": [7, 5], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["3", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint4_euint16": [ - { "inputs": [7, 4713], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["3", "41"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint4_euint32": [ - { "inputs": [7, 24833418], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["3", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint4_euint64": [ - { "inputs": [7, 198024790], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["3", "2558"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint8_euint4": [ - { "inputs": [106, 13], "output": true }, - { "inputs": [9, 13], "output": true }, - { "inputs": [13, 13], "output": false }, - { "inputs": [13, 9], "output": true } + { "inputs": ["2", "2"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_uint8_euint4": [ - { "inputs": [4, 13], "output": true }, - { "inputs": [9, 13], "output": true }, - { "inputs": [13, 13], "output": false }, - { "inputs": [13, 9], "output": true } + { "inputs": ["2", "2"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint8_euint8": [ - { "inputs": [4, 157], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["2", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint8_uint8": [ - { "inputs": [4, 177], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["2", "2"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_uint8_euint8": [ - { "inputs": [78, 177], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["3", "2"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint8_euint16": [ - { "inputs": [78, 21962], "output": true }, - { "inputs": [74, 78], "output": true }, - { "inputs": [78, 78], "output": false }, - { "inputs": [78, 74], "output": true } + { "inputs": ["3", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint8_euint32": [ - { "inputs": [78, 92852552], "output": true }, - { "inputs": [74, 78], "output": true }, - { "inputs": [78, 78], "output": false }, - { "inputs": [78, 74], "output": true } + { "inputs": ["3", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint8_euint64": [ - { "inputs": [78, 43366180], "output": true }, - { "inputs": [74, 78], "output": true }, - { "inputs": [78, 78], "output": false }, - { "inputs": [78, 74], "output": true } + { "inputs": ["3", "2082"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint16_euint4": [ - { "inputs": [24558, 12], "output": true }, - { "inputs": [8, 12], "output": true }, - { "inputs": [12, 12], "output": false }, - { "inputs": [12, 8], "output": true } + { "inputs": ["3", "3"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint16_euint8": [ - { "inputs": [24558, 239], "output": true }, - { "inputs": [235, 239], "output": true }, - { "inputs": [239, 239], "output": false }, - { "inputs": [239, 235], "output": true } + { "inputs": ["3", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint16_euint16": [ - { "inputs": [24558, 63661], "output": true }, - { "inputs": [24554, 24558], "output": true }, - { "inputs": [24558, 24558], "output": false }, - { "inputs": [24558, 24554], "output": true } + { "inputs": ["3", "2"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint16_uint16": [ - { "inputs": [24558, 4639], "output": true }, - { "inputs": [24554, 24558], "output": true }, - { "inputs": [24558, 24558], "output": false }, - { "inputs": [24558, 24554], "output": true } + { "inputs": ["3", "6"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_uint16_euint16": [ - { "inputs": [40202, 4639], "output": true }, - { "inputs": [24554, 24558], "output": true }, - { "inputs": [24558, 24558], "output": false }, - { "inputs": [24558, 24554], "output": true } + { "inputs": ["1", "6"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint16_euint32": [ - { "inputs": [40202, 108078460], "output": true }, - { "inputs": [40198, 40202], "output": true }, - { "inputs": [40202, 40202], "output": false }, - { "inputs": [40202, 40198], "output": true } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint16_euint64": [ - { "inputs": [40202, 163102475], "output": true }, - { "inputs": [40198, 40202], "output": true }, - { "inputs": [40202, 40202], "output": false }, - { "inputs": [40202, 40198], "output": true } + { "inputs": ["1", "14889"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint32_euint4": [ - { "inputs": [83574454, 8], "output": true }, - { "inputs": [4, 8], "output": true }, - { "inputs": [8, 8], "output": false }, - { "inputs": [8, 4], "output": true } + { "inputs": ["24", "15"], "output": true }, + { "inputs": ["11", "15"], "output": true }, + { "inputs": ["15", "15"], "output": false }, + { "inputs": ["15", "11"], "output": true } ], "ne_euint32_euint8": [ - { "inputs": [83574454, 68], "output": true }, - { "inputs": [64, 68], "output": true }, - { "inputs": [68, 68], "output": false }, - { "inputs": [68, 64], "output": true } + { "inputs": ["24", "13"], "output": true }, + { "inputs": ["9", "13"], "output": true }, + { "inputs": ["13", "13"], "output": false }, + { "inputs": ["13", "9"], "output": true } ], "ne_euint32_euint16": [ - { "inputs": [83574454, 51513], "output": true }, - { "inputs": [51509, 51513], "output": true }, - { "inputs": [51513, 51513], "output": false }, - { "inputs": [51513, 51509], "output": true } + { "inputs": ["24", "2"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint32_euint32": [ - { "inputs": [83574454, 51569943], "output": true }, - { "inputs": [51569939, 51569943], "output": true }, - { "inputs": [51569943, 51569943], "output": false }, - { "inputs": [51569943, 51569939], "output": true } + { "inputs": ["24", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint32_uint32": [ - { "inputs": [83574454, 88187509], "output": true }, - { "inputs": [51569939, 51569943], "output": true }, - { "inputs": [51569943, 51569943], "output": false }, - { "inputs": [51569943, 51569939], "output": true } + { "inputs": ["24", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_uint32_euint32": [ - { "inputs": [216563924, 88187509], "output": true }, - { "inputs": [51569939, 51569943], "output": true }, - { "inputs": [51569943, 51569943], "output": false }, - { "inputs": [51569943, 51569939], "output": true } + { "inputs": ["1", "1"], "output": false }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint32_euint64": [ - { "inputs": [216563924, 186359172], "output": true }, - { "inputs": [186359168, 186359172], "output": true }, - { "inputs": [186359172, 186359172], "output": false }, - { "inputs": [186359172, 186359168], "output": true } + { "inputs": ["1", "2583"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint64_euint4": [ - { "inputs": [129256608, 13], "output": true }, - { "inputs": [9, 13], "output": true }, - { "inputs": [13, 13], "output": false }, - { "inputs": [13, 9], "output": true } + { "inputs": ["3163", "15"], "output": true }, + { "inputs": ["11", "15"], "output": true }, + { "inputs": ["15", "15"], "output": false }, + { "inputs": ["15", "11"], "output": true } ], "ne_euint64_euint8": [ - { "inputs": [129256608, 230], "output": true }, - { "inputs": [226, 230], "output": true }, - { "inputs": [230, 230], "output": false }, - { "inputs": [230, 226], "output": true } + { "inputs": ["3163", "2"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint64_euint16": [ - { "inputs": [129256608, 25758], "output": true }, - { "inputs": [25754, 25758], "output": true }, - { "inputs": [25758, 25758], "output": false }, - { "inputs": [25758, 25754], "output": true } + { "inputs": ["3163", "2"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint64_euint32": [ - { "inputs": [129256608, 191248966], "output": true }, - { "inputs": [129256604, 129256608], "output": true }, - { "inputs": [129256608, 129256608], "output": false }, - { "inputs": [129256608, 129256604], "output": true } + { "inputs": ["3163", "1"], "output": true }, + { "inputs": ["4", "8"], "output": true }, + { "inputs": ["8", "8"], "output": false }, + { "inputs": ["8", "4"], "output": true } ], "ne_euint64_euint64": [ - { "inputs": [129256608, 198214797], "output": true }, - { "inputs": [129256604, 129256608], "output": true }, - { "inputs": [129256608, 129256608], "output": false }, - { "inputs": [129256608, 129256604], "output": true } + { "inputs": ["3163", "2116"], "output": true }, + { "inputs": ["2112", "2116"], "output": true }, + { "inputs": ["2116", "2116"], "output": false }, + { "inputs": ["2116", "2112"], "output": true } ], "ne_euint64_uint64": [ - { "inputs": [129256608, 155795571], "output": true }, - { "inputs": [129256604, 129256608], "output": true }, - { "inputs": [129256608, 129256608], "output": false }, - { "inputs": [129256608, 129256604], "output": true } + { "inputs": ["3163", "3329"], "output": true }, + { "inputs": ["2112", "2116"], "output": true }, + { "inputs": ["2116", "2116"], "output": false }, + { "inputs": ["2116", "2112"], "output": true } ], "ne_uint64_euint64": [ - { "inputs": [38125121, 155795571], "output": true }, - { "inputs": [129256604, 129256608], "output": true }, - { "inputs": [129256608, 129256608], "output": false }, - { "inputs": [129256608, 129256604], "output": true } + { "inputs": ["2985", "3329"], "output": true }, + { "inputs": ["2112", "2116"], "output": true }, + { "inputs": ["2116", "2116"], "output": false }, + { "inputs": ["2116", "2112"], "output": true } ], "shl_euint4_uint8": [ - { "inputs": [7, 4], "output": 7 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": ["1", "3"], "output": 8 }, + { "inputs": ["4", "8"], "output": 4 }, + { "inputs": ["8", "8"], "output": 8 }, + { "inputs": ["8", "4"], "output": 8 } ], "shl_euint8_euint8": [ - { "inputs": [107, 3], "output": 88 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 128 } + { "inputs": ["1", "2"], "output": 4 }, + { "inputs": ["4", "8"], "output": 4 }, + { "inputs": ["8", "8"], "output": 8 }, + { "inputs": ["8", "4"], "output": 128 } ], "shl_euint8_uint8": [ - { "inputs": [107, 3], "output": 88 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 128 } + { "inputs": ["1", "2"], "output": 4 }, + { "inputs": ["4", "8"], "output": 4 }, + { "inputs": ["8", "8"], "output": 8 }, + { "inputs": ["8", "4"], "output": 128 } ], "shl_euint16_euint8": [ - { "inputs": [31359, 1], "output": 62718 }, - { "inputs": [4, 8], "output": 1024 }, - { "inputs": [8, 8], "output": 2048 }, - { "inputs": [8, 4], "output": 128 } + { "inputs": ["1", "5"], "output": 32 }, + { "inputs": ["4", "8"], "output": 1024 }, + { "inputs": ["8", "8"], "output": 2048 }, + { "inputs": ["8", "4"], "output": 128 } ], "shl_euint16_uint8": [ - { "inputs": [31359, 1], "output": 62718 }, - { "inputs": [4, 8], "output": 1024 }, - { "inputs": [8, 8], "output": 2048 }, - { "inputs": [8, 4], "output": 128 } + { "inputs": ["1", "5"], "output": 32 }, + { "inputs": ["4", "8"], "output": 1024 }, + { "inputs": ["8", "8"], "output": 2048 }, + { "inputs": ["8", "4"], "output": 128 } ], "shl_euint32_euint8": [ - { "inputs": [226777595, 3], "output": 1814220760 }, - { "inputs": [4, 8], "output": 1024 }, - { "inputs": [8, 8], "output": 2048 }, - { "inputs": [8, 4], "output": 128 } + { "inputs": ["1", "6"], "output": 64 }, + { "inputs": ["4", "8"], "output": 1024 }, + { "inputs": ["8", "8"], "output": 2048 }, + { "inputs": ["8", "4"], "output": 128 } ], "shl_euint32_uint8": [ - { "inputs": [226777595, 3], "output": 1814220760 }, - { "inputs": [4, 8], "output": 1024 }, - { "inputs": [8, 8], "output": 2048 }, - { "inputs": [8, 4], "output": 128 } + { "inputs": ["1", "6"], "output": 64 }, + { "inputs": ["4", "8"], "output": 1024 }, + { "inputs": ["8", "8"], "output": 2048 }, + { "inputs": ["8", "4"], "output": 128 } ], "shl_euint64_euint8": [ - { "inputs": [39313001, 2], "output": 157252004 }, - { "inputs": [4, 8], "output": 1024 }, - { "inputs": [8, 8], "output": 2048 }, - { "inputs": [8, 4], "output": 128 } + { "inputs": ["4744", "2"], "output": 18976 }, + { "inputs": ["4", "8"], "output": 1024 }, + { "inputs": ["8", "8"], "output": 2048 }, + { "inputs": ["8", "4"], "output": 128 } ], "shl_euint64_uint8": [ - { "inputs": [39313001, 2], "output": 157252004 }, - { "inputs": [4, 8], "output": 1024 }, - { "inputs": [8, 8], "output": 2048 }, - { "inputs": [8, 4], "output": 128 } + { "inputs": ["4744", "2"], "output": 18976 }, + { "inputs": ["4", "8"], "output": 1024 }, + { "inputs": ["8", "8"], "output": 2048 }, + { "inputs": ["8", "4"], "output": 128 } ], "shr_euint4_uint8": [ - { "inputs": [8, 2], "output": 2 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": ["5", "6"], "output": 1 }, + { "inputs": ["4", "8"], "output": 4 }, + { "inputs": ["8", "8"], "output": 8 }, + { "inputs": ["8", "4"], "output": 8 } ], "shr_euint8_euint8": [ - { "inputs": [226, 1], "output": 113 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["1", "1"], "output": 0 }, + { "inputs": ["4", "8"], "output": 4 }, + { "inputs": ["8", "8"], "output": 8 }, + { "inputs": ["8", "4"], "output": 0 } ], "shr_euint8_uint8": [ - { "inputs": [226, 1], "output": 113 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["1", "1"], "output": 0 }, + { "inputs": ["4", "8"], "output": 4 }, + { "inputs": ["8", "8"], "output": 8 }, + { "inputs": ["8", "4"], "output": 0 } ], "shr_euint16_euint8": [ - { "inputs": [47516, 3], "output": 5939 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["278", "4"], "output": 17 }, + { "inputs": ["4", "8"], "output": 0 }, + { "inputs": ["8", "8"], "output": 0 }, + { "inputs": ["8", "4"], "output": 0 } ], "shr_euint16_uint8": [ - { "inputs": [47516, 3], "output": 5939 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["278", "4"], "output": 17 }, + { "inputs": ["4", "8"], "output": 0 }, + { "inputs": ["8", "8"], "output": 0 }, + { "inputs": ["8", "4"], "output": 0 } ], "shr_euint32_euint8": [ - { "inputs": [145753602, 4], "output": 9109600 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["2", "6"], "output": 0 }, + { "inputs": ["4", "8"], "output": 0 }, + { "inputs": ["8", "8"], "output": 0 }, + { "inputs": ["8", "4"], "output": 0 } ], "shr_euint32_uint8": [ - { "inputs": [145753602, 4], "output": 9109600 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["2", "6"], "output": 0 }, + { "inputs": ["4", "8"], "output": 0 }, + { "inputs": ["8", "8"], "output": 0 }, + { "inputs": ["8", "4"], "output": 0 } ], "shr_euint64_euint8": [ - { "inputs": [231610183, 4], "output": 14475636 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["23325", "5"], "output": 728 }, + { "inputs": ["4", "8"], "output": 0 }, + { "inputs": ["8", "8"], "output": 0 }, + { "inputs": ["8", "4"], "output": 0 } ], "shr_euint64_uint8": [ - { "inputs": [231610183, 4], "output": 14475636 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["23325", "5"], "output": 728 }, + { "inputs": ["4", "8"], "output": 0 }, + { "inputs": ["8", "8"], "output": 0 }, + { "inputs": ["8", "4"], "output": 0 } ], "max_euint4_euint4": [ - { "inputs": [11, 7], "output": 11 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": ["1", "2"], "output": "2" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint4_euint8": [ - { "inputs": [11, 223], "output": 223 }, - { "inputs": [7, 11], "output": 11 }, - { "inputs": [11, 11], "output": 11 }, - { "inputs": [11, 7], "output": 11 } + { "inputs": ["1", "5"], "output": "5" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint4_uint8": [ - { "inputs": [11, 8], "output": 11 }, - { "inputs": [7, 11], "output": 11 }, - { "inputs": [11, 11], "output": 11 }, - { "inputs": [11, 7], "output": 11 } + { "inputs": ["1", "7"], "output": "7" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint4_euint16": [ - { "inputs": [11, 33061], "output": 33061 }, - { "inputs": [7, 11], "output": 11 }, - { "inputs": [11, 11], "output": 11 }, - { "inputs": [11, 7], "output": 11 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint4_euint32": [ - { "inputs": [11, 9483424], "output": 9483424 }, - { "inputs": [7, 11], "output": 11 }, - { "inputs": [11, 11], "output": 11 }, - { "inputs": [11, 7], "output": 11 } + { "inputs": ["1", "6"], "output": "6" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint4_euint64": [ - { "inputs": [11, 268368365], "output": 268368365 }, - { "inputs": [7, 11], "output": 11 }, - { "inputs": [11, 11], "output": 11 }, - { "inputs": [11, 7], "output": 11 } + { "inputs": ["1", "2520"], "output": "2520" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint8_euint4": [ - { "inputs": [77, 5], "output": 77 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_uint8_euint4": [ - { "inputs": [9, 5], "output": 9 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": ["3", "1"], "output": "3" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint8_euint8": [ - { "inputs": [9, 9], "output": 9 }, - { "inputs": [5, 9], "output": 9 }, - { "inputs": [9, 9], "output": 9 }, - { "inputs": [9, 5], "output": 9 } + { "inputs": ["3", "3"], "output": "3" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint8_uint8": [ - { "inputs": [9, 61], "output": 61 }, - { "inputs": [5, 9], "output": 9 }, - { "inputs": [9, 9], "output": 9 }, - { "inputs": [9, 5], "output": 9 } + { "inputs": ["3", "14"], "output": "14" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_uint8_euint8": [ - { "inputs": [161, 61], "output": 161 }, - { "inputs": [5, 9], "output": 9 }, - { "inputs": [9, 9], "output": 9 }, - { "inputs": [9, 5], "output": 9 } + { "inputs": ["1", "14"], "output": "14" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint8_euint16": [ - { "inputs": [161, 11628], "output": 11628 }, - { "inputs": [157, 161], "output": 161 }, - { "inputs": [161, 161], "output": 161 }, - { "inputs": [161, 157], "output": 161 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint8_euint32": [ - { "inputs": [161, 55227414], "output": 55227414 }, - { "inputs": [157, 161], "output": 161 }, - { "inputs": [161, 161], "output": 161 }, - { "inputs": [161, 157], "output": 161 } + { "inputs": ["1", "3"], "output": "3" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint8_euint64": [ - { "inputs": [161, 242190943], "output": 242190943 }, - { "inputs": [157, 161], "output": 161 }, - { "inputs": [161, 161], "output": 161 }, - { "inputs": [161, 157], "output": 161 } + { "inputs": ["1", "9155"], "output": "9155" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint16_euint4": [ - { "inputs": [45208, 13], "output": 45208 }, - { "inputs": [9, 13], "output": 13 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 13 } + { "inputs": ["2", "1"], "output": "2" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint16_euint8": [ - { "inputs": [45208, 175], "output": 45208 }, - { "inputs": [171, 175], "output": 175 }, - { "inputs": [175, 175], "output": 175 }, - { "inputs": [175, 171], "output": 175 } + { "inputs": ["2", "1"], "output": "2" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint16_euint16": [ - { "inputs": [45208, 37832], "output": 45208 }, - { "inputs": [37828, 37832], "output": 37832 }, - { "inputs": [37832, 37832], "output": 37832 }, - { "inputs": [37832, 37828], "output": 37832 } + { "inputs": ["2", "1"], "output": "2" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint16_uint16": [ - { "inputs": [45208, 8803], "output": 45208 }, - { "inputs": [37828, 37832], "output": 37832 }, - { "inputs": [37832, 37832], "output": 37832 }, - { "inputs": [37832, 37828], "output": 37832 } + { "inputs": ["2", "34"], "output": "34" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_uint16_euint16": [ - { "inputs": [62549, 8803], "output": 62549 }, - { "inputs": [37828, 37832], "output": 37832 }, - { "inputs": [37832, 37832], "output": 37832 }, - { "inputs": [37832, 37828], "output": 37832 } + { "inputs": ["1", "34"], "output": "34" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint16_euint32": [ - { "inputs": [62549, 239578021], "output": 239578021 }, - { "inputs": [62545, 62549], "output": 62549 }, - { "inputs": [62549, 62549], "output": 62549 }, - { "inputs": [62549, 62545], "output": 62549 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint16_euint64": [ - { "inputs": [62549, 228731288], "output": 228731288 }, - { "inputs": [62545, 62549], "output": 62549 }, - { "inputs": [62549, 62549], "output": 62549 }, - { "inputs": [62549, 62545], "output": 62549 } + { "inputs": ["1", "3622"], "output": "3622" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint32_euint4": [ - { "inputs": [234155387, 12], "output": 234155387 }, - { "inputs": [8, 12], "output": 12 }, - { "inputs": [12, 12], "output": 12 }, - { "inputs": [12, 8], "output": 12 } + { "inputs": ["9", "5"], "output": "9" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint32_euint8": [ - { "inputs": [234155387, 198], "output": 234155387 }, - { "inputs": [194, 198], "output": 198 }, - { "inputs": [198, 198], "output": 198 }, - { "inputs": [198, 194], "output": 198 } + { "inputs": ["9", "2"], "output": "9" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint32_euint16": [ - { "inputs": [234155387, 33887], "output": 234155387 }, - { "inputs": [33883, 33887], "output": 33887 }, - { "inputs": [33887, 33887], "output": 33887 }, - { "inputs": [33887, 33883], "output": 33887 } + { "inputs": ["9", "2"], "output": "9" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint32_euint32": [ - { "inputs": [234155387, 122578470], "output": 234155387 }, - { "inputs": [122578466, 122578470], "output": 122578470 }, - { "inputs": [122578470, 122578470], "output": 122578470 }, - { "inputs": [122578470, 122578466], "output": 122578470 } + { "inputs": ["9", "6"], "output": "9" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint32_uint32": [ - { "inputs": [234155387, 181088842], "output": 234155387 }, - { "inputs": [122578466, 122578470], "output": 122578470 }, - { "inputs": [122578470, 122578470], "output": 122578470 }, - { "inputs": [122578470, 122578466], "output": 122578470 } + { "inputs": ["9", "12"], "output": "12" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_uint32_euint32": [ - { "inputs": [88769233, 181088842], "output": 181088842 }, - { "inputs": [122578466, 122578470], "output": 122578470 }, - { "inputs": [122578470, 122578470], "output": 122578470 }, - { "inputs": [122578470, 122578466], "output": 122578470 } + { "inputs": ["4", "12"], "output": "12" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint32_euint64": [ - { "inputs": [88769233, 236236514], "output": 236236514 }, - { "inputs": [88769229, 88769233], "output": 88769233 }, - { "inputs": [88769233, 88769233], "output": 88769233 }, - { "inputs": [88769233, 88769229], "output": 88769233 } + { "inputs": ["4", "2425"], "output": "2425" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint64_euint4": [ - { "inputs": [215341582, 6], "output": 215341582 }, - { "inputs": [4, 8], "output": 8 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 8 } + { "inputs": ["2374", "3"], "output": "2374" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint64_euint8": [ - { "inputs": [215341582, 146], "output": 215341582 }, - { "inputs": [142, 146], "output": 146 }, - { "inputs": [146, 146], "output": 146 }, - { "inputs": [146, 142], "output": 146 } + { "inputs": ["2374", "1"], "output": "2374" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint64_euint16": [ - { "inputs": [215341582, 59093], "output": 215341582 }, - { "inputs": [59089, 59093], "output": 59093 }, - { "inputs": [59093, 59093], "output": 59093 }, - { "inputs": [59093, 59089], "output": 59093 } + { "inputs": ["2374", "1"], "output": "2374" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint64_euint32": [ - { "inputs": [215341582, 62329989], "output": 215341582 }, - { "inputs": [62329985, 62329989], "output": 62329989 }, - { "inputs": [62329989, 62329989], "output": 62329989 }, - { "inputs": [62329989, 62329985], "output": 62329989 } + { "inputs": ["2374", "2"], "output": "2374" }, + { "inputs": ["4", "8"], "output": "8" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "8" } ], "max_euint64_euint64": [ - { "inputs": [215341582, 39049834], "output": 215341582 }, - { "inputs": [39049830, 39049834], "output": 39049834 }, - { "inputs": [39049834, 39049834], "output": 39049834 }, - { "inputs": [39049834, 39049830], "output": 39049834 } + { "inputs": ["2374", "2762"], "output": "2762" }, + { "inputs": ["2370", "2374"], "output": "2374" }, + { "inputs": ["2374", "2374"], "output": "2374" }, + { "inputs": ["2374", "2370"], "output": "2374" } ], "max_euint64_uint64": [ - { "inputs": [215341582, 64923876], "output": 215341582 }, - { "inputs": [39049830, 39049834], "output": 39049834 }, - { "inputs": [39049834, 39049834], "output": 39049834 }, - { "inputs": [39049834, 39049830], "output": 39049834 } + { "inputs": ["2374", "5605"], "output": "5605" }, + { "inputs": ["2370", "2374"], "output": "2374" }, + { "inputs": ["2374", "2374"], "output": "2374" }, + { "inputs": ["2374", "2370"], "output": "2374" } ], "max_uint64_euint64": [ - { "inputs": [174351991, 64923876], "output": 174351991 }, - { "inputs": [39049830, 39049834], "output": 39049834 }, - { "inputs": [39049834, 39049834], "output": 39049834 }, - { "inputs": [39049834, 39049830], "output": 39049834 } + { "inputs": ["7998", "5605"], "output": "7998" }, + { "inputs": ["2370", "2374"], "output": "2374" }, + { "inputs": ["2374", "2374"], "output": "2374" }, + { "inputs": ["2374", "2370"], "output": "2374" } ], "min_euint4_euint4": [ - { "inputs": [1, 10], "output": 1 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint4_euint8": [ - { "inputs": [1, 21], "output": 1 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["1", "2"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint4_uint8": [ - { "inputs": [1, 3], "output": 1 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["1", "15"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint4_euint16": [ - { "inputs": [1, 60443], "output": 1 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["1", "2"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint4_euint32": [ - { "inputs": [1, 66587261], "output": 1 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint4_euint64": [ - { "inputs": [1, 243162021], "output": 1 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["1", "2202"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint8_euint4": [ - { "inputs": [110, 9], "output": 9 }, - { "inputs": [5, 9], "output": 5 }, - { "inputs": [9, 9], "output": 9 }, - { "inputs": [9, 5], "output": 5 } + { "inputs": ["8", "15"], "output": "8" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_uint8_euint4": [ - { "inputs": [4, 9], "output": 4 }, - { "inputs": [5, 9], "output": 5 }, - { "inputs": [9, 9], "output": 9 }, - { "inputs": [9, 5], "output": 5 } + { "inputs": ["2", "15"], "output": "2" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint8_euint8": [ - { "inputs": [4, 142], "output": 4 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["2", "2"], "output": "2" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint8_uint8": [ - { "inputs": [4, 122], "output": 4 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["2", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_uint8_euint8": [ - { "inputs": [200, 122], "output": 122 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint8_euint16": [ - { "inputs": [200, 2568], "output": 200 }, - { "inputs": [196, 200], "output": 196 }, - { "inputs": [200, 200], "output": 200 }, - { "inputs": [200, 196], "output": 196 } + { "inputs": ["1", "3"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint8_euint32": [ - { "inputs": [200, 114061461], "output": 200 }, - { "inputs": [196, 200], "output": 196 }, - { "inputs": [200, 200], "output": 200 }, - { "inputs": [200, 196], "output": 196 } + { "inputs": ["1", "18"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint8_euint64": [ - { "inputs": [200, 124180225], "output": 200 }, - { "inputs": [196, 200], "output": 196 }, - { "inputs": [200, 200], "output": 200 }, - { "inputs": [200, 196], "output": 196 } + { "inputs": ["1", "5533"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint16_euint4": [ - { "inputs": [40365, 13], "output": 13 }, - { "inputs": [9, 13], "output": 9 }, - { "inputs": [13, 13], "output": 13 }, - { "inputs": [13, 9], "output": 9 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint16_euint8": [ - { "inputs": [40365, 88], "output": 88 }, - { "inputs": [84, 88], "output": 84 }, - { "inputs": [88, 88], "output": 88 }, - { "inputs": [88, 84], "output": 84 } + { "inputs": ["1", "3"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint16_euint16": [ - { "inputs": [40365, 36544], "output": 36544 }, - { "inputs": [36540, 36544], "output": 36540 }, - { "inputs": [36544, 36544], "output": 36544 }, - { "inputs": [36544, 36540], "output": 36540 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint16_uint16": [ - { "inputs": [40365, 56848], "output": 40365 }, - { "inputs": [36540, 36544], "output": 36540 }, - { "inputs": [36544, 36544], "output": 36544 }, - { "inputs": [36544, 36540], "output": 36540 } + { "inputs": ["1", "2"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_uint16_euint16": [ - { "inputs": [24104, 56848], "output": 24104 }, - { "inputs": [36540, 36544], "output": 36540 }, - { "inputs": [36544, 36544], "output": 36544 }, - { "inputs": [36544, 36540], "output": 36540 } + { "inputs": ["1", "2"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint16_euint32": [ - { "inputs": [24104, 263622414], "output": 24104 }, - { "inputs": [24100, 24104], "output": 24100 }, - { "inputs": [24104, 24104], "output": 24104 }, - { "inputs": [24104, 24100], "output": 24100 } + { "inputs": ["1", "5"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint16_euint64": [ - { "inputs": [24104, 100961112], "output": 24104 }, - { "inputs": [24100, 24104], "output": 24100 }, - { "inputs": [24104, 24104], "output": 24104 }, - { "inputs": [24104, 24100], "output": 24100 } + { "inputs": ["1", "3602"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint32_euint4": [ - { "inputs": [178824069, 14], "output": 14 }, - { "inputs": [10, 14], "output": 10 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 10 } + { "inputs": ["3", "15"], "output": "3" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint32_euint8": [ - { "inputs": [178824069, 96], "output": 96 }, - { "inputs": [92, 96], "output": 92 }, - { "inputs": [96, 96], "output": 96 }, - { "inputs": [96, 92], "output": 92 } + { "inputs": ["3", "2"], "output": "2" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint32_euint16": [ - { "inputs": [178824069, 29702], "output": 29702 }, - { "inputs": [29698, 29702], "output": 29698 }, - { "inputs": [29702, 29702], "output": 29702 }, - { "inputs": [29702, 29698], "output": 29698 } + { "inputs": ["3", "3"], "output": "3" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint32_euint32": [ - { "inputs": [178824069, 78448235], "output": 78448235 }, - { "inputs": [78448231, 78448235], "output": 78448231 }, - { "inputs": [78448235, 78448235], "output": 78448235 }, - { "inputs": [78448235, 78448231], "output": 78448231 } + { "inputs": ["3", "5"], "output": "3" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint32_uint32": [ - { "inputs": [178824069, 197749167], "output": 178824069 }, - { "inputs": [78448231, 78448235], "output": 78448231 }, - { "inputs": [78448235, 78448235], "output": 78448235 }, - { "inputs": [78448235, 78448231], "output": 78448231 } + { "inputs": ["3", "3"], "output": "3" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_uint32_euint32": [ - { "inputs": [189968743, 197749167], "output": 189968743 }, - { "inputs": [78448231, 78448235], "output": 78448231 }, - { "inputs": [78448235, 78448235], "output": 78448235 }, - { "inputs": [78448235, 78448231], "output": 78448231 } + { "inputs": ["45", "3"], "output": "3" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint32_euint64": [ - { "inputs": [189968743, 122440911], "output": 122440911 }, - { "inputs": [122440907, 122440911], "output": 122440907 }, - { "inputs": [122440911, 122440911], "output": 122440911 }, - { "inputs": [122440911, 122440907], "output": 122440907 } + { "inputs": ["45", "5751"], "output": "45" }, + { "inputs": ["41", "45"], "output": "41" }, + { "inputs": ["45", "45"], "output": "45" }, + { "inputs": ["45", "41"], "output": "41" } ], "min_euint64_euint4": [ - { "inputs": [67905839, 8], "output": 8 }, - { "inputs": [4, 8], "output": 4 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 4 } + { "inputs": ["2618", "3"], "output": "3" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint64_euint8": [ - { "inputs": [67905839, 86], "output": 86 }, - { "inputs": [82, 86], "output": 82 }, - { "inputs": [86, 86], "output": 86 }, - { "inputs": [86, 82], "output": 82 } + { "inputs": ["2618", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint64_euint16": [ - { "inputs": [67905839, 62663], "output": 62663 }, - { "inputs": [62659, 62663], "output": 62659 }, - { "inputs": [62663, 62663], "output": 62663 }, - { "inputs": [62663, 62659], "output": 62659 } + { "inputs": ["2618", "5"], "output": "5" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint64_euint32": [ - { "inputs": [67905839, 157717094], "output": 67905839 }, - { "inputs": [67905835, 67905839], "output": 67905835 }, - { "inputs": [67905839, 67905839], "output": 67905839 }, - { "inputs": [67905839, 67905835], "output": 67905835 } + { "inputs": ["2618", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "4" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "4" } ], "min_euint64_euint64": [ - { "inputs": [67905839, 52961865], "output": 52961865 }, - { "inputs": [52961861, 52961865], "output": 52961861 }, - { "inputs": [52961865, 52961865], "output": 52961865 }, - { "inputs": [52961865, 52961861], "output": 52961861 } + { "inputs": ["2618", "6448"], "output": "2618" }, + { "inputs": ["2614", "2618"], "output": "2614" }, + { "inputs": ["2618", "2618"], "output": "2618" }, + { "inputs": ["2618", "2614"], "output": "2614" } ], "min_euint64_uint64": [ - { "inputs": [67905839, 116349816], "output": 67905839 }, - { "inputs": [52961861, 52961865], "output": 52961861 }, - { "inputs": [52961865, 52961865], "output": 52961865 }, - { "inputs": [52961865, 52961861], "output": 52961861 } + { "inputs": ["2618", "4687"], "output": "2618" }, + { "inputs": ["2614", "2618"], "output": "2614" }, + { "inputs": ["2618", "2618"], "output": "2618" }, + { "inputs": ["2618", "2614"], "output": "2614" } ], "min_uint64_euint64": [ - { "inputs": [78138466, 116349816], "output": 78138466 }, - { "inputs": [52961861, 52961865], "output": 52961861 }, - { "inputs": [52961865, 52961865], "output": 52961865 }, - { "inputs": [52961865, 52961861], "output": 52961861 } + { "inputs": ["3232", "4687"], "output": "3232" }, + { "inputs": ["2614", "2618"], "output": "2614" }, + { "inputs": ["2618", "2618"], "output": "2618" }, + { "inputs": ["2618", "2614"], "output": "2614" } ], "or_euint4_euint4": [ - { "inputs": [14, 12], "output": 14 }, - { "inputs": [8, 12], "output": 12 }, - { "inputs": [12, 12], "output": 12 }, - { "inputs": [12, 8], "output": 12 } + { "inputs": ["1", "2"], "output": "3" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint4_euint8": [ - { "inputs": [14, 81], "output": 95 }, - { "inputs": [10, 14], "output": 14 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 14 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint4_euint16": [ - { "inputs": [14, 32563], "output": 32575 }, - { "inputs": [10, 14], "output": 14 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 14 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint4_euint32": [ - { "inputs": [14, 14664100], "output": 14664110 }, - { "inputs": [10, 14], "output": 14 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 14 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint4_euint64": [ - { "inputs": [14, 170899961], "output": 170899967 }, - { "inputs": [10, 14], "output": 14 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 14 } + { "inputs": ["1", "57469"], "output": "57469" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint8_euint4": [ - { "inputs": [96, 6], "output": 102 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint8_euint8": [ - { "inputs": [96, 249], "output": 249 }, - { "inputs": [92, 96], "output": 124 }, - { "inputs": [96, 96], "output": 96 }, - { "inputs": [96, 92], "output": 124 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint8_euint16": [ - { "inputs": [96, 1790], "output": 1790 }, - { "inputs": [92, 96], "output": 124 }, - { "inputs": [96, 96], "output": 96 }, - { "inputs": [96, 92], "output": 124 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint8_euint32": [ - { "inputs": [96, 81378325], "output": 81378421 }, - { "inputs": [92, 96], "output": 124 }, - { "inputs": [96, 96], "output": 96 }, - { "inputs": [96, 92], "output": 124 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint8_euint64": [ - { "inputs": [96, 83329888], "output": 83329888 }, - { "inputs": [92, 96], "output": 124 }, - { "inputs": [96, 96], "output": 96 }, - { "inputs": [96, 92], "output": 124 } + { "inputs": ["1", "6021"], "output": "6021" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint16_euint4": [ - { "inputs": [25484, 8], "output": 25484 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["2", "15"], "output": "15" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint16_euint8": [ - { "inputs": [25484, 207], "output": 25551 }, - { "inputs": [203, 207], "output": 207 }, - { "inputs": [207, 207], "output": 207 }, - { "inputs": [207, 203], "output": 207 } + { "inputs": ["2", "4"], "output": "6" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint16_euint16": [ - { "inputs": [25484, 6586], "output": 31678 }, - { "inputs": [6582, 6586], "output": 6590 }, - { "inputs": [6586, 6586], "output": 6586 }, - { "inputs": [6586, 6582], "output": 6590 } + { "inputs": ["2", "5"], "output": "7" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint16_euint32": [ - { "inputs": [25484, 156227915], "output": 156236751 }, - { "inputs": [25480, 25484], "output": 25484 }, - { "inputs": [25484, 25484], "output": 25484 }, - { "inputs": [25484, 25480], "output": 25484 } + { "inputs": ["2", "4"], "output": "6" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint16_euint64": [ - { "inputs": [25484, 265773773], "output": 265774029 }, - { "inputs": [25480, 25484], "output": 25484 }, - { "inputs": [25484, 25484], "output": 25484 }, - { "inputs": [25484, 25480], "output": 25484 } + { "inputs": ["2", "17420"], "output": "17422" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint32_euint4": [ - { "inputs": [138135196, 6], "output": 138135198 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["2", "15"], "output": "15" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint32_euint8": [ - { "inputs": [138135196, 250], "output": 138135294 }, - { "inputs": [246, 250], "output": 254 }, - { "inputs": [250, 250], "output": 250 }, - { "inputs": [250, 246], "output": 254 } + { "inputs": ["2", "1"], "output": "3" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint32_euint16": [ - { "inputs": [138135196, 24679], "output": 138143487 }, - { "inputs": [24675, 24679], "output": 24679 }, - { "inputs": [24679, 24679], "output": 24679 }, - { "inputs": [24679, 24675], "output": 24679 } + { "inputs": ["2", "1"], "output": "3" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint32_euint32": [ - { "inputs": [138135196, 147717442], "output": 150994910 }, - { "inputs": [138135192, 138135196], "output": 138135196 }, - { "inputs": [138135196, 138135196], "output": 138135196 }, - { "inputs": [138135196, 138135192], "output": 138135196 } + { "inputs": ["2", "2"], "output": "2" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint32_euint64": [ - { "inputs": [138135196, 193074409], "output": 196859645 }, - { "inputs": [138135192, 138135196], "output": 138135196 }, - { "inputs": [138135196, 138135196], "output": 138135196 }, - { "inputs": [138135196, 138135192], "output": 138135196 } + { "inputs": ["2", "3577"], "output": "3579" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint64_euint4": [ - { "inputs": [50536480, 11], "output": 50536491 }, - { "inputs": [7, 11], "output": 15 }, - { "inputs": [11, 11], "output": 11 }, - { "inputs": [11, 7], "output": 15 } + { "inputs": ["3328", "3"], "output": "3331" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint64_euint8": [ - { "inputs": [50536480, 64], "output": 50536544 }, - { "inputs": [60, 64], "output": 124 }, - { "inputs": [64, 64], "output": 64 }, - { "inputs": [64, 60], "output": 124 } + { "inputs": ["3328", "1"], "output": "3329" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint64_euint16": [ - { "inputs": [50536480, 3556], "output": 50540004 }, - { "inputs": [3552, 3556], "output": 3556 }, - { "inputs": [3556, 3556], "output": 3556 }, - { "inputs": [3556, 3552], "output": 3556 } + { "inputs": ["3328", "2"], "output": "3330" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint64_euint32": [ - { "inputs": [50536480, 16913643], "output": 50541803 }, - { "inputs": [16913639, 16913643], "output": 16913647 }, - { "inputs": [16913643, 16913643], "output": 16913643 }, - { "inputs": [16913643, 16913639], "output": 16913647 } + { "inputs": ["3328", "3"], "output": "3331" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "12" } ], "or_euint64_euint64": [ - { "inputs": [50536480, 244448701], "output": 261356989 }, - { "inputs": [50536476, 50536480], "output": 50536508 }, - { "inputs": [50536480, 50536480], "output": 50536480 }, - { "inputs": [50536480, 50536476], "output": 50536508 } + { "inputs": ["3328", "2096"], "output": "3376" }, + { "inputs": ["2092", "2096"], "output": "2108" }, + { "inputs": ["2096", "2096"], "output": "2096" }, + { "inputs": ["2096", "2092"], "output": "2108" } ], "and_euint4_euint4": [ - { "inputs": [1, 12], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["1", "15"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint4_euint8": [ - { "inputs": [1, 208], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint4_euint16": [ - { "inputs": [1, 44006], "output": 0 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["1", "3"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint4_euint32": [ - { "inputs": [1, 245829777], "output": 1 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["1", "2"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint4_euint64": [ - { "inputs": [1, 113854917], "output": 1 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["1", "13187"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint8_euint4": [ - { "inputs": [245, 4], "output": 4 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["2", "1"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint8_euint8": [ - { "inputs": [245, 164], "output": 164 }, - { "inputs": [160, 164], "output": 160 }, - { "inputs": [164, 164], "output": 164 }, - { "inputs": [164, 160], "output": 160 } + { "inputs": ["2", "1"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint8_euint16": [ - { "inputs": [245, 17782], "output": 116 }, - { "inputs": [241, 245], "output": 241 }, - { "inputs": [245, 245], "output": 245 }, - { "inputs": [245, 241], "output": 241 } + { "inputs": ["2", "2"], "output": "2" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint8_euint32": [ - { "inputs": [245, 107977808], "output": 80 }, - { "inputs": [241, 245], "output": 241 }, - { "inputs": [245, 245], "output": 245 }, - { "inputs": [245, 241], "output": 241 } + { "inputs": ["2", "4"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint8_euint64": [ - { "inputs": [245, 233482558], "output": 52 }, - { "inputs": [241, 245], "output": 241 }, - { "inputs": [245, 245], "output": 245 }, - { "inputs": [245, 241], "output": 241 } + { "inputs": ["2", "2049"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint16_euint4": [ - { "inputs": [55927, 3], "output": 3 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["1", "7"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint16_euint8": [ - { "inputs": [55927, 14], "output": 6 }, - { "inputs": [10, 14], "output": 10 }, - { "inputs": [14, 14], "output": 14 }, - { "inputs": [14, 10], "output": 10 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint16_euint16": [ - { "inputs": [55927, 33200], "output": 32816 }, - { "inputs": [33196, 33200], "output": 33184 }, - { "inputs": [33200, 33200], "output": 33200 }, - { "inputs": [33200, 33196], "output": 33184 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint16_euint32": [ - { "inputs": [55927, 26519890], "output": 34898 }, - { "inputs": [55923, 55927], "output": 55923 }, - { "inputs": [55927, 55927], "output": 55927 }, - { "inputs": [55927, 55923], "output": 55923 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint16_euint64": [ - { "inputs": [55927, 66357780], "output": 35348 }, - { "inputs": [55923, 55927], "output": 55923 }, - { "inputs": [55927, 55927], "output": 55927 }, - { "inputs": [55927, 55923], "output": 55923 } + { "inputs": ["1", "4630"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint32_euint4": [ - { "inputs": [145081557, 6], "output": 4 }, - { "inputs": [4, 8], "output": 0 }, - { "inputs": [8, 8], "output": 8 }, - { "inputs": [8, 4], "output": 0 } + { "inputs": ["1", "2"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint32_euint8": [ - { "inputs": [145081557, 138], "output": 128 }, - { "inputs": [134, 138], "output": 130 }, - { "inputs": [138, 138], "output": 138 }, - { "inputs": [138, 134], "output": 130 } + { "inputs": ["1", "85"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint32_euint16": [ - { "inputs": [145081557, 34219], "output": 33921 }, - { "inputs": [34215, 34219], "output": 34211 }, - { "inputs": [34219, 34219], "output": 34219 }, - { "inputs": [34219, 34215], "output": 34211 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint32_euint32": [ - { "inputs": [145081557, 40551396], "output": 2146500 }, - { "inputs": [40551392, 40551396], "output": 40551392 }, - { "inputs": [40551396, 40551396], "output": 40551396 }, - { "inputs": [40551396, 40551392], "output": 40551392 } + { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint32_euint64": [ - { "inputs": [145081557, 212896076], "output": 144736324 }, - { "inputs": [145081553, 145081557], "output": 145081553 }, - { "inputs": [145081557, 145081557], "output": 145081557 }, - { "inputs": [145081557, 145081553], "output": 145081553 } + { "inputs": ["1", "3270"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint64_euint4": [ - { "inputs": [238356224, 9], "output": 0 }, - { "inputs": [5, 9], "output": 1 }, - { "inputs": [9, 9], "output": 9 }, - { "inputs": [9, 5], "output": 1 } + { "inputs": ["2380", "1"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint64_euint8": [ - { "inputs": [238356224, 211], "output": 0 }, - { "inputs": [207, 211], "output": 195 }, - { "inputs": [211, 211], "output": 211 }, - { "inputs": [211, 207], "output": 195 } + { "inputs": ["2380", "1"], "output": "0" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint64_euint16": [ - { "inputs": [238356224, 18546], "output": 0 }, - { "inputs": [18542, 18546], "output": 18530 }, - { "inputs": [18546, 18546], "output": 18546 }, - { "inputs": [18546, 18542], "output": 18530 } + { "inputs": ["2380", "9"], "output": "8" }, + { "inputs": ["5", "9"], "output": "1" }, + { "inputs": ["9", "9"], "output": "9" }, + { "inputs": ["9", "5"], "output": "1" } ], "and_euint64_euint32": [ - { "inputs": [238356224, 212953386], "output": 204538112 }, - { "inputs": [212953382, 212953386], "output": 212953378 }, - { "inputs": [212953386, 212953386], "output": 212953386 }, - { "inputs": [212953386, 212953382], "output": 212953378 } + { "inputs": ["2380", "4"], "output": "4" }, + { "inputs": ["4", "8"], "output": "0" }, + { "inputs": ["8", "8"], "output": "8" }, + { "inputs": ["8", "4"], "output": "0" } ], "and_euint64_euint64": [ - { "inputs": [238356224, 13141105], "output": 1024 }, - { "inputs": [13141101, 13141105], "output": 13141089 }, - { "inputs": [13141105, 13141105], "output": 13141105 }, - { "inputs": [13141105, 13141101], "output": 13141089 } + { "inputs": ["2380", "2068"], "output": "2052" }, + { "inputs": ["2064", "2068"], "output": "2064" }, + { "inputs": ["2068", "2068"], "output": "2068" }, + { "inputs": ["2068", "2064"], "output": "2064" } ], "xor_euint4_euint4": [ - { "inputs": [13, 2], "output": 15 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["3", "1"], "output": "2" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint4_euint8": [ - { "inputs": [13, 95], "output": 82 }, - { "inputs": [9, 13], "output": 4 }, - { "inputs": [13, 13], "output": 0 }, - { "inputs": [13, 9], "output": 4 } + { "inputs": ["3", "1"], "output": "2" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint4_euint16": [ - { "inputs": [13, 19075], "output": 19086 }, - { "inputs": [9, 13], "output": 4 }, - { "inputs": [13, 13], "output": 0 }, - { "inputs": [13, 9], "output": 4 } + { "inputs": ["3", "1"], "output": "2" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint4_euint32": [ - { "inputs": [13, 56718435], "output": 56718446 }, - { "inputs": [9, 13], "output": 4 }, - { "inputs": [13, 13], "output": 0 }, - { "inputs": [13, 9], "output": 4 } + { "inputs": ["3", "5"], "output": "6" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint4_euint64": [ - { "inputs": [13, 34180683], "output": 34180678 }, - { "inputs": [9, 13], "output": 4 }, - { "inputs": [13, 13], "output": 0 }, - { "inputs": [13, 9], "output": 4 } + { "inputs": ["3", "2792"], "output": "2795" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint8_euint4": [ - { "inputs": [5, 3], "output": 6 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["2", "1"], "output": "3" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint8_euint8": [ - { "inputs": [5, 61], "output": 56 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["2", "1"], "output": "3" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint8_euint16": [ - { "inputs": [5, 1712], "output": 1717 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["2", "1"], "output": "3" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint8_euint32": [ - { "inputs": [5, 115830538], "output": 115830543 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["2", "1"], "output": "3" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint8_euint64": [ - { "inputs": [5, 103206592], "output": 103206597 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["2", "4046"], "output": "4044" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint16_euint4": [ - { "inputs": [20626, 7], "output": 20629 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["9", "3"], "output": "10" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint16_euint8": [ - { "inputs": [20626, 38], "output": 20660 }, - { "inputs": [34, 38], "output": 4 }, - { "inputs": [38, 38], "output": 0 }, - { "inputs": [38, 34], "output": 4 } + { "inputs": ["9", "7"], "output": "14" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint16_euint16": [ - { "inputs": [20626, 44825], "output": 65419 }, - { "inputs": [20622, 20626], "output": 28 }, - { "inputs": [20626, 20626], "output": 0 }, - { "inputs": [20626, 20622], "output": 28 } + { "inputs": ["9", "1"], "output": "8" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint16_euint32": [ - { "inputs": [20626, 50344759], "output": 50357157 }, - { "inputs": [20622, 20626], "output": 28 }, - { "inputs": [20626, 20626], "output": 0 }, - { "inputs": [20626, 20622], "output": 28 } + { "inputs": ["9", "147"], "output": "154" }, + { "inputs": ["5", "9"], "output": "12" }, + { "inputs": ["9", "9"], "output": "0" }, + { "inputs": ["9", "5"], "output": "12" } ], "xor_euint16_euint64": [ - { "inputs": [20626, 20674993], "output": 20654371 }, - { "inputs": [20622, 20626], "output": 28 }, - { "inputs": [20626, 20626], "output": 0 }, - { "inputs": [20626, 20622], "output": 28 } + { "inputs": ["9", "28164"], "output": "28173" }, + { "inputs": ["5", "9"], "output": "12" }, + { "inputs": ["9", "9"], "output": "0" }, + { "inputs": ["9", "5"], "output": "12" } ], "xor_euint32_euint4": [ - { "inputs": [27190055, 14], "output": 27190057 }, - { "inputs": [10, 14], "output": 4 }, - { "inputs": [14, 14], "output": 0 }, - { "inputs": [14, 10], "output": 4 } + { "inputs": ["1", "1"], "output": "0" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint32_euint8": [ - { "inputs": [27190055, 85], "output": 27190130 }, - { "inputs": [81, 85], "output": 4 }, - { "inputs": [85, 85], "output": 0 }, - { "inputs": [85, 81], "output": 4 } + { "inputs": ["1", "1"], "output": "0" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint32_euint16": [ - { "inputs": [27190055, 32965], "output": 27157474 }, - { "inputs": [32961, 32965], "output": 4 }, - { "inputs": [32965, 32965], "output": 0 }, - { "inputs": [32965, 32961], "output": 4 } + { "inputs": ["1", "1"], "output": "0" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint32_euint32": [ - { "inputs": [27190055, 97550225], "output": 72260790 }, - { "inputs": [27190051, 27190055], "output": 4 }, - { "inputs": [27190055, 27190055], "output": 0 }, - { "inputs": [27190055, 27190051], "output": 4 } + { "inputs": ["1", "1"], "output": "0" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint32_euint64": [ - { "inputs": [27190055, 77242514], "output": 84165557 }, - { "inputs": [27190051, 27190055], "output": 4 }, - { "inputs": [27190055, 27190055], "output": 0 }, - { "inputs": [27190055, 27190051], "output": 4 } + { "inputs": ["1", "2447"], "output": "2446" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint64_euint4": [ - { "inputs": [147215301, 1], "output": 147215300 }, - { "inputs": [4, 8], "output": 12 }, - { "inputs": [8, 8], "output": 0 }, - { "inputs": [8, 4], "output": 12 } + { "inputs": ["5602", "3"], "output": "5601" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint64_euint8": [ - { "inputs": [147215301, 174], "output": 147215211 }, - { "inputs": [170, 174], "output": 4 }, - { "inputs": [174, 174], "output": 0 }, - { "inputs": [174, 170], "output": 4 } + { "inputs": ["5602", "5"], "output": "5607" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint64_euint16": [ - { "inputs": [147215301, 35671], "output": 147249298 }, - { "inputs": [35667, 35671], "output": 4 }, - { "inputs": [35671, 35671], "output": 0 }, - { "inputs": [35671, 35667], "output": 4 } + { "inputs": ["5602", "9"], "output": "5611" }, + { "inputs": ["5", "9"], "output": "12" }, + { "inputs": ["9", "9"], "output": "0" }, + { "inputs": ["9", "5"], "output": "12" } ], "xor_euint64_euint32": [ - { "inputs": [147215301, 173065039], "output": 43421834 }, - { "inputs": [147215297, 147215301], "output": 4 }, - { "inputs": [147215301, 147215301], "output": 0 }, - { "inputs": [147215301, 147215297], "output": 4 } + { "inputs": ["5602", "2"], "output": "5600" }, + { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["8", "8"], "output": "0" }, + { "inputs": ["8", "4"], "output": "12" } ], "xor_euint64_euint64": [ - { "inputs": [147215301, 32869222], "output": 154392739 }, - { "inputs": [32869218, 32869222], "output": 4 }, - { "inputs": [32869222, 32869222], "output": 0 }, - { "inputs": [32869222, 32869218], "output": 4 } - ], - "not_euint4": [{ "inputs": [12], "output": "3" }], - "not_euint8": [{ "inputs": [74], "output": "181" }], - "not_euint16": [{ "inputs": [51762], "output": "13773" }], - "not_euint32": [{ "inputs": [34192436], "output": "4260774859" }], - "not_euint64": [{ "inputs": [131894418], "output": "18446744073577657197" }], - "neg_euint4": [{ "inputs": [3], "output": "13" }], - "neg_euint8": [{ "inputs": [165], "output": "91" }], - "neg_euint16": [{ "inputs": [17405], "output": "48131" }], - "neg_euint32": [{ "inputs": [202665091], "output": "4092302205" }], - "neg_euint64": [{ "inputs": [6247856], "output": "18446744073703303760" }] + { "inputs": ["5602", "4581"], "output": "1031" }, + { "inputs": ["4577", "4581"], "output": "4" }, + { "inputs": ["4581", "4581"], "output": "0" }, + { "inputs": ["4581", "4577"], "output": "4" } + ], + "not_euint4": [{ "inputs": ["1"], "output": "14" }], + "not_euint8": [{ "inputs": ["1"], "output": "254" }], + "not_euint16": [{ "inputs": ["5"], "output": "65530" }], + "not_euint32": [{ "inputs": ["1"], "output": "4294967294" }], + "not_euint64": [{ "inputs": ["51608"], "output": "18446744073709500007" }], + "neg_euint4": [{ "inputs": ["1"], "output": "15" }], + "neg_euint8": [{ "inputs": ["1"], "output": "255" }], + "neg_euint16": [{ "inputs": ["1"], "output": "65535" }], + "neg_euint32": [{ "inputs": ["1"], "output": "4294967295" }], + "neg_euint64": [{ "inputs": ["40511"], "output": "18446744073709511105" }] } diff --git a/codegen/testgen.ts b/codegen/testgen.ts index d12408e9..f503a111 100644 --- a/codegen/testgen.ts +++ b/codegen/testgen.ts @@ -167,7 +167,7 @@ async function deployTfheTestFixture${os.shardNumber}(): Promise= min && input <= max, `${bits} bit number ${input} doesn't fall into expected [${min}; ${max}] range`); } diff --git a/test/tfheOperations/tfheOperations.ts b/test/tfheOperations/tfheOperations.ts index f82dcdea..07649c05 100644 --- a/test/tfheOperations/tfheOperations.ts +++ b/test/tfheOperations/tfheOperations.ts @@ -100,92 +100,92 @@ describe('TFHE operations', function () { this.instances5 = instances5; }); - it('test operator "add" overload (euint4, euint4) => euint4 test 1 (4, 7)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 1 (8, 2)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(11n); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, euint4) => euint4 test 2 (5, 9)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(14n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint4, euint4) => euint4 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 3 (5, 5)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, euint4) => euint4 test 4 (9, 5)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(14n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint4, euint4) => euint4 test 1 (10, 10)', async function () { + it('test operator "sub" overload (euint4, euint4) => euint4 test 1 (8, 8)', async function () { const res = await this.contract1.sub_euint4_euint4( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint4, euint4) => euint4 test 2 (10, 6)', async function () { + it('test operator "sub" overload (euint4, euint4) => euint4 test 2 (8, 4)', async function () { const res = await this.contract1.sub_euint4_euint4( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 1 (7, 1)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 1 (1, 2)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(7), this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(7n); + expect(res).to.equal(2n); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(15n); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 3 (2, 2)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 3 (3, 3)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(4n); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(8n); + expect(res).to.equal(15n); }); - it('test operator "and" overload (euint4, euint4) => euint4 test 1 (1, 12)', async function () { + it('test operator "and" overload (euint4, euint4) => euint4 test 1 (1, 15)', async function () { const res = await this.contract1.and_euint4_euint4( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt4(15), ); - expect(res).to.equal(0); + expect(res).to.equal(1n); }); it('test operator "and" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -193,7 +193,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { @@ -201,7 +201,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "and" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { @@ -209,47 +209,47 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 1 (14, 12)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 1 (1, 2)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(14); + expect(res).to.equal(3n); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 2 (8, 12)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { const res = await this.contract1.or_euint4_euint4( + this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 3 (12, 12)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(12), - this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 4 (12, 8)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(12), this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint4) => euint4 test 1 (13, 2)', async function () { + it('test operator "xor" overload (euint4, euint4) => euint4 test 1 (3, 1)', async function () { const res = await this.contract1.xor_euint4_euint4( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(15); + expect(res).to.equal(2n); }); it('test operator "xor" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -257,7 +257,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "xor" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { @@ -265,7 +265,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "xor" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { @@ -273,13 +273,13 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint4, euint4) => ebool test 1 (5, 2)', async function () { + it('test operator "eq" overload (euint4, euint4) => ebool test 1 (15, 1)', async function () { const res = await this.contract1.eq_euint4_euint4( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(15), + this.instances1.alice.encrypt4(1), ); expect(res).to.equal(false); }); @@ -308,12 +308,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint4) => ebool test 1 (7, 1)', async function () { + it('test operator "ne" overload (euint4, euint4) => ebool test 1 (3, 3)', async function () { const res = await this.contract1.ne_euint4_euint4( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "ne" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { @@ -340,10 +340,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint4) => ebool test 1 (9, 4)', async function () { + it('test operator "ge" overload (euint4, euint4) => ebool test 1 (2, 1)', async function () { const res = await this.contract1.ge_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(1), ); expect(res).to.equal(true); }); @@ -372,76 +372,76 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 1 (9, 9)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 1 (3, 3)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(3), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 2 (5, 9)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 3 (9, 9)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 4 (9, 5)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint4) => ebool test 1 (10, 10)', async function () { + it('test operator "le" overload (euint4, euint4) => ebool test 1 (1, 3)', async function () { const res = await this.contract1.le_euint4_euint4( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(3), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint4) => ebool test 2 (6, 10)', async function () { + it('test operator "le" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.le_euint4_euint4( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint4) => ebool test 3 (10, 10)', async function () { + it('test operator "le" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.le_euint4_euint4( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint4) => ebool test 4 (10, 6)', async function () { + it('test operator "le" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.le_euint4_euint4( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint4) => ebool test 1 (4, 1)', async function () { + it('test operator "lt" overload (euint4, euint4) => ebool test 1 (2, 5)', async function () { const res = await this.contract1.lt_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "lt" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { @@ -468,12 +468,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint4) => euint4 test 1 (1, 10)', async function () { + it('test operator "min" overload (euint4, euint4) => euint4 test 1 (1, 1)', async function () { const res = await this.contract1.min_euint4_euint4( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(1); + expect(res).to.equal(1n); }); it('test operator "min" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -481,7 +481,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "min" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { @@ -489,7 +489,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "min" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { @@ -497,15 +497,15 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint4, euint4) => euint4 test 1 (11, 7)', async function () { + it('test operator "max" overload (euint4, euint4) => euint4 test 1 (1, 2)', async function () { const res = await this.contract1.max_euint4_euint4( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(11); + expect(res).to.equal(2n); }); it('test operator "max" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -513,7 +513,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "max" overload (euint4, euint4) => euint4 test 3 (8, 8)', async function () { @@ -521,7 +521,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "max" overload (euint4, euint4) => euint4 test 4 (8, 4)', async function () { @@ -529,71 +529,71 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint8) => euint8 test 1 (1, 12)', async function () { + it('test operator "add" overload (euint4, euint8) => euint8 test 1 (8, 3)', async function () { const res = await this.contract1.add_euint4_euint8( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(12), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(3), ); - expect(res).to.equal(13n); + expect(res).to.equal(11n); }); - it('test operator "add" overload (euint4, euint8) => euint8 test 2 (5, 9)', async function () { + it('test operator "add" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract1.add_euint4_euint8( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(14n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint4, euint8) => euint8 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint4, euint8) => euint8 test 3 (5, 5)', async function () { const res = await this.contract1.add_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, euint8) => euint8 test 4 (9, 5)', async function () { + it('test operator "add" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract1.add_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(14n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint4, euint8) => euint8 test 1 (10, 10)', async function () { + it('test operator "sub" overload (euint4, euint8) => euint8 test 1 (8, 8)', async function () { const res = await this.contract1.sub_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint4, euint8) => euint8 test 2 (10, 6)', async function () { + it('test operator "sub" overload (euint4, euint8) => euint8 test 2 (8, 4)', async function () { const res = await this.contract1.sub_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 1 (1, 9)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 1 (1, 1)', async function () { const res = await this.contract1.mul_euint4_euint8( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt8(1), ); - expect(res).to.equal(9n); + expect(res).to.equal(1n); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 2 (2, 3)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint4_euint8( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt8(3), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(5), ); - expect(res).to.equal(6n); + expect(res).to.equal(15n); }); it('test operator "mul" overload (euint4, euint8) => euint8 test 3 (3, 3)', async function () { @@ -604,20 +604,20 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 4 (3, 2)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint4_euint8( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt8(2), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(3), ); - expect(res).to.equal(6n); + expect(res).to.equal(15n); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 1 (1, 208)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 1 (1, 1)', async function () { const res = await this.contract1.and_euint4_euint8( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(208), + this.instances1.alice.encrypt8(1), ); - expect(res).to.equal(0); + expect(res).to.equal(1n); }); it('test operator "and" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { @@ -625,7 +625,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { @@ -633,7 +633,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "and" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { @@ -641,77 +641,77 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 1 (14, 81)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 1 (1, 1)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt8(81), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(1), ); - expect(res).to.equal(95); + expect(res).to.equal(1n); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 2 (10, 14)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(14), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(14); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 3 (14, 14)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt8(14), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 4 (14, 10)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt8(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(14); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 1 (13, 95)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 1 (3, 1)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(95), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(1), ); - expect(res).to.equal(82); + expect(res).to.equal(2n); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 2 (9, 13)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 3 (13, 13)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(13), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 4 (13, 9)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 1 (5, 81)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 1 (15, 5)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt8(81), + this.instances1.alice.encrypt4(15), + this.instances1.alice.encrypt8(5), ); expect(res).to.equal(false); }); @@ -740,12 +740,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint8) => ebool test 1 (7, 29)', async function () { + it('test operator "ne" overload (euint4, euint8) => ebool test 1 (3, 3)', async function () { const res = await this.contract1.ne_euint4_euint8( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt8(29), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(3), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "ne" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { @@ -772,106 +772,106 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 1 (9, 39)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 1 (2, 3)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(39), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt8(3), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 2 (5, 9)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 3 (9, 9)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 4 (9, 5)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint8) => ebool test 1 (9, 247)', async function () { + it('test operator "gt" overload (euint4, euint8) => ebool test 1 (3, 4)', async function () { const res = await this.contract1.gt_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(247), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint8) => ebool test 2 (5, 9)', async function () { + it('test operator "gt" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.gt_euint4_euint8( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint8) => ebool test 3 (9, 9)', async function () { + it('test operator "gt" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.gt_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint8) => ebool test 4 (9, 5)', async function () { + it('test operator "gt" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.gt_euint4_euint8( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 1 (10, 82)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 1 (1, 1)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(82), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(1), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 2 (6, 10)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt8(10), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 3 (10, 10)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 4 (10, 6)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt8(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint8) => ebool test 1 (4, 146)', async function () { + it('test operator "lt" overload (euint4, euint8) => ebool test 1 (2, 255)', async function () { const res = await this.contract1.lt_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(146), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt8(255), ); expect(res).to.equal(true); }); @@ -900,12 +900,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 1 (1, 21)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 1 (1, 2)', async function () { const res = await this.contract1.min_euint4_euint8( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(21), + this.instances1.alice.encrypt8(2), ); - expect(res).to.equal(1); + expect(res).to.equal(1n); }); it('test operator "min" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { @@ -913,7 +913,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "min" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { @@ -921,7 +921,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "min" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { @@ -929,103 +929,103 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 1 (11, 223)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 1 (1, 5)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt8(223), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(5), ); - expect(res).to.equal(223); + expect(res).to.equal(5n); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 2 (7, 11)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt8(11), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 3 (11, 11)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt8(11), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 4 (11, 7)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt8(7), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(4), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 1 (1, 9)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 1 (8, 1)', async function () { const res = await this.contract1.add_euint4_euint16( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(1), ); - expect(res).to.equal(10n); + expect(res).to.equal(9n); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 2 (5, 9)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract1.add_euint4_euint16( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt16(9), - ); - expect(res).to.equal(14n); + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), + ); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 3 (5, 5)', async function () { const res = await this.contract1.add_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 4 (9, 5)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract1.add_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(14n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint4, euint16) => euint16 test 1 (10, 10)', async function () { + it('test operator "sub" overload (euint4, euint16) => euint16 test 1 (8, 8)', async function () { const res = await this.contract1.sub_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint4, euint16) => euint16 test 2 (10, 6)', async function () { + it('test operator "sub" overload (euint4, euint16) => euint16 test 2 (8, 4)', async function () { const res = await this.contract1.sub_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint16) => euint16 test 1 (1, 13)', async function () { + it('test operator "mul" overload (euint4, euint16) => euint16 test 1 (1, 12)', async function () { const res = await this.contract1.mul_euint4_euint16( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(13), + this.instances1.alice.encrypt16(12), ); - expect(res).to.equal(13n); + expect(res).to.equal(12n); }); - it('test operator "mul" overload (euint4, euint16) => euint16 test 2 (2, 3)', async function () { + it('test operator "mul" overload (euint4, euint16) => euint16 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint4_euint16( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt16(3), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt16(5), ); - expect(res).to.equal(6n); + expect(res).to.equal(15n); }); it('test operator "mul" overload (euint4, euint16) => euint16 test 3 (3, 3)', async function () { @@ -1036,20 +1036,20 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint16) => euint16 test 4 (3, 2)', async function () { + it('test operator "mul" overload (euint4, euint16) => euint16 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint4_euint16( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt16(2), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(3), ); - expect(res).to.equal(6n); + expect(res).to.equal(15n); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 1 (1, 44006)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 1 (1, 3)', async function () { const res = await this.contract1.and_euint4_euint16( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(44006), + this.instances1.alice.encrypt16(3), ); - expect(res).to.equal(0); + expect(res).to.equal(1n); }); it('test operator "and" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { @@ -1057,7 +1057,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { @@ -1065,7 +1065,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "and" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { @@ -1073,77 +1073,77 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 1 (14, 32563)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 1 (1, 1)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt16(32563), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(1), ); - expect(res).to.equal(32575); + expect(res).to.equal(1n); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 2 (10, 14)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(14), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(14); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 3 (14, 14)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt16(14), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 4 (14, 10)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(14); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint16) => euint16 test 1 (13, 19075)', async function () { + it('test operator "xor" overload (euint4, euint16) => euint16 test 1 (3, 1)', async function () { const res = await this.contract1.xor_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(19075), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt16(1), ); - expect(res).to.equal(19086); + expect(res).to.equal(2n); }); - it('test operator "xor" overload (euint4, euint16) => euint16 test 2 (9, 13)', async function () { + it('test operator "xor" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract1.xor_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(13), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint16) => euint16 test 3 (13, 13)', async function () { + it('test operator "xor" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract1.xor_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(13), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint4, euint16) => euint16 test 4 (13, 9)', async function () { + it('test operator "xor" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract1.xor_euint4_euint16( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt16(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 1 (5, 1690)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 1 (15, 2)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt16(1690), + this.instances1.alice.encrypt4(15), + this.instances1.alice.encrypt16(2), ); expect(res).to.equal(false); }); @@ -1172,10 +1172,10 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint16) => ebool test 1 (7, 4713)', async function () { + it('test operator "ne" overload (euint4, euint16) => ebool test 1 (3, 41)', async function () { const res = await this.contract1.ne_euint4_euint16( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt16(4713), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt16(41), ); expect(res).to.equal(true); }); @@ -1204,108 +1204,108 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 1 (9, 12663)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 1 (2, 10)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(12663), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(10), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 2 (5, 9)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt16(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 3 (9, 9)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 4 (9, 5)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 1 (9, 35570)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 1 (3, 2)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(35570), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt16(2), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 2 (5, 9)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt16(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 3 (9, 9)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 4 (9, 5)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt16(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 1 (10, 44221)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 1 (1, 17)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(44221), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(17), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 2 (6, 10)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 3 (10, 10)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 4 (10, 6)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.le_euint4_euint16( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt16(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint16) => ebool test 1 (4, 61168)', async function () { + it('test operator "lt" overload (euint4, euint16) => ebool test 1 (2, 1)', async function () { const res = await this.contract1.lt_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(61168), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "lt" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { @@ -1332,12 +1332,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 1 (1, 60443)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 1 (1, 2)', async function () { const res = await this.contract1.min_euint4_euint16( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(60443), + this.instances1.alice.encrypt16(2), ); - expect(res).to.equal(1); + expect(res).to.equal(1n); }); it('test operator "min" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { @@ -1345,7 +1345,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "min" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { @@ -1353,7 +1353,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "min" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { @@ -1361,103 +1361,103 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 1 (11, 33061)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 1 (1, 1)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt16(33061), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt16(1), ); - expect(res).to.equal(33061); + expect(res).to.equal(1n); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 2 (7, 11)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt16(11), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 3 (11, 11)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt16(11), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 4 (11, 7)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt16(7), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt16(4), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint32) => euint32 test 1 (1, 7)', async function () { + it('test operator "add" overload (euint4, euint32) => euint32 test 1 (8, 1)', async function () { const res = await this.contract1.add_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(7), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(1), ); - expect(res).to.equal(8n); + expect(res).to.equal(9n); }); - it('test operator "add" overload (euint4, euint32) => euint32 test 2 (5, 9)', async function () { + it('test operator "add" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract1.add_euint4_euint32( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt32(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(14n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint4, euint32) => euint32 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint4, euint32) => euint32 test 3 (5, 5)', async function () { const res = await this.contract1.add_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, euint32) => euint32 test 4 (9, 5)', async function () { + it('test operator "add" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract1.add_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(14n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint4, euint32) => euint32 test 1 (10, 10)', async function () { + it('test operator "sub" overload (euint4, euint32) => euint32 test 1 (8, 8)', async function () { const res = await this.contract1.sub_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint4, euint32) => euint32 test 2 (10, 6)', async function () { + it('test operator "sub" overload (euint4, euint32) => euint32 test 2 (8, 4)', async function () { const res = await this.contract1.sub_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 1 (1, 15)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 1 (1, 2)', async function () { const res = await this.contract1.mul_euint4_euint32( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(15), + this.instances1.alice.encrypt32(2), ); - expect(res).to.equal(15n); + expect(res).to.equal(2n); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 2 (2, 3)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint4_euint32( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt32(3), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt32(5), ); - expect(res).to.equal(6n); + expect(res).to.equal(15n); }); it('test operator "mul" overload (euint4, euint32) => euint32 test 3 (3, 3)', async function () { @@ -1468,20 +1468,20 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 4 (3, 2)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint4_euint32( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt32(2), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(3), ); - expect(res).to.equal(6n); + expect(res).to.equal(15n); }); - it('test operator "and" overload (euint4, euint32) => euint32 test 1 (1, 245829777)', async function () { + it('test operator "and" overload (euint4, euint32) => euint32 test 1 (1, 2)', async function () { const res = await this.contract1.and_euint4_euint32( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(245829777), + this.instances1.alice.encrypt32(2), ); - expect(res).to.equal(1); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { @@ -1489,7 +1489,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { @@ -1497,7 +1497,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "and" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { @@ -1505,109 +1505,109 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 1 (14, 14664100)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 1 (1, 1)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt32(14664100), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(1), ); - expect(res).to.equal(14664110); + expect(res).to.equal(1n); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 2 (10, 14)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(14), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(14); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 3 (14, 14)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt32(14), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 4 (14, 10)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt32(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(14); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint32) => euint32 test 1 (13, 56718435)', async function () { + it('test operator "xor" overload (euint4, euint32) => euint32 test 1 (3, 5)', async function () { const res = await this.contract1.xor_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(56718435), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt32(5), ); - expect(res).to.equal(56718446); + expect(res).to.equal(6n); }); - it('test operator "xor" overload (euint4, euint32) => euint32 test 2 (9, 13)', async function () { + it('test operator "xor" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract1.xor_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(13), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint32) => euint32 test 3 (13, 13)', async function () { + it('test operator "xor" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract1.xor_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(13), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint4, euint32) => euint32 test 4 (13, 9)', async function () { + it('test operator "xor" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract1.xor_euint4_euint32( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt32(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 1 (5, 67800295)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 1 (15, 16)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt32(67800295), + this.instances1.alice.encrypt4(15), + this.instances1.alice.encrypt32(16), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 2 (11, 15)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(15), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 3 (15, 15)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(15), + this.instances1.alice.encrypt32(15), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 4 (15, 11)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(15), + this.instances1.alice.encrypt32(11), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint32) => ebool test 1 (7, 24833418)', async function () { + it('test operator "ne" overload (euint4, euint32) => ebool test 1 (3, 1)', async function () { const res = await this.contract1.ne_euint4_euint32( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt32(24833418), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt32(1), ); expect(res).to.equal(true); }); @@ -1636,108 +1636,108 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 1 (9, 36890948)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 1 (2, 3)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(36890948), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt32(3), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 2 (5, 9)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt32(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 3 (9, 9)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 4 (9, 5)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 1 (9, 89558247)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 1 (3, 4)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(89558247), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 2 (5, 9)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt32(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 3 (9, 9)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 4 (9, 5)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt32(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 1 (10, 3145467)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 1 (1, 1)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(3145467), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(1), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 2 (6, 10)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt32(10), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 3 (10, 10)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 4 (10, 6)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt32(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint32) => ebool test 1 (4, 187774996)', async function () { + it('test operator "lt" overload (euint4, euint32) => ebool test 1 (2, 1)', async function () { const res = await this.contract1.lt_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(187774996), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt32(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "lt" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { @@ -1764,12 +1764,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint32) => euint32 test 1 (1, 66587261)', async function () { + it('test operator "min" overload (euint4, euint32) => euint32 test 1 (1, 1)', async function () { const res = await this.contract1.min_euint4_euint32( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(66587261), + this.instances1.alice.encrypt32(1), ); - expect(res).to.equal(1); + expect(res).to.equal(1n); }); it('test operator "min" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { @@ -1777,7 +1777,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "min" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { @@ -1785,7 +1785,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "min" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { @@ -1793,103 +1793,103 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 1 (11, 9483424)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 1 (1, 6)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt32(9483424), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt32(6), ); - expect(res).to.equal(9483424); + expect(res).to.equal(6n); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 2 (7, 11)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt32(11), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 3 (11, 11)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt32(11), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 4 (11, 7)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt32(7), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 1 (1, 9)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 1 (2, 10)', async function () { const res = await this.contract1.add_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(9), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt64(10), ); - expect(res).to.equal(10n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 2 (5, 9)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 2 (6, 8)', async function () { const res = await this.contract1.add_euint4_euint64( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt64(9), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(14n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 3 (5, 5)', async function () { const res = await this.contract1.add_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt64(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 4 (9, 5)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 4 (8, 6)', async function () { const res = await this.contract1.add_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(6), ); expect(res).to.equal(14n); }); - it('test operator "sub" overload (euint4, euint64) => euint64 test 1 (10, 10)', async function () { + it('test operator "sub" overload (euint4, euint64) => euint64 test 1 (8, 8)', async function () { const res = await this.contract1.sub_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint4, euint64) => euint64 test 2 (10, 6)', async function () { + it('test operator "sub" overload (euint4, euint64) => euint64 test 2 (8, 4)', async function () { const res = await this.contract1.sub_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 1 (1, 15)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 1 (1, 13)', async function () { const res = await this.contract1.mul_euint4_euint64( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(15), + this.instances1.alice.encrypt64(13), ); - expect(res).to.equal(15n); + expect(res).to.equal(13n); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 2 (2, 3)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint4_euint64( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt64(3), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt64(5), ); - expect(res).to.equal(6n); + expect(res).to.equal(15n); }); it('test operator "mul" overload (euint4, euint64) => euint64 test 3 (3, 3)', async function () { @@ -1900,20 +1900,20 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 4 (3, 2)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint4_euint64( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt64(2), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt64(3), ); - expect(res).to.equal(6n); + expect(res).to.equal(15n); }); - it('test operator "and" overload (euint4, euint64) => euint64 test 1 (1, 113854917)', async function () { + it('test operator "and" overload (euint4, euint64) => euint64 test 1 (1, 13187)', async function () { const res = await this.contract1.and_euint4_euint64( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(113854917), + this.instances1.alice.encrypt64(13187), ); - expect(res).to.equal(1); + expect(res).to.equal(1n); }); it('test operator "and" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { @@ -1921,7 +1921,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { @@ -1929,7 +1929,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "and" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { @@ -1937,109 +1937,109 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 1 (14, 170899961)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 1 (1, 57469)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt64(170899961), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(57469), ); - expect(res).to.equal(170899967); + expect(res).to.equal(57469n); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 2 (10, 14)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(14), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(14); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 3 (14, 14)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt64(14), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 4 (14, 10)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(14), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(14); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint64) => euint64 test 1 (13, 34180683)', async function () { + it('test operator "xor" overload (euint4, euint64) => euint64 test 1 (3, 2792)', async function () { const res = await this.contract1.xor_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(34180683), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt64(2792), ); - expect(res).to.equal(34180678); + expect(res).to.equal(2795n); }); - it('test operator "xor" overload (euint4, euint64) => euint64 test 2 (9, 13)', async function () { + it('test operator "xor" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract1.xor_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(13), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint64) => euint64 test 3 (13, 13)', async function () { + it('test operator "xor" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract1.xor_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(13), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint4, euint64) => euint64 test 4 (13, 9)', async function () { + it('test operator "xor" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract1.xor_euint4_euint64( - this.instances1.alice.encrypt4(13), - this.instances1.alice.encrypt64(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 1 (5, 143961113)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 1 (15, 191715)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt64(143961113), + this.instances1.alice.encrypt4(15), + this.instances1.alice.encrypt64(191715), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 2 (11, 15)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(15), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 3 (15, 15)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(15), + this.instances1.alice.encrypt64(15), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 4 (15, 11)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(15), + this.instances1.alice.encrypt64(11), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint64) => ebool test 1 (7, 198024790)', async function () { + it('test operator "ne" overload (euint4, euint64) => ebool test 1 (3, 2558)', async function () { const res = await this.contract1.ne_euint4_euint64( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt64(198024790), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt64(2558), ); expect(res).to.equal(true); }); @@ -2068,106 +2068,106 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 1 (9, 16491235)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 1 (2, 3677)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(16491235), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt64(3677), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 2 (5, 9)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt64(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 3 (9, 9)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 4 (9, 5)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint64) => ebool test 1 (9, 53485181)', async function () { + it('test operator "gt" overload (euint4, euint64) => ebool test 1 (3, 6288)', async function () { const res = await this.contract1.gt_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(53485181), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt64(6288), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint64) => ebool test 2 (5, 9)', async function () { + it('test operator "gt" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.gt_euint4_euint64( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt64(9), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint64) => ebool test 3 (9, 9)', async function () { + it('test operator "gt" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.gt_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(9), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint64) => ebool test 4 (9, 5)', async function () { + it('test operator "gt" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.gt_euint4_euint64( - this.instances1.alice.encrypt4(9), - this.instances1.alice.encrypt64(5), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 1 (10, 167407557)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 1 (1, 10377)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(167407557), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(10377), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 2 (6, 10)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 3 (10, 10)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 4 (10, 6)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(10), - this.instances1.alice.encrypt64(6), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint64) => ebool test 1 (4, 169419678)', async function () { + it('test operator "lt" overload (euint4, euint64) => ebool test 1 (2, 8139)', async function () { const res = await this.contract1.lt_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(169419678), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt64(8139), ); expect(res).to.equal(true); }); @@ -2196,12 +2196,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint64) => euint64 test 1 (1, 243162021)', async function () { + it('test operator "min" overload (euint4, euint64) => euint64 test 1 (1, 2202)', async function () { const res = await this.contract1.min_euint4_euint64( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(243162021), + this.instances1.alice.encrypt64(2202), ); - expect(res).to.equal(1); + expect(res).to.equal(1n); }); it('test operator "min" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { @@ -2209,7 +2209,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "min" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { @@ -2217,7 +2217,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "min" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { @@ -2225,74 +2225,74 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt4(8), this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 1 (11, 268368365)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 1 (1, 2520)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt64(268368365), + this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt64(2520), ); - expect(res).to.equal(268368365); + expect(res).to.equal(2520n); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 2 (7, 11)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(7), - this.instances1.alice.encrypt64(11), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 3 (11, 11)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt64(11), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 4 (11, 7)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt64(7), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(11); - }); - - it('test operator "add" overload (euint4, uint8) => euint4 test 1 (4, 4)', async function () { - const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(4), 4); expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, uint8) => euint4 test 2 (5, 9)', async function () { - const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(5), 9); - expect(res).to.equal(14n); + it('test operator "add" overload (euint4, uint8) => euint4 test 1 (8, 2)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(8), 2); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, uint8) => euint4 test 3 (4, 4)', async function () { - const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(4), 4); - expect(res).to.equal(8n); + it('test operator "add" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint4, uint8) => euint4 test 4 (9, 5)', async function () { - const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(9), 5); - expect(res).to.equal(14n); + it('test operator "add" overload (euint4, uint8) => euint4 test 3 (5, 5)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(5), 5); + expect(res).to.equal(10n); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 1 (5, 7)', async function () { - const res = await this.contract1.add_uint8_euint4(5, this.instances1.alice.encrypt4(7)); + it('test operator "add" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(8), 4); expect(res).to.equal(12n); }); + it('test operator "add" overload (uint8, euint4) => euint4 test 1 (8, 1)', async function () { + const res = await this.contract1.add_uint8_euint4(8, this.instances1.alice.encrypt4(1)); + expect(res).to.equal(9n); + }); + it('test operator "add" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { const res = await this.contract1.add_uint8_euint4(4, this.instances1.alice.encrypt4(8)); expect(res).to.equal(12n); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 3 (4, 4)', async function () { - const res = await this.contract1.add_uint8_euint4(4, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(8n); + it('test operator "add" overload (uint8, euint4) => euint4 test 3 (5, 5)', async function () { + const res = await this.contract1.add_uint8_euint4(5, this.instances1.alice.encrypt4(5)); + expect(res).to.equal(10n); }); it('test operator "add" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { @@ -2300,34 +2300,34 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint4, uint8) => euint4 test 1 (10, 10)', async function () { - const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(10), 10); - expect(res).to.equal(0); + it('test operator "sub" overload (euint4, uint8) => euint4 test 1 (8, 8)', async function () { + const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint4, uint8) => euint4 test 2 (10, 6)', async function () { - const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(10), 6); - expect(res).to.equal(4); + it('test operator "sub" overload (euint4, uint8) => euint4 test 2 (8, 4)', async function () { + const res = await this.contract1.sub_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + expect(res).to.equal(4n); }); it('test operator "sub" overload (uint8, euint4) => euint4 test 1 (8, 8)', async function () { const res = await this.contract1.sub_uint8_euint4(8, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "sub" overload (uint8, euint4) => euint4 test 2 (8, 4)', async function () { const res = await this.contract1.sub_uint8_euint4(8, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 1 (7, 2)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(7), 2); - expect(res).to.equal(14n); + it('test operator "mul" overload (euint4, uint8) => euint4 test 1 (1, 3)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(1), 3); + expect(res).to.equal(3n); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 2 (2, 3)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(2), 3); - expect(res).to.equal(6n); + it('test operator "mul" overload (euint4, uint8) => euint4 test 2 (3, 5)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(3), 5); + expect(res).to.equal(15n); }); it('test operator "mul" overload (euint4, uint8) => euint4 test 3 (3, 3)', async function () { @@ -2335,19 +2335,19 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 4 (3, 2)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(3), 2); - expect(res).to.equal(6n); + it('test operator "mul" overload (euint4, uint8) => euint4 test 4 (5, 3)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(5), 3); + expect(res).to.equal(15n); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 1 (1, 3)', async function () { - const res = await this.contract1.mul_uint8_euint4(1, this.instances1.alice.encrypt4(3)); - expect(res).to.equal(3n); + it('test operator "mul" overload (uint8, euint4) => euint4 test 1 (2, 5)', async function () { + const res = await this.contract1.mul_uint8_euint4(2, this.instances1.alice.encrypt4(5)); + expect(res).to.equal(10n); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 2 (2, 3)', async function () { - const res = await this.contract1.mul_uint8_euint4(2, this.instances1.alice.encrypt4(3)); - expect(res).to.equal(6n); + it('test operator "mul" overload (uint8, euint4) => euint4 test 2 (3, 5)', async function () { + const res = await this.contract1.mul_uint8_euint4(3, this.instances1.alice.encrypt4(5)); + expect(res).to.equal(15n); }); it('test operator "mul" overload (uint8, euint4) => euint4 test 3 (3, 3)', async function () { @@ -2355,54 +2355,54 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 4 (3, 2)', async function () { - const res = await this.contract1.mul_uint8_euint4(3, this.instances1.alice.encrypt4(2)); - expect(res).to.equal(6n); + it('test operator "mul" overload (uint8, euint4) => euint4 test 4 (5, 3)', async function () { + const res = await this.contract1.mul_uint8_euint4(5, this.instances1.alice.encrypt4(3)); + expect(res).to.equal(15n); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 1 (11, 8)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(11), 8); - expect(res).to.equal(1); + it('test operator "div" overload (euint4, uint8) => euint4 test 1 (1, 2)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(1), 2); + expect(res).to.equal(0n); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 2 (7, 11)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(7), 11); - expect(res).to.equal(0); + it('test operator "div" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + expect(res).to.equal(0n); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 3 (11, 11)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(11), 11); - expect(res).to.equal(1); + it('test operator "div" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + expect(res).to.equal(1n); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 4 (11, 7)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(11), 7); - expect(res).to.equal(1); + it('test operator "div" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + expect(res).to.equal(2n); }); - it('test operator "rem" overload (euint4, uint8) => euint4 test 1 (1, 12)', async function () { - const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(1), 12); - expect(res).to.equal(1); + it('test operator "rem" overload (euint4, uint8) => euint4 test 1 (15, 2)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(15), 2); + expect(res).to.equal(1n); }); it('test operator "rem" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(4), 8); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "rem" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(8), 8); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "rem" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(8), 4); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 1 (5, 7)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(5), 7); - expect(res).to.equal(false); + it('test operator "eq" overload (euint4, uint8) => ebool test 1 (15, 15)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(15), 15); + expect(res).to.equal(true); }); it('test operator "eq" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { @@ -2420,28 +2420,28 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint4) => ebool test 1 (6, 11)', async function () { - const res = await this.contract1.eq_uint8_euint4(6, this.instances1.alice.encrypt4(11)); + it('test operator "eq" overload (uint8, euint4) => ebool test 1 (1, 2)', async function () { + const res = await this.contract1.eq_uint8_euint4(1, this.instances1.alice.encrypt4(2)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint4) => ebool test 2 (7, 11)', async function () { - const res = await this.contract1.eq_uint8_euint4(7, this.instances1.alice.encrypt4(11)); + it('test operator "eq" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.eq_uint8_euint4(4, this.instances1.alice.encrypt4(8)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint4) => ebool test 3 (11, 11)', async function () { - const res = await this.contract1.eq_uint8_euint4(11, this.instances1.alice.encrypt4(11)); + it('test operator "eq" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.eq_uint8_euint4(8, this.instances1.alice.encrypt4(8)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint8, euint4) => ebool test 4 (11, 7)', async function () { - const res = await this.contract1.eq_uint8_euint4(11, this.instances1.alice.encrypt4(7)); + it('test operator "eq" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.eq_uint8_euint4(8, this.instances1.alice.encrypt4(4)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, uint8) => ebool test 1 (7, 5)', async function () { - const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(7), 5); + it('test operator "ne" overload (euint4, uint8) => ebool test 1 (3, 1)', async function () { + const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(3), 1); expect(res).to.equal(true); }); @@ -2460,49 +2460,49 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint4) => ebool test 1 (4, 13)', async function () { - const res = await this.contract1.ne_uint8_euint4(4, this.instances1.alice.encrypt4(13)); - expect(res).to.equal(true); + it('test operator "ne" overload (uint8, euint4) => ebool test 1 (2, 2)', async function () { + const res = await this.contract1.ne_uint8_euint4(2, this.instances1.alice.encrypt4(2)); + expect(res).to.equal(false); }); - it('test operator "ne" overload (uint8, euint4) => ebool test 2 (9, 13)', async function () { - const res = await this.contract1.ne_uint8_euint4(9, this.instances1.alice.encrypt4(13)); + it('test operator "ne" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ne_uint8_euint4(4, this.instances1.alice.encrypt4(8)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint4) => ebool test 3 (13, 13)', async function () { - const res = await this.contract1.ne_uint8_euint4(13, this.instances1.alice.encrypt4(13)); + it('test operator "ne" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ne_uint8_euint4(8, this.instances1.alice.encrypt4(8)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint8, euint4) => ebool test 4 (13, 9)', async function () { - const res = await this.contract1.ne_uint8_euint4(13, this.instances1.alice.encrypt4(9)); + it('test operator "ne" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ne_uint8_euint4(8, this.instances1.alice.encrypt4(4)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 1 (9, 2)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(9), 2); + it('test operator "ge" overload (euint4, uint8) => ebool test 1 (2, 1)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(2), 1); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 2 (5, 9)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(5), 9); + it('test operator "ge" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(4), 8); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 3 (9, 9)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(9), 9); + it('test operator "ge" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(8), 8); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 4 (9, 5)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(9), 5); + it('test operator "ge" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(8), 4); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint4) => ebool test 1 (8, 1)', async function () { - const res = await this.contract1.ge_uint8_euint4(8, this.instances1.alice.encrypt4(1)); - expect(res).to.equal(true); + it('test operator "ge" overload (uint8, euint4) => ebool test 1 (2, 15)', async function () { + const res = await this.contract1.ge_uint8_euint4(2, this.instances1.alice.encrypt4(15)); + expect(res).to.equal(false); }); it('test operator "ge" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { @@ -2520,28 +2520,28 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, uint8) => ebool test 1 (9, 9)', async function () { - const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(9), 9); - expect(res).to.equal(false); + it('test operator "gt" overload (euint4, uint8) => ebool test 1 (3, 1)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(3), 1); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, uint8) => ebool test 2 (5, 9)', async function () { - const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(5), 9); + it('test operator "gt" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(4), 8); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, uint8) => ebool test 3 (9, 9)', async function () { - const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(9), 9); + it('test operator "gt" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(8), 8); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, uint8) => ebool test 4 (9, 5)', async function () { - const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(9), 5); + it('test operator "gt" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(8), 4); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 1 (1, 1)', async function () { - const res = await this.contract1.gt_uint8_euint4(1, this.instances1.alice.encrypt4(1)); + it('test operator "gt" overload (uint8, euint4) => ebool test 1 (5, 15)', async function () { + const res = await this.contract1.gt_uint8_euint4(5, this.instances1.alice.encrypt4(15)); expect(res).to.equal(false); }); @@ -2560,48 +2560,48 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 1 (10, 7)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(10), 7); - expect(res).to.equal(false); + it('test operator "le" overload (euint4, uint8) => ebool test 1 (1, 7)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(1), 7); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 2 (6, 10)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(6), 10); + it('test operator "le" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(4), 8); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 3 (10, 10)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(10), 10); + it('test operator "le" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(8), 8); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 4 (10, 6)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(10), 6); + it('test operator "le" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(8), 4); expect(res).to.equal(false); }); - it('test operator "le" overload (uint8, euint4) => ebool test 1 (10, 11)', async function () { - const res = await this.contract1.le_uint8_euint4(10, this.instances1.alice.encrypt4(11)); + it('test operator "le" overload (uint8, euint4) => ebool test 1 (1, 2)', async function () { + const res = await this.contract1.le_uint8_euint4(1, this.instances1.alice.encrypt4(2)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint4) => ebool test 2 (7, 11)', async function () { - const res = await this.contract1.le_uint8_euint4(7, this.instances1.alice.encrypt4(11)); + it('test operator "le" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.le_uint8_euint4(4, this.instances1.alice.encrypt4(8)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint4) => ebool test 3 (11, 11)', async function () { - const res = await this.contract1.le_uint8_euint4(11, this.instances1.alice.encrypt4(11)); + it('test operator "le" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.le_uint8_euint4(8, this.instances1.alice.encrypt4(8)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint4) => ebool test 4 (11, 7)', async function () { - const res = await this.contract1.le_uint8_euint4(11, this.instances1.alice.encrypt4(7)); + it('test operator "le" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.le_uint8_euint4(8, this.instances1.alice.encrypt4(4)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, uint8) => ebool test 1 (4, 14)', async function () { - const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(4), 14); + it('test operator "lt" overload (euint4, uint8) => ebool test 1 (2, 3)', async function () { + const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(2), 3); expect(res).to.equal(true); }); @@ -2620,112 +2620,112 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint4) => ebool test 1 (6, 14)', async function () { - const res = await this.contract1.lt_uint8_euint4(6, this.instances1.alice.encrypt4(14)); - expect(res).to.equal(true); + it('test operator "lt" overload (uint8, euint4) => ebool test 1 (15, 1)', async function () { + const res = await this.contract1.lt_uint8_euint4(15, this.instances1.alice.encrypt4(1)); + expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint4) => ebool test 2 (10, 14)', async function () { - const res = await this.contract1.lt_uint8_euint4(10, this.instances1.alice.encrypt4(14)); + it('test operator "lt" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { + const res = await this.contract1.lt_uint8_euint4(4, this.instances1.alice.encrypt4(8)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint8, euint4) => ebool test 3 (14, 14)', async function () { - const res = await this.contract1.lt_uint8_euint4(14, this.instances1.alice.encrypt4(14)); + it('test operator "lt" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { + const res = await this.contract1.lt_uint8_euint4(8, this.instances1.alice.encrypt4(8)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint4) => ebool test 4 (14, 10)', async function () { - const res = await this.contract1.lt_uint8_euint4(14, this.instances1.alice.encrypt4(10)); + it('test operator "lt" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { + const res = await this.contract1.lt_uint8_euint4(8, this.instances1.alice.encrypt4(4)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 1 (1, 3)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(1), 3); - expect(res).to.equal(1); + it('test operator "min" overload (euint4, uint8) => euint4 test 1 (1, 15)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(1), 15); + expect(res).to.equal(1n); }); it('test operator "min" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(4), 8); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "min" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(8), 8); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "min" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(8), 4); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 1 (4, 9)', async function () { - const res = await this.contract1.min_uint8_euint4(4, this.instances1.alice.encrypt4(9)); - expect(res).to.equal(4); + it('test operator "min" overload (uint8, euint4) => euint4 test 1 (2, 15)', async function () { + const res = await this.contract1.min_uint8_euint4(2, this.instances1.alice.encrypt4(15)); + expect(res).to.equal(2n); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 2 (5, 9)', async function () { - const res = await this.contract1.min_uint8_euint4(5, this.instances1.alice.encrypt4(9)); - expect(res).to.equal(5); + it('test operator "min" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.min_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(4n); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 3 (9, 9)', async function () { - const res = await this.contract1.min_uint8_euint4(9, this.instances1.alice.encrypt4(9)); - expect(res).to.equal(9); + it('test operator "min" overload (uint8, euint4) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(8n); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 4 (9, 5)', async function () { - const res = await this.contract1.min_uint8_euint4(9, this.instances1.alice.encrypt4(5)); - expect(res).to.equal(5); + it('test operator "min" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 1 (11, 8)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(11), 8); - expect(res).to.equal(11); + it('test operator "max" overload (euint4, uint8) => euint4 test 1 (1, 7)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(1), 7); + expect(res).to.equal(7n); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 2 (7, 11)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(7), 11); - expect(res).to.equal(11); + it('test operator "max" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 3 (11, 11)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(11), 11); - expect(res).to.equal(11); + it('test operator "max" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 4 (11, 7)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(11), 7); - expect(res).to.equal(11); + it('test operator "max" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + expect(res).to.equal(8n); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 1 (9, 5)', async function () { - const res = await this.contract1.max_uint8_euint4(9, this.instances1.alice.encrypt4(5)); - expect(res).to.equal(9); + it('test operator "max" overload (uint8, euint4) => euint4 test 1 (3, 1)', async function () { + const res = await this.contract1.max_uint8_euint4(3, this.instances1.alice.encrypt4(1)); + expect(res).to.equal(3n); }); it('test operator "max" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { const res = await this.contract1.max_uint8_euint4(4, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "max" overload (uint8, euint4) => euint4 test 3 (8, 8)', async function () { const res = await this.contract1.max_uint8_euint4(8, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "max" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { const res = await this.contract1.max_uint8_euint4(8, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 1 (9, 1)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 1 (2, 1)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt8(2), this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(10n); + expect(res).to.equal(3n); }); it('test operator "add" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { @@ -2736,12 +2736,12 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 3 (5, 5)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(4), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); it('test operator "add" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { @@ -2757,7 +2757,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(8), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "sub" overload (euint8, euint4) => euint8 test 2 (8, 4)', async function () { @@ -2765,23 +2765,23 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(8), this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 1 (8, 1)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 1 (2, 5)', async function () { const res = await this.contract1.mul_euint8_euint4( - this.instances1.alice.encrypt8(8), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(2), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 2 (2, 3)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 2 (3, 5)', async function () { const res = await this.contract1.mul_euint8_euint4( - this.instances1.alice.encrypt8(2), - this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(3), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(6n); + expect(res).to.equal(15n); }); it('test operator "mul" overload (euint8, euint4) => euint8 test 3 (3, 3)', async function () { @@ -2792,20 +2792,20 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 4 (3, 2)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 4 (5, 3)', async function () { const res = await this.contract1.mul_euint8_euint4( - this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(6n); + expect(res).to.equal(15n); }); - it('test operator "and" overload (euint8, euint4) => euint8 test 1 (245, 4)', async function () { + it('test operator "and" overload (euint8, euint4) => euint8 test 1 (2, 1)', async function () { const res = await this.contract1.and_euint8_euint4( - this.instances1.alice.encrypt8(245), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(2), + this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(4); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { @@ -2813,7 +2813,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(4), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { @@ -2821,7 +2821,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(8), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "and" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { @@ -2829,15 +2829,15 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(8), this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint8, euint4) => euint8 test 1 (96, 6)', async function () { + it('test operator "or" overload (euint8, euint4) => euint8 test 1 (1, 1)', async function () { const res = await this.contract1.or_euint8_euint4( - this.instances1.alice.encrypt8(96), - this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt8(1), + this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(102); + expect(res).to.equal(1n); }); it('test operator "or" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { @@ -2845,7 +2845,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(4), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "or" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { @@ -2853,7 +2853,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(8), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "or" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { @@ -2861,15 +2861,15 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(8), this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint8, euint4) => euint8 test 1 (5, 3)', async function () { + it('test operator "xor" overload (euint8, euint4) => euint8 test 1 (2, 1)', async function () { const res = await this.contract1.xor_euint8_euint4( - this.instances1.alice.encrypt8(5), - this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt8(2), + this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(6); + expect(res).to.equal(3n); }); it('test operator "xor" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { @@ -2877,7 +2877,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(4), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "xor" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { @@ -2885,7 +2885,7 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(8), this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "xor" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { @@ -2893,79 +2893,79 @@ describe('TFHE operations', function () { this.instances1.alice.encrypt8(8), this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint8, euint4) => ebool test 1 (152, 11)', async function () { + it('test operator "eq" overload (euint8, euint4) => ebool test 1 (1, 2)', async function () { const res = await this.contract2.eq_euint8_euint4( - this.instances2.alice.encrypt8(152), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt4(2), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint4) => ebool test 2 (7, 11)', async function () { + it('test operator "eq" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.eq_euint8_euint4( - this.instances2.alice.encrypt8(7), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint4) => ebool test 3 (11, 11)', async function () { + it('test operator "eq" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.eq_euint8_euint4( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint4) => ebool test 4 (11, 7)', async function () { + it('test operator "eq" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.eq_euint8_euint4( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt4(7), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint4) => ebool test 1 (106, 13)', async function () { + it('test operator "ne" overload (euint8, euint4) => ebool test 1 (2, 2)', async function () { const res = await this.contract2.ne_euint8_euint4( - this.instances2.alice.encrypt8(106), - this.instances2.alice.encrypt4(13), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt4(2), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint4) => ebool test 2 (9, 13)', async function () { + it('test operator "ne" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.ne_euint8_euint4( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt4(13), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint4) => ebool test 3 (13, 13)', async function () { + it('test operator "ne" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.ne_euint8_euint4( - this.instances2.alice.encrypt8(13), - this.instances2.alice.encrypt4(13), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint4) => ebool test 4 (13, 9)', async function () { + it('test operator "ne" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.ne_euint8_euint4( - this.instances2.alice.encrypt8(13), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint4) => ebool test 1 (130, 1)', async function () { + it('test operator "ge" overload (euint8, euint4) => ebool test 1 (2, 15)', async function () { const res = await this.contract2.ge_euint8_euint4( - this.instances2.alice.encrypt8(130), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt4(15), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "ge" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { @@ -2992,12 +2992,12 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 1 (130, 1)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 1 (1, 15)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(130), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt4(15), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "gt" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { @@ -3024,108 +3024,108 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 1 (207, 11)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 1 (1, 2)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(207), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt4(2), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 2 (7, 11)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(7), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 3 (11, 11)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt4(11), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 4 (11, 7)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt4(7), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint4) => ebool test 1 (94, 14)', async function () { + it('test operator "lt" overload (euint8, euint4) => ebool test 1 (1, 1)', async function () { const res = await this.contract2.lt_euint8_euint4( - this.instances2.alice.encrypt8(94), - this.instances2.alice.encrypt4(14), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt4(1), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint4) => ebool test 2 (10, 14)', async function () { + it('test operator "lt" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.lt_euint8_euint4( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt4(14), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint4) => ebool test 3 (14, 14)', async function () { + it('test operator "lt" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.lt_euint8_euint4( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt4(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint4) => ebool test 4 (14, 10)', async function () { + it('test operator "lt" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.lt_euint8_euint4( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 1 (110, 9)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 1 (8, 15)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(110), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(15), ); - expect(res).to.equal(9); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 2 (5, 9)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(5); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 3 (9, 9)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt4(9), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(9); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 4 (9, 5)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt4(5), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(5); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 1 (77, 5)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 1 (1, 1)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(77), - this.instances2.alice.encrypt4(5), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt4(1), ); - expect(res).to.equal(77); + expect(res).to.equal(1n); }); it('test operator "max" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { @@ -3133,7 +3133,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(4), this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "max" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { @@ -3141,7 +3141,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "max" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { @@ -3149,15 +3149,15 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 1 (5, 172)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 1 (15, 3)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt8(172), + this.instances2.alice.encrypt8(15), + this.instances2.alice.encrypt8(3), ); - expect(res).to.equal(177n); + expect(res).to.equal(18n); }); it('test operator "add" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -3184,28 +3184,28 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (14, 14)', async function () { + it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (8, 8)', async function () { const res = await this.contract2.sub_euint8_euint8( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint8, euint8) => euint8 test 2 (14, 10)', async function () { + it('test operator "sub" overload (euint8, euint8) => euint8 test 2 (8, 4)', async function () { const res = await this.contract2.sub_euint8_euint8( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (3, 69)', async function () { + it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (2, 2)', async function () { const res = await this.contract2.mul_euint8_euint8( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt8(69), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(2), ); - expect(res).to.equal(207n); + expect(res).to.equal(4n); }); it('test operator "mul" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -3232,76 +3232,76 @@ describe('TFHE operations', function () { expect(res).to.equal(32n); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 1 (245, 164)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 1 (2, 1)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(245), - this.instances2.alice.encrypt8(164), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(1), ); - expect(res).to.equal(164); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 2 (160, 164)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(160), - this.instances2.alice.encrypt8(164), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(160); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 3 (164, 164)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(164), - this.instances2.alice.encrypt8(164), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(164); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 4 (164, 160)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(164), - this.instances2.alice.encrypt8(160), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(160); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 1 (96, 249)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 1 (1, 1)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt8(249), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(1), ); - expect(res).to.equal(249); + expect(res).to.equal(1n); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 2 (92, 96)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(124); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 3 (96, 96)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(96); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 4 (96, 92)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(124); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (5, 61)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (2, 1)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt8(61), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(1), ); - expect(res).to.equal(56); + expect(res).to.equal(3n); }); it('test operator "xor" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -3309,7 +3309,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(4), this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "xor" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { @@ -3317,7 +3317,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "xor" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { @@ -3325,15 +3325,15 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint8, euint8) => ebool test 1 (6, 177)', async function () { + it('test operator "eq" overload (euint8, euint8) => ebool test 1 (1, 1)', async function () { const res = await this.contract2.eq_euint8_euint8( - this.instances2.alice.encrypt8(6), - this.instances2.alice.encrypt8(177), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(1), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "eq" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { @@ -3360,10 +3360,10 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 1 (4, 157)', async function () { + it('test operator "ne" overload (euint8, euint8) => ebool test 1 (2, 1)', async function () { const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(157), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(1), ); expect(res).to.equal(true); }); @@ -3392,12 +3392,12 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint8) => ebool test 1 (8, 191)', async function () { + it('test operator "ge" overload (euint8, euint8) => ebool test 1 (2, 2)', async function () { const res = await this.contract2.ge_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(191), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(2), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { @@ -3424,12 +3424,12 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint8) => ebool test 1 (1, 180)', async function () { + it('test operator "gt" overload (euint8, euint8) => ebool test 1 (5, 1)', async function () { const res = await this.contract2.gt_euint8_euint8( + this.instances2.alice.encrypt8(5), this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt8(180), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "gt" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { @@ -3456,44 +3456,44 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 1 (10, 238)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 1 (1, 4)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(238), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 2 (6, 10)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(6), - this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 3 (10, 10)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 4 (10, 6)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(10), - this.instances2.alice.encrypt8(6), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint8) => ebool test 1 (6, 240)', async function () { + it('test operator "lt" overload (euint8, euint8) => ebool test 1 (15, 1)', async function () { const res = await this.contract2.lt_euint8_euint8( - this.instances2.alice.encrypt8(6), - this.instances2.alice.encrypt8(240), + this.instances2.alice.encrypt8(15), + this.instances2.alice.encrypt8(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { @@ -3520,12 +3520,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 1 (4, 142)', async function () { + it('test operator "min" overload (euint8, euint8) => euint8 test 1 (2, 2)', async function () { const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(142), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(2), ); - expect(res).to.equal(4); + expect(res).to.equal(2n); }); it('test operator "min" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -3533,7 +3533,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(4), this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "min" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { @@ -3541,7 +3541,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "min" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { @@ -3549,191 +3549,191 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 1 (9, 9)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 1 (3, 3)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt8(3), ); - expect(res).to.equal(9); + expect(res).to.equal(3n); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 2 (5, 9)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(9); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 3 (9, 9)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(8), ); - expect(res).to.equal(9); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 4 (9, 5)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(9), - this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(9); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 1 (1, 227)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 1 (36, 1)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(227), + this.instances2.alice.encrypt8(36), + this.instances2.alice.encrypt16(1), ); - expect(res).to.equal(228n); + expect(res).to.equal(37n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 2 (22, 26)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(22), - this.instances2.alice.encrypt16(26), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(48n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 3 (26, 26)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(26), - this.instances2.alice.encrypt16(26), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(52n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 4 (26, 22)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(26), - this.instances2.alice.encrypt16(22), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); - expect(res).to.equal(48n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (202, 202)', async function () { + it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (8, 8)', async function () { const res = await this.contract2.sub_euint8_euint16( - this.instances2.alice.encrypt8(202), - this.instances2.alice.encrypt16(202), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint8, euint16) => euint16 test 2 (202, 198)', async function () { + it('test operator "sub" overload (euint8, euint16) => euint16 test 2 (8, 4)', async function () { const res = await this.contract2.sub_euint8_euint16( - this.instances2.alice.encrypt8(202), - this.instances2.alice.encrypt16(198), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (1, 235)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (1, 1)', async function () { const res = await this.contract2.mul_euint8_euint16( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(235), + this.instances2.alice.encrypt16(1), ); - expect(res).to.equal(235n); + expect(res).to.equal(1n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 2 (14, 14)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(196n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 3 (14, 14)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(196n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 4 (14, 14)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); - expect(res).to.equal(196n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 1 (245, 17782)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 1 (2, 2)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(245), - this.instances2.alice.encrypt16(17782), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt16(2), ); - expect(res).to.equal(116); + expect(res).to.equal(2n); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 2 (241, 245)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(241), - this.instances2.alice.encrypt16(245), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(241); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 3 (245, 245)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(245), - this.instances2.alice.encrypt16(245), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(245); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 4 (245, 241)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(245), - this.instances2.alice.encrypt16(241), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); - expect(res).to.equal(241); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 1 (96, 1790)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 1 (1, 1)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt16(1790), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt16(1), ); - expect(res).to.equal(1790); + expect(res).to.equal(1n); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 2 (92, 96)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt16(96), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(124); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 3 (96, 96)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt16(96), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(96); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 4 (96, 92)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt16(92), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); - expect(res).to.equal(124); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (5, 1712)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (2, 1)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt16(1712), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt16(1), ); - expect(res).to.equal(1717); + expect(res).to.equal(3n); }); it('test operator "xor" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { @@ -3741,7 +3741,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(4), this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "xor" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { @@ -3749,7 +3749,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "xor" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { @@ -3757,77 +3757,77 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt16(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 1 (18, 27181)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 1 (5, 1)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(18), - this.instances2.alice.encrypt16(27181), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt16(1), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 2 (14, 18)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt16(18), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 3 (18, 18)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(18), - this.instances2.alice.encrypt16(18), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 4 (18, 14)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(18), - this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 1 (78, 21962)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 1 (3, 1)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(78), - this.instances2.alice.encrypt16(21962), + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt16(1), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 2 (74, 78)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(74), - this.instances2.alice.encrypt16(78), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 3 (78, 78)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(78), - this.instances2.alice.encrypt16(78), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 4 (78, 74)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(78), - this.instances2.alice.encrypt16(74), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 1 (1, 54905)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 1 (1, 26)', async function () { const res = await this.contract2.ge_euint8_euint16( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(54905), + this.instances2.alice.encrypt16(26), ); expect(res).to.equal(false); }); @@ -3856,316 +3856,316 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 1 (102, 32183)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 1 (2, 2)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(102), - this.instances2.alice.encrypt16(32183), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt16(2), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 2 (98, 102)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(98), - this.instances2.alice.encrypt16(102), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 3 (102, 102)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(102), - this.instances2.alice.encrypt16(102), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 4 (102, 98)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(102), - this.instances2.alice.encrypt16(98), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 1 (96, 42413)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 1 (15, 1)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt16(42413), + this.instances2.alice.encrypt8(15), + this.instances2.alice.encrypt16(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint8, euint16) => ebool test 2 (92, 96)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt16(96), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 3 (96, 96)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt16(96), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 4 (96, 92)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt16(92), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 1 (198, 55658)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 1 (1, 1)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(198), - this.instances2.alice.encrypt16(55658), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt16(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 2 (194, 198)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(194), - this.instances2.alice.encrypt16(198), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 3 (198, 198)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(198), - this.instances2.alice.encrypt16(198), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 4 (198, 194)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(198), - this.instances2.alice.encrypt16(194), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 1 (200, 2568)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 1 (1, 3)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(200), - this.instances2.alice.encrypt16(2568), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt16(3), ); - expect(res).to.equal(200); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 2 (196, 200)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(196), - this.instances2.alice.encrypt16(200), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(196); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 3 (200, 200)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(200), - this.instances2.alice.encrypt16(200), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(200); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 4 (200, 196)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(200), - this.instances2.alice.encrypt16(196), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); - expect(res).to.equal(196); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 1 (161, 11628)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 1 (1, 1)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt16(11628), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt16(1), ); - expect(res).to.equal(11628); + expect(res).to.equal(1n); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 2 (157, 161)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(157), - this.instances2.alice.encrypt16(161), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(161); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 3 (161, 161)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt16(161), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(8), ); - expect(res).to.equal(161); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 4 (161, 157)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt16(157), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(4), ); - expect(res).to.equal(161); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 1 (1, 228)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 1 (36, 2)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(228), + this.instances2.alice.encrypt8(36), + this.instances2.alice.encrypt32(2), ); - expect(res).to.equal(229n); + expect(res).to.equal(38n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 2 (22, 26)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(22), - this.instances2.alice.encrypt32(26), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(48n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 3 (26, 26)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(26), - this.instances2.alice.encrypt32(26), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(52n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 4 (26, 22)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(26), - this.instances2.alice.encrypt32(22), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); - expect(res).to.equal(48n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (202, 202)', async function () { + it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (8, 8)', async function () { const res = await this.contract2.sub_euint8_euint32( - this.instances2.alice.encrypt8(202), - this.instances2.alice.encrypt32(202), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (202, 198)', async function () { + it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (8, 4)', async function () { const res = await this.contract2.sub_euint8_euint32( - this.instances2.alice.encrypt8(202), - this.instances2.alice.encrypt32(198), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 1 (1, 215)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 1 (1, 1)', async function () { const res = await this.contract2.mul_euint8_euint32( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(215), + this.instances2.alice.encrypt32(1), ); - expect(res).to.equal(215n); + expect(res).to.equal(1n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 2 (14, 14)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt32(14), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(196n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 3 (14, 14)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt32(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(196n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 4 (14, 14)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt32(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); - expect(res).to.equal(196n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 1 (245, 107977808)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 1 (2, 4)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(245), - this.instances2.alice.encrypt32(107977808), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt32(4), ); - expect(res).to.equal(80); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 2 (241, 245)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(241), - this.instances2.alice.encrypt32(245), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(241); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 3 (245, 245)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(245), - this.instances2.alice.encrypt32(245), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(245); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 4 (245, 241)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(245), - this.instances2.alice.encrypt32(241), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); - expect(res).to.equal(241); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 1 (96, 81378325)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 1 (1, 1)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt32(81378325), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(1), ); - expect(res).to.equal(81378421); + expect(res).to.equal(1n); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 2 (92, 96)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt32(96), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(124); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 3 (96, 96)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt32(96), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(96); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 4 (96, 92)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt32(92), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); - expect(res).to.equal(124); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (5, 115830538)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (2, 1)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt32(115830538), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt32(1), ); - expect(res).to.equal(115830543); + expect(res).to.equal(3n); }); it('test operator "xor" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { @@ -4173,7 +4173,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(4), this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "xor" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { @@ -4181,7 +4181,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "xor" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { @@ -4189,79 +4189,79 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt32(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 1 (18, 186668088)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 1 (5, 3)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(18), - this.instances2.alice.encrypt32(186668088), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt32(3), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 2 (14, 18)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt32(18), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 3 (18, 18)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(18), - this.instances2.alice.encrypt32(18), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 4 (18, 14)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(18), - this.instances2.alice.encrypt32(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 1 (78, 92852552)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 1 (3, 1)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(78), - this.instances2.alice.encrypt32(92852552), + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt32(1), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 2 (74, 78)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(74), - this.instances2.alice.encrypt32(78), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 3 (78, 78)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(78), - this.instances2.alice.encrypt32(78), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 4 (78, 74)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(78), - this.instances2.alice.encrypt32(74), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 1 (1, 66874588)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { const res = await this.contract2.ge_euint8_euint32( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(66874588), + this.instances2.alice.encrypt32(1), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { @@ -4288,316 +4288,316 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 1 (102, 173287703)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 1 (2, 1)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(102), - this.instances2.alice.encrypt32(173287703), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt32(1), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 2 (98, 102)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(98), - this.instances2.alice.encrypt32(102), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 3 (102, 102)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(102), - this.instances2.alice.encrypt32(102), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 4 (102, 98)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(102), - this.instances2.alice.encrypt32(98), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 1 (96, 74740688)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 1 (15, 1)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt32(74740688), + this.instances2.alice.encrypt8(15), + this.instances2.alice.encrypt32(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint8, euint32) => ebool test 2 (92, 96)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt32(96), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 3 (96, 96)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt32(96), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 4 (96, 92)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt32(92), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 1 (198, 20210081)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(198), - this.instances2.alice.encrypt32(20210081), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 2 (194, 198)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(194), - this.instances2.alice.encrypt32(198), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 3 (198, 198)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(198), - this.instances2.alice.encrypt32(198), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 4 (198, 194)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(198), - this.instances2.alice.encrypt32(194), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 1 (200, 114061461)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 1 (1, 18)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(200), - this.instances2.alice.encrypt32(114061461), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(18), ); - expect(res).to.equal(200); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 2 (196, 200)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(196), - this.instances2.alice.encrypt32(200), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(196); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 3 (200, 200)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(200), - this.instances2.alice.encrypt32(200), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(200); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 4 (200, 196)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(200), - this.instances2.alice.encrypt32(196), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); - expect(res).to.equal(196); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 1 (161, 55227414)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 1 (1, 3)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt32(55227414), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt32(3), ); - expect(res).to.equal(55227414); + expect(res).to.equal(3n); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 2 (157, 161)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(157), - this.instances2.alice.encrypt32(161), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(161); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 3 (161, 161)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt32(161), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(8), ); - expect(res).to.equal(161); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 4 (161, 157)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt32(157), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt32(4), ); - expect(res).to.equal(161); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 1 (1, 248)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 1 (3, 168)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(248), + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt64(168), ); - expect(res).to.equal(249n); + expect(res).to.equal(171n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 2 (22, 26)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 2 (32, 36)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(22), - this.instances2.alice.encrypt64(26), + this.instances2.alice.encrypt8(32), + this.instances2.alice.encrypt64(36), ); - expect(res).to.equal(48n); + expect(res).to.equal(68n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 3 (26, 26)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 3 (36, 36)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(26), - this.instances2.alice.encrypt64(26), + this.instances2.alice.encrypt8(36), + this.instances2.alice.encrypt64(36), ); - expect(res).to.equal(52n); + expect(res).to.equal(72n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 4 (26, 22)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 4 (36, 32)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(26), - this.instances2.alice.encrypt64(22), + this.instances2.alice.encrypt8(36), + this.instances2.alice.encrypt64(32), ); - expect(res).to.equal(48n); + expect(res).to.equal(68n); }); - it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (202, 202)', async function () { + it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (8, 8)', async function () { const res = await this.contract2.sub_euint8_euint64( - this.instances2.alice.encrypt8(202), - this.instances2.alice.encrypt64(202), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (202, 198)', async function () { + it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (8, 4)', async function () { const res = await this.contract2.sub_euint8_euint64( - this.instances2.alice.encrypt8(202), - this.instances2.alice.encrypt64(198), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (1, 223)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (1, 140)', async function () { const res = await this.contract2.mul_euint8_euint64( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(223), + this.instances2.alice.encrypt64(140), ); - expect(res).to.equal(223n); + expect(res).to.equal(140n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 2 (14, 14)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt64(14), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(196n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 3 (14, 14)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt64(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(196n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 4 (14, 14)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt64(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); - expect(res).to.equal(196n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 1 (245, 233482558)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 1 (2, 2049)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(245), - this.instances2.alice.encrypt64(233482558), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt64(2049), ); - expect(res).to.equal(52); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 2 (241, 245)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(241), - this.instances2.alice.encrypt64(245), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(241); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 3 (245, 245)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(245), - this.instances2.alice.encrypt64(245), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(245); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 4 (245, 241)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(245), - this.instances2.alice.encrypt64(241), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); - expect(res).to.equal(241); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 1 (96, 83329888)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 1 (1, 6021)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt64(83329888), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(6021), ); - expect(res).to.equal(83329888); + expect(res).to.equal(6021n); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 2 (92, 96)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt64(96), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(124); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 3 (96, 96)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt64(96), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(96); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 4 (96, 92)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt64(92), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); - expect(res).to.equal(124); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (5, 103206592)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (2, 4046)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt64(103206592), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt64(4046), ); - expect(res).to.equal(103206597); + expect(res).to.equal(4044n); }); it('test operator "xor" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { @@ -4605,7 +4605,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(4), this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "xor" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { @@ -4613,7 +4613,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "xor" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { @@ -4621,77 +4621,77 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt8(8), this.instances2.alice.encrypt64(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 1 (18, 130872852)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 1 (5, 5764)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(18), - this.instances2.alice.encrypt64(130872852), + this.instances2.alice.encrypt8(5), + this.instances2.alice.encrypt64(5764), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 2 (14, 18)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(14), - this.instances2.alice.encrypt64(18), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 3 (18, 18)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(18), - this.instances2.alice.encrypt64(18), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 4 (18, 14)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(18), - this.instances2.alice.encrypt64(14), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 1 (78, 43366180)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 1 (3, 2082)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(78), - this.instances2.alice.encrypt64(43366180), + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt64(2082), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 2 (74, 78)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(74), - this.instances2.alice.encrypt64(78), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 3 (78, 78)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(78), - this.instances2.alice.encrypt64(78), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 4 (78, 74)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(78), - this.instances2.alice.encrypt64(74), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 1 (1, 155404527)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 1 (1, 7637)', async function () { const res = await this.contract2.ge_euint8_euint64( this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(155404527), + this.instances2.alice.encrypt64(7637), ); expect(res).to.equal(false); }); @@ -4720,169 +4720,169 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 1 (102, 257990052)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 1 (2, 2952)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(102), - this.instances2.alice.encrypt64(257990052), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt64(2952), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 2 (98, 102)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(98), - this.instances2.alice.encrypt64(102), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 3 (102, 102)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(102), - this.instances2.alice.encrypt64(102), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 4 (102, 98)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(102), - this.instances2.alice.encrypt64(98), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 1 (96, 34093048)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 1 (15, 3500)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt64(34093048), + this.instances2.alice.encrypt8(15), + this.instances2.alice.encrypt64(3500), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 2 (92, 96)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 2 (11, 15)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(92), - this.instances2.alice.encrypt64(96), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt64(15), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 3 (96, 96)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 3 (15, 15)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt64(96), + this.instances2.alice.encrypt8(15), + this.instances2.alice.encrypt64(15), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 4 (96, 92)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 4 (15, 11)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(96), - this.instances2.alice.encrypt64(92), + this.instances2.alice.encrypt8(15), + this.instances2.alice.encrypt64(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 1 (198, 171810732)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 1 (1, 2371)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(198), - this.instances2.alice.encrypt64(171810732), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(2371), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 2 (194, 198)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(194), - this.instances2.alice.encrypt64(198), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 3 (198, 198)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(198), - this.instances2.alice.encrypt64(198), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 4 (198, 194)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(198), - this.instances2.alice.encrypt64(194), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 1 (200, 124180225)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 1 (1, 5533)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(200), - this.instances2.alice.encrypt64(124180225), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(5533), ); - expect(res).to.equal(200); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 2 (196, 200)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(196), - this.instances2.alice.encrypt64(200), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(196); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 3 (200, 200)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(200), - this.instances2.alice.encrypt64(200), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(200); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 4 (200, 196)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(200), - this.instances2.alice.encrypt64(196), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); - expect(res).to.equal(196); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 1 (161, 242190943)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 1 (1, 9155)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt64(242190943), + this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt64(9155), ); - expect(res).to.equal(242190943); + expect(res).to.equal(9155n); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 2 (157, 161)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(157), - this.instances2.alice.encrypt64(161), + this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(161); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 3 (161, 161)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt64(161), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(8), ); - expect(res).to.equal(161); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 4 (161, 157)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(161), - this.instances2.alice.encrypt64(157), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt64(4), ); - expect(res).to.equal(161); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 1 (5, 209)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(5), 209); - expect(res).to.equal(214n); + it('test operator "add" overload (euint8, uint8) => euint8 test 1 (15, 1)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(15), 1); + expect(res).to.equal(16n); }); it('test operator "add" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { @@ -4900,9 +4900,9 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 1 (26, 209)', async function () { - const res = await this.contract2.add_uint8_euint8(26, this.instances2.alice.encrypt8(209)); - expect(res).to.equal(235n); + it('test operator "add" overload (uint8, euint8) => euint8 test 1 (36, 1)', async function () { + const res = await this.contract2.add_uint8_euint8(36, this.instances2.alice.encrypt8(1)); + expect(res).to.equal(37n); }); it('test operator "add" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -4920,29 +4920,29 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (14, 14)', async function () { - const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(14), 14); - expect(res).to.equal(0); + it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (8, 8)', async function () { + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (14, 10)', async function () { - const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(14), 10); - expect(res).to.equal(4); + it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (8, 4)', async function () { + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(4n); }); - it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (14, 14)', async function () { - const res = await this.contract2.sub_uint8_euint8(14, this.instances2.alice.encrypt8(14)); - expect(res).to.equal(0); + it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (8, 8)', async function () { + const res = await this.contract2.sub_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (14, 10)', async function () { - const res = await this.contract2.sub_uint8_euint8(14, this.instances2.alice.encrypt8(10)); - expect(res).to.equal(4); + it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (8, 4)', async function () { + const res = await this.contract2.sub_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (3, 50)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(3), 50); - expect(res).to.equal(150n); + it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (2, 2)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(2), 2); + expect(res).to.equal(4n); }); it('test operator "mul" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { @@ -4960,9 +4960,9 @@ describe('TFHE operations', function () { expect(res).to.equal(32n); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (14, 6)', async function () { - const res = await this.contract2.mul_uint8_euint8(14, this.instances2.alice.encrypt8(6)); - expect(res).to.equal(84n); + it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (1, 2)', async function () { + const res = await this.contract2.mul_uint8_euint8(1, this.instances2.alice.encrypt8(2)); + expect(res).to.equal(2n); }); it('test operator "mul" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -4980,49 +4980,49 @@ describe('TFHE operations', function () { expect(res).to.equal(32n); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 1 (192, 181)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(192), 181); - expect(res).to.equal(1); + it('test operator "div" overload (euint8, uint8) => euint8 test 1 (1, 7)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(1), 7); + expect(res).to.equal(0n); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 2 (39, 43)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(39), 43); - expect(res).to.equal(0); + it('test operator "div" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(0n); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 3 (43, 43)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(43), 43); - expect(res).to.equal(1); + it('test operator "div" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(1n); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 4 (43, 39)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(43), 39); - expect(res).to.equal(1); + it('test operator "div" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(2n); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (221, 143)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(221), 143); - expect(res).to.equal(78); + it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (1, 1)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(1), 1); + expect(res).to.equal(0n); }); it('test operator "rem" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(4), 8); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "rem" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(8), 8); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "rem" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "eq" overload (euint8, uint8) => ebool test 1 (6, 242)', async function () { - const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(6), 242); - expect(res).to.equal(false); + it('test operator "eq" overload (euint8, uint8) => ebool test 1 (1, 1)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(1), 1); + expect(res).to.equal(true); }); it('test operator "eq" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { @@ -5040,8 +5040,8 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint8) => ebool test 1 (18, 242)', async function () { - const res = await this.contract2.eq_uint8_euint8(18, this.instances2.alice.encrypt8(242)); + it('test operator "eq" overload (uint8, euint8) => ebool test 1 (5, 1)', async function () { + const res = await this.contract2.eq_uint8_euint8(5, this.instances2.alice.encrypt8(1)); expect(res).to.equal(false); }); @@ -5060,9 +5060,9 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 1 (4, 177)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(4), 177); - expect(res).to.equal(true); + it('test operator "ne" overload (euint8, uint8) => ebool test 1 (2, 2)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(2), 2); + expect(res).to.equal(false); }); it('test operator "ne" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { @@ -5080,8 +5080,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 1 (78, 177)', async function () { - const res = await this.contract2.ne_uint8_euint8(78, this.instances2.alice.encrypt8(177)); + it('test operator "ne" overload (uint8, euint8) => ebool test 1 (3, 2)', async function () { + const res = await this.contract2.ne_uint8_euint8(3, this.instances2.alice.encrypt8(2)); expect(res).to.equal(true); }); @@ -5100,8 +5100,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, uint8) => ebool test 1 (8, 42)', async function () { - const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(8), 42); + it('test operator "ge" overload (euint8, uint8) => ebool test 1 (2, 11)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(2), 11); expect(res).to.equal(false); }); @@ -5120,8 +5120,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint8) => ebool test 1 (1, 42)', async function () { - const res = await this.contract2.ge_uint8_euint8(1, this.instances2.alice.encrypt8(42)); + it('test operator "ge" overload (uint8, euint8) => ebool test 1 (1, 11)', async function () { + const res = await this.contract2.ge_uint8_euint8(1, this.instances2.alice.encrypt8(11)); expect(res).to.equal(false); }); @@ -5140,9 +5140,9 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, uint8) => ebool test 1 (1, 53)', async function () { - const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(1), 53); - expect(res).to.equal(false); + it('test operator "gt" overload (euint8, uint8) => ebool test 1 (5, 1)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(5), 1); + expect(res).to.equal(true); }); it('test operator "gt" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { @@ -5160,8 +5160,8 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (uint8, euint8) => ebool test 1 (102, 53)', async function () { - const res = await this.contract2.gt_uint8_euint8(102, this.instances2.alice.encrypt8(53)); + it('test operator "gt" overload (uint8, euint8) => ebool test 1 (2, 1)', async function () { + const res = await this.contract2.gt_uint8_euint8(2, this.instances2.alice.encrypt8(1)); expect(res).to.equal(true); }); @@ -5180,49 +5180,49 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 1 (10, 232)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(10), 232); + it('test operator "le" overload (euint8, uint8) => ebool test 1 (1, 2)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(1), 2); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 2 (6, 10)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(6), 10); + it('test operator "le" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(4), 8); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 3 (10, 10)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(10), 10); + it('test operator "le" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(8), 8); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 4 (10, 6)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(10), 6); + it('test operator "le" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(8), 4); expect(res).to.equal(false); }); - it('test operator "le" overload (uint8, euint8) => ebool test 1 (96, 232)', async function () { - const res = await this.contract2.le_uint8_euint8(96, this.instances2.alice.encrypt8(232)); - expect(res).to.equal(true); + it('test operator "le" overload (uint8, euint8) => ebool test 1 (15, 2)', async function () { + const res = await this.contract2.le_uint8_euint8(15, this.instances2.alice.encrypt8(2)); + expect(res).to.equal(false); }); - it('test operator "le" overload (uint8, euint8) => ebool test 2 (6, 10)', async function () { - const res = await this.contract2.le_uint8_euint8(6, this.instances2.alice.encrypt8(10)); + it('test operator "le" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { + const res = await this.contract2.le_uint8_euint8(4, this.instances2.alice.encrypt8(8)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint8) => ebool test 3 (10, 10)', async function () { - const res = await this.contract2.le_uint8_euint8(10, this.instances2.alice.encrypt8(10)); + it('test operator "le" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { + const res = await this.contract2.le_uint8_euint8(8, this.instances2.alice.encrypt8(8)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint8, euint8) => ebool test 4 (10, 6)', async function () { - const res = await this.contract2.le_uint8_euint8(10, this.instances2.alice.encrypt8(6)); + it('test operator "le" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { + const res = await this.contract2.le_uint8_euint8(8, this.instances2.alice.encrypt8(4)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, uint8) => ebool test 1 (6, 39)', async function () { - const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(6), 39); - expect(res).to.equal(true); + it('test operator "lt" overload (euint8, uint8) => ebool test 1 (15, 1)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(15), 1); + expect(res).to.equal(false); }); it('test operator "lt" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { @@ -5240,8 +5240,8 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint8) => ebool test 1 (198, 39)', async function () { - const res = await this.contract2.lt_uint8_euint8(198, this.instances2.alice.encrypt8(39)); + it('test operator "lt" overload (uint8, euint8) => ebool test 1 (1, 1)', async function () { + const res = await this.contract2.lt_uint8_euint8(1, this.instances2.alice.encrypt8(1)); expect(res).to.equal(false); }); @@ -5260,116 +5260,116 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 1 (4, 122)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(4), 122); - expect(res).to.equal(4); + it('test operator "min" overload (euint8, uint8) => euint8 test 1 (2, 1)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(2), 1); + expect(res).to.equal(1n); }); it('test operator "min" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(4), 8); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "min" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(8), 8); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "min" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 1 (200, 122)', async function () { - const res = await this.contract2.min_uint8_euint8(200, this.instances2.alice.encrypt8(122)); - expect(res).to.equal(122); + it('test operator "min" overload (uint8, euint8) => euint8 test 1 (1, 1)', async function () { + const res = await this.contract2.min_uint8_euint8(1, this.instances2.alice.encrypt8(1)); + expect(res).to.equal(1n); }); it('test operator "min" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { const res = await this.contract2.min_uint8_euint8(4, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "min" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { const res = await this.contract2.min_uint8_euint8(8, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "min" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { const res = await this.contract2.min_uint8_euint8(8, this.instances2.alice.encrypt8(4)); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 1 (9, 61)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(9), 61); - expect(res).to.equal(61); + it('test operator "max" overload (euint8, uint8) => euint8 test 1 (3, 14)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(3), 14); + expect(res).to.equal(14n); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 2 (5, 9)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(5), 9); - expect(res).to.equal(9); + it('test operator "max" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 3 (9, 9)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(9), 9); - expect(res).to.equal(9); + it('test operator "max" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 4 (9, 5)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(9), 5); - expect(res).to.equal(9); + it('test operator "max" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + expect(res).to.equal(8n); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 1 (161, 61)', async function () { - const res = await this.contract2.max_uint8_euint8(161, this.instances2.alice.encrypt8(61)); - expect(res).to.equal(161); + it('test operator "max" overload (uint8, euint8) => euint8 test 1 (1, 14)', async function () { + const res = await this.contract2.max_uint8_euint8(1, this.instances2.alice.encrypt8(14)); + expect(res).to.equal(14n); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 2 (5, 9)', async function () { - const res = await this.contract2.max_uint8_euint8(5, this.instances2.alice.encrypt8(9)); - expect(res).to.equal(9); + it('test operator "max" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { + const res = await this.contract2.max_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(8n); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 3 (9, 9)', async function () { - const res = await this.contract2.max_uint8_euint8(9, this.instances2.alice.encrypt8(9)); - expect(res).to.equal(9); + it('test operator "max" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { + const res = await this.contract2.max_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + expect(res).to.equal(8n); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 4 (9, 5)', async function () { - const res = await this.contract2.max_uint8_euint8(9, this.instances2.alice.encrypt8(5)); - expect(res).to.equal(9); + it('test operator "max" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { + const res = await this.contract2.max_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint16, euint4) => euint16 test 1 (14, 1)', async function () { + it('test operator "add" overload (euint16, euint4) => euint16 test 1 (3, 2)', async function () { const res = await this.contract2.add_euint16_euint4( - this.instances2.alice.encrypt16(14), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt16(3), + this.instances2.alice.encrypt4(2), ); - expect(res).to.equal(15n); + expect(res).to.equal(5n); }); - it('test operator "add" overload (euint16, euint4) => euint16 test 2 (4, 6)', async function () { + it('test operator "add" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { const res = await this.contract2.add_euint16_euint4( this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(6), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(10n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint16, euint4) => euint16 test 3 (6, 6)', async function () { + it('test operator "add" overload (euint16, euint4) => euint16 test 3 (5, 5)', async function () { const res = await this.contract2.add_euint16_euint4( - this.instances2.alice.encrypt16(6), - this.instances2.alice.encrypt4(6), + this.instances2.alice.encrypt16(5), + this.instances2.alice.encrypt4(5), ); - expect(res).to.equal(12n); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint16, euint4) => euint16 test 4 (6, 4)', async function () { + it('test operator "add" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { const res = await this.contract2.add_euint16_euint4( - this.instances2.alice.encrypt16(6), + this.instances2.alice.encrypt16(8), this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(10n); + expect(res).to.equal(12n); }); it('test operator "sub" overload (euint16, euint4) => euint16 test 1 (8, 8)', async function () { @@ -5377,7 +5377,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(8), this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "sub" overload (euint16, euint4) => euint16 test 2 (8, 4)', async function () { @@ -5385,47 +5385,47 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(8), this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint4) => euint16 test 1 (12, 1)', async function () { + it('test operator "mul" overload (euint16, euint4) => euint16 test 1 (1, 1)', async function () { const res = await this.contract2.mul_euint16_euint4( - this.instances2.alice.encrypt16(12), + this.instances2.alice.encrypt16(1), this.instances2.alice.encrypt4(1), ); - expect(res).to.equal(12n); + expect(res).to.equal(1n); }); - it('test operator "mul" overload (euint16, euint4) => euint16 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint16, euint4) => euint16 test 2 (3, 5)', async function () { const res = await this.contract2.mul_euint16_euint4( - this.instances2.alice.encrypt16(2), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt16(3), + this.instances2.alice.encrypt4(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(15n); }); - it('test operator "mul" overload (euint16, euint4) => euint16 test 3 (2, 2)', async function () { + it('test operator "mul" overload (euint16, euint4) => euint16 test 3 (3, 3)', async function () { const res = await this.contract2.mul_euint16_euint4( - this.instances2.alice.encrypt16(2), - this.instances2.alice.encrypt4(2), + this.instances2.alice.encrypt16(3), + this.instances2.alice.encrypt4(3), ); - expect(res).to.equal(4n); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint16, euint4) => euint16 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint16, euint4) => euint16 test 4 (5, 3)', async function () { const res = await this.contract2.mul_euint16_euint4( - this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(2), + this.instances2.alice.encrypt16(5), + this.instances2.alice.encrypt4(3), ); - expect(res).to.equal(8n); + expect(res).to.equal(15n); }); - it('test operator "and" overload (euint16, euint4) => euint16 test 1 (55927, 3)', async function () { + it('test operator "and" overload (euint16, euint4) => euint16 test 1 (1, 7)', async function () { const res = await this.contract2.and_euint16_euint4( - this.instances2.alice.encrypt16(55927), - this.instances2.alice.encrypt4(3), + this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt4(7), ); - expect(res).to.equal(3); + expect(res).to.equal(1n); }); it('test operator "and" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { @@ -5433,7 +5433,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(4), this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { @@ -5441,7 +5441,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(8), this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "and" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { @@ -5449,15 +5449,15 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(8), this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint16, euint4) => euint16 test 1 (25484, 8)', async function () { + it('test operator "or" overload (euint16, euint4) => euint16 test 1 (2, 15)', async function () { const res = await this.contract2.or_euint16_euint4( - this.instances2.alice.encrypt16(25484), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(2), + this.instances2.alice.encrypt4(15), ); - expect(res).to.equal(25484); + expect(res).to.equal(15n); }); it('test operator "or" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { @@ -5465,7 +5465,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(4), this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "or" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { @@ -5473,7 +5473,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(8), this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "or" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { @@ -5481,15 +5481,15 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(8), this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 1 (20626, 7)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 1 (9, 3)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(20626), - this.instances2.alice.encrypt4(7), + this.instances2.alice.encrypt16(9), + this.instances2.alice.encrypt4(3), ); - expect(res).to.equal(20629); + expect(res).to.equal(10n); }); it('test operator "xor" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { @@ -5497,7 +5497,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(4), this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "xor" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { @@ -5505,7 +5505,7 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(8), this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "xor" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { @@ -5513,13 +5513,13 @@ describe('TFHE operations', function () { this.instances2.alice.encrypt16(8), this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint16, euint4) => ebool test 1 (5463, 2)', async function () { + it('test operator "eq" overload (euint16, euint4) => ebool test 1 (5, 7)', async function () { const res = await this.contract2.eq_euint16_euint4( - this.instances2.alice.encrypt16(5463), - this.instances2.alice.encrypt4(2), + this.instances2.alice.encrypt16(5), + this.instances2.alice.encrypt4(7), ); expect(res).to.equal(false); }); @@ -5548,76 +5548,76 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint4) => ebool test 1 (24558, 12)', async function () { + it('test operator "ne" overload (euint16, euint4) => ebool test 1 (3, 3)', async function () { const res = await this.contract2.ne_euint16_euint4( - this.instances2.alice.encrypt16(24558), - this.instances2.alice.encrypt4(12), + this.instances2.alice.encrypt16(3), + this.instances2.alice.encrypt4(3), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint4) => ebool test 2 (8, 12)', async function () { + it('test operator "ne" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.ne_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(12), + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint4) => ebool test 3 (12, 12)', async function () { + it('test operator "ne" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.ne_euint16_euint4( - this.instances2.alice.encrypt16(12), - this.instances2.alice.encrypt4(12), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint4) => ebool test 4 (12, 8)', async function () { + it('test operator "ne" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.ne_euint16_euint4( - this.instances2.alice.encrypt16(12), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 1 (51421, 10)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 1 (1, 7)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(51421), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt4(7), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 2 (6, 10)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(6), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 3 (10, 10)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(10), - this.instances2.alice.encrypt4(10), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 4 (10, 6)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(10), - this.instances2.alice.encrypt4(6), + this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint4) => ebool test 1 (44465, 6)', async function () { + it('test operator "gt" overload (euint16, euint4) => ebool test 1 (1, 1)', async function () { const res = await this.contract2.gt_euint16_euint4( - this.instances2.alice.encrypt16(44465), - this.instances2.alice.encrypt4(6), + this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt4(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "gt" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { @@ -5644,10 +5644,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint4) => ebool test 1 (8195, 5)', async function () { + it('test operator "le" overload (euint16, euint4) => ebool test 1 (23, 1)', async function () { const res = await this.contract2.le_euint16_euint4( - this.instances2.alice.encrypt16(8195), - this.instances2.alice.encrypt4(5), + this.instances2.alice.encrypt16(23), + this.instances2.alice.encrypt4(1), ); expect(res).to.equal(false); }); @@ -5676,9 +5676,9 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint4) => ebool test 1 (59556, 1)', async function () { + it('test operator "lt" overload (euint16, euint4) => ebool test 1 (1, 1)', async function () { const res = await this.contract2.lt_euint16_euint4( - this.instances2.alice.encrypt16(59556), + this.instances2.alice.encrypt16(1), this.instances2.alice.encrypt4(1), ); expect(res).to.equal(false); @@ -5708,2272 +5708,2272 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint4) => euint16 test 1 (40365, 13)', async function () { + it('test operator "min" overload (euint16, euint4) => euint16 test 1 (1, 1)', async function () { const res = await this.contract3.min_euint16_euint4( - this.instances3.alice.encrypt16(40365), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt4(1), ); - expect(res).to.equal(13); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint16, euint4) => euint16 test 2 (9, 13)', async function () { + it('test operator "min" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.min_euint16_euint4( - this.instances3.alice.encrypt16(9), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(9); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint16, euint4) => euint16 test 3 (13, 13)', async function () { + it('test operator "min" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.min_euint16_euint4( - this.instances3.alice.encrypt16(13), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint16, euint4) => euint16 test 4 (13, 9)', async function () { + it('test operator "min" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.min_euint16_euint4( - this.instances3.alice.encrypt16(13), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(9); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 1 (45208, 13)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 1 (2, 1)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(45208), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt4(1), ); - expect(res).to.equal(45208); + expect(res).to.equal(2n); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 2 (9, 13)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(9), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 3 (13, 13)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(13), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(13); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 4 (13, 9)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(13), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(13); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 1 (116, 14)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 1 (3, 1)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(116), - this.instances3.alice.encrypt8(14), + this.instances3.alice.encrypt16(3), + this.instances3.alice.encrypt8(1), ); - expect(res).to.equal(130n); + expect(res).to.equal(4n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 2 (115, 117)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(115), - this.instances3.alice.encrypt8(117), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(232n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 3 (117, 117)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(117), - this.instances3.alice.encrypt8(117), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(234n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 4 (117, 115)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(117), - this.instances3.alice.encrypt8(115), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(232n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (125, 125)', async function () { + it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (8, 8)', async function () { const res = await this.contract3.sub_euint16_euint8( - this.instances3.alice.encrypt16(125), - this.instances3.alice.encrypt8(125), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (125, 121)', async function () { + it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (8, 4)', async function () { const res = await this.contract3.sub_euint16_euint8( - this.instances3.alice.encrypt16(125), - this.instances3.alice.encrypt8(121), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (207, 1)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (1, 21)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(207), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt8(21), ); - expect(res).to.equal(207n); + expect(res).to.equal(21n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 2 (12, 14)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(12), - this.instances3.alice.encrypt8(14), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(168n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 3 (14, 14)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(14), - this.instances3.alice.encrypt8(14), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(196n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 4 (14, 12)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(14), - this.instances3.alice.encrypt8(12), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(168n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 1 (55927, 14)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 1 (1, 1)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(55927), - this.instances3.alice.encrypt8(14), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt8(1), ); - expect(res).to.equal(6); + expect(res).to.equal(1n); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 2 (10, 14)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(10), - this.instances3.alice.encrypt8(14), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(10); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 3 (14, 14)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(14), - this.instances3.alice.encrypt8(14), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 4 (14, 10)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(14), - this.instances3.alice.encrypt8(10), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(10); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 1 (25484, 207)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 1 (2, 4)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(25484), - this.instances3.alice.encrypt8(207), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(25551); + expect(res).to.equal(6n); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 2 (203, 207)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(203), - this.instances3.alice.encrypt8(207), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(207); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 3 (207, 207)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(207), - this.instances3.alice.encrypt8(207), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(207); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 4 (207, 203)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(207), - this.instances3.alice.encrypt8(203), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(207); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (20626, 38)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (9, 7)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(20626), - this.instances3.alice.encrypt8(38), + this.instances3.alice.encrypt16(9), + this.instances3.alice.encrypt8(7), ); - expect(res).to.equal(20660); + expect(res).to.equal(14n); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (34, 38)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(34), - this.instances3.alice.encrypt8(38), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 3 (38, 38)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(38), - this.instances3.alice.encrypt8(38), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 4 (38, 34)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(38), - this.instances3.alice.encrypt8(34), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 1 (5463, 69)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 1 (5, 3)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(5463), - this.instances3.alice.encrypt8(69), + this.instances3.alice.encrypt16(5), + this.instances3.alice.encrypt8(3), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 2 (65, 69)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(65), - this.instances3.alice.encrypt8(69), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 3 (69, 69)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(69), - this.instances3.alice.encrypt8(69), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 4 (69, 65)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(69), - this.instances3.alice.encrypt8(65), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 1 (24558, 239)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 1 (3, 1)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(24558), - this.instances3.alice.encrypt8(239), + this.instances3.alice.encrypt16(3), + this.instances3.alice.encrypt8(1), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 2 (235, 239)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(235), - this.instances3.alice.encrypt8(239), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 3 (239, 239)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(239), - this.instances3.alice.encrypt8(239), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 4 (239, 235)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(239), - this.instances3.alice.encrypt8(235), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 1 (51421, 242)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 1 (1, 1)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(51421), - this.instances3.alice.encrypt8(242), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt8(1), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 2 (238, 242)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(238), - this.instances3.alice.encrypt8(242), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 3 (242, 242)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(242), - this.instances3.alice.encrypt8(242), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 4 (242, 238)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(242), - this.instances3.alice.encrypt8(238), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 1 (44465, 202)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 1 (1, 3)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(44465), - this.instances3.alice.encrypt8(202), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt8(3), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 2 (198, 202)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(198), - this.instances3.alice.encrypt8(202), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 3 (202, 202)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(202), - this.instances3.alice.encrypt8(202), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 4 (202, 198)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(202), - this.instances3.alice.encrypt8(198), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 1 (8195, 93)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 1 (23, 2)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(8195), - this.instances3.alice.encrypt8(93), + this.instances3.alice.encrypt16(23), + this.instances3.alice.encrypt8(2), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint16, euint8) => ebool test 2 (89, 93)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(89), - this.instances3.alice.encrypt8(93), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 3 (93, 93)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(93), - this.instances3.alice.encrypt8(93), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 4 (93, 89)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(93), - this.instances3.alice.encrypt8(89), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 1 (59556, 229)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 1 (1, 5)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(59556), - this.instances3.alice.encrypt8(229), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt8(5), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 2 (225, 229)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(225), - this.instances3.alice.encrypt8(229), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 3 (229, 229)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(229), - this.instances3.alice.encrypt8(229), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 4 (229, 225)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(229), - this.instances3.alice.encrypt8(225), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 1 (40365, 88)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 1 (1, 3)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(40365), - this.instances3.alice.encrypt8(88), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt8(3), ); - expect(res).to.equal(88); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 2 (84, 88)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(84), - this.instances3.alice.encrypt8(88), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(84); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 3 (88, 88)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(88), - this.instances3.alice.encrypt8(88), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(88); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 4 (88, 84)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(88), - this.instances3.alice.encrypt8(84), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(84); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 1 (45208, 175)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 1 (2, 1)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(45208), - this.instances3.alice.encrypt8(175), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt8(1), ); - expect(res).to.equal(45208); + expect(res).to.equal(2n); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 2 (171, 175)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(171), - this.instances3.alice.encrypt8(175), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(175); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 3 (175, 175)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(175), - this.instances3.alice.encrypt8(175), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(175); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 4 (175, 171)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(175), - this.instances3.alice.encrypt8(171), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(175); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 1 (1870, 63235)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 1 (3, 3)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(1870), - this.instances3.alice.encrypt16(63235), + this.instances3.alice.encrypt16(3), + this.instances3.alice.encrypt16(3), ); - expect(res).to.equal(65105n); + expect(res).to.equal(6n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 2 (1866, 1870)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(1866), - this.instances3.alice.encrypt16(1870), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(3736n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 3 (1870, 1870)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(1870), - this.instances3.alice.encrypt16(1870), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(3740n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 4 (1870, 1866)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(1870), - this.instances3.alice.encrypt16(1866), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); - expect(res).to.equal(3736n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (4130, 4130)', async function () { + it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (8, 8)', async function () { const res = await this.contract3.sub_euint16_euint16( - this.instances3.alice.encrypt16(4130), - this.instances3.alice.encrypt16(4130), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, euint16) => euint16 test 2 (4130, 4126)', async function () { + it('test operator "sub" overload (euint16, euint16) => euint16 test 2 (8, 4)', async function () { const res = await this.contract3.sub_euint16_euint16( - this.instances3.alice.encrypt16(4130), - this.instances3.alice.encrypt16(4126), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (103, 420)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (1, 2)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(103), - this.instances3.alice.encrypt16(420), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(2), ); - expect(res).to.equal(43260n); + expect(res).to.equal(2n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 2 (206, 207)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(206), - this.instances3.alice.encrypt16(207), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(42642n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 3 (207, 207)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(207), - this.instances3.alice.encrypt16(207), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(42849n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 4 (207, 206)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(207), - this.instances3.alice.encrypt16(206), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); - expect(res).to.equal(42642n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 1 (55927, 33200)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 1 (1, 1)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(55927), - this.instances3.alice.encrypt16(33200), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(1), ); - expect(res).to.equal(32816); + expect(res).to.equal(1n); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 2 (33196, 33200)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(33196), - this.instances3.alice.encrypt16(33200), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(33184); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 3 (33200, 33200)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(33200), - this.instances3.alice.encrypt16(33200), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(33200); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 4 (33200, 33196)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(33200), - this.instances3.alice.encrypt16(33196), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); - expect(res).to.equal(33184); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 1 (25484, 6586)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 1 (2, 5)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(25484), - this.instances3.alice.encrypt16(6586), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt16(5), ); - expect(res).to.equal(31678); + expect(res).to.equal(7n); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 2 (6582, 6586)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(6582), - this.instances3.alice.encrypt16(6586), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(6590); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 3 (6586, 6586)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(6586), - this.instances3.alice.encrypt16(6586), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(6586); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 4 (6586, 6582)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(6586), - this.instances3.alice.encrypt16(6582), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); - expect(res).to.equal(6590); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (20626, 44825)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (9, 1)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(20626), - this.instances3.alice.encrypt16(44825), + this.instances3.alice.encrypt16(9), + this.instances3.alice.encrypt16(1), ); - expect(res).to.equal(65419); + expect(res).to.equal(8n); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (20622, 20626)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(20622), - this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(28); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 3 (20626, 20626)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(20626), - this.instances3.alice.encrypt16(20626), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 4 (20626, 20622)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(20626), - this.instances3.alice.encrypt16(20622), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); - expect(res).to.equal(28); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 1 (5463, 64736)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 1 (5, 6)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(5463), - this.instances3.alice.encrypt16(64736), + this.instances3.alice.encrypt16(5), + this.instances3.alice.encrypt16(6), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 2 (5459, 5463)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(5459), - this.instances3.alice.encrypt16(5463), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 3 (5463, 5463)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(5463), - this.instances3.alice.encrypt16(5463), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 4 (5463, 5459)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(5463), - this.instances3.alice.encrypt16(5459), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 1 (24558, 63661)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 1 (3, 2)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(24558), - this.instances3.alice.encrypt16(63661), + this.instances3.alice.encrypt16(3), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 2 (24554, 24558)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(24554), - this.instances3.alice.encrypt16(24558), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 3 (24558, 24558)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(24558), - this.instances3.alice.encrypt16(24558), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 4 (24558, 24554)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(24558), - this.instances3.alice.encrypt16(24554), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 1 (51421, 31489)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 1 (1, 2)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(51421), - this.instances3.alice.encrypt16(31489), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(2), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 2 (31485, 31489)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(31485), - this.instances3.alice.encrypt16(31489), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 3 (31489, 31489)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(31489), - this.instances3.alice.encrypt16(31489), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 4 (31489, 31485)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(31489), - this.instances3.alice.encrypt16(31485), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 1 (44465, 46930)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 1 (1, 2)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(44465), - this.instances3.alice.encrypt16(46930), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(2), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 2 (44461, 44465)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(44461), - this.instances3.alice.encrypt16(44465), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 3 (44465, 44465)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(44465), - this.instances3.alice.encrypt16(44465), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 4 (44465, 44461)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(44465), - this.instances3.alice.encrypt16(44461), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 1 (8195, 18657)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 1 (23, 1)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(8195), - this.instances3.alice.encrypt16(18657), + this.instances3.alice.encrypt16(23), + this.instances3.alice.encrypt16(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint16, euint16) => ebool test 2 (8191, 8195)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(8191), - this.instances3.alice.encrypt16(8195), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 3 (8195, 8195)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(8195), - this.instances3.alice.encrypt16(8195), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 4 (8195, 8191)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(8195), - this.instances3.alice.encrypt16(8191), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 1 (59556, 39223)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 1 (1, 1)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(59556), - this.instances3.alice.encrypt16(39223), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(1), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 2 (39219, 39223)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(39219), - this.instances3.alice.encrypt16(39223), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 3 (39223, 39223)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(39223), - this.instances3.alice.encrypt16(39223), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 4 (39223, 39219)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(39223), - this.instances3.alice.encrypt16(39219), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 1 (40365, 36544)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 1 (1, 1)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(40365), - this.instances3.alice.encrypt16(36544), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(1), ); - expect(res).to.equal(36544); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 2 (36540, 36544)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(36540), - this.instances3.alice.encrypt16(36544), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(36540); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 3 (36544, 36544)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(36544), - this.instances3.alice.encrypt16(36544), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(36544); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 4 (36544, 36540)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(36544), - this.instances3.alice.encrypt16(36540), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); - expect(res).to.equal(36540); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 1 (45208, 37832)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 1 (2, 1)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(45208), - this.instances3.alice.encrypt16(37832), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt16(1), ); - expect(res).to.equal(45208); + expect(res).to.equal(2n); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 2 (37828, 37832)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(37828), - this.instances3.alice.encrypt16(37832), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(37832); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 3 (37832, 37832)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(37832), - this.instances3.alice.encrypt16(37832), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(8), ); - expect(res).to.equal(37832); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 4 (37832, 37828)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(37832), - this.instances3.alice.encrypt16(37828), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(4), ); - expect(res).to.equal(37832); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 1 (12, 38505)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 1 (2, 2)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(12), - this.instances3.alice.encrypt32(38505), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt32(2), ); - expect(res).to.equal(38517n); + expect(res).to.equal(4n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 2 (24647, 24651)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(24647), - this.instances3.alice.encrypt32(24651), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(49298n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 3 (24651, 24651)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(24651), - this.instances3.alice.encrypt32(24651), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(49302n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 4 (24651, 24647)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(24651), - this.instances3.alice.encrypt32(24647), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); - expect(res).to.equal(49298n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (7479, 7479)', async function () { + it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (8, 8)', async function () { const res = await this.contract3.sub_euint16_euint32( - this.instances3.alice.encrypt16(7479), - this.instances3.alice.encrypt32(7479), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (7479, 7475)', async function () { + it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (8, 4)', async function () { const res = await this.contract3.sub_euint16_euint32( - this.instances3.alice.encrypt16(7479), - this.instances3.alice.encrypt32(7475), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (3, 8498)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (2, 1)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(3), - this.instances3.alice.encrypt32(8498), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt32(1), ); - expect(res).to.equal(25494n); + expect(res).to.equal(2n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 2 (209, 209)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(209), - this.instances3.alice.encrypt32(209), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(43681n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 3 (209, 209)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(209), - this.instances3.alice.encrypt32(209), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(43681n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 4 (209, 209)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(209), - this.instances3.alice.encrypt32(209), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); - expect(res).to.equal(43681n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 1 (55927, 26519890)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 1 (1, 1)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(55927), - this.instances3.alice.encrypt32(26519890), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(1), ); - expect(res).to.equal(34898); + expect(res).to.equal(1n); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 2 (55923, 55927)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(55923), - this.instances3.alice.encrypt32(55927), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(55923); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 3 (55927, 55927)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(55927), - this.instances3.alice.encrypt32(55927), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(55927); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 4 (55927, 55923)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(55927), - this.instances3.alice.encrypt32(55923), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); - expect(res).to.equal(55923); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 1 (25484, 156227915)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 1 (2, 4)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(25484), - this.instances3.alice.encrypt32(156227915), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt32(4), ); - expect(res).to.equal(156236751); + expect(res).to.equal(6n); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 2 (25480, 25484)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(25480), - this.instances3.alice.encrypt32(25484), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(25484); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 3 (25484, 25484)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(25484), - this.instances3.alice.encrypt32(25484), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(25484); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 4 (25484, 25480)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(25484), - this.instances3.alice.encrypt32(25480), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); - expect(res).to.equal(25484); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (20626, 50344759)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (9, 147)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(20626), - this.instances3.alice.encrypt32(50344759), + this.instances3.alice.encrypt16(9), + this.instances3.alice.encrypt32(147), ); - expect(res).to.equal(50357157); + expect(res).to.equal(154n); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (20622, 20626)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (5, 9)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(20622), - this.instances3.alice.encrypt32(20626), + this.instances3.alice.encrypt16(5), + this.instances3.alice.encrypt32(9), ); - expect(res).to.equal(28); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 3 (20626, 20626)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 3 (9, 9)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(20626), - this.instances3.alice.encrypt32(20626), + this.instances3.alice.encrypt16(9), + this.instances3.alice.encrypt32(9), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 4 (20626, 20622)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 4 (9, 5)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(20626), - this.instances3.alice.encrypt32(20622), + this.instances3.alice.encrypt16(9), + this.instances3.alice.encrypt32(5), ); - expect(res).to.equal(28); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 1 (47820, 152613323)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 1 (1, 9)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(47820), - this.instances3.alice.encrypt32(152613323), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(9), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 2 (47816, 47820)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(47816), - this.instances3.alice.encrypt32(47820), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 3 (47820, 47820)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(47820), - this.instances3.alice.encrypt32(47820), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 4 (47820, 47816)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(47820), - this.instances3.alice.encrypt32(47816), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 1 (40202, 108078460)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 1 (1, 1)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(40202), - this.instances3.alice.encrypt32(108078460), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 2 (40198, 40202)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(40198), - this.instances3.alice.encrypt32(40202), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 3 (40202, 40202)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(40202), - this.instances3.alice.encrypt32(40202), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 4 (40202, 40198)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(40202), - this.instances3.alice.encrypt32(40198), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 1 (44552, 89317183)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 1 (1, 1)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(44552), - this.instances3.alice.encrypt32(89317183), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(1), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 2 (44548, 44552)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(44548), - this.instances3.alice.encrypt32(44552), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 3 (44552, 44552)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(44552), - this.instances3.alice.encrypt32(44552), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 4 (44552, 44548)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(44552), - this.instances3.alice.encrypt32(44548), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 1 (40972, 46817193)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 1 (1, 1)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(40972), - this.instances3.alice.encrypt32(46817193), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(1), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 2 (40968, 40972)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(40968), - this.instances3.alice.encrypt32(40972), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 3 (40972, 40972)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(40972), - this.instances3.alice.encrypt32(40972), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 4 (40972, 40968)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(40972), - this.instances3.alice.encrypt32(40968), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 1 (61583, 12489816)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 1 (1, 1)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(61583), - this.instances3.alice.encrypt32(12489816), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(1), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 2 (61579, 61583)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(61579), - this.instances3.alice.encrypt32(61583), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 3 (61583, 61583)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(61583), - this.instances3.alice.encrypt32(61583), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 4 (61583, 61579)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(61583), - this.instances3.alice.encrypt32(61579), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 1 (30406, 222597839)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 1 (2, 4)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(30406), - this.instances3.alice.encrypt32(222597839), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 2 (30402, 30406)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(30402), - this.instances3.alice.encrypt32(30406), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 3 (30406, 30406)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(30406), - this.instances3.alice.encrypt32(30406), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 4 (30406, 30402)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(30406), - this.instances3.alice.encrypt32(30402), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 1 (24104, 263622414)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 1 (1, 5)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(24104), - this.instances3.alice.encrypt32(263622414), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(5), ); - expect(res).to.equal(24104); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 2 (24100, 24104)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(24100), - this.instances3.alice.encrypt32(24104), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(24100); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 3 (24104, 24104)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(24104), - this.instances3.alice.encrypt32(24104), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(24104); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 4 (24104, 24100)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(24104), - this.instances3.alice.encrypt32(24100), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); - expect(res).to.equal(24100); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 1 (62549, 239578021)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 1 (1, 1)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(62549), - this.instances3.alice.encrypt32(239578021), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt32(1), ); - expect(res).to.equal(239578021); + expect(res).to.equal(1n); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 2 (62545, 62549)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(62545), - this.instances3.alice.encrypt32(62549), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(62549); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 3 (62549, 62549)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(62549), - this.instances3.alice.encrypt32(62549), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(8), ); - expect(res).to.equal(62549); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 4 (62549, 62545)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(62549), - this.instances3.alice.encrypt32(62545), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt32(4), ); - expect(res).to.equal(62549); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 1 (24, 33045)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 1 (2, 5596)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(24), - this.instances3.alice.encrypt64(33045), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt64(5596), ); - expect(res).to.equal(33069n); + expect(res).to.equal(5598n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 2 (24647, 24651)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(24647), - this.instances3.alice.encrypt64(24651), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(49298n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 3 (24651, 24651)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(24651), - this.instances3.alice.encrypt64(24651), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(49302n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 4 (24651, 24647)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(24651), - this.instances3.alice.encrypt64(24647), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); - expect(res).to.equal(49298n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (7479, 7479)', async function () { + it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (8, 8)', async function () { const res = await this.contract3.sub_euint16_euint64( - this.instances3.alice.encrypt16(7479), - this.instances3.alice.encrypt64(7479), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (7479, 7475)', async function () { + it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (8, 4)', async function () { const res = await this.contract3.sub_euint16_euint64( - this.instances3.alice.encrypt16(7479), - this.instances3.alice.encrypt64(7475), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (6, 6087)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (2, 2601)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(6), - this.instances3.alice.encrypt64(6087), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt64(2601), ); - expect(res).to.equal(36522n); + expect(res).to.equal(5202n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 2 (209, 209)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(209), - this.instances3.alice.encrypt64(209), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(43681n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 3 (209, 209)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(209), - this.instances3.alice.encrypt64(209), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(43681n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 4 (209, 209)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(209), - this.instances3.alice.encrypt64(209), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); - expect(res).to.equal(43681n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 1 (55927, 66357780)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 1 (1, 4630)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(55927), - this.instances3.alice.encrypt64(66357780), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(4630), ); - expect(res).to.equal(35348); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 2 (55923, 55927)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(55923), - this.instances3.alice.encrypt64(55927), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(55923); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 3 (55927, 55927)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(55927), - this.instances3.alice.encrypt64(55927), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(55927); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 4 (55927, 55923)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(55927), - this.instances3.alice.encrypt64(55923), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); - expect(res).to.equal(55923); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 1 (25484, 265773773)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 1 (2, 17420)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(25484), - this.instances3.alice.encrypt64(265773773), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt64(17420), ); - expect(res).to.equal(265774029); + expect(res).to.equal(17422n); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 2 (25480, 25484)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(25480), - this.instances3.alice.encrypt64(25484), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(25484); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 3 (25484, 25484)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(25484), - this.instances3.alice.encrypt64(25484), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(25484); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 4 (25484, 25480)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(25484), - this.instances3.alice.encrypt64(25480), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); - expect(res).to.equal(25484); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (20626, 20674993)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (9, 28164)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(20626), - this.instances3.alice.encrypt64(20674993), + this.instances3.alice.encrypt16(9), + this.instances3.alice.encrypt64(28164), ); - expect(res).to.equal(20654371); + expect(res).to.equal(28173n); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (20622, 20626)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (5, 9)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(20622), - this.instances3.alice.encrypt64(20626), + this.instances3.alice.encrypt16(5), + this.instances3.alice.encrypt64(9), ); - expect(res).to.equal(28); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 3 (20626, 20626)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 3 (9, 9)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(20626), - this.instances3.alice.encrypt64(20626), + this.instances3.alice.encrypt16(9), + this.instances3.alice.encrypt64(9), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 4 (20626, 20622)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 4 (9, 5)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(20626), - this.instances3.alice.encrypt64(20622), + this.instances3.alice.encrypt16(9), + this.instances3.alice.encrypt64(5), ); - expect(res).to.equal(28); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 1 (47820, 145445907)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 1 (1, 4154)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(47820), - this.instances3.alice.encrypt64(145445907), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(4154), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 2 (47816, 47820)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(47816), - this.instances3.alice.encrypt64(47820), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 3 (47820, 47820)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(47820), - this.instances3.alice.encrypt64(47820), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 4 (47820, 47816)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(47820), - this.instances3.alice.encrypt64(47816), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 1 (40202, 163102475)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 1 (1, 14889)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(40202), - this.instances3.alice.encrypt64(163102475), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(14889), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 2 (40198, 40202)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(40198), - this.instances3.alice.encrypt64(40202), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 3 (40202, 40202)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(40202), - this.instances3.alice.encrypt64(40202), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 4 (40202, 40198)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(40202), - this.instances3.alice.encrypt64(40198), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 1 (44552, 221643140)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 1 (1, 3917)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(44552), - this.instances3.alice.encrypt64(221643140), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(3917), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 2 (44548, 44552)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(44548), - this.instances3.alice.encrypt64(44552), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 3 (44552, 44552)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(44552), - this.instances3.alice.encrypt64(44552), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 4 (44552, 44548)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(44552), - this.instances3.alice.encrypt64(44548), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 1 (40972, 29158802)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 1 (1, 23898)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(40972), - this.instances3.alice.encrypt64(29158802), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(23898), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 2 (40968, 40972)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(40968), - this.instances3.alice.encrypt64(40972), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 3 (40972, 40972)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(40972), - this.instances3.alice.encrypt64(40972), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 4 (40972, 40968)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(40972), - this.instances3.alice.encrypt64(40968), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 1 (61583, 200076583)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 1 (1, 7578)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(61583), - this.instances3.alice.encrypt64(200076583), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(7578), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 2 (61579, 61583)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(61579), - this.instances3.alice.encrypt64(61583), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 3 (61583, 61583)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(61583), - this.instances3.alice.encrypt64(61583), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 4 (61583, 61579)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(61583), - this.instances3.alice.encrypt64(61579), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 1 (30406, 141165411)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 1 (2, 2714)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(30406), - this.instances3.alice.encrypt64(141165411), + this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt64(2714), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 2 (30402, 30406)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(30402), - this.instances3.alice.encrypt64(30406), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 3 (30406, 30406)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(30406), - this.instances3.alice.encrypt64(30406), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 4 (30406, 30402)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(30406), - this.instances3.alice.encrypt64(30402), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 1 (24104, 100961112)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 1 (1, 3602)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(24104), - this.instances3.alice.encrypt64(100961112), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(3602), ); - expect(res).to.equal(24104); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 2 (24100, 24104)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(24100), - this.instances3.alice.encrypt64(24104), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(24100); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 3 (24104, 24104)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(24104), - this.instances3.alice.encrypt64(24104), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(24104); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 4 (24104, 24100)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(24104), - this.instances3.alice.encrypt64(24100), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); - expect(res).to.equal(24100); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 1 (62549, 228731288)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 1 (1, 3622)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(62549), - this.instances3.alice.encrypt64(228731288), + this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt64(3622), ); - expect(res).to.equal(228731288); + expect(res).to.equal(3622n); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 2 (62545, 62549)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(62545), - this.instances3.alice.encrypt64(62549), + this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(62549); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 3 (62549, 62549)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(62549), - this.instances3.alice.encrypt64(62549), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(8), ); - expect(res).to.equal(62549); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 4 (62549, 62545)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(62549), - this.instances3.alice.encrypt64(62545), + this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt64(4), ); - expect(res).to.equal(62549); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 1 (1870, 31236)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(1870), 31236); - expect(res).to.equal(33106n); + it('test operator "add" overload (euint16, uint16) => euint16 test 1 (3, 2)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(3), 2); + expect(res).to.equal(5n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 2 (1866, 1870)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(1866), 1870); - expect(res).to.equal(3736n); + it('test operator "add" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 3 (1870, 1870)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(1870), 1870); - expect(res).to.equal(3740n); + it('test operator "add" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 4 (1870, 1866)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(1870), 1866); - expect(res).to.equal(3736n); + it('test operator "add" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + expect(res).to.equal(12n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 1 (24651, 31236)', async function () { - const res = await this.contract3.add_uint16_euint16(24651, this.instances3.alice.encrypt16(31236)); - expect(res).to.equal(55887n); + it('test operator "add" overload (uint16, euint16) => euint16 test 1 (2, 2)', async function () { + const res = await this.contract3.add_uint16_euint16(2, this.instances3.alice.encrypt16(2)); + expect(res).to.equal(4n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 2 (1866, 1870)', async function () { - const res = await this.contract3.add_uint16_euint16(1866, this.instances3.alice.encrypt16(1870)); - expect(res).to.equal(3736n); + it('test operator "add" overload (uint16, euint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.add_uint16_euint16(4, this.instances3.alice.encrypt16(8)); + expect(res).to.equal(12n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 3 (1870, 1870)', async function () { - const res = await this.contract3.add_uint16_euint16(1870, this.instances3.alice.encrypt16(1870)); - expect(res).to.equal(3740n); + it('test operator "add" overload (uint16, euint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.add_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + expect(res).to.equal(16n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 4 (1870, 1866)', async function () { - const res = await this.contract3.add_uint16_euint16(1870, this.instances3.alice.encrypt16(1866)); - expect(res).to.equal(3736n); + it('test operator "add" overload (uint16, euint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.add_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (4130, 4130)', async function () { - const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(4130), 4130); - expect(res).to.equal(0); + it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (8, 8)', async function () { + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, uint16) => euint16 test 2 (4130, 4126)', async function () { - const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(4130), 4126); - expect(res).to.equal(4); + it('test operator "sub" overload (euint16, uint16) => euint16 test 2 (8, 4)', async function () { + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + expect(res).to.equal(4n); }); - it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (4130, 4130)', async function () { - const res = await this.contract3.sub_uint16_euint16(4130, this.instances3.alice.encrypt16(4130)); - expect(res).to.equal(0); + it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (8, 8)', async function () { + const res = await this.contract3.sub_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (uint16, euint16) => euint16 test 2 (4130, 4126)', async function () { - const res = await this.contract3.sub_uint16_euint16(4130, this.instances3.alice.encrypt16(4126)); - expect(res).to.equal(4); + it('test operator "sub" overload (uint16, euint16) => euint16 test 2 (8, 4)', async function () { + const res = await this.contract3.sub_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (207, 286)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(207), 286); - expect(res).to.equal(59202n); + it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (1, 14)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(1), 14); + expect(res).to.equal(14n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 2 (206, 207)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(206), 207); - expect(res).to.equal(42642n); + it('test operator "mul" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 3 (207, 207)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(207), 207); - expect(res).to.equal(42849n); + it('test operator "mul" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 4 (207, 206)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(207), 206); - expect(res).to.equal(42642n); + it('test operator "mul" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (419, 71)', async function () { - const res = await this.contract3.mul_uint16_euint16(419, this.instances3.alice.encrypt16(71)); - expect(res).to.equal(29749n); + it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (2, 14)', async function () { + const res = await this.contract3.mul_uint16_euint16(2, this.instances3.alice.encrypt16(14)); + expect(res).to.equal(28n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 2 (206, 207)', async function () { - const res = await this.contract3.mul_uint16_euint16(206, this.instances3.alice.encrypt16(207)); - expect(res).to.equal(42642n); + it('test operator "mul" overload (uint16, euint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.mul_uint16_euint16(4, this.instances3.alice.encrypt16(8)); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 3 (207, 207)', async function () { - const res = await this.contract3.mul_uint16_euint16(207, this.instances3.alice.encrypt16(207)); - expect(res).to.equal(42849n); + it('test operator "mul" overload (uint16, euint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.mul_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 4 (207, 206)', async function () { - const res = await this.contract3.mul_uint16_euint16(207, this.instances3.alice.encrypt16(206)); - expect(res).to.equal(42642n); + it('test operator "mul" overload (uint16, euint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.mul_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + expect(res).to.equal(32n); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 1 (21163, 49228)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(21163), 49228); - expect(res).to.equal(0); + it('test operator "div" overload (euint16, uint16) => euint16 test 1 (1, 1)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(1), 1); + expect(res).to.equal(1n); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 2 (21159, 21163)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(21159), 21163); - expect(res).to.equal(0); + it('test operator "div" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + expect(res).to.equal(0n); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 3 (21163, 21163)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(21163), 21163); - expect(res).to.equal(1); + it('test operator "div" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + expect(res).to.equal(1n); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 4 (21163, 21159)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(21163), 21159); - expect(res).to.equal(1); + it('test operator "div" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + expect(res).to.equal(2n); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (44670, 10464)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(44670), 10464); - expect(res).to.equal(2814); + it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (1, 3)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(1), 3); + expect(res).to.equal(1n); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 2 (44666, 44670)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(44666), 44670); - expect(res).to.equal(44666); + it('test operator "rem" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + expect(res).to.equal(4n); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 3 (44670, 44670)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(44670), 44670); - expect(res).to.equal(0); + it('test operator "rem" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + expect(res).to.equal(0n); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 4 (44670, 44666)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(44670), 44666); - expect(res).to.equal(4); + it('test operator "rem" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + expect(res).to.equal(0n); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 1 (5463, 19063)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5463), 19063); + it('test operator "eq" overload (euint16, uint16) => ebool test 1 (5, 1)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5), 1); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 2 (5459, 5463)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5459), 5463); + it('test operator "eq" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(4), 8); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 3 (5463, 5463)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5463), 5463); + it('test operator "eq" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(8), 8); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 4 (5463, 5459)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5463), 5459); + it('test operator "eq" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(8), 4); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 1 (47820, 19063)', async function () { - const res = await this.contract3.eq_uint16_euint16(47820, this.instances3.alice.encrypt16(19063)); - expect(res).to.equal(false); + it('test operator "eq" overload (uint16, euint16) => ebool test 1 (1, 1)', async function () { + const res = await this.contract3.eq_uint16_euint16(1, this.instances3.alice.encrypt16(1)); + expect(res).to.equal(true); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 2 (5459, 5463)', async function () { - const res = await this.contract3.eq_uint16_euint16(5459, this.instances3.alice.encrypt16(5463)); + it('test operator "eq" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.eq_uint16_euint16(4, this.instances3.alice.encrypt16(8)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 3 (5463, 5463)', async function () { - const res = await this.contract3.eq_uint16_euint16(5463, this.instances3.alice.encrypt16(5463)); + it('test operator "eq" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.eq_uint16_euint16(8, this.instances3.alice.encrypt16(8)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 4 (5463, 5459)', async function () { - const res = await this.contract3.eq_uint16_euint16(5463, this.instances3.alice.encrypt16(5459)); + it('test operator "eq" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.eq_uint16_euint16(8, this.instances3.alice.encrypt16(4)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 1 (24558, 4639)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(24558), 4639); + it('test operator "ne" overload (euint16, uint16) => ebool test 1 (3, 6)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(3), 6); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 2 (24554, 24558)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(24554), 24558); + it('test operator "ne" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(4), 8); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 3 (24558, 24558)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(24558), 24558); + it('test operator "ne" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(8), 8); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 4 (24558, 24554)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(24558), 24554); + it('test operator "ne" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(8), 4); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 1 (40202, 4639)', async function () { - const res = await this.contract3.ne_uint16_euint16(40202, this.instances3.alice.encrypt16(4639)); + it('test operator "ne" overload (uint16, euint16) => ebool test 1 (1, 6)', async function () { + const res = await this.contract3.ne_uint16_euint16(1, this.instances3.alice.encrypt16(6)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 2 (24554, 24558)', async function () { - const res = await this.contract3.ne_uint16_euint16(24554, this.instances3.alice.encrypt16(24558)); + it('test operator "ne" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.ne_uint16_euint16(4, this.instances3.alice.encrypt16(8)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 3 (24558, 24558)', async function () { - const res = await this.contract3.ne_uint16_euint16(24558, this.instances3.alice.encrypt16(24558)); + it('test operator "ne" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.ne_uint16_euint16(8, this.instances3.alice.encrypt16(8)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 4 (24558, 24554)', async function () { - const res = await this.contract3.ne_uint16_euint16(24558, this.instances3.alice.encrypt16(24554)); + it('test operator "ne" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.ne_uint16_euint16(8, this.instances3.alice.encrypt16(4)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 1 (51421, 1063)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(51421), 1063); + it('test operator "ge" overload (euint16, uint16) => ebool test 1 (1, 1)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(1), 1); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 2 (31485, 31489)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(31485), 31489); + it('test operator "ge" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(4), 8); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 3 (31489, 31489)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(31489), 31489); + it('test operator "ge" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(8), 8); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 4 (31489, 31485)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(31489), 31485); + it('test operator "ge" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(8), 4); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 1 (44552, 1063)', async function () { - const res = await this.contract3.ge_uint16_euint16(44552, this.instances3.alice.encrypt16(1063)); + it('test operator "ge" overload (uint16, euint16) => ebool test 1 (1, 1)', async function () { + const res = await this.contract3.ge_uint16_euint16(1, this.instances3.alice.encrypt16(1)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 2 (31485, 31489)', async function () { - const res = await this.contract3.ge_uint16_euint16(31485, this.instances3.alice.encrypt16(31489)); + it('test operator "ge" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.ge_uint16_euint16(4, this.instances3.alice.encrypt16(8)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 3 (31489, 31489)', async function () { - const res = await this.contract3.ge_uint16_euint16(31489, this.instances3.alice.encrypt16(31489)); + it('test operator "ge" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.ge_uint16_euint16(8, this.instances3.alice.encrypt16(8)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 4 (31489, 31485)', async function () { - const res = await this.contract3.ge_uint16_euint16(31489, this.instances3.alice.encrypt16(31485)); + it('test operator "ge" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.ge_uint16_euint16(8, this.instances3.alice.encrypt16(4)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 1 (44465, 56813)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(44465), 56813); + it('test operator "gt" overload (euint16, uint16) => ebool test 1 (1, 1)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(1), 1); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 2 (44461, 44465)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(44461), 44465); + it('test operator "gt" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(4), 8); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 3 (44465, 44465)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(44465), 44465); + it('test operator "gt" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(8), 8); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 4 (44465, 44461)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(44465), 44461); + it('test operator "gt" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(8), 4); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 1 (40972, 56813)', async function () { - const res = await this.contract3.gt_uint16_euint16(40972, this.instances3.alice.encrypt16(56813)); + it('test operator "gt" overload (uint16, euint16) => ebool test 1 (1, 1)', async function () { + const res = await this.contract3.gt_uint16_euint16(1, this.instances3.alice.encrypt16(1)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 2 (44461, 44465)', async function () { - const res = await this.contract3.gt_uint16_euint16(44461, this.instances3.alice.encrypt16(44465)); + it('test operator "gt" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.gt_uint16_euint16(4, this.instances3.alice.encrypt16(8)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 3 (44465, 44465)', async function () { - const res = await this.contract3.gt_uint16_euint16(44465, this.instances3.alice.encrypt16(44465)); + it('test operator "gt" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.gt_uint16_euint16(8, this.instances3.alice.encrypt16(8)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 4 (44465, 44461)', async function () { - const res = await this.contract3.gt_uint16_euint16(44465, this.instances3.alice.encrypt16(44461)); + it('test operator "gt" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.gt_uint16_euint16(8, this.instances3.alice.encrypt16(4)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 1 (8195, 15612)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8195), 15612); - expect(res).to.equal(true); + it('test operator "le" overload (euint16, uint16) => ebool test 1 (23, 1)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(23), 1); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint16, uint16) => ebool test 2 (8191, 8195)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8191), 8195); + it('test operator "le" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(4), 8); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 3 (8195, 8195)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8195), 8195); + it('test operator "le" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8), 8); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 4 (8195, 8191)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8195), 8191); + it('test operator "le" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8), 4); expect(res).to.equal(false); }); - it('test operator "le" overload (uint16, euint16) => ebool test 1 (61583, 15612)', async function () { - const res = await this.contract3.le_uint16_euint16(61583, this.instances3.alice.encrypt16(15612)); - expect(res).to.equal(false); + it('test operator "le" overload (uint16, euint16) => ebool test 1 (1, 1)', async function () { + const res = await this.contract3.le_uint16_euint16(1, this.instances3.alice.encrypt16(1)); + expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 2 (8191, 8195)', async function () { - const res = await this.contract3.le_uint16_euint16(8191, this.instances3.alice.encrypt16(8195)); + it('test operator "le" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.le_uint16_euint16(4, this.instances3.alice.encrypt16(8)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 3 (8195, 8195)', async function () { - const res = await this.contract3.le_uint16_euint16(8195, this.instances3.alice.encrypt16(8195)); + it('test operator "le" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.le_uint16_euint16(8, this.instances3.alice.encrypt16(8)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 4 (8195, 8191)', async function () { - const res = await this.contract3.le_uint16_euint16(8195, this.instances3.alice.encrypt16(8191)); + it('test operator "le" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.le_uint16_euint16(8, this.instances3.alice.encrypt16(4)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 1 (59556, 9412)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(59556), 9412); - expect(res).to.equal(false); + it('test operator "lt" overload (euint16, uint16) => ebool test 1 (1, 8)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(1), 8); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 2 (39219, 39223)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(39219), 39223); + it('test operator "lt" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(4), 8); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 3 (39223, 39223)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(39223), 39223); + it('test operator "lt" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(8), 8); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 4 (39223, 39219)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(39223), 39219); + it('test operator "lt" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(8), 4); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 1 (30406, 9412)', async function () { - const res = await this.contract3.lt_uint16_euint16(30406, this.instances3.alice.encrypt16(9412)); - expect(res).to.equal(false); + it('test operator "lt" overload (uint16, euint16) => ebool test 1 (2, 8)', async function () { + const res = await this.contract3.lt_uint16_euint16(2, this.instances3.alice.encrypt16(8)); + expect(res).to.equal(true); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 2 (39219, 39223)', async function () { - const res = await this.contract3.lt_uint16_euint16(39219, this.instances3.alice.encrypt16(39223)); + it('test operator "lt" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { + const res = await this.contract3.lt_uint16_euint16(4, this.instances3.alice.encrypt16(8)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 3 (39223, 39223)', async function () { - const res = await this.contract3.lt_uint16_euint16(39223, this.instances3.alice.encrypt16(39223)); + it('test operator "lt" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { + const res = await this.contract3.lt_uint16_euint16(8, this.instances3.alice.encrypt16(8)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 4 (39223, 39219)', async function () { - const res = await this.contract3.lt_uint16_euint16(39223, this.instances3.alice.encrypt16(39219)); + it('test operator "lt" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { + const res = await this.contract3.lt_uint16_euint16(8, this.instances3.alice.encrypt16(4)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 1 (40365, 56848)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(40365), 56848); - expect(res).to.equal(40365); + it('test operator "min" overload (euint16, uint16) => euint16 test 1 (1, 2)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(1), 2); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 2 (36540, 36544)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(36540), 36544); - expect(res).to.equal(36540); + it('test operator "min" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 3 (36544, 36544)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(36544), 36544); - expect(res).to.equal(36544); + it('test operator "min" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 4 (36544, 36540)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(36544), 36540); - expect(res).to.equal(36540); + it('test operator "min" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + expect(res).to.equal(4n); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 1 (24104, 56848)', async function () { - const res = await this.contract3.min_uint16_euint16(24104, this.instances3.alice.encrypt16(56848)); - expect(res).to.equal(24104); + it('test operator "min" overload (uint16, euint16) => euint16 test 1 (1, 2)', async function () { + const res = await this.contract3.min_uint16_euint16(1, this.instances3.alice.encrypt16(2)); + expect(res).to.equal(1n); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 2 (36540, 36544)', async function () { - const res = await this.contract3.min_uint16_euint16(36540, this.instances3.alice.encrypt16(36544)); - expect(res).to.equal(36540); + it('test operator "min" overload (uint16, euint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.min_uint16_euint16(4, this.instances3.alice.encrypt16(8)); + expect(res).to.equal(4n); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 3 (36544, 36544)', async function () { - const res = await this.contract3.min_uint16_euint16(36544, this.instances3.alice.encrypt16(36544)); - expect(res).to.equal(36544); + it('test operator "min" overload (uint16, euint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.min_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + expect(res).to.equal(8n); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 4 (36544, 36540)', async function () { - const res = await this.contract3.min_uint16_euint16(36544, this.instances3.alice.encrypt16(36540)); - expect(res).to.equal(36540); + it('test operator "min" overload (uint16, euint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.min_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 1 (45208, 8803)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(45208), 8803); - expect(res).to.equal(45208); + it('test operator "max" overload (euint16, uint16) => euint16 test 1 (2, 34)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(2), 34); + expect(res).to.equal(34n); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 2 (37828, 37832)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37828), 37832); - expect(res).to.equal(37832); + it('test operator "max" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 3 (37832, 37832)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37832), 37832); - expect(res).to.equal(37832); + it('test operator "max" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 4 (37832, 37828)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(37832), 37828); - expect(res).to.equal(37832); + it('test operator "max" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + expect(res).to.equal(8n); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 1 (62549, 8803)', async function () { - const res = await this.contract3.max_uint16_euint16(62549, this.instances3.alice.encrypt16(8803)); - expect(res).to.equal(62549); + it('test operator "max" overload (uint16, euint16) => euint16 test 1 (1, 34)', async function () { + const res = await this.contract3.max_uint16_euint16(1, this.instances3.alice.encrypt16(34)); + expect(res).to.equal(34n); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 2 (37828, 37832)', async function () { - const res = await this.contract3.max_uint16_euint16(37828, this.instances3.alice.encrypt16(37832)); - expect(res).to.equal(37832); + it('test operator "max" overload (uint16, euint16) => euint16 test 2 (4, 8)', async function () { + const res = await this.contract3.max_uint16_euint16(4, this.instances3.alice.encrypt16(8)); + expect(res).to.equal(8n); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 3 (37832, 37832)', async function () { - const res = await this.contract3.max_uint16_euint16(37832, this.instances3.alice.encrypt16(37832)); - expect(res).to.equal(37832); + it('test operator "max" overload (uint16, euint16) => euint16 test 3 (8, 8)', async function () { + const res = await this.contract3.max_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + expect(res).to.equal(8n); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 4 (37832, 37828)', async function () { - const res = await this.contract3.max_uint16_euint16(37832, this.instances3.alice.encrypt16(37828)); - expect(res).to.equal(37832); + it('test operator "max" overload (uint16, euint16) => euint16 test 4 (8, 4)', async function () { + const res = await this.contract3.max_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint32, euint4) => euint32 test 1 (8, 1)', async function () { + it('test operator "add" overload (euint32, euint4) => euint32 test 1 (2, 8)', async function () { const res = await this.contract3.add_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(1), + this.instances3.alice.encrypt32(2), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(9n); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint32, euint4) => euint32 test 2 (3, 5)', async function () { + it('test operator "add" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.add_euint32_euint4( - this.instances3.alice.encrypt32(3), - this.instances3.alice.encrypt4(5), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(8n); + expect(res).to.equal(12n); }); it('test operator "add" overload (euint32, euint4) => euint32 test 3 (5, 5)', async function () { @@ -7984,12 +7984,12 @@ describe('TFHE operations', function () { expect(res).to.equal(10n); }); - it('test operator "add" overload (euint32, euint4) => euint32 test 4 (5, 3)', async function () { + it('test operator "add" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.add_euint32_euint4( - this.instances3.alice.encrypt32(5), - this.instances3.alice.encrypt4(3), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(8n); + expect(res).to.equal(12n); }); it('test operator "sub" overload (euint32, euint4) => euint32 test 1 (8, 8)', async function () { @@ -7997,7 +7997,7 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(8), this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "sub" overload (euint32, euint4) => euint32 test 2 (8, 4)', async function () { @@ -8005,47 +8005,47 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(8), this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 1 (9, 1)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 1 (1, 2)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(9), - this.instances3.alice.encrypt4(1), + this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt4(2), ); - expect(res).to.equal(9n); + expect(res).to.equal(2n); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 2 (3, 5)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(2), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(3), + this.instances3.alice.encrypt4(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(15n); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 3 (2, 2)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 3 (3, 3)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(2), - this.instances3.alice.encrypt4(2), + this.instances3.alice.encrypt32(3), + this.instances3.alice.encrypt4(3), ); - expect(res).to.equal(4n); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 4 (5, 3)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(2), + this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt4(3), ); - expect(res).to.equal(8n); + expect(res).to.equal(15n); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 1 (145081557, 6)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 1 (1, 2)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(145081557), - this.instances3.alice.encrypt4(6), + this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt4(2), ); - expect(res).to.equal(4); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { @@ -8053,7 +8053,7 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(4), this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { @@ -8061,7 +8061,7 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(8), this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "and" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { @@ -8069,15 +8069,15 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(8), this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint32, euint4) => euint32 test 1 (138135196, 6)', async function () { + it('test operator "or" overload (euint32, euint4) => euint32 test 1 (2, 15)', async function () { const res = await this.contract3.or_euint32_euint4( - this.instances3.alice.encrypt32(138135196), - this.instances3.alice.encrypt4(6), + this.instances3.alice.encrypt32(2), + this.instances3.alice.encrypt4(15), ); - expect(res).to.equal(138135198); + expect(res).to.equal(15n); }); it('test operator "or" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { @@ -8085,7 +8085,7 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(4), this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "or" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { @@ -8093,7 +8093,7 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(8), this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "or" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { @@ -8101,111 +8101,111 @@ describe('TFHE operations', function () { this.instances3.alice.encrypt32(8), this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 1 (27190055, 14)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 1 (1, 1)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(27190055), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt4(1), ); - expect(res).to.equal(27190057); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 2 (10, 14)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 3 (14, 14)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 4 (14, 10)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt4(10), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 1 (60042820, 13)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 1 (1, 3)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(60042820), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt4(3), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 2 (9, 13)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(9), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 3 (13, 13)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(13), - this.instances3.alice.encrypt4(13), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 4 (13, 9)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(13), - this.instances3.alice.encrypt4(9), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 1 (83574454, 8)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 1 (24, 15)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(83574454), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(24), + this.instances3.alice.encrypt4(15), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 2 (11, 15)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(11), + this.instances3.alice.encrypt4(15), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 3 (15, 15)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(15), + this.instances3.alice.encrypt4(15), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 4 (15, 11)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(15), + this.instances3.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 1 (55218710, 2)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 1 (1, 15)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(55218710), - this.instances3.alice.encrypt4(2), + this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt4(15), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "ge" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { @@ -8232,2352 +8232,2352 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint4) => ebool test 1 (44051971, 14)', async function () { + it('test operator "gt" overload (euint32, euint4) => ebool test 1 (1, 15)', async function () { const res = await this.contract3.gt_euint32_euint4( - this.instances3.alice.encrypt32(44051971), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt4(15), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint4) => ebool test 2 (10, 14)', async function () { + it('test operator "gt" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.gt_euint32_euint4( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint4) => ebool test 3 (14, 14)', async function () { + it('test operator "gt" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.gt_euint32_euint4( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint4) => ebool test 4 (14, 10)', async function () { + it('test operator "gt" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.gt_euint32_euint4( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt4(10), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 1 (253532839, 12)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 1 (25, 15)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(253532839), - this.instances3.alice.encrypt4(12), + this.instances3.alice.encrypt32(25), + this.instances3.alice.encrypt4(15), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint4) => ebool test 2 (8, 12)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 2 (11, 15)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(12), + this.instances3.alice.encrypt32(11), + this.instances3.alice.encrypt4(15), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 3 (12, 12)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 3 (15, 15)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(12), - this.instances3.alice.encrypt4(12), + this.instances3.alice.encrypt32(15), + this.instances3.alice.encrypt4(15), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 4 (12, 8)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 4 (15, 11)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(12), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(15), + this.instances3.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 1 (77180163, 11)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 1 (2, 1)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(77180163), - this.instances3.alice.encrypt4(11), + this.instances3.alice.encrypt32(2), + this.instances3.alice.encrypt4(1), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 2 (7, 11)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(7), - this.instances3.alice.encrypt4(11), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 3 (11, 11)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(11), - this.instances3.alice.encrypt4(11), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 4 (11, 7)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(11), - this.instances3.alice.encrypt4(7), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint4) => euint32 test 1 (178824069, 14)', async function () { + it('test operator "min" overload (euint32, euint4) => euint32 test 1 (3, 15)', async function () { const res = await this.contract3.min_euint32_euint4( - this.instances3.alice.encrypt32(178824069), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(3), + this.instances3.alice.encrypt4(15), ); - expect(res).to.equal(14); + expect(res).to.equal(3n); }); - it('test operator "min" overload (euint32, euint4) => euint32 test 2 (10, 14)', async function () { + it('test operator "min" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.min_euint32_euint4( - this.instances3.alice.encrypt32(10), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(10); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint32, euint4) => euint32 test 3 (14, 14)', async function () { + it('test operator "min" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.min_euint32_euint4( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt4(14), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(14); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint32, euint4) => euint32 test 4 (14, 10)', async function () { + it('test operator "min" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.min_euint32_euint4( - this.instances3.alice.encrypt32(14), - this.instances3.alice.encrypt4(10), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(10); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 1 (234155387, 12)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 1 (9, 5)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(234155387), - this.instances3.alice.encrypt4(12), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(5), ); - expect(res).to.equal(234155387); + expect(res).to.equal(9n); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 2 (8, 12)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(12), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 3 (12, 12)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(12), - this.instances3.alice.encrypt4(12), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 4 (12, 8)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(12), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 1 (134, 1)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 1 (3, 1)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(134), + this.instances3.alice.encrypt32(3), this.instances3.alice.encrypt8(1), ); - expect(res).to.equal(135n); + expect(res).to.equal(4n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 2 (76, 80)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(76), - this.instances3.alice.encrypt8(80), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(156n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 3 (80, 80)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(80), - this.instances3.alice.encrypt8(80), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(160n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 4 (80, 76)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(80), - this.instances3.alice.encrypt8(76), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(156n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (186, 186)', async function () { + it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (8, 8)', async function () { const res = await this.contract3.sub_euint32_euint8( - this.instances3.alice.encrypt32(186), - this.instances3.alice.encrypt8(186), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint32, euint8) => euint32 test 2 (186, 182)', async function () { + it('test operator "sub" overload (euint32, euint8) => euint32 test 2 (8, 4)', async function () { const res = await this.contract3.sub_euint32_euint8( - this.instances3.alice.encrypt32(186), - this.instances3.alice.encrypt8(182), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 1 (146, 1)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 1 (1, 3)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(146), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt8(3), ); - expect(res).to.equal(146n); + expect(res).to.equal(3n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 2 (12, 12)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(12), - this.instances3.alice.encrypt8(12), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(144n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 3 (12, 12)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(12), - this.instances3.alice.encrypt8(12), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(144n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 4 (12, 12)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(12), - this.instances3.alice.encrypt8(12), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(144n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 1 (145081557, 138)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 1 (1, 85)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(145081557), - this.instances3.alice.encrypt8(138), + this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt8(85), ); - expect(res).to.equal(128); + expect(res).to.equal(1n); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 2 (134, 138)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(134), - this.instances3.alice.encrypt8(138), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(130); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 3 (138, 138)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(138), - this.instances3.alice.encrypt8(138), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(138); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 4 (138, 134)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(138), - this.instances3.alice.encrypt8(134), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt8(4), ); - expect(res).to.equal(130); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 1 (138135196, 250)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 1 (2, 1)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(138135196), - this.instances4.alice.encrypt8(250), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt8(1), ); - expect(res).to.equal(138135294); + expect(res).to.equal(3n); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 2 (246, 250)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(246), - this.instances4.alice.encrypt8(250), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(254); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 3 (250, 250)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(250), - this.instances4.alice.encrypt8(250), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(250); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 4 (250, 246)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(250), - this.instances4.alice.encrypt8(246), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(4), ); - expect(res).to.equal(254); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (27190055, 85)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (1, 1)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(27190055), - this.instances4.alice.encrypt8(85), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt8(1), ); - expect(res).to.equal(27190130); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (81, 85)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(81), - this.instances4.alice.encrypt8(85), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 3 (85, 85)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(85), - this.instances4.alice.encrypt8(85), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 4 (85, 81)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(85), - this.instances4.alice.encrypt8(81), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 1 (60042820, 117)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 1 (1, 1)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(60042820), - this.instances4.alice.encrypt8(117), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt8(1), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 2 (113, 117)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(113), - this.instances4.alice.encrypt8(117), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 3 (117, 117)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(117), - this.instances4.alice.encrypt8(117), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 4 (117, 113)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(117), - this.instances4.alice.encrypt8(113), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 1 (83574454, 68)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 1 (24, 13)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(83574454), - this.instances4.alice.encrypt8(68), + this.instances4.alice.encrypt32(24), + this.instances4.alice.encrypt8(13), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 2 (64, 68)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 2 (9, 13)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(64), - this.instances4.alice.encrypt8(68), + this.instances4.alice.encrypt32(9), + this.instances4.alice.encrypt8(13), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 3 (68, 68)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 3 (13, 13)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(68), - this.instances4.alice.encrypt8(68), + this.instances4.alice.encrypt32(13), + this.instances4.alice.encrypt8(13), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 4 (68, 64)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 4 (13, 9)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(68), - this.instances4.alice.encrypt8(64), + this.instances4.alice.encrypt32(13), + this.instances4.alice.encrypt8(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 1 (55218710, 19)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 1 (1, 1)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(55218710), - this.instances4.alice.encrypt8(19), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt8(1), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 2 (15, 19)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(15), - this.instances4.alice.encrypt8(19), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 3 (19, 19)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(19), - this.instances4.alice.encrypt8(19), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 4 (19, 15)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(19), - this.instances4.alice.encrypt8(15), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 1 (44051971, 62)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 1 (1, 7)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(44051971), - this.instances4.alice.encrypt8(62), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt8(7), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 2 (58, 62)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(58), - this.instances4.alice.encrypt8(62), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 3 (62, 62)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(62), - this.instances4.alice.encrypt8(62), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 4 (62, 58)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(62), - this.instances4.alice.encrypt8(58), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 1 (253532839, 184)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 1 (25, 1)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(253532839), - this.instances4.alice.encrypt8(184), + this.instances4.alice.encrypt32(25), + this.instances4.alice.encrypt8(1), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint8) => ebool test 2 (180, 184)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(180), - this.instances4.alice.encrypt8(184), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 3 (184, 184)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(184), - this.instances4.alice.encrypt8(184), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 4 (184, 180)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(184), - this.instances4.alice.encrypt8(180), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 1 (77180163, 96)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 1 (2, 4)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(77180163), - this.instances4.alice.encrypt8(96), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt8(4), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 2 (92, 96)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(92), - this.instances4.alice.encrypt8(96), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 3 (96, 96)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(96), - this.instances4.alice.encrypt8(96), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 4 (96, 92)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(96), - this.instances4.alice.encrypt8(92), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 1 (178824069, 96)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 1 (3, 2)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(178824069), - this.instances4.alice.encrypt8(96), + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt8(2), ); - expect(res).to.equal(96); + expect(res).to.equal(2n); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 2 (92, 96)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(92), - this.instances4.alice.encrypt8(96), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(92); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 3 (96, 96)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(96), - this.instances4.alice.encrypt8(96), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(96); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 4 (96, 92)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(96), - this.instances4.alice.encrypt8(92), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(4), ); - expect(res).to.equal(92); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 1 (234155387, 198)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 1 (9, 2)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(234155387), - this.instances4.alice.encrypt8(198), + this.instances4.alice.encrypt32(9), + this.instances4.alice.encrypt8(2), ); - expect(res).to.equal(234155387); + expect(res).to.equal(9n); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 2 (194, 198)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(194), - this.instances4.alice.encrypt8(198), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(198); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 3 (198, 198)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(198), - this.instances4.alice.encrypt8(198), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(198); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 4 (198, 194)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(198), - this.instances4.alice.encrypt8(194), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt8(4), ); - expect(res).to.equal(198); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 1 (34382, 13)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 1 (3, 5)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(34382), - this.instances4.alice.encrypt16(13), + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt16(5), ); - expect(res).to.equal(34395n); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 2 (27184, 27186)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(27184), - this.instances4.alice.encrypt16(27186), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(54370n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 3 (27186, 27186)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(27186), - this.instances4.alice.encrypt16(27186), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(54372n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 4 (27186, 27184)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(27186), - this.instances4.alice.encrypt16(27184), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); - expect(res).to.equal(54370n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (30277, 30277)', async function () { + it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (8, 8)', async function () { const res = await this.contract4.sub_euint32_euint16( - this.instances4.alice.encrypt32(30277), - this.instances4.alice.encrypt16(30277), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint32, euint16) => euint32 test 2 (30277, 30273)', async function () { + it('test operator "sub" overload (euint32, euint16) => euint32 test 2 (8, 4)', async function () { const res = await this.contract4.sub_euint32_euint16( - this.instances4.alice.encrypt32(30277), - this.instances4.alice.encrypt16(30273), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (9347, 3)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (1, 4)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(9347), - this.instances4.alice.encrypt16(3), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt16(4), ); - expect(res).to.equal(28041n); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 2 (234, 234)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(234), - this.instances4.alice.encrypt16(234), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(54756n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 3 (234, 234)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(234), - this.instances4.alice.encrypt16(234), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(54756n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 4 (234, 234)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(234), - this.instances4.alice.encrypt16(234), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); - expect(res).to.equal(54756n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 1 (145081557, 34219)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 1 (1, 1)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(145081557), - this.instances4.alice.encrypt16(34219), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt16(1), ); - expect(res).to.equal(33921); + expect(res).to.equal(1n); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 2 (34215, 34219)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(34215), - this.instances4.alice.encrypt16(34219), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(34211); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 3 (34219, 34219)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(34219), - this.instances4.alice.encrypt16(34219), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(34219); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 4 (34219, 34215)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(34219), - this.instances4.alice.encrypt16(34215), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); - expect(res).to.equal(34211); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 1 (138135196, 24679)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 1 (2, 1)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(138135196), - this.instances4.alice.encrypt16(24679), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt16(1), ); - expect(res).to.equal(138143487); + expect(res).to.equal(3n); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 2 (24675, 24679)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(24675), - this.instances4.alice.encrypt16(24679), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(24679); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 3 (24679, 24679)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(24679), - this.instances4.alice.encrypt16(24679), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(24679); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 4 (24679, 24675)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(24679), - this.instances4.alice.encrypt16(24675), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); - expect(res).to.equal(24679); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (27190055, 32965)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (1, 1)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(27190055), - this.instances4.alice.encrypt16(32965), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt16(1), ); - expect(res).to.equal(27157474); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 2 (32961, 32965)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(32961), - this.instances4.alice.encrypt16(32965), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 3 (32965, 32965)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(32965), - this.instances4.alice.encrypt16(32965), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 4 (32965, 32961)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(32965), - this.instances4.alice.encrypt16(32961), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 1 (60042820, 3366)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 1 (1, 5)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(60042820), - this.instances4.alice.encrypt16(3366), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt16(5), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 2 (3362, 3366)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(3362), - this.instances4.alice.encrypt16(3366), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 3 (3366, 3366)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(3366), - this.instances4.alice.encrypt16(3366), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 4 (3366, 3362)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(3366), - this.instances4.alice.encrypt16(3362), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 1 (83574454, 51513)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 1 (24, 2)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(83574454), - this.instances4.alice.encrypt16(51513), + this.instances4.alice.encrypt32(24), + this.instances4.alice.encrypt16(2), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 2 (51509, 51513)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(51509), - this.instances4.alice.encrypt16(51513), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 3 (51513, 51513)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(51513), - this.instances4.alice.encrypt16(51513), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 4 (51513, 51509)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(51513), - this.instances4.alice.encrypt16(51509), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 1 (55218710, 21355)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 1 (1, 1)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(55218710), - this.instances4.alice.encrypt16(21355), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt16(1), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 2 (21351, 21355)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(21351), - this.instances4.alice.encrypt16(21355), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 3 (21355, 21355)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(21355), - this.instances4.alice.encrypt16(21355), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 4 (21355, 21351)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(21355), - this.instances4.alice.encrypt16(21351), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 1 (44051971, 62126)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 1 (1, 1)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(44051971), - this.instances4.alice.encrypt16(62126), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt16(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 2 (62122, 62126)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(62122), - this.instances4.alice.encrypt16(62126), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 3 (62126, 62126)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(62126), - this.instances4.alice.encrypt16(62126), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 4 (62126, 62122)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(62126), - this.instances4.alice.encrypt16(62122), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 1 (253532839, 30629)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 1 (25, 1)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(253532839), - this.instances4.alice.encrypt16(30629), + this.instances4.alice.encrypt32(25), + this.instances4.alice.encrypt16(1), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint16) => ebool test 2 (30625, 30629)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(30625), - this.instances4.alice.encrypt16(30629), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 3 (30629, 30629)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(30629), - this.instances4.alice.encrypt16(30629), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 4 (30629, 30625)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(30629), - this.instances4.alice.encrypt16(30625), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 1 (77180163, 31631)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 1 (2, 6)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(77180163), - this.instances4.alice.encrypt16(31631), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt16(6), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 2 (31627, 31631)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(31627), - this.instances4.alice.encrypt16(31631), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 3 (31631, 31631)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(31631), - this.instances4.alice.encrypt16(31631), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 4 (31631, 31627)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(31631), - this.instances4.alice.encrypt16(31627), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 1 (178824069, 29702)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 1 (3, 3)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(178824069), - this.instances4.alice.encrypt16(29702), + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt16(3), ); - expect(res).to.equal(29702); + expect(res).to.equal(3n); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 2 (29698, 29702)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(29698), - this.instances4.alice.encrypt16(29702), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(29698); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 3 (29702, 29702)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(29702), - this.instances4.alice.encrypt16(29702), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(29702); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 4 (29702, 29698)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(29702), - this.instances4.alice.encrypt16(29698), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); - expect(res).to.equal(29698); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 1 (234155387, 33887)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 1 (9, 2)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(234155387), - this.instances4.alice.encrypt16(33887), + this.instances4.alice.encrypt32(9), + this.instances4.alice.encrypt16(2), ); - expect(res).to.equal(234155387); + expect(res).to.equal(9n); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 2 (33883, 33887)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(33883), - this.instances4.alice.encrypt16(33887), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(33887); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 3 (33887, 33887)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(33887), - this.instances4.alice.encrypt16(33887), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(8), ); - expect(res).to.equal(33887); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 4 (33887, 33883)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(33887), - this.instances4.alice.encrypt16(33883), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt16(4), ); - expect(res).to.equal(33887); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 1 (140830493, 233846954)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 1 (3, 1)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(140830493), - this.instances4.alice.encrypt32(233846954), + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt32(1), ); - expect(res).to.equal(374677447n); + expect(res).to.equal(4n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 2 (140830489, 140830493)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(140830489), - this.instances4.alice.encrypt32(140830493), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(281660982n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 3 (140830493, 140830493)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(140830493), - this.instances4.alice.encrypt32(140830493), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(281660986n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 4 (140830493, 140830489)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(140830493), - this.instances4.alice.encrypt32(140830489), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); - expect(res).to.equal(281660982n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (72155792, 72155792)', async function () { + it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (8, 8)', async function () { const res = await this.contract4.sub_euint32_euint32( - this.instances4.alice.encrypt32(72155792), - this.instances4.alice.encrypt32(72155792), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint32, euint32) => euint32 test 2 (72155792, 72155788)', async function () { + it('test operator "sub" overload (euint32, euint32) => euint32 test 2 (8, 4)', async function () { const res = await this.contract4.sub_euint32_euint32( - this.instances4.alice.encrypt32(72155792), - this.instances4.alice.encrypt32(72155788), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (149553, 18251)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (1, 1)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(149553), - this.instances4.alice.encrypt32(18251), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(1), ); - expect(res).to.equal(2729491803n); + expect(res).to.equal(1n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 2 (36502, 36502)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(36502), - this.instances4.alice.encrypt32(36502), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(1332396004n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 3 (36502, 36502)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(36502), - this.instances4.alice.encrypt32(36502), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(1332396004n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 4 (36502, 36502)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(36502), - this.instances4.alice.encrypt32(36502), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); - expect(res).to.equal(1332396004n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 1 (145081557, 40551396)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 1 (1, 1)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(145081557), - this.instances4.alice.encrypt32(40551396), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(1), ); - expect(res).to.equal(2146500); + expect(res).to.equal(1n); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 2 (40551392, 40551396)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(40551392), - this.instances4.alice.encrypt32(40551396), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(40551392); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 3 (40551396, 40551396)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(40551396), - this.instances4.alice.encrypt32(40551396), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(40551396); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 4 (40551396, 40551392)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(40551396), - this.instances4.alice.encrypt32(40551392), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); - expect(res).to.equal(40551392); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 1 (138135196, 147717442)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 1 (2, 2)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(138135196), - this.instances4.alice.encrypt32(147717442), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt32(2), ); - expect(res).to.equal(150994910); + expect(res).to.equal(2n); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 2 (138135192, 138135196)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(138135192), - this.instances4.alice.encrypt32(138135196), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(138135196); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 3 (138135196, 138135196)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(138135196), - this.instances4.alice.encrypt32(138135196), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(138135196); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 4 (138135196, 138135192)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(138135196), - this.instances4.alice.encrypt32(138135192), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); - expect(res).to.equal(138135196); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (27190055, 97550225)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (1, 1)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(27190055), - this.instances4.alice.encrypt32(97550225), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(1), ); - expect(res).to.equal(72260790); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (27190051, 27190055)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(27190051), - this.instances4.alice.encrypt32(27190055), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 3 (27190055, 27190055)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(27190055), - this.instances4.alice.encrypt32(27190055), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 4 (27190055, 27190051)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(27190055), - this.instances4.alice.encrypt32(27190051), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 1 (60042820, 132291744)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 1 (1, 54)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(60042820), - this.instances4.alice.encrypt32(132291744), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(54), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 2 (60042816, 60042820)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(60042816), - this.instances4.alice.encrypt32(60042820), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 3 (60042820, 60042820)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(60042820), - this.instances4.alice.encrypt32(60042820), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 4 (60042820, 60042816)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(60042820), - this.instances4.alice.encrypt32(60042816), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 1 (83574454, 51569943)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 1 (24, 1)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(83574454), - this.instances4.alice.encrypt32(51569943), + this.instances4.alice.encrypt32(24), + this.instances4.alice.encrypt32(1), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 2 (51569939, 51569943)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(51569939), - this.instances4.alice.encrypt32(51569943), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 3 (51569943, 51569943)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(51569943), - this.instances4.alice.encrypt32(51569943), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 4 (51569943, 51569939)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(51569943), - this.instances4.alice.encrypt32(51569939), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 1 (55218710, 165530810)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 1 (1, 22)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(55218710), - this.instances4.alice.encrypt32(165530810), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(22), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 2 (55218706, 55218710)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(55218706), - this.instances4.alice.encrypt32(55218710), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 3 (55218710, 55218710)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(55218710), - this.instances4.alice.encrypt32(55218710), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 4 (55218710, 55218706)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(55218710), - this.instances4.alice.encrypt32(55218706), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 1 (44051971, 234370209)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 1 (1, 1)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(44051971), - this.instances4.alice.encrypt32(234370209), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(1), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 2 (44051967, 44051971)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(44051967), - this.instances4.alice.encrypt32(44051971), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 3 (44051971, 44051971)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(44051971), - this.instances4.alice.encrypt32(44051971), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 4 (44051971, 44051967)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(44051971), - this.instances4.alice.encrypt32(44051967), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 1 (253532839, 259475014)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 1 (25, 1)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(253532839), - this.instances4.alice.encrypt32(259475014), + this.instances4.alice.encrypt32(25), + this.instances4.alice.encrypt32(1), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint32) => ebool test 2 (253532835, 253532839)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(253532835), - this.instances4.alice.encrypt32(253532839), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 3 (253532839, 253532839)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(253532839), - this.instances4.alice.encrypt32(253532839), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 4 (253532839, 253532835)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(253532839), - this.instances4.alice.encrypt32(253532835), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 1 (77180163, 25179168)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 1 (2, 25)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(77180163), - this.instances4.alice.encrypt32(25179168), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt32(25), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 2 (25179164, 25179168)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(25179164), - this.instances4.alice.encrypt32(25179168), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 3 (25179168, 25179168)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(25179168), - this.instances4.alice.encrypt32(25179168), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 4 (25179168, 25179164)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(25179168), - this.instances4.alice.encrypt32(25179164), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 1 (178824069, 78448235)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 1 (3, 5)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(178824069), - this.instances4.alice.encrypt32(78448235), + this.instances4.alice.encrypt32(3), + this.instances4.alice.encrypt32(5), ); - expect(res).to.equal(78448235); + expect(res).to.equal(3n); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 2 (78448231, 78448235)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(78448231), - this.instances4.alice.encrypt32(78448235), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(78448231); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 3 (78448235, 78448235)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(78448235), - this.instances4.alice.encrypt32(78448235), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(78448235); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 4 (78448235, 78448231)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(78448235), - this.instances4.alice.encrypt32(78448231), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); - expect(res).to.equal(78448231); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 1 (234155387, 122578470)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 1 (9, 6)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(234155387), - this.instances4.alice.encrypt32(122578470), + this.instances4.alice.encrypt32(9), + this.instances4.alice.encrypt32(6), ); - expect(res).to.equal(234155387); + expect(res).to.equal(9n); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 2 (122578466, 122578470)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(122578466), - this.instances4.alice.encrypt32(122578470), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(122578470); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 3 (122578470, 122578470)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(122578470), - this.instances4.alice.encrypt32(122578470), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(8), ); - expect(res).to.equal(122578470); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 4 (122578470, 122578466)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(122578470), - this.instances4.alice.encrypt32(122578466), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(4), ); - expect(res).to.equal(122578470); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 1 (88545588, 105438338)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 1 (8, 2055)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(88545588), - this.instances4.alice.encrypt64(105438338), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(2055), ); - expect(res).to.equal(193983926n); + expect(res).to.equal(2063n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 2 (88545584, 88545588)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(88545584), - this.instances4.alice.encrypt64(88545588), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(177091172n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 3 (88545588, 88545588)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(88545588), - this.instances4.alice.encrypt64(88545588), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(177091176n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 4 (88545588, 88545584)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(88545588), - this.instances4.alice.encrypt64(88545584), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); - expect(res).to.equal(177091172n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (119509877, 119509877)', async function () { + it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (8, 8)', async function () { const res = await this.contract4.sub_euint32_euint64( - this.instances4.alice.encrypt32(119509877), - this.instances4.alice.encrypt64(119509877), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint32, euint64) => euint64 test 2 (119509877, 119509873)', async function () { + it('test operator "sub" overload (euint32, euint64) => euint64 test 2 (8, 4)', async function () { const res = await this.contract4.sub_euint32_euint64( - this.instances4.alice.encrypt32(119509877), - this.instances4.alice.encrypt64(119509873), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (64389, 42894)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (1, 2410)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(64389), - this.instances4.alice.encrypt64(42894), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt64(2410), ); - expect(res).to.equal(2761901766n); + expect(res).to.equal(2410n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 2 (42894, 42894)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(42894), - this.instances4.alice.encrypt64(42894), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(1839895236n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 3 (42894, 42894)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(42894), - this.instances4.alice.encrypt64(42894), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(1839895236n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 4 (42894, 42894)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(42894), - this.instances4.alice.encrypt64(42894), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); - expect(res).to.equal(1839895236n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 1 (145081557, 212896076)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 1 (1, 3270)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(145081557), - this.instances4.alice.encrypt64(212896076), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt64(3270), ); - expect(res).to.equal(144736324); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 2 (145081553, 145081557)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(145081553), - this.instances4.alice.encrypt64(145081557), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(145081553); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 3 (145081557, 145081557)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(145081557), - this.instances4.alice.encrypt64(145081557), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(145081557); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 4 (145081557, 145081553)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(145081557), - this.instances4.alice.encrypt64(145081553), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); - expect(res).to.equal(145081553); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 1 (138135196, 193074409)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 1 (2, 3577)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(138135196), - this.instances4.alice.encrypt64(193074409), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt64(3577), ); - expect(res).to.equal(196859645); + expect(res).to.equal(3579n); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 2 (138135192, 138135196)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(138135192), - this.instances4.alice.encrypt64(138135196), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(138135196); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 3 (138135196, 138135196)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(138135196), - this.instances4.alice.encrypt64(138135196), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(138135196); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 4 (138135196, 138135192)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(138135196), - this.instances4.alice.encrypt64(138135192), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); - expect(res).to.equal(138135196); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (27190055, 77242514)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (1, 2447)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(27190055), - this.instances4.alice.encrypt64(77242514), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt64(2447), ); - expect(res).to.equal(84165557); + expect(res).to.equal(2446n); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 2 (27190051, 27190055)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(27190051), - this.instances4.alice.encrypt64(27190055), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 3 (27190055, 27190055)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(27190055), - this.instances4.alice.encrypt64(27190055), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 4 (27190055, 27190051)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(27190055), - this.instances4.alice.encrypt64(27190051), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 1 (112966432, 124746241)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 1 (1, 2530)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(112966432), - this.instances4.alice.encrypt64(124746241), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt64(2530), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 2 (112966428, 112966432)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(112966428), - this.instances4.alice.encrypt64(112966432), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 3 (112966432, 112966432)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(112966432), - this.instances4.alice.encrypt64(112966432), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 4 (112966432, 112966428)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(112966432), - this.instances4.alice.encrypt64(112966428), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 1 (216563924, 186359172)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 1 (1, 2583)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(216563924), - this.instances4.alice.encrypt64(186359172), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt64(2583), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 2 (186359168, 186359172)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(186359168), - this.instances4.alice.encrypt64(186359172), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 3 (186359172, 186359172)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(186359172), - this.instances4.alice.encrypt64(186359172), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 4 (186359172, 186359168)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(186359172), - this.instances4.alice.encrypt64(186359168), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 1 (252617126, 78317021)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 1 (2, 2385)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(252617126), - this.instances4.alice.encrypt64(78317021), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt64(2385), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 2 (78317017, 78317021)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(78317017), - this.instances4.alice.encrypt64(78317021), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 3 (78317021, 78317021)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(78317021), - this.instances4.alice.encrypt64(78317021), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 4 (78317021, 78317017)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(78317021), - this.instances4.alice.encrypt64(78317017), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 1 (66236212, 254779952)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 1 (1, 3010)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(66236212), - this.instances4.alice.encrypt64(254779952), + this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt64(3010), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 2 (66236208, 66236212)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(66236208), - this.instances4.alice.encrypt64(66236212), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 3 (66236212, 66236212)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(66236212), - this.instances4.alice.encrypt64(66236212), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 4 (66236212, 66236208)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(66236212), - this.instances4.alice.encrypt64(66236208), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 1 (106864717, 136047136)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 1 (2, 2235)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(106864717), - this.instances4.alice.encrypt64(136047136), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt64(2235), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 2 (106864713, 106864717)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(106864713), - this.instances4.alice.encrypt64(106864717), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 3 (106864717, 106864717)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(106864717), - this.instances4.alice.encrypt64(106864717), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 4 (106864717, 106864713)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(106864717), - this.instances4.alice.encrypt64(106864713), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 1 (68403682, 75018920)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 1 (4, 5352)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(68403682), - this.instances4.alice.encrypt64(75018920), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(5352), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 2 (68403678, 68403682)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(68403678), - this.instances4.alice.encrypt64(68403682), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 3 (68403682, 68403682)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(68403682), - this.instances4.alice.encrypt64(68403682), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 4 (68403682, 68403678)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(68403682), - this.instances4.alice.encrypt64(68403678), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 1 (189968743, 122440911)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 1 (45, 5751)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(189968743), - this.instances4.alice.encrypt64(122440911), + this.instances4.alice.encrypt32(45), + this.instances4.alice.encrypt64(5751), ); - expect(res).to.equal(122440911); + expect(res).to.equal(45n); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 2 (122440907, 122440911)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 2 (41, 45)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(122440907), - this.instances4.alice.encrypt64(122440911), + this.instances4.alice.encrypt32(41), + this.instances4.alice.encrypt64(45), ); - expect(res).to.equal(122440907); + expect(res).to.equal(41n); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 3 (122440911, 122440911)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 3 (45, 45)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(122440911), - this.instances4.alice.encrypt64(122440911), + this.instances4.alice.encrypt32(45), + this.instances4.alice.encrypt64(45), ); - expect(res).to.equal(122440911); + expect(res).to.equal(45n); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 4 (122440911, 122440907)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 4 (45, 41)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(122440911), - this.instances4.alice.encrypt64(122440907), + this.instances4.alice.encrypt32(45), + this.instances4.alice.encrypt64(41), ); - expect(res).to.equal(122440907); + expect(res).to.equal(41n); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 1 (88769233, 236236514)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 1 (4, 2425)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(88769233), - this.instances4.alice.encrypt64(236236514), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(2425), ); - expect(res).to.equal(236236514); + expect(res).to.equal(2425n); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 2 (88769229, 88769233)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(88769229), - this.instances4.alice.encrypt64(88769233), + this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(88769233); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 3 (88769233, 88769233)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(88769233), - this.instances4.alice.encrypt64(88769233), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(8), ); - expect(res).to.equal(88769233); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 4 (88769233, 88769229)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(88769233), - this.instances4.alice.encrypt64(88769229), + this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt64(4), ); - expect(res).to.equal(88769233); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 1 (140830493, 37413668)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(140830493), 37413668); - expect(res).to.equal(178244161n); + it('test operator "add" overload (euint32, uint32) => euint32 test 1 (3, 1)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(3), 1); + expect(res).to.equal(4n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 2 (140830489, 140830493)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(140830489), 140830493); - expect(res).to.equal(281660982n); + it('test operator "add" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 3 (140830493, 140830493)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(140830493), 140830493); - expect(res).to.equal(281660986n); + it('test operator "add" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 4 (140830493, 140830489)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(140830493), 140830489); - expect(res).to.equal(281660982n); + it('test operator "add" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + expect(res).to.equal(12n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 1 (88545588, 37413668)', async function () { - const res = await this.contract4.add_uint32_euint32(88545588, this.instances4.alice.encrypt32(37413668)); - expect(res).to.equal(125959256n); + it('test operator "add" overload (uint32, euint32) => euint32 test 1 (8, 1)', async function () { + const res = await this.contract4.add_uint32_euint32(8, this.instances4.alice.encrypt32(1)); + expect(res).to.equal(9n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 2 (140830489, 140830493)', async function () { - const res = await this.contract4.add_uint32_euint32(140830489, this.instances4.alice.encrypt32(140830493)); - expect(res).to.equal(281660982n); + it('test operator "add" overload (uint32, euint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract4.add_uint32_euint32(4, this.instances4.alice.encrypt32(8)); + expect(res).to.equal(12n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 3 (140830493, 140830493)', async function () { - const res = await this.contract4.add_uint32_euint32(140830493, this.instances4.alice.encrypt32(140830493)); - expect(res).to.equal(281660986n); + it('test operator "add" overload (uint32, euint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract4.add_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + expect(res).to.equal(16n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 4 (140830493, 140830489)', async function () { - const res = await this.contract4.add_uint32_euint32(140830493, this.instances4.alice.encrypt32(140830489)); - expect(res).to.equal(281660982n); + it('test operator "add" overload (uint32, euint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract4.add_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (72155792, 72155792)', async function () { - const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(72155792), 72155792); - expect(res).to.equal(0); + it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (8, 8)', async function () { + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint32, uint32) => euint32 test 2 (72155792, 72155788)', async function () { - const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(72155792), 72155788); - expect(res).to.equal(4); + it('test operator "sub" overload (euint32, uint32) => euint32 test 2 (8, 4)', async function () { + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + expect(res).to.equal(4n); }); - it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (72155792, 72155792)', async function () { - const res = await this.contract4.sub_uint32_euint32(72155792, this.instances4.alice.encrypt32(72155792)); - expect(res).to.equal(0); + it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (8, 8)', async function () { + const res = await this.contract4.sub_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (uint32, euint32) => euint32 test 2 (72155792, 72155788)', async function () { - const res = await this.contract4.sub_uint32_euint32(72155792, this.instances4.alice.encrypt32(72155788)); - expect(res).to.equal(4); + it('test operator "sub" overload (uint32, euint32) => euint32 test 2 (8, 4)', async function () { + const res = await this.contract4.sub_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (37388, 46853)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(37388), 46853); - expect(res).to.equal(1751739964n); + it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (1, 4)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(1), 4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 2 (36502, 36502)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(36502), 36502); - expect(res).to.equal(1332396004n); + it('test operator "mul" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 3 (36502, 36502)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(36502), 36502); - expect(res).to.equal(1332396004n); + it('test operator "mul" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 4 (36502, 36502)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(36502), 36502); - expect(res).to.equal(1332396004n); + it('test operator "mul" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (64389, 46853)', async function () { - const res = await this.contract4.mul_uint32_euint32(64389, this.instances4.alice.encrypt32(46853)); - expect(res).to.equal(3016817817n); + it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (1, 4)', async function () { + const res = await this.contract4.mul_uint32_euint32(1, this.instances4.alice.encrypt32(4)); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 2 (36502, 36502)', async function () { - const res = await this.contract4.mul_uint32_euint32(36502, this.instances4.alice.encrypt32(36502)); - expect(res).to.equal(1332396004n); + it('test operator "mul" overload (uint32, euint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract4.mul_uint32_euint32(4, this.instances4.alice.encrypt32(8)); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 3 (36502, 36502)', async function () { - const res = await this.contract4.mul_uint32_euint32(36502, this.instances4.alice.encrypt32(36502)); - expect(res).to.equal(1332396004n); + it('test operator "mul" overload (uint32, euint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract4.mul_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 4 (36502, 36502)', async function () { - const res = await this.contract4.mul_uint32_euint32(36502, this.instances4.alice.encrypt32(36502)); - expect(res).to.equal(1332396004n); + it('test operator "mul" overload (uint32, euint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract4.mul_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + expect(res).to.equal(32n); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 1 (4617026, 124132502)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(4617026), 124132502); - expect(res).to.equal(0); + it('test operator "div" overload (euint32, uint32) => euint32 test 1 (1, 12)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(1), 12); + expect(res).to.equal(0n); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 2 (4617022, 4617026)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(4617022), 4617026); - expect(res).to.equal(0); + it('test operator "div" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + expect(res).to.equal(0n); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 3 (4617026, 4617026)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(4617026), 4617026); - expect(res).to.equal(1); + it('test operator "div" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + expect(res).to.equal(1n); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 4 (4617026, 4617022)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(4617026), 4617022); - expect(res).to.equal(1); + it('test operator "div" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + expect(res).to.equal(2n); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (48793720, 87597111)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(48793720), 87597111); - expect(res).to.equal(48793720); + it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (1, 1)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(1), 1); + expect(res).to.equal(0n); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 2 (48793716, 48793720)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(48793716), 48793720); - expect(res).to.equal(48793716); + it('test operator "rem" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + expect(res).to.equal(4n); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 3 (48793720, 48793720)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(48793720), 48793720); - expect(res).to.equal(0); + it('test operator "rem" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + expect(res).to.equal(0n); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 4 (48793720, 48793716)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(48793720), 48793716); - expect(res).to.equal(4); + it('test operator "rem" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + expect(res).to.equal(0n); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 1 (60042820, 16792460)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(60042820), 16792460); + it('test operator "eq" overload (euint32, uint32) => ebool test 1 (1, 3)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(1), 3); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 2 (60042816, 60042820)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(60042816), 60042820); + it('test operator "eq" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(4), 8); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 3 (60042820, 60042820)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(60042820), 60042820); + it('test operator "eq" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(8), 8); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 4 (60042820, 60042816)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(60042820), 60042816); + it('test operator "eq" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(8), 4); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 1 (112966432, 16792460)', async function () { - const res = await this.contract4.eq_uint32_euint32(112966432, this.instances4.alice.encrypt32(16792460)); + it('test operator "eq" overload (uint32, euint32) => ebool test 1 (1, 3)', async function () { + const res = await this.contract4.eq_uint32_euint32(1, this.instances4.alice.encrypt32(3)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 2 (60042816, 60042820)', async function () { - const res = await this.contract4.eq_uint32_euint32(60042816, this.instances4.alice.encrypt32(60042820)); + it('test operator "eq" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.eq_uint32_euint32(4, this.instances4.alice.encrypt32(8)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 3 (60042820, 60042820)', async function () { - const res = await this.contract4.eq_uint32_euint32(60042820, this.instances4.alice.encrypt32(60042820)); + it('test operator "eq" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.eq_uint32_euint32(8, this.instances4.alice.encrypt32(8)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 4 (60042820, 60042816)', async function () { - const res = await this.contract4.eq_uint32_euint32(60042820, this.instances4.alice.encrypt32(60042816)); + it('test operator "eq" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.eq_uint32_euint32(8, this.instances4.alice.encrypt32(4)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 1 (83574454, 88187509)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(83574454), 88187509); + it('test operator "ne" overload (euint32, uint32) => ebool test 1 (24, 1)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(24), 1); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 2 (51569939, 51569943)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(51569939), 51569943); + it('test operator "ne" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(4), 8); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 3 (51569943, 51569943)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(51569943), 51569943); + it('test operator "ne" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(8), 8); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 4 (51569943, 51569939)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(51569943), 51569939); + it('test operator "ne" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(8), 4); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 1 (216563924, 88187509)', async function () { - const res = await this.contract4.ne_uint32_euint32(216563924, this.instances4.alice.encrypt32(88187509)); - expect(res).to.equal(true); + it('test operator "ne" overload (uint32, euint32) => ebool test 1 (1, 1)', async function () { + const res = await this.contract4.ne_uint32_euint32(1, this.instances4.alice.encrypt32(1)); + expect(res).to.equal(false); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 2 (51569939, 51569943)', async function () { - const res = await this.contract4.ne_uint32_euint32(51569939, this.instances4.alice.encrypt32(51569943)); + it('test operator "ne" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.ne_uint32_euint32(4, this.instances4.alice.encrypt32(8)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 3 (51569943, 51569943)', async function () { - const res = await this.contract4.ne_uint32_euint32(51569943, this.instances4.alice.encrypt32(51569943)); + it('test operator "ne" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.ne_uint32_euint32(8, this.instances4.alice.encrypt32(8)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 4 (51569943, 51569939)', async function () { - const res = await this.contract4.ne_uint32_euint32(51569943, this.instances4.alice.encrypt32(51569939)); + it('test operator "ne" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.ne_uint32_euint32(8, this.instances4.alice.encrypt32(4)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 1 (55218710, 91594514)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(55218710), 91594514); + it('test operator "ge" overload (euint32, uint32) => ebool test 1 (1, 2)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(1), 2); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 2 (55218706, 55218710)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(55218706), 55218710); + it('test operator "ge" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(4), 8); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 3 (55218710, 55218710)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(55218710), 55218710); + it('test operator "ge" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(8), 8); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 4 (55218710, 55218706)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(55218710), 55218706); + it('test operator "ge" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(8), 4); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 1 (252617126, 91594514)', async function () { - const res = await this.contract4.ge_uint32_euint32(252617126, this.instances4.alice.encrypt32(91594514)); + it('test operator "ge" overload (uint32, euint32) => ebool test 1 (2, 2)', async function () { + const res = await this.contract4.ge_uint32_euint32(2, this.instances4.alice.encrypt32(2)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 2 (55218706, 55218710)', async function () { - const res = await this.contract4.ge_uint32_euint32(55218706, this.instances4.alice.encrypt32(55218710)); + it('test operator "ge" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.ge_uint32_euint32(4, this.instances4.alice.encrypt32(8)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 3 (55218710, 55218710)', async function () { - const res = await this.contract4.ge_uint32_euint32(55218710, this.instances4.alice.encrypt32(55218710)); + it('test operator "ge" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.ge_uint32_euint32(8, this.instances4.alice.encrypt32(8)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 4 (55218710, 55218706)', async function () { - const res = await this.contract4.ge_uint32_euint32(55218710, this.instances4.alice.encrypt32(55218706)); + it('test operator "ge" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.ge_uint32_euint32(8, this.instances4.alice.encrypt32(4)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 1 (44051971, 72656620)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44051971), 72656620); + it('test operator "gt" overload (euint32, uint32) => ebool test 1 (1, 3)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(1), 3); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 2 (44051967, 44051971)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44051967), 44051971); + it('test operator "gt" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(4), 8); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 3 (44051971, 44051971)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44051971), 44051971); + it('test operator "gt" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(8), 8); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 4 (44051971, 44051967)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(44051971), 44051967); + it('test operator "gt" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(8), 4); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 1 (66236212, 72656620)', async function () { - const res = await this.contract4.gt_uint32_euint32(66236212, this.instances4.alice.encrypt32(72656620)); + it('test operator "gt" overload (uint32, euint32) => ebool test 1 (1, 3)', async function () { + const res = await this.contract4.gt_uint32_euint32(1, this.instances4.alice.encrypt32(3)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 2 (44051967, 44051971)', async function () { - const res = await this.contract4.gt_uint32_euint32(44051967, this.instances4.alice.encrypt32(44051971)); + it('test operator "gt" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.gt_uint32_euint32(4, this.instances4.alice.encrypt32(8)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 3 (44051971, 44051971)', async function () { - const res = await this.contract4.gt_uint32_euint32(44051971, this.instances4.alice.encrypt32(44051971)); + it('test operator "gt" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.gt_uint32_euint32(8, this.instances4.alice.encrypt32(8)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 4 (44051971, 44051967)', async function () { - const res = await this.contract4.gt_uint32_euint32(44051971, this.instances4.alice.encrypt32(44051967)); + it('test operator "gt" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.gt_uint32_euint32(8, this.instances4.alice.encrypt32(4)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 1 (253532839, 235451435)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(253532839), 235451435); + it('test operator "le" overload (euint32, uint32) => ebool test 1 (25, 3)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(25), 3); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, uint32) => ebool test 2 (253532835, 253532839)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(253532835), 253532839); + it('test operator "le" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(4), 8); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 3 (253532839, 253532839)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(253532839), 253532839); + it('test operator "le" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(8), 8); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 4 (253532839, 253532835)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(253532839), 253532835); + it('test operator "le" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(8), 4); expect(res).to.equal(false); }); - it('test operator "le" overload (uint32, euint32) => ebool test 1 (106864717, 235451435)', async function () { - const res = await this.contract4.le_uint32_euint32(106864717, this.instances4.alice.encrypt32(235451435)); + it('test operator "le" overload (uint32, euint32) => ebool test 1 (2, 3)', async function () { + const res = await this.contract4.le_uint32_euint32(2, this.instances4.alice.encrypt32(3)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 2 (253532835, 253532839)', async function () { - const res = await this.contract4.le_uint32_euint32(253532835, this.instances4.alice.encrypt32(253532839)); + it('test operator "le" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.le_uint32_euint32(4, this.instances4.alice.encrypt32(8)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 3 (253532839, 253532839)', async function () { - const res = await this.contract4.le_uint32_euint32(253532839, this.instances4.alice.encrypt32(253532839)); + it('test operator "le" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.le_uint32_euint32(8, this.instances4.alice.encrypt32(8)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 4 (253532839, 253532835)', async function () { - const res = await this.contract4.le_uint32_euint32(253532839, this.instances4.alice.encrypt32(253532835)); + it('test operator "le" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.le_uint32_euint32(8, this.instances4.alice.encrypt32(4)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 1 (77180163, 83634693)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(77180163), 83634693); - expect(res).to.equal(true); + it('test operator "lt" overload (euint32, uint32) => ebool test 1 (2, 2)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(2), 2); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 2 (25179164, 25179168)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(25179164), 25179168); + it('test operator "lt" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(4), 8); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 3 (25179168, 25179168)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(25179168), 25179168); + it('test operator "lt" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(8), 8); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 4 (25179168, 25179164)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(25179168), 25179164); + it('test operator "lt" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(8), 4); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 1 (68403682, 83634693)', async function () { - const res = await this.contract4.lt_uint32_euint32(68403682, this.instances4.alice.encrypt32(83634693)); - expect(res).to.equal(true); + it('test operator "lt" overload (uint32, euint32) => ebool test 1 (4, 2)', async function () { + const res = await this.contract4.lt_uint32_euint32(4, this.instances4.alice.encrypt32(2)); + expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 2 (25179164, 25179168)', async function () { - const res = await this.contract4.lt_uint32_euint32(25179164, this.instances4.alice.encrypt32(25179168)); + it('test operator "lt" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { + const res = await this.contract4.lt_uint32_euint32(4, this.instances4.alice.encrypt32(8)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 3 (25179168, 25179168)', async function () { - const res = await this.contract4.lt_uint32_euint32(25179168, this.instances4.alice.encrypt32(25179168)); + it('test operator "lt" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { + const res = await this.contract4.lt_uint32_euint32(8, this.instances4.alice.encrypt32(8)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 4 (25179168, 25179164)', async function () { - const res = await this.contract4.lt_uint32_euint32(25179168, this.instances4.alice.encrypt32(25179164)); + it('test operator "lt" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { + const res = await this.contract4.lt_uint32_euint32(8, this.instances4.alice.encrypt32(4)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 1 (178824069, 197749167)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(178824069), 197749167); - expect(res).to.equal(178824069); + it('test operator "min" overload (euint32, uint32) => euint32 test 1 (3, 3)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(3), 3); + expect(res).to.equal(3n); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 2 (78448231, 78448235)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(78448231), 78448235); - expect(res).to.equal(78448231); + it('test operator "min" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 3 (78448235, 78448235)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(78448235), 78448235); - expect(res).to.equal(78448235); + it('test operator "min" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 4 (78448235, 78448231)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(78448235), 78448231); - expect(res).to.equal(78448231); + it('test operator "min" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + expect(res).to.equal(4n); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 1 (189968743, 197749167)', async function () { - const res = await this.contract4.min_uint32_euint32(189968743, this.instances4.alice.encrypt32(197749167)); - expect(res).to.equal(189968743); + it('test operator "min" overload (uint32, euint32) => euint32 test 1 (45, 3)', async function () { + const res = await this.contract4.min_uint32_euint32(45, this.instances4.alice.encrypt32(3)); + expect(res).to.equal(3n); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 2 (78448231, 78448235)', async function () { - const res = await this.contract4.min_uint32_euint32(78448231, this.instances4.alice.encrypt32(78448235)); - expect(res).to.equal(78448231); + it('test operator "min" overload (uint32, euint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract4.min_uint32_euint32(4, this.instances4.alice.encrypt32(8)); + expect(res).to.equal(4n); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 3 (78448235, 78448235)', async function () { - const res = await this.contract4.min_uint32_euint32(78448235, this.instances4.alice.encrypt32(78448235)); - expect(res).to.equal(78448235); + it('test operator "min" overload (uint32, euint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract4.min_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + expect(res).to.equal(8n); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 4 (78448235, 78448231)', async function () { - const res = await this.contract4.min_uint32_euint32(78448235, this.instances4.alice.encrypt32(78448231)); - expect(res).to.equal(78448231); + it('test operator "min" overload (uint32, euint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract4.min_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 1 (234155387, 181088842)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(234155387), 181088842); - expect(res).to.equal(234155387); + it('test operator "max" overload (euint32, uint32) => euint32 test 1 (9, 12)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(9), 12); + expect(res).to.equal(12n); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 2 (122578466, 122578470)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(122578466), 122578470); - expect(res).to.equal(122578470); + it('test operator "max" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 3 (122578470, 122578470)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(122578470), 122578470); - expect(res).to.equal(122578470); + it('test operator "max" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 4 (122578470, 122578466)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(122578470), 122578466); - expect(res).to.equal(122578470); + it('test operator "max" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + expect(res).to.equal(8n); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 1 (88769233, 181088842)', async function () { - const res = await this.contract4.max_uint32_euint32(88769233, this.instances4.alice.encrypt32(181088842)); - expect(res).to.equal(181088842); + it('test operator "max" overload (uint32, euint32) => euint32 test 1 (4, 12)', async function () { + const res = await this.contract4.max_uint32_euint32(4, this.instances4.alice.encrypt32(12)); + expect(res).to.equal(12n); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 2 (122578466, 122578470)', async function () { - const res = await this.contract4.max_uint32_euint32(122578466, this.instances4.alice.encrypt32(122578470)); - expect(res).to.equal(122578470); + it('test operator "max" overload (uint32, euint32) => euint32 test 2 (4, 8)', async function () { + const res = await this.contract4.max_uint32_euint32(4, this.instances4.alice.encrypt32(8)); + expect(res).to.equal(8n); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 3 (122578470, 122578470)', async function () { - const res = await this.contract4.max_uint32_euint32(122578470, this.instances4.alice.encrypt32(122578470)); - expect(res).to.equal(122578470); + it('test operator "max" overload (uint32, euint32) => euint32 test 3 (8, 8)', async function () { + const res = await this.contract4.max_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + expect(res).to.equal(8n); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 4 (122578470, 122578466)', async function () { - const res = await this.contract4.max_uint32_euint32(122578470, this.instances4.alice.encrypt32(122578466)); - expect(res).to.equal(122578470); + it('test operator "max" overload (uint32, euint32) => euint32 test 4 (8, 4)', async function () { + const res = await this.contract4.max_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + expect(res).to.equal(8n); }); it('test operator "add" overload (euint64, euint4) => euint64 test 1 (10, 1)', async function () { @@ -10596,12 +10596,12 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 3 (4, 4)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 3 (5, 5)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(5), + this.instances4.alice.encrypt4(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); it('test operator "add" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { @@ -10612,124 +10612,124 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint64, euint4) => euint64 test 1 (10, 10)', async function () { + it('test operator "sub" overload (euint64, euint4) => euint64 test 1 (8, 8)', async function () { const res = await this.contract4.sub_euint64_euint4( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt4(10), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, euint4) => euint64 test 2 (10, 6)', async function () { + it('test operator "sub" overload (euint64, euint4) => euint64 test 2 (8, 4)', async function () { const res = await this.contract4.sub_euint64_euint4( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt4(6), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 1 (10, 1)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 1 (15, 1)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt64(15), this.instances4.alice.encrypt4(1), ); - expect(res).to.equal(10n); + expect(res).to.equal(15n); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 2 (2, 4)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 2 (3, 5)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(2), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(3), + this.instances4.alice.encrypt4(5), ); - expect(res).to.equal(8n); + expect(res).to.equal(15n); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 3 (2, 2)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 3 (3, 3)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(2), - this.instances4.alice.encrypt4(2), + this.instances4.alice.encrypt64(3), + this.instances4.alice.encrypt4(3), ); - expect(res).to.equal(4n); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 4 (4, 2)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 4 (5, 3)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(2), + this.instances4.alice.encrypt64(5), + this.instances4.alice.encrypt4(3), ); - expect(res).to.equal(8n); + expect(res).to.equal(15n); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 1 (238356224, 9)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 1 (2380, 1)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(238356224), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(2380), + this.instances4.alice.encrypt4(1), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 2 (5, 9)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(5), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(1); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 3 (9, 9)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(9), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(9); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 4 (9, 5)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(9), - this.instances4.alice.encrypt4(5), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(1); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 1 (50536480, 11)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 1 (3328, 3)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(50536480), - this.instances4.alice.encrypt4(11), + this.instances4.alice.encrypt64(3328), + this.instances4.alice.encrypt4(3), ); - expect(res).to.equal(50536491); + expect(res).to.equal(3331n); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 2 (7, 11)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(7), - this.instances4.alice.encrypt4(11), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(15); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 3 (11, 11)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(11), - this.instances4.alice.encrypt4(11), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(11); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 4 (11, 7)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(11), - this.instances4.alice.encrypt4(7), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(15); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint64, euint4) => euint64 test 1 (147215301, 1)', async function () { + it('test operator "xor" overload (euint64, euint4) => euint64 test 1 (5602, 3)', async function () { const res = await this.contract4.xor_euint64_euint4( - this.instances4.alice.encrypt64(147215301), - this.instances4.alice.encrypt4(1), + this.instances4.alice.encrypt64(5602), + this.instances4.alice.encrypt4(3), ); - expect(res).to.equal(147215300); + expect(res).to.equal(5601n); }); it('test operator "xor" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { @@ -10737,7 +10737,7 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(4), this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); it('test operator "xor" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { @@ -10745,7 +10745,7 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(8), this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); it('test operator "xor" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { @@ -10753,13 +10753,13 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(8), this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(12); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint64, euint4) => ebool test 1 (113183278, 7)', async function () { + it('test operator "eq" overload (euint64, euint4) => ebool test 1 (55032, 1)', async function () { const res = await this.contract4.eq_euint64_euint4( - this.instances4.alice.encrypt64(113183278), - this.instances4.alice.encrypt4(7), + this.instances4.alice.encrypt64(55032), + this.instances4.alice.encrypt4(1), ); expect(res).to.equal(false); }); @@ -10788,74 +10788,74 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 1 (129256608, 13)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 1 (3163, 15)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(129256608), - this.instances4.alice.encrypt4(13), + this.instances4.alice.encrypt64(3163), + this.instances4.alice.encrypt4(15), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 2 (9, 13)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 2 (11, 15)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(9), - this.instances4.alice.encrypt4(13), + this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt4(15), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 3 (13, 13)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 3 (15, 15)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(13), - this.instances4.alice.encrypt4(13), + this.instances4.alice.encrypt64(15), + this.instances4.alice.encrypt4(15), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 4 (13, 9)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 4 (15, 11)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(13), - this.instances4.alice.encrypt4(9), + this.instances4.alice.encrypt64(15), + this.instances4.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 1 (116051290, 10)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 1 (3383, 2)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(116051290), - this.instances4.alice.encrypt4(10), + this.instances4.alice.encrypt64(3383), + this.instances4.alice.encrypt4(2), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 2 (6, 10)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(6), - this.instances4.alice.encrypt4(10), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 3 (10, 10)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt4(10), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 4 (10, 6)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt4(6), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 1 (208318592, 6)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 1 (2050, 1)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(208318592), - this.instances4.alice.encrypt4(6), + this.instances4.alice.encrypt64(2050), + this.instances4.alice.encrypt4(1), ); expect(res).to.equal(true); }); @@ -10884,10 +10884,10 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint4) => ebool test 1 (217701220, 1)', async function () { + it('test operator "le" overload (euint64, euint4) => ebool test 1 (4742, 7)', async function () { const res = await this.contract4.le_euint64_euint4( - this.instances4.alice.encrypt64(217701220), - this.instances4.alice.encrypt4(1), + this.instances4.alice.encrypt64(4742), + this.instances4.alice.encrypt4(7), ); expect(res).to.equal(false); }); @@ -10916,10 +10916,10 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 1 (264374974, 2)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 1 (16329, 1)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(264374974), - this.instances4.alice.encrypt4(2), + this.instances4.alice.encrypt64(16329), + this.instances4.alice.encrypt4(1), ); expect(res).to.equal(false); }); @@ -10948,12 +10948,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint4) => euint64 test 1 (67905839, 8)', async function () { + it('test operator "min" overload (euint64, euint4) => euint64 test 1 (2618, 3)', async function () { const res = await this.contract4.min_euint64_euint4( - this.instances4.alice.encrypt64(67905839), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(2618), + this.instances4.alice.encrypt4(3), ); - expect(res).to.equal(8); + expect(res).to.equal(3n); }); it('test operator "min" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { @@ -10961,7 +10961,7 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(4), this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); it('test operator "min" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { @@ -10969,7 +10969,7 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(8), this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "min" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { @@ -10977,15 +10977,15 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(8), this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint64, euint4) => euint64 test 1 (215341582, 6)', async function () { + it('test operator "max" overload (euint64, euint4) => euint64 test 1 (2374, 3)', async function () { const res = await this.contract4.max_euint64_euint4( - this.instances4.alice.encrypt64(215341582), - this.instances4.alice.encrypt4(6), + this.instances4.alice.encrypt64(2374), + this.instances4.alice.encrypt4(3), ); - expect(res).to.equal(215341582); + expect(res).to.equal(2374n); }); it('test operator "max" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { @@ -10993,7 +10993,7 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(4), this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "max" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { @@ -11001,7 +11001,7 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(8), this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); it('test operator "max" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { @@ -11009,2200 +11009,2200 @@ describe('TFHE operations', function () { this.instances4.alice.encrypt64(8), this.instances4.alice.encrypt4(4), ); - expect(res).to.equal(8); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 1 (162, 1)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 1 (141, 2)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(162), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt64(141), + this.instances4.alice.encrypt8(2), ); - expect(res).to.equal(163n); + expect(res).to.equal(143n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 2 (109, 111)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 2 (10, 14)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(109), - this.instances4.alice.encrypt8(111), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt8(14), ); - expect(res).to.equal(220n); + expect(res).to.equal(24n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 3 (111, 111)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 3 (14, 14)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(111), - this.instances4.alice.encrypt8(111), + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt8(14), ); - expect(res).to.equal(222n); + expect(res).to.equal(28n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 4 (111, 109)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 4 (14, 10)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(111), - this.instances4.alice.encrypt8(109), + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt8(10), ); - expect(res).to.equal(220n); + expect(res).to.equal(24n); }); - it('test operator "sub" overload (euint64, euint8) => euint64 test 1 (240, 240)', async function () { + it('test operator "sub" overload (euint64, euint8) => euint64 test 1 (8, 8)', async function () { const res = await this.contract4.sub_euint64_euint8( - this.instances4.alice.encrypt64(240), - this.instances4.alice.encrypt8(240), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, euint8) => euint64 test 2 (240, 236)', async function () { + it('test operator "sub" overload (euint64, euint8) => euint64 test 2 (8, 4)', async function () { const res = await this.contract4.sub_euint64_euint8( - this.instances4.alice.encrypt64(240), - this.instances4.alice.encrypt8(236), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (175, 1)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (109, 2)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(175), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt64(109), + this.instances4.alice.encrypt8(2), ); - expect(res).to.equal(175n); + expect(res).to.equal(218n); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 2 (10, 10)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt8(10), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(100n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 3 (10, 10)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt8(10), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(100n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 4 (10, 10)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt8(10), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(4), ); - expect(res).to.equal(100n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 1 (238356224, 211)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 1 (2380, 1)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(238356224), - this.instances4.alice.encrypt8(211), + this.instances4.alice.encrypt64(2380), + this.instances4.alice.encrypt8(1), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 2 (207, 211)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(207), - this.instances4.alice.encrypt8(211), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(195); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 3 (211, 211)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(211), - this.instances4.alice.encrypt8(211), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(211); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 4 (211, 207)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(211), - this.instances4.alice.encrypt8(207), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(4), ); - expect(res).to.equal(195); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 1 (50536480, 64)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 1 (3328, 1)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(50536480), - this.instances4.alice.encrypt8(64), + this.instances4.alice.encrypt64(3328), + this.instances4.alice.encrypt8(1), ); - expect(res).to.equal(50536544); + expect(res).to.equal(3329n); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 2 (60, 64)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(60), - this.instances4.alice.encrypt8(64), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(124); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 3 (64, 64)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(64), - this.instances4.alice.encrypt8(64), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(64); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 4 (64, 60)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(64), - this.instances4.alice.encrypt8(60), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(4), ); - expect(res).to.equal(124); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (147215301, 174)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (5602, 5)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(147215301), - this.instances4.alice.encrypt8(174), + this.instances4.alice.encrypt64(5602), + this.instances4.alice.encrypt8(5), ); - expect(res).to.equal(147215211); + expect(res).to.equal(5607n); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (170, 174)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(170), - this.instances4.alice.encrypt8(174), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 3 (174, 174)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(174), - this.instances4.alice.encrypt8(174), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 4 (174, 170)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(174), - this.instances4.alice.encrypt8(170), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 1 (113183278, 90)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 1 (55032, 1)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(113183278), - this.instances4.alice.encrypt8(90), + this.instances4.alice.encrypt64(55032), + this.instances4.alice.encrypt8(1), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 2 (86, 90)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(86), - this.instances4.alice.encrypt8(90), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 3 (90, 90)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(90), - this.instances4.alice.encrypt8(90), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 4 (90, 86)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(90), - this.instances4.alice.encrypt8(86), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 1 (129256608, 230)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 1 (3163, 2)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(129256608), - this.instances4.alice.encrypt8(230), + this.instances4.alice.encrypt64(3163), + this.instances4.alice.encrypt8(2), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 2 (226, 230)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(226), - this.instances4.alice.encrypt8(230), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 3 (230, 230)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(230), - this.instances4.alice.encrypt8(230), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 4 (230, 226)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(230), - this.instances4.alice.encrypt8(226), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 1 (116051290, 252)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 1 (3383, 1)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(116051290), - this.instances4.alice.encrypt8(252), + this.instances4.alice.encrypt64(3383), + this.instances4.alice.encrypt8(1), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 2 (248, 252)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(248), - this.instances4.alice.encrypt8(252), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 3 (252, 252)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(252), - this.instances4.alice.encrypt8(252), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 4 (252, 248)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(252), - this.instances4.alice.encrypt8(248), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 1 (208318592, 189)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 1 (2050, 12)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(208318592), - this.instances4.alice.encrypt8(189), + this.instances4.alice.encrypt64(2050), + this.instances4.alice.encrypt8(12), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 2 (185, 189)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 2 (8, 12)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(185), - this.instances4.alice.encrypt8(189), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt8(12), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 3 (189, 189)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 3 (12, 12)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(189), - this.instances4.alice.encrypt8(189), + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt8(12), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 4 (189, 185)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 4 (12, 8)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(189), - this.instances4.alice.encrypt8(185), + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 1 (217701220, 215)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 1 (4742, 1)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(217701220), - this.instances5.alice.encrypt8(215), + this.instances5.alice.encrypt64(4742), + this.instances5.alice.encrypt8(1), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint8) => ebool test 2 (211, 215)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(211), - this.instances5.alice.encrypt8(215), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 3 (215, 215)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(215), - this.instances5.alice.encrypt8(215), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 4 (215, 211)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(215), - this.instances5.alice.encrypt8(211), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 1 (264374974, 197)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 1 (16329, 1)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(264374974), - this.instances5.alice.encrypt8(197), + this.instances5.alice.encrypt64(16329), + this.instances5.alice.encrypt8(1), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 2 (193, 197)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(193), - this.instances5.alice.encrypt8(197), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 3 (197, 197)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(197), - this.instances5.alice.encrypt8(197), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 4 (197, 193)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(197), - this.instances5.alice.encrypt8(193), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 1 (67905839, 86)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 1 (2618, 1)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(67905839), - this.instances5.alice.encrypt8(86), + this.instances5.alice.encrypt64(2618), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(86); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 2 (82, 86)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(82), - this.instances5.alice.encrypt8(86), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(82); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 3 (86, 86)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(86), - this.instances5.alice.encrypt8(86), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(86); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 4 (86, 82)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(86), - this.instances5.alice.encrypt8(82), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(82); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 1 (215341582, 146)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 1 (2374, 1)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(215341582), - this.instances5.alice.encrypt8(146), + this.instances5.alice.encrypt64(2374), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(215341582); + expect(res).to.equal(2374n); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 2 (142, 146)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(142), - this.instances5.alice.encrypt8(146), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(146); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 3 (146, 146)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(146), - this.instances5.alice.encrypt8(146), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(8), ); - expect(res).to.equal(146); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 4 (146, 142)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(146), - this.instances5.alice.encrypt8(142), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(146); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 1 (41532, 11)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 1 (17823, 1)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(41532), - this.instances5.alice.encrypt16(11), + this.instances5.alice.encrypt64(17823), + this.instances5.alice.encrypt16(1), ); - expect(res).to.equal(41543n); + expect(res).to.equal(17824n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 2 (23875, 23877)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(23875), - this.instances5.alice.encrypt16(23877), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(47752n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 3 (23877, 23877)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(23877), - this.instances5.alice.encrypt16(23877), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(47754n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 4 (23877, 23875)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(23877), - this.instances5.alice.encrypt16(23875), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); - expect(res).to.equal(47752n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (19514, 19514)', async function () { + it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (8, 8)', async function () { const res = await this.contract5.sub_euint64_euint16( - this.instances5.alice.encrypt64(19514), - this.instances5.alice.encrypt16(19514), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, euint16) => euint64 test 2 (19514, 19510)', async function () { + it('test operator "sub" overload (euint64, euint16) => euint64 test 2 (8, 4)', async function () { const res = await this.contract5.sub_euint64_euint16( - this.instances5.alice.encrypt64(19514), - this.instances5.alice.encrypt16(19510), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (11257, 5)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (3449, 2)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(11257), - this.instances5.alice.encrypt16(5), + this.instances5.alice.encrypt64(3449), + this.instances5.alice.encrypt16(2), ); - expect(res).to.equal(56285n); + expect(res).to.equal(6898n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 2 (165, 165)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(165), - this.instances5.alice.encrypt16(165), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(27225n); + expect(res).to.equal(32n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 3 (165, 165)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(165), - this.instances5.alice.encrypt16(165), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(27225n); + expect(res).to.equal(64n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 4 (165, 165)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(165), - this.instances5.alice.encrypt16(165), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); - expect(res).to.equal(27225n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 1 (238356224, 18546)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 1 (2380, 9)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(238356224), - this.instances5.alice.encrypt16(18546), + this.instances5.alice.encrypt64(2380), + this.instances5.alice.encrypt16(9), ); - expect(res).to.equal(0); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 2 (18542, 18546)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 2 (5, 9)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(18542), - this.instances5.alice.encrypt16(18546), + this.instances5.alice.encrypt64(5), + this.instances5.alice.encrypt16(9), ); - expect(res).to.equal(18530); + expect(res).to.equal(1n); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 3 (18546, 18546)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 3 (9, 9)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(18546), - this.instances5.alice.encrypt16(18546), + this.instances5.alice.encrypt64(9), + this.instances5.alice.encrypt16(9), ); - expect(res).to.equal(18546); + expect(res).to.equal(9n); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 4 (18546, 18542)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 4 (9, 5)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(18546), - this.instances5.alice.encrypt16(18542), + this.instances5.alice.encrypt64(9), + this.instances5.alice.encrypt16(5), ); - expect(res).to.equal(18530); + expect(res).to.equal(1n); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 1 (50536480, 3556)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 1 (3328, 2)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(50536480), - this.instances5.alice.encrypt16(3556), + this.instances5.alice.encrypt64(3328), + this.instances5.alice.encrypt16(2), ); - expect(res).to.equal(50540004); + expect(res).to.equal(3330n); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 2 (3552, 3556)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(3552), - this.instances5.alice.encrypt16(3556), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(3556); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 3 (3556, 3556)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(3556), - this.instances5.alice.encrypt16(3556), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(3556); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 4 (3556, 3552)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(3556), - this.instances5.alice.encrypt16(3552), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); - expect(res).to.equal(3556); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (147215301, 35671)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (5602, 9)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(147215301), - this.instances5.alice.encrypt16(35671), + this.instances5.alice.encrypt64(5602), + this.instances5.alice.encrypt16(9), ); - expect(res).to.equal(147249298); + expect(res).to.equal(5611n); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 2 (35667, 35671)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 2 (5, 9)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(35667), - this.instances5.alice.encrypt16(35671), + this.instances5.alice.encrypt64(5), + this.instances5.alice.encrypt16(9), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 3 (35671, 35671)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 3 (9, 9)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(35671), - this.instances5.alice.encrypt16(35671), + this.instances5.alice.encrypt64(9), + this.instances5.alice.encrypt16(9), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 4 (35671, 35667)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 4 (9, 5)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(35671), - this.instances5.alice.encrypt16(35667), + this.instances5.alice.encrypt64(9), + this.instances5.alice.encrypt16(5), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 1 (113183278, 17213)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 1 (55032, 3)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(113183278), - this.instances5.alice.encrypt16(17213), + this.instances5.alice.encrypt64(55032), + this.instances5.alice.encrypt16(3), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 2 (17209, 17213)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(17209), - this.instances5.alice.encrypt16(17213), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 3 (17213, 17213)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(17213), - this.instances5.alice.encrypt16(17213), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 4 (17213, 17209)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(17213), - this.instances5.alice.encrypt16(17209), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 1 (129256608, 25758)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 1 (3163, 2)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(129256608), - this.instances5.alice.encrypt16(25758), + this.instances5.alice.encrypt64(3163), + this.instances5.alice.encrypt16(2), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 2 (25754, 25758)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(25754), - this.instances5.alice.encrypt16(25758), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 3 (25758, 25758)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(25758), - this.instances5.alice.encrypt16(25758), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 4 (25758, 25754)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(25758), - this.instances5.alice.encrypt16(25754), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 1 (116051290, 2338)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 1 (3383, 2)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(116051290), - this.instances5.alice.encrypt16(2338), + this.instances5.alice.encrypt64(3383), + this.instances5.alice.encrypt16(2), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 2 (2334, 2338)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(2334), - this.instances5.alice.encrypt16(2338), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 3 (2338, 2338)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(2338), - this.instances5.alice.encrypt16(2338), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 4 (2338, 2334)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(2338), - this.instances5.alice.encrypt16(2334), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 1 (208318592, 48949)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 1 (2050, 6)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(208318592), - this.instances5.alice.encrypt16(48949), + this.instances5.alice.encrypt64(2050), + this.instances5.alice.encrypt16(6), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 2 (48945, 48949)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(48945), - this.instances5.alice.encrypt16(48949), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 3 (48949, 48949)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(48949), - this.instances5.alice.encrypt16(48949), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 4 (48949, 48945)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(48949), - this.instances5.alice.encrypt16(48945), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 1 (217701220, 49721)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 1 (4742, 1)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(217701220), - this.instances5.alice.encrypt16(49721), + this.instances5.alice.encrypt64(4742), + this.instances5.alice.encrypt16(1), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint16) => ebool test 2 (49717, 49721)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(49717), - this.instances5.alice.encrypt16(49721), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 3 (49721, 49721)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(49721), - this.instances5.alice.encrypt16(49721), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 4 (49721, 49717)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(49721), - this.instances5.alice.encrypt16(49717), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 1 (264374974, 23947)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 1 (16329, 3)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(264374974), - this.instances5.alice.encrypt16(23947), + this.instances5.alice.encrypt64(16329), + this.instances5.alice.encrypt16(3), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 2 (23943, 23947)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(23943), - this.instances5.alice.encrypt16(23947), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 3 (23947, 23947)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(23947), - this.instances5.alice.encrypt16(23947), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 4 (23947, 23943)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(23947), - this.instances5.alice.encrypt16(23943), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 1 (67905839, 62663)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 1 (2618, 5)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(67905839), - this.instances5.alice.encrypt16(62663), + this.instances5.alice.encrypt64(2618), + this.instances5.alice.encrypt16(5), ); - expect(res).to.equal(62663); + expect(res).to.equal(5n); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 2 (62659, 62663)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(62659), - this.instances5.alice.encrypt16(62663), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(62659); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 3 (62663, 62663)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(62663), - this.instances5.alice.encrypt16(62663), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(62663); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 4 (62663, 62659)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(62663), - this.instances5.alice.encrypt16(62659), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); - expect(res).to.equal(62659); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 1 (215341582, 59093)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 1 (2374, 1)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(215341582), - this.instances5.alice.encrypt16(59093), + this.instances5.alice.encrypt64(2374), + this.instances5.alice.encrypt16(1), ); - expect(res).to.equal(215341582); + expect(res).to.equal(2374n); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 2 (59089, 59093)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(59089), - this.instances5.alice.encrypt16(59093), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(59093); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 3 (59093, 59093)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(59093), - this.instances5.alice.encrypt16(59093), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(8), ); - expect(res).to.equal(59093); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 4 (59093, 59089)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(59093), - this.instances5.alice.encrypt16(59089), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt16(4), ); - expect(res).to.equal(59093); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 1 (170118033, 266084851)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 1 (17823, 2)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(170118033), - this.instances5.alice.encrypt32(266084851), + this.instances5.alice.encrypt64(17823), + this.instances5.alice.encrypt32(2), ); - expect(res).to.equal(436202884n); + expect(res).to.equal(17825n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 2 (170118029, 170118033)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(170118029), - this.instances5.alice.encrypt32(170118033), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(340236062n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 3 (170118033, 170118033)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(170118033), - this.instances5.alice.encrypt32(170118033), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(340236066n); + expect(res).to.equal(16n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 4 (170118033, 170118029)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(170118033), - this.instances5.alice.encrypt32(170118029), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); - expect(res).to.equal(340236062n); + expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (69685503, 69685503)', async function () { + it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (8, 8)', async function () { const res = await this.contract5.sub_euint64_euint32( - this.instances5.alice.encrypt64(69685503), - this.instances5.alice.encrypt32(69685503), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, euint32) => euint64 test 2 (69685503, 69685499)', async function () { + it('test operator "sub" overload (euint64, euint32) => euint64 test 2 (8, 4)', async function () { const res = await this.contract5.sub_euint64_euint32( - this.instances5.alice.encrypt64(69685503), - this.instances5.alice.encrypt32(69685499), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (45030, 88250)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (3449, 9)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(45030), - this.instances5.alice.encrypt32(88250), + this.instances5.alice.encrypt64(3449), + this.instances5.alice.encrypt32(9), ); - expect(res).to.equal(3973897500n); + expect(res).to.equal(31041n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 2 (45030, 45030)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 2 (5, 9)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(45030), - this.instances5.alice.encrypt32(45030), + this.instances5.alice.encrypt64(5), + this.instances5.alice.encrypt32(9), ); - expect(res).to.equal(2027700900n); + expect(res).to.equal(45n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 3 (45030, 45030)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 3 (9, 9)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(45030), - this.instances5.alice.encrypt32(45030), + this.instances5.alice.encrypt64(9), + this.instances5.alice.encrypt32(9), ); - expect(res).to.equal(2027700900n); + expect(res).to.equal(81n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 4 (45030, 45030)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 4 (9, 5)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(45030), - this.instances5.alice.encrypt32(45030), + this.instances5.alice.encrypt64(9), + this.instances5.alice.encrypt32(5), ); - expect(res).to.equal(2027700900n); + expect(res).to.equal(45n); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 1 (238356224, 212953386)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 1 (2380, 4)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(238356224), - this.instances5.alice.encrypt32(212953386), + this.instances5.alice.encrypt64(2380), + this.instances5.alice.encrypt32(4), ); - expect(res).to.equal(204538112); + expect(res).to.equal(4n); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 2 (212953382, 212953386)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(212953382), - this.instances5.alice.encrypt32(212953386), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(212953378); + expect(res).to.equal(0n); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 3 (212953386, 212953386)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(212953386), - this.instances5.alice.encrypt32(212953386), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(212953386); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 4 (212953386, 212953382)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(212953386), - this.instances5.alice.encrypt32(212953382), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); - expect(res).to.equal(212953378); + expect(res).to.equal(0n); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 1 (50536480, 16913643)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 1 (3328, 3)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(50536480), - this.instances5.alice.encrypt32(16913643), + this.instances5.alice.encrypt64(3328), + this.instances5.alice.encrypt32(3), ); - expect(res).to.equal(50541803); + expect(res).to.equal(3331n); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 2 (16913639, 16913643)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(16913639), - this.instances5.alice.encrypt32(16913643), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(16913647); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 3 (16913643, 16913643)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(16913643), - this.instances5.alice.encrypt32(16913643), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(16913643); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 4 (16913643, 16913639)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(16913643), - this.instances5.alice.encrypt32(16913639), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); - expect(res).to.equal(16913647); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (147215301, 173065039)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (5602, 2)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(147215301), - this.instances5.alice.encrypt32(173065039), + this.instances5.alice.encrypt64(5602), + this.instances5.alice.encrypt32(2), ); - expect(res).to.equal(43421834); + expect(res).to.equal(5600n); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 2 (147215297, 147215301)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(147215297), - this.instances5.alice.encrypt32(147215301), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 3 (147215301, 147215301)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(147215301), - this.instances5.alice.encrypt32(147215301), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 4 (147215301, 147215297)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(147215301), - this.instances5.alice.encrypt32(147215297), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); - expect(res).to.equal(4); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 1 (113183278, 255380188)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 1 (55032, 3)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(113183278), - this.instances5.alice.encrypt32(255380188), + this.instances5.alice.encrypt64(55032), + this.instances5.alice.encrypt32(3), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 2 (113183274, 113183278)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(113183274), - this.instances5.alice.encrypt32(113183278), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 3 (113183278, 113183278)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(113183278), - this.instances5.alice.encrypt32(113183278), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 4 (113183278, 113183274)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(113183278), - this.instances5.alice.encrypt32(113183274), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 1 (129256608, 191248966)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 1 (3163, 1)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(129256608), - this.instances5.alice.encrypt32(191248966), + this.instances5.alice.encrypt64(3163), + this.instances5.alice.encrypt32(1), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 2 (129256604, 129256608)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(129256604), - this.instances5.alice.encrypt32(129256608), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 3 (129256608, 129256608)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(129256608), - this.instances5.alice.encrypt32(129256608), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 4 (129256608, 129256604)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(129256608), - this.instances5.alice.encrypt32(129256604), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 1 (116051290, 95719061)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 1 (3383, 8)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(116051290), - this.instances5.alice.encrypt32(95719061), + this.instances5.alice.encrypt64(3383), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 2 (95719057, 95719061)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(95719057), - this.instances5.alice.encrypt32(95719061), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 3 (95719061, 95719061)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(95719061), - this.instances5.alice.encrypt32(95719061), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 4 (95719061, 95719057)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(95719061), - this.instances5.alice.encrypt32(95719057), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 1 (208318592, 245955324)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 1 (2050, 1)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(208318592), - this.instances5.alice.encrypt32(245955324), + this.instances5.alice.encrypt64(2050), + this.instances5.alice.encrypt32(1), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 2 (208318588, 208318592)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(208318588), - this.instances5.alice.encrypt32(208318592), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 3 (208318592, 208318592)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(208318592), - this.instances5.alice.encrypt32(208318592), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 4 (208318592, 208318588)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(208318592), - this.instances5.alice.encrypt32(208318588), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 1 (217701220, 133414572)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 1 (4742, 21)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(217701220), - this.instances5.alice.encrypt32(133414572), + this.instances5.alice.encrypt64(4742), + this.instances5.alice.encrypt32(21), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint32) => ebool test 2 (133414568, 133414572)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 2 (17, 21)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(133414568), - this.instances5.alice.encrypt32(133414572), + this.instances5.alice.encrypt64(17), + this.instances5.alice.encrypt32(21), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 3 (133414572, 133414572)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 3 (21, 21)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(133414572), - this.instances5.alice.encrypt32(133414572), + this.instances5.alice.encrypt64(21), + this.instances5.alice.encrypt32(21), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 4 (133414572, 133414568)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 4 (21, 17)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(133414572), - this.instances5.alice.encrypt32(133414568), + this.instances5.alice.encrypt64(21), + this.instances5.alice.encrypt32(17), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 1 (264374974, 253580652)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 1 (16329, 2)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(264374974), - this.instances5.alice.encrypt32(253580652), + this.instances5.alice.encrypt64(16329), + this.instances5.alice.encrypt32(2), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 2 (253580648, 253580652)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(253580648), - this.instances5.alice.encrypt32(253580652), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 3 (253580652, 253580652)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(253580652), - this.instances5.alice.encrypt32(253580652), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 4 (253580652, 253580648)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(253580652), - this.instances5.alice.encrypt32(253580648), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 1 (67905839, 157717094)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 1 (2618, 1)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(67905839), - this.instances5.alice.encrypt32(157717094), + this.instances5.alice.encrypt64(2618), + this.instances5.alice.encrypt32(1), ); - expect(res).to.equal(67905839); + expect(res).to.equal(1n); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 2 (67905835, 67905839)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(67905835), - this.instances5.alice.encrypt32(67905839), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(67905835); + expect(res).to.equal(4n); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 3 (67905839, 67905839)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(67905839), - this.instances5.alice.encrypt32(67905839), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(67905839); + expect(res).to.equal(8n); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 4 (67905839, 67905835)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(67905839), - this.instances5.alice.encrypt32(67905835), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); - expect(res).to.equal(67905835); + expect(res).to.equal(4n); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 1 (215341582, 62329989)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 1 (2374, 2)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(215341582), - this.instances5.alice.encrypt32(62329989), + this.instances5.alice.encrypt64(2374), + this.instances5.alice.encrypt32(2), ); - expect(res).to.equal(215341582); + expect(res).to.equal(2374n); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 2 (62329985, 62329989)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(62329985), - this.instances5.alice.encrypt32(62329989), + this.instances5.alice.encrypt64(4), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(62329989); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 3 (62329989, 62329989)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(62329989), - this.instances5.alice.encrypt32(62329989), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(8), ); - expect(res).to.equal(62329989); + expect(res).to.equal(8n); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 4 (62329989, 62329985)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(62329989), - this.instances5.alice.encrypt32(62329985), + this.instances5.alice.encrypt64(8), + this.instances5.alice.encrypt32(4), ); - expect(res).to.equal(62329989); + expect(res).to.equal(8n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 1 (170118033, 75374623)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 1 (17823, 3432)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(170118033), - this.instances5.alice.encrypt64(75374623), + this.instances5.alice.encrypt64(17823), + this.instances5.alice.encrypt64(3432), ); - expect(res).to.equal(245492656n); + expect(res).to.equal(21255n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 2 (75374619, 75374623)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 2 (3428, 3432)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(75374619), - this.instances5.alice.encrypt64(75374623), + this.instances5.alice.encrypt64(3428), + this.instances5.alice.encrypt64(3432), ); - expect(res).to.equal(150749242n); + expect(res).to.equal(6860n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 3 (75374623, 75374623)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 3 (3432, 3432)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(75374623), - this.instances5.alice.encrypt64(75374623), + this.instances5.alice.encrypt64(3432), + this.instances5.alice.encrypt64(3432), ); - expect(res).to.equal(150749246n); + expect(res).to.equal(6864n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 4 (75374623, 75374619)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 4 (3432, 3428)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(75374623), - this.instances5.alice.encrypt64(75374619), + this.instances5.alice.encrypt64(3432), + this.instances5.alice.encrypt64(3428), ); - expect(res).to.equal(150749242n); + expect(res).to.equal(6860n); }); - it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (65505221, 65505221)', async function () { + it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (3660, 3660)', async function () { const res = await this.contract5.sub_euint64_euint64( - this.instances5.alice.encrypt64(65505221), - this.instances5.alice.encrypt64(65505221), + this.instances5.alice.encrypt64(3660), + this.instances5.alice.encrypt64(3660), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, euint64) => euint64 test 2 (65505221, 65505217)', async function () { + it('test operator "sub" overload (euint64, euint64) => euint64 test 2 (3660, 3656)', async function () { const res = await this.contract5.sub_euint64_euint64( - this.instances5.alice.encrypt64(65505221), - this.instances5.alice.encrypt64(65505217), + this.instances5.alice.encrypt64(3660), + this.instances5.alice.encrypt64(3656), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (92221761, 267518717)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (3449, 2396)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(92221761), - this.instances5.alice.encrypt64(267518717), + this.instances5.alice.encrypt64(3449), + this.instances5.alice.encrypt64(2396), ); - expect(res).to.equal(24671047182200637n); + expect(res).to.equal(8263804n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 2 (92221757, 92221761)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 2 (2392, 2396)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(92221757), - this.instances5.alice.encrypt64(92221761), + this.instances5.alice.encrypt64(2392), + this.instances5.alice.encrypt64(2396), ); - expect(res).to.equal(8504852833054077n); + expect(res).to.equal(5731232n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 3 (92221761, 92221761)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 3 (2396, 2396)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(92221761), - this.instances5.alice.encrypt64(92221761), + this.instances5.alice.encrypt64(2396), + this.instances5.alice.encrypt64(2396), ); - expect(res).to.equal(8504853201941121n); + expect(res).to.equal(5740816n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 4 (92221761, 92221757)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 4 (2396, 2392)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(92221761), - this.instances5.alice.encrypt64(92221757), + this.instances5.alice.encrypt64(2396), + this.instances5.alice.encrypt64(2392), ); - expect(res).to.equal(8504852833054077n); + expect(res).to.equal(5731232n); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 1 (238356224, 13141105)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 1 (2380, 2068)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(238356224), - this.instances5.alice.encrypt64(13141105), + this.instances5.alice.encrypt64(2380), + this.instances5.alice.encrypt64(2068), ); - expect(res).to.equal(1024); + expect(res).to.equal(2052n); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 2 (13141101, 13141105)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 2 (2064, 2068)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(13141101), - this.instances5.alice.encrypt64(13141105), + this.instances5.alice.encrypt64(2064), + this.instances5.alice.encrypt64(2068), ); - expect(res).to.equal(13141089); + expect(res).to.equal(2064n); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 3 (13141105, 13141105)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 3 (2068, 2068)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(13141105), - this.instances5.alice.encrypt64(13141105), + this.instances5.alice.encrypt64(2068), + this.instances5.alice.encrypt64(2068), ); - expect(res).to.equal(13141105); + expect(res).to.equal(2068n); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 4 (13141105, 13141101)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 4 (2068, 2064)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(13141105), - this.instances5.alice.encrypt64(13141101), + this.instances5.alice.encrypt64(2068), + this.instances5.alice.encrypt64(2064), ); - expect(res).to.equal(13141089); + expect(res).to.equal(2064n); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 1 (50536480, 244448701)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 1 (3328, 2096)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(50536480), - this.instances5.alice.encrypt64(244448701), + this.instances5.alice.encrypt64(3328), + this.instances5.alice.encrypt64(2096), ); - expect(res).to.equal(261356989); + expect(res).to.equal(3376n); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 2 (50536476, 50536480)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 2 (2092, 2096)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(50536476), - this.instances5.alice.encrypt64(50536480), + this.instances5.alice.encrypt64(2092), + this.instances5.alice.encrypt64(2096), ); - expect(res).to.equal(50536508); + expect(res).to.equal(2108n); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 3 (50536480, 50536480)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 3 (2096, 2096)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(50536480), - this.instances5.alice.encrypt64(50536480), + this.instances5.alice.encrypt64(2096), + this.instances5.alice.encrypt64(2096), ); - expect(res).to.equal(50536480); + expect(res).to.equal(2096n); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 4 (50536480, 50536476)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 4 (2096, 2092)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(50536480), - this.instances5.alice.encrypt64(50536476), + this.instances5.alice.encrypt64(2096), + this.instances5.alice.encrypt64(2092), ); - expect(res).to.equal(50536508); + expect(res).to.equal(2108n); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (147215301, 32869222)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (5602, 4581)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(147215301), - this.instances5.alice.encrypt64(32869222), + this.instances5.alice.encrypt64(5602), + this.instances5.alice.encrypt64(4581), ); - expect(res).to.equal(154392739); + expect(res).to.equal(1031n); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (32869218, 32869222)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (4577, 4581)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(32869218), - this.instances5.alice.encrypt64(32869222), + this.instances5.alice.encrypt64(4577), + this.instances5.alice.encrypt64(4581), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 3 (32869222, 32869222)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 3 (4581, 4581)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(32869222), - this.instances5.alice.encrypt64(32869222), + this.instances5.alice.encrypt64(4581), + this.instances5.alice.encrypt64(4581), ); - expect(res).to.equal(0); + expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 4 (32869222, 32869218)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 4 (4581, 4577)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(32869222), - this.instances5.alice.encrypt64(32869218), + this.instances5.alice.encrypt64(4581), + this.instances5.alice.encrypt64(4577), ); - expect(res).to.equal(4); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 1 (113183278, 1631862)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 1 (55032, 3655)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(113183278), - this.instances5.alice.encrypt64(1631862), + this.instances5.alice.encrypt64(55032), + this.instances5.alice.encrypt64(3655), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 2 (1631858, 1631862)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 2 (3651, 3655)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(1631858), - this.instances5.alice.encrypt64(1631862), + this.instances5.alice.encrypt64(3651), + this.instances5.alice.encrypt64(3655), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 3 (1631862, 1631862)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 3 (3655, 3655)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(1631862), - this.instances5.alice.encrypt64(1631862), + this.instances5.alice.encrypt64(3655), + this.instances5.alice.encrypt64(3655), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 4 (1631862, 1631858)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 4 (3655, 3651)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(1631862), - this.instances5.alice.encrypt64(1631858), + this.instances5.alice.encrypt64(3655), + this.instances5.alice.encrypt64(3651), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 1 (129256608, 198214797)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 1 (3163, 2116)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(129256608), - this.instances5.alice.encrypt64(198214797), + this.instances5.alice.encrypt64(3163), + this.instances5.alice.encrypt64(2116), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 2 (129256604, 129256608)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 2 (2112, 2116)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(129256604), - this.instances5.alice.encrypt64(129256608), + this.instances5.alice.encrypt64(2112), + this.instances5.alice.encrypt64(2116), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 3 (129256608, 129256608)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 3 (2116, 2116)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(129256608), - this.instances5.alice.encrypt64(129256608), + this.instances5.alice.encrypt64(2116), + this.instances5.alice.encrypt64(2116), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 4 (129256608, 129256604)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 4 (2116, 2112)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(129256608), - this.instances5.alice.encrypt64(129256604), + this.instances5.alice.encrypt64(2116), + this.instances5.alice.encrypt64(2112), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 1 (116051290, 122147524)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 1 (3383, 7363)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(116051290), - this.instances5.alice.encrypt64(122147524), + this.instances5.alice.encrypt64(3383), + this.instances5.alice.encrypt64(7363), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 2 (116051286, 116051290)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 2 (3379, 3383)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(116051286), - this.instances5.alice.encrypt64(116051290), + this.instances5.alice.encrypt64(3379), + this.instances5.alice.encrypt64(3383), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 3 (116051290, 116051290)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 3 (3383, 3383)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(116051290), - this.instances5.alice.encrypt64(116051290), + this.instances5.alice.encrypt64(3383), + this.instances5.alice.encrypt64(3383), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 4 (116051290, 116051286)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 4 (3383, 3379)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(116051290), - this.instances5.alice.encrypt64(116051286), + this.instances5.alice.encrypt64(3383), + this.instances5.alice.encrypt64(3379), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 1 (208318592, 117484228)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 1 (2050, 2503)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(208318592), - this.instances5.alice.encrypt64(117484228), + this.instances5.alice.encrypt64(2050), + this.instances5.alice.encrypt64(2503), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 2 (117484224, 117484228)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 2 (2046, 2050)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(117484224), - this.instances5.alice.encrypt64(117484228), + this.instances5.alice.encrypt64(2046), + this.instances5.alice.encrypt64(2050), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 3 (117484228, 117484228)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 3 (2050, 2050)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(117484228), - this.instances5.alice.encrypt64(117484228), + this.instances5.alice.encrypt64(2050), + this.instances5.alice.encrypt64(2050), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 4 (117484228, 117484224)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 4 (2050, 2046)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(117484228), - this.instances5.alice.encrypt64(117484224), + this.instances5.alice.encrypt64(2050), + this.instances5.alice.encrypt64(2046), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 1 (217701220, 184213537)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 1 (4742, 3626)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(217701220), - this.instances5.alice.encrypt64(184213537), + this.instances5.alice.encrypt64(4742), + this.instances5.alice.encrypt64(3626), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint64) => ebool test 2 (184213533, 184213537)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 2 (3622, 3626)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(184213533), - this.instances5.alice.encrypt64(184213537), + this.instances5.alice.encrypt64(3622), + this.instances5.alice.encrypt64(3626), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 3 (184213537, 184213537)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 3 (3626, 3626)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(184213537), - this.instances5.alice.encrypt64(184213537), + this.instances5.alice.encrypt64(3626), + this.instances5.alice.encrypt64(3626), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 4 (184213537, 184213533)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 4 (3626, 3622)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(184213537), - this.instances5.alice.encrypt64(184213533), + this.instances5.alice.encrypt64(3626), + this.instances5.alice.encrypt64(3622), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 1 (264374974, 138721892)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 1 (16329, 2082)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(264374974), - this.instances5.alice.encrypt64(138721892), + this.instances5.alice.encrypt64(16329), + this.instances5.alice.encrypt64(2082), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 2 (138721888, 138721892)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 2 (2078, 2082)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(138721888), - this.instances5.alice.encrypt64(138721892), + this.instances5.alice.encrypt64(2078), + this.instances5.alice.encrypt64(2082), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 3 (138721892, 138721892)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 3 (2082, 2082)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(138721892), - this.instances5.alice.encrypt64(138721892), + this.instances5.alice.encrypt64(2082), + this.instances5.alice.encrypt64(2082), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 4 (138721892, 138721888)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 4 (2082, 2078)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(138721892), - this.instances5.alice.encrypt64(138721888), + this.instances5.alice.encrypt64(2082), + this.instances5.alice.encrypt64(2078), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 1 (67905839, 52961865)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 1 (2618, 6448)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(67905839), - this.instances5.alice.encrypt64(52961865), + this.instances5.alice.encrypt64(2618), + this.instances5.alice.encrypt64(6448), ); - expect(res).to.equal(52961865); + expect(res).to.equal(2618n); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 2 (52961861, 52961865)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 2 (2614, 2618)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(52961861), - this.instances5.alice.encrypt64(52961865), + this.instances5.alice.encrypt64(2614), + this.instances5.alice.encrypt64(2618), ); - expect(res).to.equal(52961861); + expect(res).to.equal(2614n); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 3 (52961865, 52961865)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 3 (2618, 2618)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(52961865), - this.instances5.alice.encrypt64(52961865), + this.instances5.alice.encrypt64(2618), + this.instances5.alice.encrypt64(2618), ); - expect(res).to.equal(52961865); + expect(res).to.equal(2618n); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 4 (52961865, 52961861)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 4 (2618, 2614)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(52961865), - this.instances5.alice.encrypt64(52961861), + this.instances5.alice.encrypt64(2618), + this.instances5.alice.encrypt64(2614), ); - expect(res).to.equal(52961861); + expect(res).to.equal(2614n); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 1 (215341582, 39049834)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 1 (2374, 2762)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(215341582), - this.instances5.alice.encrypt64(39049834), + this.instances5.alice.encrypt64(2374), + this.instances5.alice.encrypt64(2762), ); - expect(res).to.equal(215341582); + expect(res).to.equal(2762n); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 2 (39049830, 39049834)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 2 (2370, 2374)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(39049830), - this.instances5.alice.encrypt64(39049834), + this.instances5.alice.encrypt64(2370), + this.instances5.alice.encrypt64(2374), ); - expect(res).to.equal(39049834); + expect(res).to.equal(2374n); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 3 (39049834, 39049834)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 3 (2374, 2374)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(39049834), - this.instances5.alice.encrypt64(39049834), + this.instances5.alice.encrypt64(2374), + this.instances5.alice.encrypt64(2374), ); - expect(res).to.equal(39049834); + expect(res).to.equal(2374n); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 4 (39049834, 39049830)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 4 (2374, 2370)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(39049834), - this.instances5.alice.encrypt64(39049830), + this.instances5.alice.encrypt64(2374), + this.instances5.alice.encrypt64(2370), ); - expect(res).to.equal(39049834); + expect(res).to.equal(2374n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 1 (170118033, 60441680)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(170118033), 60441680); - expect(res).to.equal(230559713n); + it('test operator "add" overload (euint64, uint64) => euint64 test 1 (17823, 7318)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(17823), 7318); + expect(res).to.equal(25141n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 2 (75374619, 75374623)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(75374619), 75374623); - expect(res).to.equal(150749242n); + it('test operator "add" overload (euint64, uint64) => euint64 test 2 (3428, 3432)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(3428), 3432); + expect(res).to.equal(6860n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 3 (75374623, 75374623)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(75374623), 75374623); - expect(res).to.equal(150749246n); + it('test operator "add" overload (euint64, uint64) => euint64 test 3 (3432, 3432)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(3432), 3432); + expect(res).to.equal(6864n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 4 (75374623, 75374619)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(75374623), 75374619); - expect(res).to.equal(150749242n); + it('test operator "add" overload (euint64, uint64) => euint64 test 4 (3432, 3428)', async function () { + const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(3432), 3428); + expect(res).to.equal(6860n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 1 (187809144, 60441680)', async function () { - const res = await this.contract5.add_uint64_euint64(187809144, this.instances5.alice.encrypt64(60441680)); - expect(res).to.equal(248250824n); + it('test operator "add" overload (uint64, euint64) => euint64 test 1 (5752, 7318)', async function () { + const res = await this.contract5.add_uint64_euint64(5752, this.instances5.alice.encrypt64(7318)); + expect(res).to.equal(13070n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 2 (75374619, 75374623)', async function () { - const res = await this.contract5.add_uint64_euint64(75374619, this.instances5.alice.encrypt64(75374623)); - expect(res).to.equal(150749242n); + it('test operator "add" overload (uint64, euint64) => euint64 test 2 (3428, 3432)', async function () { + const res = await this.contract5.add_uint64_euint64(3428, this.instances5.alice.encrypt64(3432)); + expect(res).to.equal(6860n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 3 (75374623, 75374623)', async function () { - const res = await this.contract5.add_uint64_euint64(75374623, this.instances5.alice.encrypt64(75374623)); - expect(res).to.equal(150749246n); + it('test operator "add" overload (uint64, euint64) => euint64 test 3 (3432, 3432)', async function () { + const res = await this.contract5.add_uint64_euint64(3432, this.instances5.alice.encrypt64(3432)); + expect(res).to.equal(6864n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 4 (75374623, 75374619)', async function () { - const res = await this.contract5.add_uint64_euint64(75374623, this.instances5.alice.encrypt64(75374619)); - expect(res).to.equal(150749242n); + it('test operator "add" overload (uint64, euint64) => euint64 test 4 (3432, 3428)', async function () { + const res = await this.contract5.add_uint64_euint64(3432, this.instances5.alice.encrypt64(3428)); + expect(res).to.equal(6860n); }); - it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (65505221, 65505221)', async function () { - const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(65505221), 65505221); - expect(res).to.equal(0); + it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (3660, 3660)', async function () { + const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(3660), 3660); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, uint64) => euint64 test 2 (65505221, 65505217)', async function () { - const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(65505221), 65505217); - expect(res).to.equal(4); + it('test operator "sub" overload (euint64, uint64) => euint64 test 2 (3660, 3656)', async function () { + const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(3660), 3656); + expect(res).to.equal(4n); }); - it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (65505221, 65505221)', async function () { - const res = await this.contract5.sub_uint64_euint64(65505221, this.instances5.alice.encrypt64(65505221)); - expect(res).to.equal(0); + it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (3660, 3660)', async function () { + const res = await this.contract5.sub_uint64_euint64(3660, this.instances5.alice.encrypt64(3660)); + expect(res).to.equal(0n); }); - it('test operator "sub" overload (uint64, euint64) => euint64 test 2 (65505221, 65505217)', async function () { - const res = await this.contract5.sub_uint64_euint64(65505221, this.instances5.alice.encrypt64(65505217)); - expect(res).to.equal(4); + it('test operator "sub" overload (uint64, euint64) => euint64 test 2 (3660, 3656)', async function () { + const res = await this.contract5.sub_uint64_euint64(3660, this.instances5.alice.encrypt64(3656)); + expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (92221761, 195753020)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(92221761), 195753020); - expect(res).to.equal(18052688225468220n); + it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (3449, 4919)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(3449), 4919); + expect(res).to.equal(16965631n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 2 (92221757, 92221761)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(92221757), 92221761); - expect(res).to.equal(8504852833054077n); + it('test operator "mul" overload (euint64, uint64) => euint64 test 2 (2392, 2396)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(2392), 2396); + expect(res).to.equal(5731232n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 3 (92221761, 92221761)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(92221761), 92221761); - expect(res).to.equal(8504853201941121n); + it('test operator "mul" overload (euint64, uint64) => euint64 test 3 (2396, 2396)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(2396), 2396); + expect(res).to.equal(5740816n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 4 (92221761, 92221757)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(92221761), 92221757); - expect(res).to.equal(8504852833054077n); + it('test operator "mul" overload (euint64, uint64) => euint64 test 4 (2396, 2392)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(2396), 2392); + expect(res).to.equal(5731232n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (213768336, 195753020)', async function () { - const res = await this.contract5.mul_uint64_euint64(213768336, this.instances5.alice.encrypt64(195753020)); - expect(res).to.equal(41845797352374720n); + it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (2383, 4919)', async function () { + const res = await this.contract5.mul_uint64_euint64(2383, this.instances5.alice.encrypt64(4919)); + expect(res).to.equal(11721977n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 2 (92221757, 92221761)', async function () { - const res = await this.contract5.mul_uint64_euint64(92221757, this.instances5.alice.encrypt64(92221761)); - expect(res).to.equal(8504852833054077n); + it('test operator "mul" overload (uint64, euint64) => euint64 test 2 (2392, 2396)', async function () { + const res = await this.contract5.mul_uint64_euint64(2392, this.instances5.alice.encrypt64(2396)); + expect(res).to.equal(5731232n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 3 (92221761, 92221761)', async function () { - const res = await this.contract5.mul_uint64_euint64(92221761, this.instances5.alice.encrypt64(92221761)); - expect(res).to.equal(8504853201941121n); + it('test operator "mul" overload (uint64, euint64) => euint64 test 3 (2396, 2396)', async function () { + const res = await this.contract5.mul_uint64_euint64(2396, this.instances5.alice.encrypt64(2396)); + expect(res).to.equal(5740816n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 4 (92221761, 92221757)', async function () { - const res = await this.contract5.mul_uint64_euint64(92221761, this.instances5.alice.encrypt64(92221757)); - expect(res).to.equal(8504852833054077n); + it('test operator "mul" overload (uint64, euint64) => euint64 test 4 (2396, 2392)', async function () { + const res = await this.contract5.mul_uint64_euint64(2396, this.instances5.alice.encrypt64(2392)); + expect(res).to.equal(5731232n); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 1 (163939989, 238706096)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(163939989), 238706096); - expect(res).to.equal(0); + it('test operator "div" overload (euint64, uint64) => euint64 test 1 (3692, 2899)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(3692), 2899); + expect(res).to.equal(1n); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 2 (98898938, 98898942)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(98898938), 98898942); - expect(res).to.equal(0); + it('test operator "div" overload (euint64, uint64) => euint64 test 2 (3688, 3692)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(3688), 3692); + expect(res).to.equal(0n); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 3 (98898942, 98898942)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(98898942), 98898942); - expect(res).to.equal(1); + it('test operator "div" overload (euint64, uint64) => euint64 test 3 (3692, 3692)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(3692), 3692); + expect(res).to.equal(1n); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 4 (98898942, 98898938)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(98898942), 98898938); - expect(res).to.equal(1); + it('test operator "div" overload (euint64, uint64) => euint64 test 4 (3692, 3688)', async function () { + const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(3692), 3688); + expect(res).to.equal(1n); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (81522034, 93915045)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(81522034), 93915045); - expect(res).to.equal(81522034); + it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (2467, 230368)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(2467), 230368); + expect(res).to.equal(2467n); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 2 (81522030, 81522034)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(81522030), 81522034); - expect(res).to.equal(81522030); + it('test operator "rem" overload (euint64, uint64) => euint64 test 2 (2168, 2172)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(2168), 2172); + expect(res).to.equal(2168n); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 3 (81522034, 81522034)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(81522034), 81522034); - expect(res).to.equal(0); + it('test operator "rem" overload (euint64, uint64) => euint64 test 3 (2172, 2172)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(2172), 2172); + expect(res).to.equal(0n); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 4 (81522034, 81522030)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(81522034), 81522030); - expect(res).to.equal(4); + it('test operator "rem" overload (euint64, uint64) => euint64 test 4 (2172, 2168)', async function () { + const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(2172), 2168); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 1 (113183278, 36833882)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(113183278), 36833882); + it('test operator "eq" overload (euint64, uint64) => ebool test 1 (55032, 2077)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(55032), 2077); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 2 (1631858, 1631862)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1631858), 1631862); + it('test operator "eq" overload (euint64, uint64) => ebool test 2 (3651, 3655)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(3651), 3655); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 3 (1631862, 1631862)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1631862), 1631862); + it('test operator "eq" overload (euint64, uint64) => ebool test 3 (3655, 3655)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(3655), 3655); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 4 (1631862, 1631858)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(1631862), 1631858); + it('test operator "eq" overload (euint64, uint64) => ebool test 4 (3655, 3651)', async function () { + const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(3655), 3651); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 1 (95843694, 36833882)', async function () { - const res = await this.contract5.eq_uint64_euint64(95843694, this.instances5.alice.encrypt64(36833882)); + it('test operator "eq" overload (uint64, euint64) => ebool test 1 (6350, 2077)', async function () { + const res = await this.contract5.eq_uint64_euint64(6350, this.instances5.alice.encrypt64(2077)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 2 (1631858, 1631862)', async function () { - const res = await this.contract5.eq_uint64_euint64(1631858, this.instances5.alice.encrypt64(1631862)); + it('test operator "eq" overload (uint64, euint64) => ebool test 2 (3651, 3655)', async function () { + const res = await this.contract5.eq_uint64_euint64(3651, this.instances5.alice.encrypt64(3655)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 3 (1631862, 1631862)', async function () { - const res = await this.contract5.eq_uint64_euint64(1631862, this.instances5.alice.encrypt64(1631862)); + it('test operator "eq" overload (uint64, euint64) => ebool test 3 (3655, 3655)', async function () { + const res = await this.contract5.eq_uint64_euint64(3655, this.instances5.alice.encrypt64(3655)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 4 (1631862, 1631858)', async function () { - const res = await this.contract5.eq_uint64_euint64(1631862, this.instances5.alice.encrypt64(1631858)); + it('test operator "eq" overload (uint64, euint64) => ebool test 4 (3655, 3651)', async function () { + const res = await this.contract5.eq_uint64_euint64(3655, this.instances5.alice.encrypt64(3651)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 1 (129256608, 155795571)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(129256608), 155795571); + it('test operator "ne" overload (euint64, uint64) => ebool test 1 (3163, 3329)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(3163), 3329); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 2 (129256604, 129256608)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(129256604), 129256608); + it('test operator "ne" overload (euint64, uint64) => ebool test 2 (2112, 2116)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(2112), 2116); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 3 (129256608, 129256608)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(129256608), 129256608); + it('test operator "ne" overload (euint64, uint64) => ebool test 3 (2116, 2116)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(2116), 2116); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 4 (129256608, 129256604)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(129256608), 129256604); + it('test operator "ne" overload (euint64, uint64) => ebool test 4 (2116, 2112)', async function () { + const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(2116), 2112); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 1 (38125121, 155795571)', async function () { - const res = await this.contract5.ne_uint64_euint64(38125121, this.instances5.alice.encrypt64(155795571)); + it('test operator "ne" overload (uint64, euint64) => ebool test 1 (2985, 3329)', async function () { + const res = await this.contract5.ne_uint64_euint64(2985, this.instances5.alice.encrypt64(3329)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 2 (129256604, 129256608)', async function () { - const res = await this.contract5.ne_uint64_euint64(129256604, this.instances5.alice.encrypt64(129256608)); + it('test operator "ne" overload (uint64, euint64) => ebool test 2 (2112, 2116)', async function () { + const res = await this.contract5.ne_uint64_euint64(2112, this.instances5.alice.encrypt64(2116)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 3 (129256608, 129256608)', async function () { - const res = await this.contract5.ne_uint64_euint64(129256608, this.instances5.alice.encrypt64(129256608)); + it('test operator "ne" overload (uint64, euint64) => ebool test 3 (2116, 2116)', async function () { + const res = await this.contract5.ne_uint64_euint64(2116, this.instances5.alice.encrypt64(2116)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 4 (129256608, 129256604)', async function () { - const res = await this.contract5.ne_uint64_euint64(129256608, this.instances5.alice.encrypt64(129256604)); + it('test operator "ne" overload (uint64, euint64) => ebool test 4 (2116, 2112)', async function () { + const res = await this.contract5.ne_uint64_euint64(2116, this.instances5.alice.encrypt64(2112)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 1 (116051290, 135280853)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(116051290), 135280853); + it('test operator "ge" overload (euint64, uint64) => ebool test 1 (3383, 3479)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3383), 3479); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 2 (116051286, 116051290)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(116051286), 116051290); + it('test operator "ge" overload (euint64, uint64) => ebool test 2 (3379, 3383)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3379), 3383); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 3 (116051290, 116051290)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(116051290), 116051290); + it('test operator "ge" overload (euint64, uint64) => ebool test 3 (3383, 3383)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3383), 3383); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 4 (116051290, 116051286)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(116051290), 116051286); + it('test operator "ge" overload (euint64, uint64) => ebool test 4 (3383, 3379)', async function () { + const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3383), 3379); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 1 (182502154, 135280853)', async function () { - const res = await this.contract5.ge_uint64_euint64(182502154, this.instances5.alice.encrypt64(135280853)); + it('test operator "ge" overload (uint64, euint64) => ebool test 1 (27028, 3479)', async function () { + const res = await this.contract5.ge_uint64_euint64(27028, this.instances5.alice.encrypt64(3479)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 2 (116051286, 116051290)', async function () { - const res = await this.contract5.ge_uint64_euint64(116051286, this.instances5.alice.encrypt64(116051290)); + it('test operator "ge" overload (uint64, euint64) => ebool test 2 (3379, 3383)', async function () { + const res = await this.contract5.ge_uint64_euint64(3379, this.instances5.alice.encrypt64(3383)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 3 (116051290, 116051290)', async function () { - const res = await this.contract5.ge_uint64_euint64(116051290, this.instances5.alice.encrypt64(116051290)); + it('test operator "ge" overload (uint64, euint64) => ebool test 3 (3383, 3383)', async function () { + const res = await this.contract5.ge_uint64_euint64(3383, this.instances5.alice.encrypt64(3383)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 4 (116051290, 116051286)', async function () { - const res = await this.contract5.ge_uint64_euint64(116051290, this.instances5.alice.encrypt64(116051286)); + it('test operator "ge" overload (uint64, euint64) => ebool test 4 (3383, 3379)', async function () { + const res = await this.contract5.ge_uint64_euint64(3383, this.instances5.alice.encrypt64(3379)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 1 (208318592, 117293406)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(208318592), 117293406); - expect(res).to.equal(true); + it('test operator "gt" overload (euint64, uint64) => ebool test 1 (2050, 4117)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(2050), 4117); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 2 (117484224, 117484228)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(117484224), 117484228); + it('test operator "gt" overload (euint64, uint64) => ebool test 2 (2046, 2050)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(2046), 2050); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 3 (117484228, 117484228)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(117484228), 117484228); + it('test operator "gt" overload (euint64, uint64) => ebool test 3 (2050, 2050)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(2050), 2050); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 4 (117484228, 117484224)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(117484228), 117484224); + it('test operator "gt" overload (euint64, uint64) => ebool test 4 (2050, 2046)', async function () { + const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(2050), 2046); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 1 (29790592, 117293406)', async function () { - const res = await this.contract5.gt_uint64_euint64(29790592, this.instances5.alice.encrypt64(117293406)); - expect(res).to.equal(false); + it('test operator "gt" overload (uint64, euint64) => ebool test 1 (44963, 4117)', async function () { + const res = await this.contract5.gt_uint64_euint64(44963, this.instances5.alice.encrypt64(4117)); + expect(res).to.equal(true); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 2 (117484224, 117484228)', async function () { - const res = await this.contract5.gt_uint64_euint64(117484224, this.instances5.alice.encrypt64(117484228)); + it('test operator "gt" overload (uint64, euint64) => ebool test 2 (2046, 2050)', async function () { + const res = await this.contract5.gt_uint64_euint64(2046, this.instances5.alice.encrypt64(2050)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 3 (117484228, 117484228)', async function () { - const res = await this.contract5.gt_uint64_euint64(117484228, this.instances5.alice.encrypt64(117484228)); + it('test operator "gt" overload (uint64, euint64) => ebool test 3 (2050, 2050)', async function () { + const res = await this.contract5.gt_uint64_euint64(2050, this.instances5.alice.encrypt64(2050)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 4 (117484228, 117484224)', async function () { - const res = await this.contract5.gt_uint64_euint64(117484228, this.instances5.alice.encrypt64(117484224)); + it('test operator "gt" overload (uint64, euint64) => ebool test 4 (2050, 2046)', async function () { + const res = await this.contract5.gt_uint64_euint64(2050, this.instances5.alice.encrypt64(2046)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 1 (217701220, 169995885)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(217701220), 169995885); - expect(res).to.equal(false); + it('test operator "le" overload (euint64, uint64) => ebool test 1 (4742, 42694)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(4742), 42694); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 2 (184213533, 184213537)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(184213533), 184213537); + it('test operator "le" overload (euint64, uint64) => ebool test 2 (3622, 3626)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3622), 3626); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 3 (184213537, 184213537)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(184213537), 184213537); + it('test operator "le" overload (euint64, uint64) => ebool test 3 (3626, 3626)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3626), 3626); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 4 (184213537, 184213533)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(184213537), 184213533); + it('test operator "le" overload (euint64, uint64) => ebool test 4 (3626, 3622)', async function () { + const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3626), 3622); expect(res).to.equal(false); }); - it('test operator "le" overload (uint64, euint64) => ebool test 1 (133029453, 169995885)', async function () { - const res = await this.contract5.le_uint64_euint64(133029453, this.instances5.alice.encrypt64(169995885)); + it('test operator "le" overload (uint64, euint64) => ebool test 1 (2150, 42694)', async function () { + const res = await this.contract5.le_uint64_euint64(2150, this.instances5.alice.encrypt64(42694)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint64, euint64) => ebool test 2 (184213533, 184213537)', async function () { - const res = await this.contract5.le_uint64_euint64(184213533, this.instances5.alice.encrypt64(184213537)); + it('test operator "le" overload (uint64, euint64) => ebool test 2 (3622, 3626)', async function () { + const res = await this.contract5.le_uint64_euint64(3622, this.instances5.alice.encrypt64(3626)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint64, euint64) => ebool test 3 (184213537, 184213537)', async function () { - const res = await this.contract5.le_uint64_euint64(184213537, this.instances5.alice.encrypt64(184213537)); + it('test operator "le" overload (uint64, euint64) => ebool test 3 (3626, 3626)', async function () { + const res = await this.contract5.le_uint64_euint64(3626, this.instances5.alice.encrypt64(3626)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint64, euint64) => ebool test 4 (184213537, 184213533)', async function () { - const res = await this.contract5.le_uint64_euint64(184213537, this.instances5.alice.encrypt64(184213533)); + it('test operator "le" overload (uint64, euint64) => ebool test 4 (3626, 3622)', async function () { + const res = await this.contract5.le_uint64_euint64(3626, this.instances5.alice.encrypt64(3622)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 1 (264374974, 177602426)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(264374974), 177602426); + it('test operator "lt" overload (euint64, uint64) => ebool test 1 (16329, 2853)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(16329), 2853); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 2 (138721888, 138721892)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(138721888), 138721892); + it('test operator "lt" overload (euint64, uint64) => ebool test 2 (2078, 2082)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(2078), 2082); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 3 (138721892, 138721892)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(138721892), 138721892); + it('test operator "lt" overload (euint64, uint64) => ebool test 3 (2082, 2082)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(2082), 2082); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 4 (138721892, 138721888)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(138721892), 138721888); + it('test operator "lt" overload (euint64, uint64) => ebool test 4 (2082, 2078)', async function () { + const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(2082), 2078); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 1 (220331487, 177602426)', async function () { - const res = await this.contract5.lt_uint64_euint64(220331487, this.instances5.alice.encrypt64(177602426)); + it('test operator "lt" overload (uint64, euint64) => ebool test 1 (27593, 2853)', async function () { + const res = await this.contract5.lt_uint64_euint64(27593, this.instances5.alice.encrypt64(2853)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 2 (138721888, 138721892)', async function () { - const res = await this.contract5.lt_uint64_euint64(138721888, this.instances5.alice.encrypt64(138721892)); + it('test operator "lt" overload (uint64, euint64) => ebool test 2 (2078, 2082)', async function () { + const res = await this.contract5.lt_uint64_euint64(2078, this.instances5.alice.encrypt64(2082)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 3 (138721892, 138721892)', async function () { - const res = await this.contract5.lt_uint64_euint64(138721892, this.instances5.alice.encrypt64(138721892)); + it('test operator "lt" overload (uint64, euint64) => ebool test 3 (2082, 2082)', async function () { + const res = await this.contract5.lt_uint64_euint64(2082, this.instances5.alice.encrypt64(2082)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 4 (138721892, 138721888)', async function () { - const res = await this.contract5.lt_uint64_euint64(138721892, this.instances5.alice.encrypt64(138721888)); + it('test operator "lt" overload (uint64, euint64) => ebool test 4 (2082, 2078)', async function () { + const res = await this.contract5.lt_uint64_euint64(2082, this.instances5.alice.encrypt64(2078)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 1 (67905839, 116349816)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(67905839), 116349816); - expect(res).to.equal(67905839); + it('test operator "min" overload (euint64, uint64) => euint64 test 1 (2618, 4687)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(2618), 4687); + expect(res).to.equal(2618n); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 2 (52961861, 52961865)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(52961861), 52961865); - expect(res).to.equal(52961861); + it('test operator "min" overload (euint64, uint64) => euint64 test 2 (2614, 2618)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(2614), 2618); + expect(res).to.equal(2614n); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 3 (52961865, 52961865)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(52961865), 52961865); - expect(res).to.equal(52961865); + it('test operator "min" overload (euint64, uint64) => euint64 test 3 (2618, 2618)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(2618), 2618); + expect(res).to.equal(2618n); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 4 (52961865, 52961861)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(52961865), 52961861); - expect(res).to.equal(52961861); + it('test operator "min" overload (euint64, uint64) => euint64 test 4 (2618, 2614)', async function () { + const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(2618), 2614); + expect(res).to.equal(2614n); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 1 (78138466, 116349816)', async function () { - const res = await this.contract5.min_uint64_euint64(78138466, this.instances5.alice.encrypt64(116349816)); - expect(res).to.equal(78138466); + it('test operator "min" overload (uint64, euint64) => euint64 test 1 (3232, 4687)', async function () { + const res = await this.contract5.min_uint64_euint64(3232, this.instances5.alice.encrypt64(4687)); + expect(res).to.equal(3232n); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 2 (52961861, 52961865)', async function () { - const res = await this.contract5.min_uint64_euint64(52961861, this.instances5.alice.encrypt64(52961865)); - expect(res).to.equal(52961861); + it('test operator "min" overload (uint64, euint64) => euint64 test 2 (2614, 2618)', async function () { + const res = await this.contract5.min_uint64_euint64(2614, this.instances5.alice.encrypt64(2618)); + expect(res).to.equal(2614n); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 3 (52961865, 52961865)', async function () { - const res = await this.contract5.min_uint64_euint64(52961865, this.instances5.alice.encrypt64(52961865)); - expect(res).to.equal(52961865); + it('test operator "min" overload (uint64, euint64) => euint64 test 3 (2618, 2618)', async function () { + const res = await this.contract5.min_uint64_euint64(2618, this.instances5.alice.encrypt64(2618)); + expect(res).to.equal(2618n); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 4 (52961865, 52961861)', async function () { - const res = await this.contract5.min_uint64_euint64(52961865, this.instances5.alice.encrypt64(52961861)); - expect(res).to.equal(52961861); + it('test operator "min" overload (uint64, euint64) => euint64 test 4 (2618, 2614)', async function () { + const res = await this.contract5.min_uint64_euint64(2618, this.instances5.alice.encrypt64(2614)); + expect(res).to.equal(2614n); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 1 (215341582, 64923876)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(215341582), 64923876); - expect(res).to.equal(215341582); + it('test operator "max" overload (euint64, uint64) => euint64 test 1 (2374, 5605)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(2374), 5605); + expect(res).to.equal(5605n); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 2 (39049830, 39049834)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(39049830), 39049834); - expect(res).to.equal(39049834); + it('test operator "max" overload (euint64, uint64) => euint64 test 2 (2370, 2374)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(2370), 2374); + expect(res).to.equal(2374n); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 3 (39049834, 39049834)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(39049834), 39049834); - expect(res).to.equal(39049834); + it('test operator "max" overload (euint64, uint64) => euint64 test 3 (2374, 2374)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(2374), 2374); + expect(res).to.equal(2374n); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 4 (39049834, 39049830)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(39049834), 39049830); - expect(res).to.equal(39049834); + it('test operator "max" overload (euint64, uint64) => euint64 test 4 (2374, 2370)', async function () { + const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(2374), 2370); + expect(res).to.equal(2374n); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 1 (174351991, 64923876)', async function () { - const res = await this.contract5.max_uint64_euint64(174351991, this.instances5.alice.encrypt64(64923876)); - expect(res).to.equal(174351991); + it('test operator "max" overload (uint64, euint64) => euint64 test 1 (7998, 5605)', async function () { + const res = await this.contract5.max_uint64_euint64(7998, this.instances5.alice.encrypt64(5605)); + expect(res).to.equal(7998n); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 2 (39049830, 39049834)', async function () { - const res = await this.contract5.max_uint64_euint64(39049830, this.instances5.alice.encrypt64(39049834)); - expect(res).to.equal(39049834); + it('test operator "max" overload (uint64, euint64) => euint64 test 2 (2370, 2374)', async function () { + const res = await this.contract5.max_uint64_euint64(2370, this.instances5.alice.encrypt64(2374)); + expect(res).to.equal(2374n); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 3 (39049834, 39049834)', async function () { - const res = await this.contract5.max_uint64_euint64(39049834, this.instances5.alice.encrypt64(39049834)); - expect(res).to.equal(39049834); + it('test operator "max" overload (uint64, euint64) => euint64 test 3 (2374, 2374)', async function () { + const res = await this.contract5.max_uint64_euint64(2374, this.instances5.alice.encrypt64(2374)); + expect(res).to.equal(2374n); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 4 (39049834, 39049830)', async function () { - const res = await this.contract5.max_uint64_euint64(39049834, this.instances5.alice.encrypt64(39049830)); - expect(res).to.equal(39049834); + it('test operator "max" overload (uint64, euint64) => euint64 test 4 (2374, 2370)', async function () { + const res = await this.contract5.max_uint64_euint64(2374, this.instances5.alice.encrypt64(2370)); + expect(res).to.equal(2374n); }); - it('test operator "shl" overload (euint4, uint8) => euint4 test 1 (7, 4)', async function () { - const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(7), 4); - expect(res).to.equal(7); + it('test operator "shl" overload (euint4, uint8) => euint4 test 1 (1, 3)', async function () { + const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(1), 3); + expect(res).to.equal(8); }); it('test operator "shl" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { @@ -13220,9 +13220,9 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "shr" overload (euint4, uint8) => euint4 test 1 (8, 2)', async function () { - const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(8), 2); - expect(res).to.equal(2); + it('test operator "shr" overload (euint4, uint8) => euint4 test 1 (5, 6)', async function () { + const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(5), 6); + expect(res).to.equal(1); }); it('test operator "shr" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { @@ -13240,12 +13240,12 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (107, 3)', async function () { + it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (1, 2)', async function () { const res = await this.contract5.shl_euint8_euint8( - this.instances5.alice.encrypt8(107), - this.instances5.alice.encrypt8(3), + this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt8(2), ); - expect(res).to.equal(88); + expect(res).to.equal(4); }); it('test operator "shl" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -13272,9 +13272,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (107, 3)', async function () { - const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(107), 3); - expect(res).to.equal(88); + it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (1, 2)', async function () { + const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(1), 2); + expect(res).to.equal(4); }); it('test operator "shl" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { @@ -13292,12 +13292,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (226, 1)', async function () { + it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (1, 1)', async function () { const res = await this.contract5.shr_euint8_euint8( - this.instances5.alice.encrypt8(226), + this.instances5.alice.encrypt8(1), this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(113); + expect(res).to.equal(0); }); it('test operator "shr" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -13324,9 +13324,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (226, 1)', async function () { - const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(226), 1); - expect(res).to.equal(113); + it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (1, 1)', async function () { + const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(1), 1); + expect(res).to.equal(0); }); it('test operator "shr" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { @@ -13344,12 +13344,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (31359, 1)', async function () { + it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (1, 5)', async function () { const res = await this.contract5.shl_euint16_euint8( - this.instances5.alice.encrypt16(31359), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt16(1), + this.instances5.alice.encrypt8(5), ); - expect(res).to.equal(62718); + expect(res).to.equal(32); }); it('test operator "shl" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { @@ -13376,9 +13376,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (31359, 1)', async function () { - const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(31359), 1); - expect(res).to.equal(62718); + it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (1, 5)', async function () { + const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(1), 5); + expect(res).to.equal(32); }); it('test operator "shl" overload (euint16, uint8) => euint16 test 2 (4, 8)', async function () { @@ -13396,12 +13396,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (47516, 3)', async function () { + it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (278, 4)', async function () { const res = await this.contract5.shr_euint16_euint8( - this.instances5.alice.encrypt16(47516), - this.instances5.alice.encrypt8(3), + this.instances5.alice.encrypt16(278), + this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(5939); + expect(res).to.equal(17); }); it('test operator "shr" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { @@ -13428,9 +13428,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (47516, 3)', async function () { - const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(47516), 3); - expect(res).to.equal(5939); + it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (278, 4)', async function () { + const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(278), 4); + expect(res).to.equal(17); }); it('test operator "shr" overload (euint16, uint8) => euint16 test 2 (4, 8)', async function () { @@ -13448,12 +13448,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (226777595, 3)', async function () { + it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (1, 6)', async function () { const res = await this.contract5.shl_euint32_euint8( - this.instances5.alice.encrypt32(226777595), - this.instances5.alice.encrypt8(3), + this.instances5.alice.encrypt32(1), + this.instances5.alice.encrypt8(6), ); - expect(res).to.equal(1814220760); + expect(res).to.equal(64); }); it('test operator "shl" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { @@ -13480,9 +13480,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (226777595, 3)', async function () { - const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(226777595), 3); - expect(res).to.equal(1814220760); + it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (1, 6)', async function () { + const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(1), 6); + expect(res).to.equal(64); }); it('test operator "shl" overload (euint32, uint8) => euint32 test 2 (4, 8)', async function () { @@ -13500,12 +13500,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (145753602, 4)', async function () { + it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (2, 6)', async function () { const res = await this.contract5.shr_euint32_euint8( - this.instances5.alice.encrypt32(145753602), - this.instances5.alice.encrypt8(4), + this.instances5.alice.encrypt32(2), + this.instances5.alice.encrypt8(6), ); - expect(res).to.equal(9109600); + expect(res).to.equal(0); }); it('test operator "shr" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { @@ -13532,9 +13532,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (145753602, 4)', async function () { - const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(145753602), 4); - expect(res).to.equal(9109600); + it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (2, 6)', async function () { + const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(2), 6); + expect(res).to.equal(0); }); it('test operator "shr" overload (euint32, uint8) => euint32 test 2 (4, 8)', async function () { @@ -13552,12 +13552,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (39313001, 2)', async function () { + it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (4744, 2)', async function () { const res = await this.contract5.shl_euint64_euint8( - this.instances5.alice.encrypt64(39313001), + this.instances5.alice.encrypt64(4744), this.instances5.alice.encrypt8(2), ); - expect(res).to.equal(157252004); + expect(res).to.equal(18976); }); it('test operator "shl" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { @@ -13584,9 +13584,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (39313001, 2)', async function () { - const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(39313001), 2); - expect(res).to.equal(157252004); + it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (4744, 2)', async function () { + const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(4744), 2); + expect(res).to.equal(18976); }); it('test operator "shl" overload (euint64, uint8) => euint64 test 2 (4, 8)', async function () { @@ -13604,12 +13604,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (231610183, 4)', async function () { + it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (23325, 5)', async function () { const res = await this.contract5.shr_euint64_euint8( - this.instances5.alice.encrypt64(231610183), - this.instances5.alice.encrypt8(4), + this.instances5.alice.encrypt64(23325), + this.instances5.alice.encrypt8(5), ); - expect(res).to.equal(14475636); + expect(res).to.equal(728); }); it('test operator "shr" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { @@ -13636,9 +13636,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (231610183, 4)', async function () { - const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(231610183), 4); - expect(res).to.equal(14475636); + it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (23325, 5)', async function () { + const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(23325), 5); + expect(res).to.equal(728); }); it('test operator "shr" overload (euint64, uint8) => euint64 test 2 (4, 8)', async function () { @@ -13656,53 +13656,53 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "neg" overload (euint4) => euint4 test 1 (3)', async function () { - const res = await this.contract5.neg_euint4(this.instances5.alice.encrypt4(3)); - expect(res).to.equal(13n); + it('test operator "neg" overload (euint4) => euint4 test 1 (1)', async function () { + const res = await this.contract5.neg_euint4(this.instances5.alice.encrypt4(1)); + expect(res).to.equal(15n); }); - it('test operator "not" overload (euint4) => euint4 test 1 (12)', async function () { - const res = await this.contract5.not_euint4(this.instances5.alice.encrypt4(12)); - expect(res).to.equal(3n); + it('test operator "not" overload (euint4) => euint4 test 1 (1)', async function () { + const res = await this.contract5.not_euint4(this.instances5.alice.encrypt4(1)); + expect(res).to.equal(14n); }); - it('test operator "neg" overload (euint8) => euint8 test 1 (165)', async function () { - const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(165)); - expect(res).to.equal(91n); + it('test operator "neg" overload (euint8) => euint8 test 1 (1)', async function () { + const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(1)); + expect(res).to.equal(255n); }); - it('test operator "not" overload (euint8) => euint8 test 1 (74)', async function () { - const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(74)); - expect(res).to.equal(181n); + it('test operator "not" overload (euint8) => euint8 test 1 (1)', async function () { + const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(1)); + expect(res).to.equal(254n); }); - it('test operator "neg" overload (euint16) => euint16 test 1 (17405)', async function () { - const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(17405)); - expect(res).to.equal(48131n); + it('test operator "neg" overload (euint16) => euint16 test 1 (1)', async function () { + const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(1)); + expect(res).to.equal(65535n); }); - it('test operator "not" overload (euint16) => euint16 test 1 (51762)', async function () { - const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(51762)); - expect(res).to.equal(13773n); + it('test operator "not" overload (euint16) => euint16 test 1 (5)', async function () { + const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(5)); + expect(res).to.equal(65530n); }); - it('test operator "neg" overload (euint32) => euint32 test 1 (202665091)', async function () { - const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(202665091)); - expect(res).to.equal(4092302205n); + it('test operator "neg" overload (euint32) => euint32 test 1 (1)', async function () { + const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(1)); + expect(res).to.equal(4294967295n); }); - it('test operator "not" overload (euint32) => euint32 test 1 (34192436)', async function () { - const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(34192436)); - expect(res).to.equal(4260774859n); + it('test operator "not" overload (euint32) => euint32 test 1 (1)', async function () { + const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(1)); + expect(res).to.equal(4294967294n); }); - it('test operator "neg" overload (euint64) => euint64 test 1 (6247856)', async function () { - const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(6247856)); - expect(res).to.equal(18446744073703303760n); + it('test operator "neg" overload (euint64) => euint64 test 1 (40511)', async function () { + const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(40511)); + expect(res).to.equal(18446744073709511105n); }); - it('test operator "not" overload (euint64) => euint64 test 1 (131894418)', async function () { - const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(131894418)); - expect(res).to.equal(18446744073577657197n); + it('test operator "not" overload (euint64) => euint64 test 1 (51608)', async function () { + const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(51608)); + expect(res).to.equal(18446744073709500007n); }); }); From 9212a32e7c837d721ecd21b5e463867141ecf89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Fri, 1 Mar 2024 13:50:20 +0100 Subject: [PATCH 11/12] fix: fix typo and add test for cast ebool from euint4 and euint8 --- examples/tests/TFHEManualTestSuite.sol | 14 ++++++++--- test/tfheOperations/manual.ts | 32 +++++++++++++++++++++----- 2 files changed, 37 insertions(+), 9 deletions(-) diff --git a/examples/tests/TFHEManualTestSuite.sol b/examples/tests/TFHEManualTestSuite.sol index 628a6cc6..76b96491 100644 --- a/examples/tests/TFHEManualTestSuite.sol +++ b/examples/tests/TFHEManualTestSuite.sol @@ -15,15 +15,23 @@ contract TFHEManualTestSuite { return TFHE.decrypt(TFHE.cmux(controlProc, ifTrueProc, ifFalseProc)); } - function test_eboolo_euint16_cast(bool input) public view returns (uint16) { + function test_ebool_to_euint4_cast(bool input) public view returns (uint16) { + return TFHE.decrypt(TFHE.asEuint4(TFHE.asEbool(input))); + } + + function test_ebool_to_euint8_cast(bool input) public view returns (uint16) { + return TFHE.decrypt(TFHE.asEuint8(TFHE.asEbool(input))); + } + + function test_ebool_to_euint16_cast(bool input) public view returns (uint16) { return TFHE.decrypt(TFHE.asEuint16(TFHE.asEbool(input))); } - function test_eboolo_euint32_cast(bool input) public view returns (uint32) { + function test_ebool_to_euint32_cast(bool input) public view returns (uint32) { return TFHE.decrypt(TFHE.asEuint32(TFHE.asEbool(input))); } - function test_eboolo_euint64_cast(bool input) public view returns (uint64) { + function test_ebool_to_euint64_cast(bool input) public view returns (uint64) { return TFHE.decrypt(TFHE.asEuint64(TFHE.asEbool(input))); } diff --git a/test/tfheOperations/manual.ts b/test/tfheOperations/manual.ts index 08a8b9ae..17dd7b89 100644 --- a/test/tfheOperations/manual.ts +++ b/test/tfheOperations/manual.ts @@ -48,33 +48,53 @@ describe('TFHE manual operations', function () { expect(res).to.equal(3); }); + it('ebool to euint4 casting works with true', async function () { + const res = await this.contract.test_ebool_to_euint4_cast(true); + expect(res).to.equal(1); + }); + + it('ebool to euint4 casting works with false', async function () { + const res = await this.contract.test_ebool_to_euint4_cast(false); + expect(res).to.equal(0); + }); + + it('ebool to euint8 casting works with true', async function () { + const res = await this.contract.test_ebool_to_euint8_cast(true); + expect(res).to.equal(1); + }); + + it('ebool to euint8 casting works with false', async function () { + const res = await this.contract.test_ebool_to_euint8_cast(false); + expect(res).to.equal(0); + }); + it('ebool to euint16 casting works with true', async function () { - const res = await this.contract.test_eboolo_euint16_cast(true); + const res = await this.contract.test_ebool_to_euint16_cast(true); expect(res).to.equal(1); }); it('ebool to euint16 casting works with false', async function () { - const res = await this.contract.test_eboolo_euint16_cast(false); + const res = await this.contract.test_ebool_to_euint16_cast(false); expect(res).to.equal(0); }); it('ebool to euint32 casting works with true', async function () { - const res = await this.contract.test_eboolo_euint32_cast(true); + const res = await this.contract.test_ebool_to_euint32_cast(true); expect(res).to.equal(1); }); it('ebool to euint32 casting works with false', async function () { - const res = await this.contract.test_eboolo_euint32_cast(false); + const res = await this.contract.test_ebool_to_euint32_cast(false); expect(res).to.equal(0); }); it('ebool to euint64 casting works with true', async function () { - const res = await this.contract.test_eboolo_euint64_cast(true); + const res = await this.contract.test_ebool_to_euint64_cast(true); expect(res).to.equal(1); }); it('ebool to euint32 casting works with false', async function () { - const res = await this.contract.test_eboolo_euint64_cast(false); + const res = await this.contract.test_ebool_to_euint64_cast(false); expect(res).to.equal(0); }); From c0ec02a8e6ae4a95187097f7eb6e185df102ad2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Fri, 1 Mar 2024 14:15:49 +0100 Subject: [PATCH 12/12] fix: change strategy for random number --- codegen/generateOverloads.ts | 8 +- codegen/overloads.json | 3152 +++---- test/tfheOperations/tfheOperations.ts | 10402 ++++++++++++------------ 3 files changed, 6908 insertions(+), 6654 deletions(-) diff --git a/codegen/generateOverloads.ts b/codegen/generateOverloads.ts index 905f341a..c5c7af95 100644 --- a/codegen/generateOverloads.ts +++ b/codegen/generateOverloads.ts @@ -46,8 +46,9 @@ const bigIntMax = (...args: bigint[]) => { const generateNumber = (bits: number) => { const power = BigInt(Math.pow(2, bits) - 1); const maxRange = bigIntMin(power, BigInt(Number.MAX_SAFE_INTEGER)); - const divider = bigIntMax(BigInt(Math.floor(Math.random() * Number(maxRange))), 1n); - return bigIntMax(power / divider, 1n); + const substract = bigIntMax(BigInt(Math.floor(Math.random() * Number(maxRange))), 1n); + console.log(bits, power, substract); + return bigIntMax(power - substract, 1n); }; const safeEval = ( @@ -209,8 +210,8 @@ export const generateTests = () => { Object.keys(SUPPORTED_FUNCTIONS).forEach((functionName: string) => { const test = SUPPORTED_FUNCTIONS[functionName]; test.supportedBits.forEach((lhs: number) => { - let lhsNumber = generateNumber(lhs); if (test.unary) { + let lhsNumber = generateNumber(lhs); const encryptedTestName = [functionName, `euint${lhs}`].join('_'); const encryptedTests: Test[] = []; encryptedTests.push({ @@ -221,6 +222,7 @@ export const generateTests = () => { } else { test.supportedBits.forEach((rhs: number) => { const bitResults = Math.min(lhs, rhs); + let lhsNumber = generateNumber(lhs); let rhsNumber = generateNumber(rhs); if (test.limit === 'bits') { rhsNumber = BigInt(1 + Math.floor(Math.random() * (rhs - 1))); diff --git a/codegen/overloads.json b/codegen/overloads.json index 4e33c67e..7abcda16 100644 --- a/codegen/overloads.json +++ b/codegen/overloads.json @@ -1,213 +1,213 @@ { "add_euint4_euint4": [ - { "inputs": ["8", "2"], "output": "10" }, + { "inputs": ["11", "1"], "output": "12" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["5", "5"], "output": "10" }, { "inputs": ["8", "4"], "output": "12" } ], "add_euint4_euint8": [ - { "inputs": ["8", "3"], "output": "11" }, + { "inputs": ["2", "12"], "output": "14" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["5", "5"], "output": "10" }, { "inputs": ["8", "4"], "output": "12" } ], "add_euint4_uint8": [ - { "inputs": ["8", "2"], "output": "10" }, + { "inputs": ["7", "7"], "output": "14" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["5", "5"], "output": "10" }, { "inputs": ["8", "4"], "output": "12" } ], "add_euint4_euint16": [ - { "inputs": ["8", "1"], "output": "9" }, - { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["2", "9"], "output": "11" }, + { "inputs": ["6", "8"], "output": "14" }, { "inputs": ["5", "5"], "output": "10" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["8", "6"], "output": "14" } ], "add_euint4_euint32": [ - { "inputs": ["8", "1"], "output": "9" }, + { "inputs": ["2", "11"], "output": "13" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["5", "5"], "output": "10" }, { "inputs": ["8", "4"], "output": "12" } ], "add_euint4_euint64": [ - { "inputs": ["2", "10"], "output": "12" }, - { "inputs": ["6", "8"], "output": "14" }, - { "inputs": ["5", "5"], "output": "10" }, - { "inputs": ["8", "6"], "output": "14" } + { "inputs": ["2", "9"], "output": "11" }, + { "inputs": ["4", "6"], "output": "10" }, + { "inputs": ["6", "6"], "output": "12" }, + { "inputs": ["6", "4"], "output": "10" } ], "add_euint8_euint4": [ - { "inputs": ["2", "1"], "output": "3" }, + { "inputs": ["9", "2"], "output": "11" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["5", "5"], "output": "10" }, { "inputs": ["8", "4"], "output": "12" } ], "add_uint8_euint4": [ - { "inputs": ["8", "1"], "output": "9" }, + { "inputs": ["12", "3"], "output": "15" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["5", "5"], "output": "10" }, { "inputs": ["8", "4"], "output": "12" } ], "add_euint8_euint8": [ - { "inputs": ["15", "3"], "output": "18" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["93", "114"], "output": "207" }, + { "inputs": ["91", "93"], "output": "184" }, + { "inputs": ["93", "93"], "output": "186" }, + { "inputs": ["93", "91"], "output": "184" } ], "add_euint8_uint8": [ - { "inputs": ["15", "1"], "output": "16" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["93", "112"], "output": "205" }, + { "inputs": ["91", "93"], "output": "184" }, + { "inputs": ["93", "93"], "output": "186" }, + { "inputs": ["93", "91"], "output": "184" } ], "add_uint8_euint8": [ - { "inputs": ["36", "1"], "output": "37" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["34", "112"], "output": "146" }, + { "inputs": ["91", "93"], "output": "184" }, + { "inputs": ["93", "93"], "output": "186" }, + { "inputs": ["93", "91"], "output": "184" } ], "add_euint8_euint16": [ - { "inputs": ["36", "1"], "output": "37" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["2", "208"], "output": "210" }, + { "inputs": ["83", "85"], "output": "168" }, + { "inputs": ["85", "85"], "output": "170" }, + { "inputs": ["85", "83"], "output": "168" } ], "add_euint8_euint32": [ - { "inputs": ["36", "2"], "output": "38" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["2", "161"], "output": "163" }, + { "inputs": ["96", "100"], "output": "196" }, + { "inputs": ["100", "100"], "output": "200" }, + { "inputs": ["100", "96"], "output": "196" } ], "add_euint8_euint64": [ - { "inputs": ["3", "168"], "output": "171" }, - { "inputs": ["32", "36"], "output": "68" }, - { "inputs": ["36", "36"], "output": "72" }, - { "inputs": ["36", "32"], "output": "68" } + { "inputs": ["2", "129"], "output": "131" }, + { "inputs": ["115", "119"], "output": "234" }, + { "inputs": ["119", "119"], "output": "238" }, + { "inputs": ["119", "115"], "output": "234" } ], "add_euint16_euint4": [ - { "inputs": ["3", "2"], "output": "5" }, + { "inputs": ["13", "2"], "output": "15" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["5", "5"], "output": "10" }, { "inputs": ["8", "4"], "output": "12" } ], "add_euint16_euint8": [ - { "inputs": ["3", "1"], "output": "4" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["171", "2"], "output": "173" }, + { "inputs": ["7", "11"], "output": "18" }, + { "inputs": ["11", "11"], "output": "22" }, + { "inputs": ["11", "7"], "output": "18" } ], "add_euint16_euint16": [ - { "inputs": ["3", "3"], "output": "6" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["27226", "22058"], "output": "49284" }, + { "inputs": ["22056", "22058"], "output": "44114" }, + { "inputs": ["22058", "22058"], "output": "44116" }, + { "inputs": ["22058", "22056"], "output": "44114" } ], "add_euint16_uint16": [ - { "inputs": ["3", "2"], "output": "5" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["54451", "6303"], "output": "60754" }, + { "inputs": ["22056", "22058"], "output": "44114" }, + { "inputs": ["22058", "22058"], "output": "44116" }, + { "inputs": ["22058", "22056"], "output": "44114" } ], "add_uint16_euint16": [ - { "inputs": ["2", "2"], "output": "4" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["29751", "3152"], "output": "32903" }, + { "inputs": ["22056", "22058"], "output": "44114" }, + { "inputs": ["22058", "22058"], "output": "44116" }, + { "inputs": ["22058", "22056"], "output": "44114" } ], "add_euint16_euint32": [ - { "inputs": ["2", "2"], "output": "4" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["2", "41075"], "output": "41077" }, + { "inputs": ["25150", "25154"], "output": "50304" }, + { "inputs": ["25154", "25154"], "output": "50308" }, + { "inputs": ["25154", "25150"], "output": "50304" } ], "add_euint16_euint64": [ - { "inputs": ["2", "5596"], "output": "5598" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["2", "65518"], "output": "65520" }, + { "inputs": ["22742", "22744"], "output": "45486" }, + { "inputs": ["22744", "22744"], "output": "45488" }, + { "inputs": ["22744", "22742"], "output": "45486" } ], "add_euint32_euint4": [ - { "inputs": ["2", "8"], "output": "10" }, + { "inputs": ["11", "2"], "output": "13" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["5", "5"], "output": "10" }, { "inputs": ["8", "4"], "output": "12" } ], "add_euint32_euint8": [ - { "inputs": ["3", "1"], "output": "4" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["186", "2"], "output": "188" }, + { "inputs": ["69", "71"], "output": "140" }, + { "inputs": ["71", "71"], "output": "142" }, + { "inputs": ["71", "69"], "output": "140" } ], "add_euint32_euint16": [ - { "inputs": ["3", "5"], "output": "8" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["40687", "4"], "output": "40691" }, + { "inputs": ["18607", "18611"], "output": "37218" }, + { "inputs": ["18611", "18611"], "output": "37222" }, + { "inputs": ["18611", "18607"], "output": "37218" } ], "add_euint32_euint32": [ - { "inputs": ["3", "1"], "output": "4" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["2163343287", "829836787"], "output": "2993180074" }, + { "inputs": ["829836783", "829836787"], "output": "1659673570" }, + { "inputs": ["829836787", "829836787"], "output": "1659673574" }, + { "inputs": ["829836787", "829836783"], "output": "1659673570" } ], "add_euint32_uint32": [ - { "inputs": ["3", "1"], "output": "4" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["1081671644", "1277295402"], "output": "2358967046" }, + { "inputs": ["829836783", "829836787"], "output": "1659673570" }, + { "inputs": ["829836787", "829836787"], "output": "1659673574" }, + { "inputs": ["829836787", "829836783"], "output": "1659673570" } ], "add_uint32_euint32": [ - { "inputs": ["8", "1"], "output": "9" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["1301306419", "1277295402"], "output": "2578601821" }, + { "inputs": ["829836783", "829836787"], "output": "1659673570" }, + { "inputs": ["829836787", "829836787"], "output": "1659673574" }, + { "inputs": ["829836787", "829836783"], "output": "1659673570" } ], "add_euint32_euint64": [ - { "inputs": ["8", "2055"], "output": "2063" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["2", "4293304478"], "output": "4293304480" }, + { "inputs": ["2093298939", "2093298943"], "output": "4186597882" }, + { "inputs": ["2093298943", "2093298943"], "output": "4186597886" }, + { "inputs": ["2093298943", "2093298939"], "output": "4186597882" } ], "add_euint64_euint4": [ - { "inputs": ["10", "1"], "output": "11" }, - { "inputs": ["4", "8"], "output": "12" }, + { "inputs": ["9", "2"], "output": "11" }, + { "inputs": ["6", "8"], "output": "14" }, { "inputs": ["5", "5"], "output": "10" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["8", "6"], "output": "14" } ], "add_euint64_euint8": [ - { "inputs": ["141", "2"], "output": "143" }, - { "inputs": ["10", "14"], "output": "24" }, - { "inputs": ["14", "14"], "output": "28" }, - { "inputs": ["14", "10"], "output": "24" } + { "inputs": ["129", "2"], "output": "131" }, + { "inputs": ["98", "102"], "output": "200" }, + { "inputs": ["102", "102"], "output": "204" }, + { "inputs": ["102", "98"], "output": "200" } ], "add_euint64_euint16": [ - { "inputs": ["17823", "1"], "output": "17824" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["65532", "2"], "output": "65534" }, + { "inputs": ["23282", "23284"], "output": "46566" }, + { "inputs": ["23284", "23284"], "output": "46568" }, + { "inputs": ["23284", "23282"], "output": "46566" } ], "add_euint64_euint32": [ - { "inputs": ["17823", "2"], "output": "17825" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "16" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["4293362093", "2"], "output": "4293362095" }, + { "inputs": ["1194292230", "1194292232"], "output": "2388584462" }, + { "inputs": ["1194292232", "1194292232"], "output": "2388584464" }, + { "inputs": ["1194292232", "1194292230"], "output": "2388584462" } ], "add_euint64_euint64": [ - { "inputs": ["17823", "3432"], "output": "21255" }, - { "inputs": ["3428", "3432"], "output": "6860" }, - { "inputs": ["3432", "3432"], "output": "6864" }, - { "inputs": ["3432", "3428"], "output": "6860" } + { "inputs": ["9223329218882461797", "9219964371310000511"], "output": "18443293590192462308" }, + { "inputs": ["9219964371310000509", "9219964371310000511"], "output": "18439928742620001020" }, + { "inputs": ["9219964371310000511", "9219964371310000511"], "output": "18439928742620001022" }, + { "inputs": ["9219964371310000511", "9219964371310000509"], "output": "18439928742620001020" } ], "add_euint64_uint64": [ - { "inputs": ["17823", "7318"], "output": "25141" }, - { "inputs": ["3428", "3432"], "output": "6860" }, - { "inputs": ["3432", "3432"], "output": "6864" }, - { "inputs": ["3432", "3428"], "output": "6860" } + { "inputs": ["9223329218882461797", "9220956803715422232"], "output": "18444286022597884029" }, + { "inputs": ["9219964371310000509", "9219964371310000511"], "output": "18439928742620001020" }, + { "inputs": ["9219964371310000511", "9219964371310000511"], "output": "18439928742620001022" }, + { "inputs": ["9219964371310000511", "9219964371310000509"], "output": "18439928742620001020" } ], "add_uint64_euint64": [ - { "inputs": ["5752", "7318"], "output": "13070" }, - { "inputs": ["3428", "3432"], "output": "6860" }, - { "inputs": ["3432", "3432"], "output": "6864" }, - { "inputs": ["3432", "3428"], "output": "6860" } + { "inputs": ["9219177655732910821", "9220956803715422232"], "output": "18440134459448333053" }, + { "inputs": ["9219964371310000509", "9219964371310000511"], "output": "18439928742620001020" }, + { "inputs": ["9219964371310000511", "9219964371310000511"], "output": "18439928742620001022" }, + { "inputs": ["9219964371310000511", "9219964371310000509"], "output": "18439928742620001020" } ], "sub_euint4_euint4": [ { "inputs": ["8", "8"], "output": "0" }, @@ -242,2629 +242,2629 @@ { "inputs": ["8", "4"], "output": "4" } ], "sub_euint8_euint8": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["52", "52"], "output": "0" }, + { "inputs": ["52", "48"], "output": "4" } ], "sub_euint8_uint8": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["52", "52"], "output": "0" }, + { "inputs": ["52", "48"], "output": "4" } ], "sub_uint8_euint8": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["52", "52"], "output": "0" }, + { "inputs": ["52", "48"], "output": "4" } ], "sub_euint8_euint16": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["236", "236"], "output": "0" }, + { "inputs": ["236", "232"], "output": "4" } ], "sub_euint8_euint32": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["83", "83"], "output": "0" }, + { "inputs": ["83", "79"], "output": "4" } ], "sub_euint8_euint64": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["168", "168"], "output": "0" }, + { "inputs": ["168", "164"], "output": "4" } ], "sub_euint16_euint4": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["14", "14"], "output": "0" }, + { "inputs": ["14", "10"], "output": "4" } ], "sub_euint16_euint8": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["166", "166"], "output": "0" }, + { "inputs": ["166", "162"], "output": "4" } ], "sub_euint16_euint16": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["56955", "56955"], "output": "0" }, + { "inputs": ["56955", "56951"], "output": "4" } ], "sub_euint16_uint16": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["56955", "56955"], "output": "0" }, + { "inputs": ["56955", "56951"], "output": "4" } ], "sub_uint16_euint16": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["56955", "56955"], "output": "0" }, + { "inputs": ["56955", "56951"], "output": "4" } ], "sub_euint16_euint32": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["42408", "42408"], "output": "0" }, + { "inputs": ["42408", "42404"], "output": "4" } ], "sub_euint16_euint64": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["8385", "8385"], "output": "0" }, + { "inputs": ["8385", "8381"], "output": "4" } ], "sub_euint32_euint4": [ { "inputs": ["8", "8"], "output": "0" }, { "inputs": ["8", "4"], "output": "4" } ], "sub_euint32_euint8": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["179", "179"], "output": "0" }, + { "inputs": ["179", "175"], "output": "4" } ], "sub_euint32_euint16": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["47991", "47991"], "output": "0" }, + { "inputs": ["47991", "47987"], "output": "4" } ], "sub_euint32_euint32": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["3061205449", "3061205449"], "output": "0" }, + { "inputs": ["3061205449", "3061205445"], "output": "4" } ], "sub_euint32_uint32": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["3061205449", "3061205449"], "output": "0" }, + { "inputs": ["3061205449", "3061205445"], "output": "4" } ], "sub_uint32_euint32": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["3061205449", "3061205449"], "output": "0" }, + { "inputs": ["3061205449", "3061205445"], "output": "4" } ], "sub_euint32_euint64": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["1018084759", "1018084759"], "output": "0" }, + { "inputs": ["1018084759", "1018084755"], "output": "4" } ], "sub_euint64_euint4": [ { "inputs": ["8", "8"], "output": "0" }, { "inputs": ["8", "4"], "output": "4" } ], "sub_euint64_euint8": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["101", "101"], "output": "0" }, + { "inputs": ["101", "97"], "output": "4" } ], "sub_euint64_euint16": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["25338", "25338"], "output": "0" }, + { "inputs": ["25338", "25334"], "output": "4" } ], "sub_euint64_euint32": [ - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["624820999", "624820999"], "output": "0" }, + { "inputs": ["624820999", "624820995"], "output": "4" } ], "sub_euint64_euint64": [ - { "inputs": ["3660", "3660"], "output": "0" }, - { "inputs": ["3660", "3656"], "output": "4" } + { "inputs": ["18445117613821089157", "18445117613821089157"], "output": "0" }, + { "inputs": ["18445117613821089157", "18445117613821089153"], "output": "4" } ], "sub_euint64_uint64": [ - { "inputs": ["3660", "3660"], "output": "0" }, - { "inputs": ["3660", "3656"], "output": "4" } + { "inputs": ["18445117613821089157", "18445117613821089157"], "output": "0" }, + { "inputs": ["18445117613821089157", "18445117613821089153"], "output": "4" } ], "sub_uint64_euint64": [ - { "inputs": ["3660", "3660"], "output": "0" }, - { "inputs": ["3660", "3656"], "output": "4" } + { "inputs": ["18445117613821089157", "18445117613821089157"], "output": "0" }, + { "inputs": ["18445117613821089157", "18445117613821089153"], "output": "4" } ], "mul_euint4_euint4": [ - { "inputs": ["1", "2"], "output": "2" }, - { "inputs": ["3", "5"], "output": "15" }, { "inputs": ["3", "3"], "output": "9" }, - { "inputs": ["5", "3"], "output": "15" } + { "inputs": ["3", "4"], "output": "12" }, + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["4", "3"], "output": "12" } ], "mul_euint4_euint8": [ - { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["1", "14"], "output": "14" }, { "inputs": ["3", "5"], "output": "15" }, { "inputs": ["3", "3"], "output": "9" }, { "inputs": ["5", "3"], "output": "15" } ], "mul_euint4_uint8": [ - { "inputs": ["1", "3"], "output": "3" }, + { "inputs": ["1", "10"], "output": "10" }, { "inputs": ["3", "5"], "output": "15" }, { "inputs": ["3", "3"], "output": "9" }, { "inputs": ["5", "3"], "output": "15" } ], "mul_euint4_euint16": [ - { "inputs": ["1", "12"], "output": "12" }, + { "inputs": ["2", "5"], "output": "10" }, { "inputs": ["3", "5"], "output": "15" }, { "inputs": ["3", "3"], "output": "9" }, { "inputs": ["5", "3"], "output": "15" } ], "mul_euint4_euint32": [ - { "inputs": ["1", "2"], "output": "2" }, - { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["2", "7"], "output": "14" }, + { "inputs": ["3", "4"], "output": "12" }, { "inputs": ["3", "3"], "output": "9" }, - { "inputs": ["5", "3"], "output": "15" } + { "inputs": ["4", "3"], "output": "12" } ], "mul_euint4_euint64": [ - { "inputs": ["1", "13"], "output": "13" }, + { "inputs": ["2", "5"], "output": "10" }, { "inputs": ["3", "5"], "output": "15" }, { "inputs": ["3", "3"], "output": "9" }, { "inputs": ["5", "3"], "output": "15" } ], "mul_euint8_euint4": [ - { "inputs": ["2", "5"], "output": "10" }, - { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["5", "2"], "output": "10" }, + { "inputs": ["3", "4"], "output": "12" }, { "inputs": ["3", "3"], "output": "9" }, - { "inputs": ["5", "3"], "output": "15" } + { "inputs": ["4", "3"], "output": "12" } ], "mul_uint8_euint4": [ - { "inputs": ["2", "5"], "output": "10" }, - { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["1", "10"], "output": "10" }, + { "inputs": ["3", "4"], "output": "12" }, { "inputs": ["3", "3"], "output": "9" }, - { "inputs": ["5", "3"], "output": "15" } + { "inputs": ["4", "3"], "output": "12" } ], "mul_euint8_euint8": [ - { "inputs": ["2", "2"], "output": "4" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["9", "17"], "output": "153" }, + { "inputs": ["15", "16"], "output": "240" }, + { "inputs": ["9", "9"], "output": "81" }, + { "inputs": ["16", "15"], "output": "240" } ], "mul_euint8_uint8": [ - { "inputs": ["2", "2"], "output": "4" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["16", "7"], "output": "112" }, + { "inputs": ["15", "16"], "output": "240" }, + { "inputs": ["9", "9"], "output": "81" }, + { "inputs": ["16", "15"], "output": "240" } ], "mul_uint8_euint8": [ - { "inputs": ["1", "2"], "output": "2" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["14", "12"], "output": "168" }, + { "inputs": ["15", "16"], "output": "240" }, + { "inputs": ["9", "9"], "output": "81" }, + { "inputs": ["16", "15"], "output": "240" } ], "mul_euint8_euint16": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["3", "60"], "output": "180" }, + { "inputs": ["9", "9"], "output": "81" }, + { "inputs": ["9", "9"], "output": "81" }, + { "inputs": ["9", "9"], "output": "81" } ], "mul_euint8_euint32": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["2", "96"], "output": "192" }, + { "inputs": ["10", "12"], "output": "120" }, + { "inputs": ["12", "12"], "output": "144" }, + { "inputs": ["12", "10"], "output": "120" } ], "mul_euint8_euint64": [ - { "inputs": ["1", "140"], "output": "140" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["2", "65"], "output": "130" }, + { "inputs": ["10", "11"], "output": "110" }, + { "inputs": ["11", "11"], "output": "121" }, + { "inputs": ["11", "10"], "output": "110" } ], "mul_euint16_euint4": [ - { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["7", "2"], "output": "14" }, { "inputs": ["3", "5"], "output": "15" }, { "inputs": ["3", "3"], "output": "9" }, { "inputs": ["5", "3"], "output": "15" } ], "mul_euint16_euint8": [ - { "inputs": ["1", "21"], "output": "21" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["110", "2"], "output": "220" }, + { "inputs": ["13", "13"], "output": "169" }, + { "inputs": ["13", "13"], "output": "169" }, + { "inputs": ["13", "13"], "output": "169" } ], "mul_euint16_euint16": [ - { "inputs": ["1", "2"], "output": "2" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["120", "150"], "output": "18000" }, + { "inputs": ["239", "239"], "output": "57121" }, + { "inputs": ["239", "239"], "output": "57121" }, + { "inputs": ["239", "239"], "output": "57121" } ], "mul_euint16_uint16": [ - { "inputs": ["1", "14"], "output": "14" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["239", "131"], "output": "31309" }, + { "inputs": ["239", "239"], "output": "57121" }, + { "inputs": ["239", "239"], "output": "57121" }, + { "inputs": ["239", "239"], "output": "57121" } ], "mul_uint16_euint16": [ - { "inputs": ["2", "14"], "output": "28" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["190", "131"], "output": "24890" }, + { "inputs": ["239", "239"], "output": "57121" }, + { "inputs": ["239", "239"], "output": "57121" }, + { "inputs": ["239", "239"], "output": "57121" } ], "mul_euint16_euint32": [ - { "inputs": ["2", "1"], "output": "2" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["2", "32121"], "output": "64242" }, + { "inputs": ["235", "235"], "output": "55225" }, + { "inputs": ["235", "235"], "output": "55225" }, + { "inputs": ["235", "235"], "output": "55225" } ], "mul_euint16_euint64": [ - { "inputs": ["2", "2601"], "output": "5202" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["2", "32761"], "output": "65522" }, + { "inputs": ["251", "251"], "output": "63001" }, + { "inputs": ["251", "251"], "output": "63001" }, + { "inputs": ["251", "251"], "output": "63001" } ], "mul_euint32_euint4": [ - { "inputs": ["1", "2"], "output": "2" }, - { "inputs": ["3", "5"], "output": "15" }, + { "inputs": ["5", "2"], "output": "10" }, { "inputs": ["3", "3"], "output": "9" }, - { "inputs": ["5", "3"], "output": "15" } + { "inputs": ["3", "3"], "output": "9" }, + { "inputs": ["3", "3"], "output": "9" } ], "mul_euint32_euint8": [ - { "inputs": ["1", "3"], "output": "3" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["107", "2"], "output": "214" }, + { "inputs": ["12", "12"], "output": "144" }, + { "inputs": ["12", "12"], "output": "144" }, + { "inputs": ["12", "12"], "output": "144" } ], "mul_euint32_euint16": [ - { "inputs": ["1", "4"], "output": "4" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["30409", "2"], "output": "60818" }, + { "inputs": ["152", "152"], "output": "23104" }, + { "inputs": ["152", "152"], "output": "23104" }, + { "inputs": ["152", "152"], "output": "23104" } ], "mul_euint32_euint32": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["42467", "41983"], "output": "1782892061" }, + { "inputs": ["41983", "41983"], "output": "1762572289" }, + { "inputs": ["41983", "41983"], "output": "1762572289" }, + { "inputs": ["41983", "41983"], "output": "1762572289" } ], "mul_euint32_uint32": [ - { "inputs": ["1", "4"], "output": "4" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["42467", "65037"], "output": "2761926279" }, + { "inputs": ["41983", "41983"], "output": "1762572289" }, + { "inputs": ["41983", "41983"], "output": "1762572289" }, + { "inputs": ["41983", "41983"], "output": "1762572289" } ], "mul_uint32_euint32": [ - { "inputs": ["1", "4"], "output": "4" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["17461", "65037"], "output": "1135611057" }, + { "inputs": ["41983", "41983"], "output": "1762572289" }, + { "inputs": ["41983", "41983"], "output": "1762572289" }, + { "inputs": ["41983", "41983"], "output": "1762572289" } ], "mul_euint32_euint64": [ - { "inputs": ["1", "2410"], "output": "2410" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["2", "2147115345"], "output": "4294230690" }, + { "inputs": ["46957", "46957"], "output": "2204959849" }, + { "inputs": ["46957", "46957"], "output": "2204959849" }, + { "inputs": ["46957", "46957"], "output": "2204959849" } ], "mul_euint64_euint4": [ - { "inputs": ["15", "1"], "output": "15" }, + { "inputs": ["5", "2"], "output": "10" }, { "inputs": ["3", "5"], "output": "15" }, { "inputs": ["3", "3"], "output": "9" }, { "inputs": ["5", "3"], "output": "15" } ], "mul_euint64_euint8": [ - { "inputs": ["109", "2"], "output": "218" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["65", "2"], "output": "130" }, + { "inputs": ["15", "15"], "output": "225" }, + { "inputs": ["15", "15"], "output": "225" }, + { "inputs": ["15", "15"], "output": "225" } ], "mul_euint64_euint16": [ - { "inputs": ["3449", "2"], "output": "6898" }, - { "inputs": ["4", "8"], "output": "32" }, - { "inputs": ["8", "8"], "output": "64" }, - { "inputs": ["8", "4"], "output": "32" } + { "inputs": ["32765", "2"], "output": "65530" }, + { "inputs": ["163", "163"], "output": "26569" }, + { "inputs": ["163", "163"], "output": "26569" }, + { "inputs": ["163", "163"], "output": "26569" } ], "mul_euint64_euint32": [ - { "inputs": ["3449", "9"], "output": "31041" }, - { "inputs": ["5", "9"], "output": "45" }, - { "inputs": ["9", "9"], "output": "81" }, - { "inputs": ["9", "5"], "output": "45" } + { "inputs": ["2147410658", "2"], "output": "4294821316" }, + { "inputs": ["32881", "32881"], "output": "1081160161" }, + { "inputs": ["32881", "32881"], "output": "1081160161" }, + { "inputs": ["32881", "32881"], "output": "1081160161" } ], "mul_euint64_euint64": [ - { "inputs": ["3449", "2396"], "output": "8263804" }, - { "inputs": ["2392", "2396"], "output": "5731232" }, - { "inputs": ["2396", "2396"], "output": "5740816" }, - { "inputs": ["2396", "2392"], "output": "5731232" } + { "inputs": ["4294635170", "4293288604"], "output": "18438108233698602680" }, + { "inputs": ["4293288604", "4293288604"], "output": "18432327037236268816" }, + { "inputs": ["4293288604", "4293288604"], "output": "18432327037236268816" }, + { "inputs": ["4293288604", "4293288604"], "output": "18432327037236268816" } ], "mul_euint64_uint64": [ - { "inputs": ["3449", "4919"], "output": "16965631" }, - { "inputs": ["2392", "2396"], "output": "5731232" }, - { "inputs": ["2396", "2396"], "output": "5740816" }, - { "inputs": ["2396", "2392"], "output": "5731232" } + { "inputs": ["4294635170", "4293232253"], "output": "18437866226712138010" }, + { "inputs": ["4293288604", "4293288604"], "output": "18432327037236268816" }, + { "inputs": ["4293288604", "4293288604"], "output": "18432327037236268816" }, + { "inputs": ["4293288604", "4293288604"], "output": "18432327037236268816" } ], "mul_uint64_euint64": [ - { "inputs": ["2383", "4919"], "output": "11721977" }, - { "inputs": ["2392", "2396"], "output": "5731232" }, - { "inputs": ["2396", "2396"], "output": "5740816" }, - { "inputs": ["2396", "2392"], "output": "5731232" } + { "inputs": ["4294226236", "4293232253"], "output": "18436110578073989708" }, + { "inputs": ["4293288604", "4293288604"], "output": "18432327037236268816" }, + { "inputs": ["4293288604", "4293288604"], "output": "18432327037236268816" }, + { "inputs": ["4293288604", "4293288604"], "output": "18432327037236268816" } ], "div_euint4_uint8": [ - { "inputs": ["1", "2"], "output": "0" }, + { "inputs": ["3", "6"], "output": "0" }, { "inputs": ["4", "8"], "output": "0" }, { "inputs": ["8", "8"], "output": "1" }, { "inputs": ["8", "4"], "output": "2" } ], "div_euint8_uint8": [ - { "inputs": ["1", "7"], "output": "0" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "1" }, - { "inputs": ["8", "4"], "output": "2" } + { "inputs": ["123", "214"], "output": "0" }, + { "inputs": ["20", "24"], "output": "0" }, + { "inputs": ["24", "24"], "output": "1" }, + { "inputs": ["24", "20"], "output": "1" } ], "div_euint16_uint16": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "1" }, - { "inputs": ["8", "4"], "output": "2" } + { "inputs": ["61139", "60988"], "output": "1" }, + { "inputs": ["59165", "59169"], "output": "0" }, + { "inputs": ["59169", "59169"], "output": "1" }, + { "inputs": ["59169", "59165"], "output": "1" } ], "div_euint32_uint32": [ - { "inputs": ["1", "12"], "output": "0" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "1" }, - { "inputs": ["8", "4"], "output": "2" } + { "inputs": ["1945845245", "755191882"], "output": "2" }, + { "inputs": ["1945845241", "1945845245"], "output": "0" }, + { "inputs": ["1945845245", "1945845245"], "output": "1" }, + { "inputs": ["1945845245", "1945845241"], "output": "1" } ], "div_euint64_uint64": [ - { "inputs": ["3692", "2899"], "output": "1" }, - { "inputs": ["3688", "3692"], "output": "0" }, - { "inputs": ["3692", "3692"], "output": "1" }, - { "inputs": ["3692", "3688"], "output": "1" } + { "inputs": ["18441976837575510865", "18441212274805422577"], "output": "1" }, + { "inputs": ["18441976837575510861", "18441976837575510865"], "output": "0" }, + { "inputs": ["18441976837575510865", "18441976837575510865"], "output": "1" }, + { "inputs": ["18441976837575510865", "18441976837575510861"], "output": "1" } ], "rem_euint4_uint8": [ - { "inputs": ["15", "2"], "output": "1" }, + { "inputs": ["4", "10"], "output": "4" }, { "inputs": ["4", "8"], "output": "4" }, { "inputs": ["8", "8"], "output": "0" }, { "inputs": ["8", "4"], "output": "0" } ], "rem_euint8_uint8": [ - { "inputs": ["1", "1"], "output": "0" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["144", "19"], "output": "11" }, + { "inputs": ["140", "144"], "output": "140" }, + { "inputs": ["144", "144"], "output": "0" }, + { "inputs": ["144", "140"], "output": "4" } ], "rem_euint16_uint16": [ - { "inputs": ["1", "3"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["18856", "18330"], "output": "526" }, + { "inputs": ["18852", "18856"], "output": "18852" }, + { "inputs": ["18856", "18856"], "output": "0" }, + { "inputs": ["18856", "18852"], "output": "4" } ], "rem_euint32_uint32": [ - { "inputs": ["1", "1"], "output": "0" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["2521442787", "706504920"], "output": "401928027" }, + { "inputs": ["2521442783", "2521442787"], "output": "2521442783" }, + { "inputs": ["2521442787", "2521442787"], "output": "0" }, + { "inputs": ["2521442787", "2521442783"], "output": "4" } ], "rem_euint64_uint64": [ - { "inputs": ["2467", "230368"], "output": "2467" }, - { "inputs": ["2168", "2172"], "output": "2168" }, - { "inputs": ["2172", "2172"], "output": "0" }, - { "inputs": ["2172", "2168"], "output": "4" } + { "inputs": ["18443785129295236141", "18441307989286811147"], "output": "2477140008424994" }, + { "inputs": ["18438390548915069819", "18438390548915069823"], "output": "18438390548915069819" }, + { "inputs": ["18438390548915069823", "18438390548915069823"], "output": "0" }, + { "inputs": ["18438390548915069823", "18438390548915069819"], "output": "4" } ], "le_euint4_euint4": [ - { "inputs": ["1", "3"], "output": true }, + { "inputs": ["8", "6"], "output": false }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "le_euint4_euint8": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["14", "151"], "output": true }, + { "inputs": ["10", "14"], "output": true }, + { "inputs": ["14", "14"], "output": true }, + { "inputs": ["14", "10"], "output": false } ], "le_euint4_uint8": [ - { "inputs": ["1", "7"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["14", "8"], "output": false }, + { "inputs": ["10", "14"], "output": true }, + { "inputs": ["14", "14"], "output": true }, + { "inputs": ["14", "10"], "output": false } ], "le_euint4_euint16": [ - { "inputs": ["1", "17"], "output": true }, + { "inputs": ["1", "51341"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "le_euint4_euint32": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["9", "467708048"], "output": true }, + { "inputs": ["5", "9"], "output": true }, + { "inputs": ["9", "9"], "output": true }, + { "inputs": ["9", "5"], "output": false } ], "le_euint4_euint64": [ - { "inputs": ["1", "10377"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["12", "18438657387678135029"], "output": true }, + { "inputs": ["8", "12"], "output": true }, + { "inputs": ["12", "12"], "output": true }, + { "inputs": ["12", "8"], "output": false } ], "le_euint8_euint4": [ - { "inputs": ["1", "2"], "output": true }, + { "inputs": ["194", "8"], "output": false }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "le_uint8_euint4": [ - { "inputs": ["1", "2"], "output": true }, + { "inputs": ["11", "8"], "output": false }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "le_euint8_euint8": [ - { "inputs": ["1", "4"], "output": true }, + { "inputs": ["102", "4"], "output": false }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "le_euint8_uint8": [ - { "inputs": ["1", "2"], "output": true }, + { "inputs": ["102", "85"], "output": false }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "le_uint8_euint8": [ - { "inputs": ["15", "2"], "output": false }, + { "inputs": ["46", "85"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "le_euint8_euint16": [ - { "inputs": ["15", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["31", "28651"], "output": true }, + { "inputs": ["27", "31"], "output": true }, + { "inputs": ["31", "31"], "output": true }, + { "inputs": ["31", "27"], "output": false } ], "le_euint8_euint32": [ - { "inputs": ["15", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["200", "2966523441"], "output": true }, + { "inputs": ["196", "200"], "output": true }, + { "inputs": ["200", "200"], "output": true }, + { "inputs": ["200", "196"], "output": false } ], "le_euint8_euint64": [ - { "inputs": ["15", "3500"], "output": true }, - { "inputs": ["11", "15"], "output": true }, - { "inputs": ["15", "15"], "output": true }, - { "inputs": ["15", "11"], "output": false } + { "inputs": ["80", "18440486388708045995"], "output": true }, + { "inputs": ["76", "80"], "output": true }, + { "inputs": ["80", "80"], "output": true }, + { "inputs": ["80", "76"], "output": false } ], "le_euint16_euint4": [ - { "inputs": ["23", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["7456", "9"], "output": false }, + { "inputs": ["5", "9"], "output": true }, + { "inputs": ["9", "9"], "output": true }, + { "inputs": ["9", "5"], "output": false } ], "le_euint16_euint8": [ - { "inputs": ["23", "2"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["3242", "147"], "output": false }, + { "inputs": ["143", "147"], "output": true }, + { "inputs": ["147", "147"], "output": true }, + { "inputs": ["147", "143"], "output": false } ], "le_euint16_euint16": [ - { "inputs": ["23", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["9281", "48556"], "output": true }, + { "inputs": ["9277", "9281"], "output": true }, + { "inputs": ["9281", "9281"], "output": true }, + { "inputs": ["9281", "9277"], "output": false } ], "le_euint16_uint16": [ - { "inputs": ["23", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["9281", "23936"], "output": true }, + { "inputs": ["9277", "9281"], "output": true }, + { "inputs": ["9281", "9281"], "output": true }, + { "inputs": ["9281", "9277"], "output": false } ], "le_uint16_euint16": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["49675", "23936"], "output": false }, + { "inputs": ["9277", "9281"], "output": true }, + { "inputs": ["9281", "9281"], "output": true }, + { "inputs": ["9281", "9277"], "output": false } ], "le_euint16_euint32": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["42248", "3250361677"], "output": true }, + { "inputs": ["42244", "42248"], "output": true }, + { "inputs": ["42248", "42248"], "output": true }, + { "inputs": ["42248", "42244"], "output": false } ], "le_euint16_euint64": [ - { "inputs": ["1", "7578"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["16281", "18438048148950562767"], "output": true }, + { "inputs": ["16277", "16281"], "output": true }, + { "inputs": ["16281", "16281"], "output": true }, + { "inputs": ["16281", "16277"], "output": false } ], "le_euint32_euint4": [ - { "inputs": ["25", "15"], "output": false }, - { "inputs": ["11", "15"], "output": true }, - { "inputs": ["15", "15"], "output": true }, - { "inputs": ["15", "11"], "output": false } + { "inputs": ["4064031115", "9"], "output": false }, + { "inputs": ["5", "9"], "output": true }, + { "inputs": ["9", "9"], "output": true }, + { "inputs": ["9", "5"], "output": false } ], "le_euint32_euint8": [ - { "inputs": ["25", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["3743657855", "103"], "output": false }, + { "inputs": ["99", "103"], "output": true }, + { "inputs": ["103", "103"], "output": true }, + { "inputs": ["103", "99"], "output": false } ], "le_euint32_euint16": [ - { "inputs": ["25", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["1673073080", "44621"], "output": false }, + { "inputs": ["44617", "44621"], "output": true }, + { "inputs": ["44621", "44621"], "output": true }, + { "inputs": ["44621", "44617"], "output": false } ], "le_euint32_euint32": [ - { "inputs": ["25", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["989604334", "3011475023"], "output": true }, + { "inputs": ["989604330", "989604334"], "output": true }, + { "inputs": ["989604334", "989604334"], "output": true }, + { "inputs": ["989604334", "989604330"], "output": false } ], "le_euint32_uint32": [ - { "inputs": ["25", "3"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["989604334", "2400461325"], "output": true }, + { "inputs": ["989604330", "989604334"], "output": true }, + { "inputs": ["989604334", "989604334"], "output": true }, + { "inputs": ["989604334", "989604330"], "output": false } ], "le_uint32_euint32": [ - { "inputs": ["2", "3"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["3171491075", "2400461325"], "output": false }, + { "inputs": ["989604330", "989604334"], "output": true }, + { "inputs": ["989604334", "989604334"], "output": true }, + { "inputs": ["989604334", "989604330"], "output": false } ], "le_euint32_euint64": [ - { "inputs": ["2", "2235"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["3652038615", "18440248369616077365"], "output": true }, + { "inputs": ["3652038611", "3652038615"], "output": true }, + { "inputs": ["3652038615", "3652038615"], "output": true }, + { "inputs": ["3652038615", "3652038611"], "output": false } ], "le_euint64_euint4": [ - { "inputs": ["4742", "7"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18446127513373335953", "14"], "output": false }, + { "inputs": ["10", "14"], "output": true }, + { "inputs": ["14", "14"], "output": true }, + { "inputs": ["14", "10"], "output": false } ], "le_euint64_euint8": [ - { "inputs": ["4742", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18446424442125229129", "19"], "output": false }, + { "inputs": ["15", "19"], "output": true }, + { "inputs": ["19", "19"], "output": true }, + { "inputs": ["19", "15"], "output": false } ], "le_euint64_euint16": [ - { "inputs": ["4742", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18442809234541757919", "39205"], "output": false }, + { "inputs": ["39201", "39205"], "output": true }, + { "inputs": ["39205", "39205"], "output": true }, + { "inputs": ["39205", "39201"], "output": false } ], "le_euint64_euint32": [ - { "inputs": ["4742", "21"], "output": false }, - { "inputs": ["17", "21"], "output": true }, - { "inputs": ["21", "21"], "output": true }, - { "inputs": ["21", "17"], "output": false } + { "inputs": ["18439009396144568585", "2271345781"], "output": false }, + { "inputs": ["2271345777", "2271345781"], "output": true }, + { "inputs": ["2271345781", "2271345781"], "output": true }, + { "inputs": ["2271345781", "2271345777"], "output": false } ], "le_euint64_euint64": [ - { "inputs": ["4742", "3626"], "output": false }, - { "inputs": ["3622", "3626"], "output": true }, - { "inputs": ["3626", "3626"], "output": true }, - { "inputs": ["3626", "3622"], "output": false } + { "inputs": ["18440769778451615393", "18446070761608442971"], "output": true }, + { "inputs": ["18440769778451615389", "18440769778451615393"], "output": true }, + { "inputs": ["18440769778451615393", "18440769778451615393"], "output": true }, + { "inputs": ["18440769778451615393", "18440769778451615389"], "output": false } ], "le_euint64_uint64": [ - { "inputs": ["4742", "42694"], "output": true }, - { "inputs": ["3622", "3626"], "output": true }, - { "inputs": ["3626", "3626"], "output": true }, - { "inputs": ["3626", "3622"], "output": false } + { "inputs": ["18440769778451615393", "18439065451314752761"], "output": false }, + { "inputs": ["18440769778451615389", "18440769778451615393"], "output": true }, + { "inputs": ["18440769778451615393", "18440769778451615393"], "output": true }, + { "inputs": ["18440769778451615393", "18440769778451615389"], "output": false } ], "le_uint64_euint64": [ - { "inputs": ["2150", "42694"], "output": true }, - { "inputs": ["3622", "3626"], "output": true }, - { "inputs": ["3626", "3626"], "output": true }, - { "inputs": ["3626", "3622"], "output": false } + { "inputs": ["18440980092932624951", "18439065451314752761"], "output": false }, + { "inputs": ["18440769778451615389", "18440769778451615393"], "output": true }, + { "inputs": ["18440769778451615393", "18440769778451615393"], "output": true }, + { "inputs": ["18440769778451615393", "18440769778451615389"], "output": false } ], "lt_euint4_euint4": [ - { "inputs": ["2", "5"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["10", "9"], "output": false }, + { "inputs": ["5", "9"], "output": true }, + { "inputs": ["9", "9"], "output": false }, + { "inputs": ["9", "5"], "output": false } ], "lt_euint4_euint8": [ - { "inputs": ["2", "255"], "output": true }, + { "inputs": ["7", "92"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": false } ], "lt_euint4_uint8": [ - { "inputs": ["2", "3"], "output": true }, + { "inputs": ["7", "14"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": false } ], "lt_euint4_euint16": [ - { "inputs": ["2", "1"], "output": false }, + { "inputs": ["6", "15496"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": false } ], "lt_euint4_euint32": [ - { "inputs": ["2", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["11", "1378961804"], "output": true }, + { "inputs": ["7", "11"], "output": true }, + { "inputs": ["11", "11"], "output": false }, + { "inputs": ["11", "7"], "output": false } ], "lt_euint4_euint64": [ - { "inputs": ["2", "8139"], "output": true }, + { "inputs": ["8", "18442139041620940861"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": false } ], "lt_euint8_euint4": [ - { "inputs": ["1", "1"], "output": false }, + { "inputs": ["130", "5"], "output": false }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": false } ], "lt_uint8_euint4": [ - { "inputs": ["15", "1"], "output": false }, + { "inputs": ["12", "5"], "output": false }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": false } ], "lt_euint8_euint8": [ - { "inputs": ["15", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["253", "98"], "output": false }, + { "inputs": ["94", "98"], "output": true }, + { "inputs": ["98", "98"], "output": false }, + { "inputs": ["98", "94"], "output": false } ], "lt_euint8_uint8": [ - { "inputs": ["15", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["253", "9"], "output": false }, + { "inputs": ["94", "98"], "output": true }, + { "inputs": ["98", "98"], "output": false }, + { "inputs": ["98", "94"], "output": false } ], "lt_uint8_euint8": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["79", "9"], "output": false }, + { "inputs": ["94", "98"], "output": true }, + { "inputs": ["98", "98"], "output": false }, + { "inputs": ["98", "94"], "output": false } ], "lt_euint8_euint16": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["113", "2877"], "output": true }, + { "inputs": ["109", "113"], "output": true }, + { "inputs": ["113", "113"], "output": false }, + { "inputs": ["113", "109"], "output": false } ], "lt_euint8_euint32": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["80", "2205479823"], "output": true }, + { "inputs": ["76", "80"], "output": true }, + { "inputs": ["80", "80"], "output": false }, + { "inputs": ["80", "76"], "output": false } ], "lt_euint8_euint64": [ - { "inputs": ["1", "2371"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["190", "18443665731691391943"], "output": true }, + { "inputs": ["186", "190"], "output": true }, + { "inputs": ["190", "190"], "output": false }, + { "inputs": ["190", "186"], "output": false } ], "lt_euint16_euint4": [ - { "inputs": ["1", "1"], "output": false }, + { "inputs": ["53504", "6"], "output": false }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": false } ], "lt_euint16_euint8": [ - { "inputs": ["1", "5"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["42518", "110"], "output": false }, + { "inputs": ["106", "110"], "output": true }, + { "inputs": ["110", "110"], "output": false }, + { "inputs": ["110", "106"], "output": false } ], "lt_euint16_euint16": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["44794", "23290"], "output": false }, + { "inputs": ["23286", "23290"], "output": true }, + { "inputs": ["23290", "23290"], "output": false }, + { "inputs": ["23290", "23286"], "output": false } ], "lt_euint16_uint16": [ - { "inputs": ["1", "8"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["44794", "29106"], "output": false }, + { "inputs": ["23286", "23290"], "output": true }, + { "inputs": ["23290", "23290"], "output": false }, + { "inputs": ["23290", "23286"], "output": false } ], "lt_uint16_euint16": [ - { "inputs": ["2", "8"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["11942", "29106"], "output": true }, + { "inputs": ["23286", "23290"], "output": true }, + { "inputs": ["23290", "23290"], "output": false }, + { "inputs": ["23290", "23286"], "output": false } ], "lt_euint16_euint32": [ - { "inputs": ["2", "4"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["45430", "522886914"], "output": true }, + { "inputs": ["45426", "45430"], "output": true }, + { "inputs": ["45430", "45430"], "output": false }, + { "inputs": ["45430", "45426"], "output": false } ], "lt_euint16_euint64": [ - { "inputs": ["2", "2714"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18995", "18443093417222594453"], "output": true }, + { "inputs": ["18991", "18995"], "output": true }, + { "inputs": ["18995", "18995"], "output": false }, + { "inputs": ["18995", "18991"], "output": false } ], "lt_euint32_euint4": [ - { "inputs": ["2", "1"], "output": false }, + { "inputs": ["3623618060", "5"], "output": false }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": false } ], "lt_euint32_euint8": [ - { "inputs": ["2", "4"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["800790361", "82"], "output": false }, + { "inputs": ["78", "82"], "output": true }, + { "inputs": ["82", "82"], "output": false }, + { "inputs": ["82", "78"], "output": false } ], "lt_euint32_euint16": [ - { "inputs": ["2", "6"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["2528767958", "64360"], "output": false }, + { "inputs": ["64356", "64360"], "output": true }, + { "inputs": ["64360", "64360"], "output": false }, + { "inputs": ["64360", "64356"], "output": false } ], "lt_euint32_euint32": [ - { "inputs": ["2", "25"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["3432727362", "2953663248"], "output": false }, + { "inputs": ["2953663244", "2953663248"], "output": true }, + { "inputs": ["2953663248", "2953663248"], "output": false }, + { "inputs": ["2953663248", "2953663244"], "output": false } ], "lt_euint32_uint32": [ - { "inputs": ["2", "2"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["3432727362", "340267218"], "output": false }, + { "inputs": ["2953663244", "2953663248"], "output": true }, + { "inputs": ["2953663248", "2953663248"], "output": false }, + { "inputs": ["2953663248", "2953663244"], "output": false } ], "lt_uint32_euint32": [ - { "inputs": ["4", "2"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["254860119", "340267218"], "output": true }, + { "inputs": ["2953663244", "2953663248"], "output": true }, + { "inputs": ["2953663248", "2953663248"], "output": false }, + { "inputs": ["2953663248", "2953663244"], "output": false } ], "lt_euint32_euint64": [ - { "inputs": ["4", "5352"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["1728686329", "18442541149578902807"], "output": true }, + { "inputs": ["1728686325", "1728686329"], "output": true }, + { "inputs": ["1728686329", "1728686329"], "output": false }, + { "inputs": ["1728686329", "1728686325"], "output": false } ], "lt_euint64_euint4": [ - { "inputs": ["16329", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18440890716948813157", "11"], "output": false }, + { "inputs": ["7", "11"], "output": true }, + { "inputs": ["11", "11"], "output": false }, + { "inputs": ["11", "7"], "output": false } ], "lt_euint64_euint8": [ - { "inputs": ["16329", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18445717540030063977", "27"], "output": false }, + { "inputs": ["23", "27"], "output": true }, + { "inputs": ["27", "27"], "output": false }, + { "inputs": ["27", "23"], "output": false } ], "lt_euint64_euint16": [ - { "inputs": ["16329", "3"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18443664339829863559", "39059"], "output": false }, + { "inputs": ["39055", "39059"], "output": true }, + { "inputs": ["39059", "39059"], "output": false }, + { "inputs": ["39059", "39055"], "output": false } ], "lt_euint64_euint32": [ - { "inputs": ["16329", "2"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18439663977987842087", "2158000734"], "output": false }, + { "inputs": ["2158000730", "2158000734"], "output": true }, + { "inputs": ["2158000734", "2158000734"], "output": false }, + { "inputs": ["2158000734", "2158000730"], "output": false } ], "lt_euint64_euint64": [ - { "inputs": ["16329", "2082"], "output": false }, - { "inputs": ["2078", "2082"], "output": true }, - { "inputs": ["2082", "2082"], "output": false }, - { "inputs": ["2082", "2078"], "output": false } + { "inputs": ["18446718131340158589", "18444160910497783341"], "output": false }, + { "inputs": ["18444160910497783337", "18444160910497783341"], "output": true }, + { "inputs": ["18444160910497783341", "18444160910497783341"], "output": false }, + { "inputs": ["18444160910497783341", "18444160910497783337"], "output": false } ], "lt_euint64_uint64": [ - { "inputs": ["16329", "2853"], "output": false }, - { "inputs": ["2078", "2082"], "output": true }, - { "inputs": ["2082", "2082"], "output": false }, - { "inputs": ["2082", "2078"], "output": false } + { "inputs": ["18446718131340158589", "18438438177494413269"], "output": false }, + { "inputs": ["18444160910497783337", "18444160910497783341"], "output": true }, + { "inputs": ["18444160910497783341", "18444160910497783341"], "output": false }, + { "inputs": ["18444160910497783341", "18444160910497783337"], "output": false } ], "lt_uint64_euint64": [ - { "inputs": ["27593", "2853"], "output": false }, - { "inputs": ["2078", "2082"], "output": true }, - { "inputs": ["2082", "2082"], "output": false }, - { "inputs": ["2082", "2078"], "output": false } + { "inputs": ["18445719507413937869", "18438438177494413269"], "output": false }, + { "inputs": ["18444160910497783337", "18444160910497783341"], "output": true }, + { "inputs": ["18444160910497783341", "18444160910497783341"], "output": false }, + { "inputs": ["18444160910497783341", "18444160910497783337"], "output": false } ], "ge_euint4_euint4": [ - { "inputs": ["2", "1"], "output": true }, + { "inputs": ["3", "4"], "output": false }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": true } ], "ge_euint4_euint8": [ - { "inputs": ["2", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["12", "141"], "output": false }, + { "inputs": ["8", "12"], "output": false }, + { "inputs": ["12", "12"], "output": true }, + { "inputs": ["12", "8"], "output": true } ], "ge_euint4_uint8": [ - { "inputs": ["2", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["12", "11"], "output": true }, + { "inputs": ["8", "12"], "output": false }, + { "inputs": ["12", "12"], "output": true }, + { "inputs": ["12", "8"], "output": true } ], "ge_euint4_euint16": [ - { "inputs": ["2", "10"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["9", "63554"], "output": false }, + { "inputs": ["5", "9"], "output": false }, + { "inputs": ["9", "9"], "output": true }, + { "inputs": ["9", "5"], "output": true } ], "ge_euint4_euint32": [ - { "inputs": ["2", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["9", "3023026099"], "output": false }, + { "inputs": ["5", "9"], "output": false }, + { "inputs": ["9", "9"], "output": true }, + { "inputs": ["9", "5"], "output": true } ], "ge_euint4_euint64": [ - { "inputs": ["2", "3677"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["14", "18441505983320830973"], "output": false }, + { "inputs": ["10", "14"], "output": false }, + { "inputs": ["14", "14"], "output": true }, + { "inputs": ["14", "10"], "output": true } ], "ge_euint8_euint4": [ - { "inputs": ["2", "15"], "output": false }, + { "inputs": ["228", "4"], "output": true }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": true } ], "ge_uint8_euint4": [ - { "inputs": ["2", "15"], "output": false }, + { "inputs": ["2", "4"], "output": false }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": true } ], "ge_euint8_euint8": [ - { "inputs": ["2", "2"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["41", "173"], "output": false }, + { "inputs": ["37", "41"], "output": false }, + { "inputs": ["41", "41"], "output": true }, + { "inputs": ["41", "37"], "output": true } ], "ge_euint8_uint8": [ - { "inputs": ["2", "11"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["41", "155"], "output": false }, + { "inputs": ["37", "41"], "output": false }, + { "inputs": ["41", "41"], "output": true }, + { "inputs": ["41", "37"], "output": true } ], "ge_uint8_euint8": [ - { "inputs": ["1", "11"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["28", "155"], "output": false }, + { "inputs": ["37", "41"], "output": false }, + { "inputs": ["41", "41"], "output": true }, + { "inputs": ["41", "37"], "output": true } ], "ge_euint8_euint16": [ - { "inputs": ["1", "26"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["204", "4953"], "output": false }, + { "inputs": ["200", "204"], "output": false }, + { "inputs": ["204", "204"], "output": true }, + { "inputs": ["204", "200"], "output": true } ], "ge_euint8_euint32": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["214", "2636986545"], "output": false }, + { "inputs": ["210", "214"], "output": false }, + { "inputs": ["214", "214"], "output": true }, + { "inputs": ["214", "210"], "output": true } ], "ge_euint8_euint64": [ - { "inputs": ["1", "7637"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["27", "18445930867214181117"], "output": false }, + { "inputs": ["23", "27"], "output": false }, + { "inputs": ["27", "27"], "output": true }, + { "inputs": ["27", "23"], "output": true } ], "ge_euint16_euint4": [ - { "inputs": ["1", "7"], "output": false }, + { "inputs": ["9661", "2"], "output": true }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": true } ], "ge_euint16_euint8": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["3763", "81"], "output": true }, + { "inputs": ["77", "81"], "output": false }, + { "inputs": ["81", "81"], "output": true }, + { "inputs": ["81", "77"], "output": true } ], "ge_euint16_euint16": [ - { "inputs": ["1", "2"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18226", "11817"], "output": true }, + { "inputs": ["11813", "11817"], "output": false }, + { "inputs": ["11817", "11817"], "output": true }, + { "inputs": ["11817", "11813"], "output": true } ], "ge_euint16_uint16": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18226", "26413"], "output": false }, + { "inputs": ["11813", "11817"], "output": false }, + { "inputs": ["11817", "11817"], "output": true }, + { "inputs": ["11817", "11813"], "output": true } ], "ge_uint16_euint16": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["45131", "26413"], "output": true }, + { "inputs": ["11813", "11817"], "output": false }, + { "inputs": ["11817", "11817"], "output": true }, + { "inputs": ["11817", "11813"], "output": true } ], "ge_euint16_euint32": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["19364", "2908406445"], "output": false }, + { "inputs": ["19360", "19364"], "output": false }, + { "inputs": ["19364", "19364"], "output": true }, + { "inputs": ["19364", "19360"], "output": true } ], "ge_euint16_euint64": [ - { "inputs": ["1", "3917"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["17006", "18440111639904808773"], "output": false }, + { "inputs": ["17002", "17006"], "output": false }, + { "inputs": ["17006", "17006"], "output": true }, + { "inputs": ["17006", "17002"], "output": true } ], "ge_euint32_euint4": [ - { "inputs": ["1", "15"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["4064050662", "13"], "output": true }, + { "inputs": ["9", "13"], "output": false }, + { "inputs": ["13", "13"], "output": true }, + { "inputs": ["13", "9"], "output": true } ], "ge_euint32_euint8": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["4107105674", "147"], "output": true }, + { "inputs": ["143", "147"], "output": false }, + { "inputs": ["147", "147"], "output": true }, + { "inputs": ["147", "143"], "output": true } ], "ge_euint32_euint16": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["3202817970", "50829"], "output": true }, + { "inputs": ["50825", "50829"], "output": false }, + { "inputs": ["50829", "50829"], "output": true }, + { "inputs": ["50829", "50825"], "output": true } ], "ge_euint32_euint32": [ - { "inputs": ["1", "22"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["1970784794", "1596956634"], "output": true }, + { "inputs": ["1596956630", "1596956634"], "output": false }, + { "inputs": ["1596956634", "1596956634"], "output": true }, + { "inputs": ["1596956634", "1596956630"], "output": true } ], "ge_euint32_uint32": [ - { "inputs": ["1", "2"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["1970784794", "2198890323"], "output": false }, + { "inputs": ["1596956630", "1596956634"], "output": false }, + { "inputs": ["1596956634", "1596956634"], "output": true }, + { "inputs": ["1596956634", "1596956630"], "output": true } ], "ge_uint32_euint32": [ - { "inputs": ["2", "2"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["3128599756", "2198890323"], "output": true }, + { "inputs": ["1596956630", "1596956634"], "output": false }, + { "inputs": ["1596956634", "1596956634"], "output": true }, + { "inputs": ["1596956634", "1596956630"], "output": true } ], "ge_euint32_euint64": [ - { "inputs": ["2", "2385"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["1126093045", "18444900127425225651"], "output": false }, + { "inputs": ["1126093041", "1126093045"], "output": false }, + { "inputs": ["1126093045", "1126093045"], "output": true }, + { "inputs": ["1126093045", "1126093041"], "output": true } ], "ge_euint64_euint4": [ - { "inputs": ["3383", "2"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18438518295027982843", "12"], "output": true }, + { "inputs": ["8", "12"], "output": false }, + { "inputs": ["12", "12"], "output": true }, + { "inputs": ["12", "8"], "output": true } ], "ge_euint64_euint8": [ - { "inputs": ["3383", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18439034739003983767", "245"], "output": true }, + { "inputs": ["241", "245"], "output": false }, + { "inputs": ["245", "245"], "output": true }, + { "inputs": ["245", "241"], "output": true } ], "ge_euint64_euint16": [ - { "inputs": ["3383", "2"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18440840766291159069", "55918"], "output": true }, + { "inputs": ["55914", "55918"], "output": false }, + { "inputs": ["55918", "55918"], "output": true }, + { "inputs": ["55918", "55914"], "output": true } ], "ge_euint64_euint32": [ - { "inputs": ["3383", "8"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18443677328726027173", "2889413053"], "output": true }, + { "inputs": ["2889413049", "2889413053"], "output": false }, + { "inputs": ["2889413053", "2889413053"], "output": true }, + { "inputs": ["2889413053", "2889413049"], "output": true } ], "ge_euint64_euint64": [ - { "inputs": ["3383", "7363"], "output": false }, - { "inputs": ["3379", "3383"], "output": false }, - { "inputs": ["3383", "3383"], "output": true }, - { "inputs": ["3383", "3379"], "output": true } + { "inputs": ["18444991478795579145", "18445260307161364245"], "output": false }, + { "inputs": ["18444991478795579141", "18444991478795579145"], "output": false }, + { "inputs": ["18444991478795579145", "18444991478795579145"], "output": true }, + { "inputs": ["18444991478795579145", "18444991478795579141"], "output": true } ], "ge_euint64_uint64": [ - { "inputs": ["3383", "3479"], "output": false }, - { "inputs": ["3379", "3383"], "output": false }, - { "inputs": ["3383", "3383"], "output": true }, - { "inputs": ["3383", "3379"], "output": true } + { "inputs": ["18444991478795579145", "18439567451994245465"], "output": true }, + { "inputs": ["18444991478795579141", "18444991478795579145"], "output": false }, + { "inputs": ["18444991478795579145", "18444991478795579145"], "output": true }, + { "inputs": ["18444991478795579145", "18444991478795579141"], "output": true } ], "ge_uint64_euint64": [ - { "inputs": ["27028", "3479"], "output": true }, - { "inputs": ["3379", "3383"], "output": false }, - { "inputs": ["3383", "3383"], "output": true }, - { "inputs": ["3383", "3379"], "output": true } + { "inputs": ["18444429093181704535", "18439567451994245465"], "output": true }, + { "inputs": ["18444991478795579141", "18444991478795579145"], "output": false }, + { "inputs": ["18444991478795579145", "18444991478795579145"], "output": true }, + { "inputs": ["18444991478795579145", "18444991478795579141"], "output": true } ], "gt_euint4_euint4": [ - { "inputs": ["3", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["9", "12"], "output": false }, + { "inputs": ["5", "9"], "output": false }, + { "inputs": ["9", "9"], "output": false }, + { "inputs": ["9", "5"], "output": true } ], "gt_euint4_euint8": [ - { "inputs": ["3", "4"], "output": false }, + { "inputs": ["7", "49"], "output": false }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "gt_euint4_uint8": [ - { "inputs": ["3", "1"], "output": true }, + { "inputs": ["7", "10"], "output": false }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "gt_euint4_euint16": [ - { "inputs": ["3", "2"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["13", "28270"], "output": false }, + { "inputs": ["9", "13"], "output": false }, + { "inputs": ["13", "13"], "output": false }, + { "inputs": ["13", "9"], "output": true } ], "gt_euint4_euint32": [ - { "inputs": ["3", "4"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["10", "2302702329"], "output": false }, + { "inputs": ["6", "10"], "output": false }, + { "inputs": ["10", "10"], "output": false }, + { "inputs": ["10", "6"], "output": true } ], "gt_euint4_euint64": [ - { "inputs": ["3", "6288"], "output": false }, + { "inputs": ["8", "18443962302044821049"], "output": false }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "gt_euint8_euint4": [ - { "inputs": ["1", "15"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["53", "14"], "output": true }, + { "inputs": ["10", "14"], "output": false }, + { "inputs": ["14", "14"], "output": false }, + { "inputs": ["14", "10"], "output": true } ], "gt_uint8_euint4": [ - { "inputs": ["5", "15"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["4", "14"], "output": false }, + { "inputs": ["10", "14"], "output": false }, + { "inputs": ["14", "14"], "output": false }, + { "inputs": ["14", "10"], "output": true } ], "gt_euint8_euint8": [ - { "inputs": ["5", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["225", "96"], "output": true }, + { "inputs": ["92", "96"], "output": false }, + { "inputs": ["96", "96"], "output": false }, + { "inputs": ["96", "92"], "output": true } ], "gt_euint8_uint8": [ - { "inputs": ["5", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["225", "176"], "output": true }, + { "inputs": ["92", "96"], "output": false }, + { "inputs": ["96", "96"], "output": false }, + { "inputs": ["96", "92"], "output": true } ], "gt_uint8_euint8": [ - { "inputs": ["2", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["34", "176"], "output": false }, + { "inputs": ["92", "96"], "output": false }, + { "inputs": ["96", "96"], "output": false }, + { "inputs": ["96", "92"], "output": true } ], "gt_euint8_euint16": [ - { "inputs": ["2", "2"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["254", "24172"], "output": false }, + { "inputs": ["250", "254"], "output": false }, + { "inputs": ["254", "254"], "output": false }, + { "inputs": ["254", "250"], "output": true } ], "gt_euint8_euint32": [ - { "inputs": ["2", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["254", "3644170480"], "output": false }, + { "inputs": ["250", "254"], "output": false }, + { "inputs": ["254", "254"], "output": false }, + { "inputs": ["254", "250"], "output": true } ], "gt_euint8_euint64": [ - { "inputs": ["2", "2952"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["235", "18439120393033635471"], "output": false }, + { "inputs": ["231", "235"], "output": false }, + { "inputs": ["235", "235"], "output": false }, + { "inputs": ["235", "231"], "output": true } ], "gt_euint16_euint4": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["36260", "13"], "output": true }, + { "inputs": ["9", "13"], "output": false }, + { "inputs": ["13", "13"], "output": false }, + { "inputs": ["13", "9"], "output": true } ], "gt_euint16_euint8": [ - { "inputs": ["1", "3"], "output": false }, + { "inputs": ["17649", "8"], "output": true }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "gt_euint16_euint16": [ - { "inputs": ["1", "2"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["46712", "53146"], "output": false }, + { "inputs": ["46708", "46712"], "output": false }, + { "inputs": ["46712", "46712"], "output": false }, + { "inputs": ["46712", "46708"], "output": true } ], "gt_euint16_uint16": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["46712", "65342"], "output": false }, + { "inputs": ["46708", "46712"], "output": false }, + { "inputs": ["46712", "46712"], "output": false }, + { "inputs": ["46712", "46708"], "output": true } ], "gt_uint16_euint16": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["58255", "65342"], "output": false }, + { "inputs": ["46708", "46712"], "output": false }, + { "inputs": ["46712", "46712"], "output": false }, + { "inputs": ["46712", "46708"], "output": true } ], "gt_euint16_euint32": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["61440", "2523716364"], "output": false }, + { "inputs": ["61436", "61440"], "output": false }, + { "inputs": ["61440", "61440"], "output": false }, + { "inputs": ["61440", "61436"], "output": true } ], "gt_euint16_euint64": [ - { "inputs": ["1", "23898"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["13915", "18437957835114177845"], "output": false }, + { "inputs": ["13911", "13915"], "output": false }, + { "inputs": ["13915", "13915"], "output": false }, + { "inputs": ["13915", "13911"], "output": true } ], "gt_euint32_euint4": [ - { "inputs": ["1", "15"], "output": false }, + { "inputs": ["2933730621", "7"], "output": true }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "gt_euint32_euint8": [ - { "inputs": ["1", "7"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["1917780828", "163"], "output": true }, + { "inputs": ["159", "163"], "output": false }, + { "inputs": ["163", "163"], "output": false }, + { "inputs": ["163", "159"], "output": true } ], "gt_euint32_euint16": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["1221805876", "57752"], "output": true }, + { "inputs": ["57748", "57752"], "output": false }, + { "inputs": ["57752", "57752"], "output": false }, + { "inputs": ["57752", "57748"], "output": true } ], "gt_euint32_euint32": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["2212514392", "854163759"], "output": true }, + { "inputs": ["854163755", "854163759"], "output": false }, + { "inputs": ["854163759", "854163759"], "output": false }, + { "inputs": ["854163759", "854163755"], "output": true } ], "gt_euint32_uint32": [ - { "inputs": ["1", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["2212514392", "3587264713"], "output": false }, + { "inputs": ["854163755", "854163759"], "output": false }, + { "inputs": ["854163759", "854163759"], "output": false }, + { "inputs": ["854163759", "854163755"], "output": true } ], "gt_uint32_euint32": [ - { "inputs": ["1", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["405003775", "3587264713"], "output": false }, + { "inputs": ["854163755", "854163759"], "output": false }, + { "inputs": ["854163759", "854163759"], "output": false }, + { "inputs": ["854163759", "854163755"], "output": true } ], "gt_euint32_euint64": [ - { "inputs": ["1", "3010"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["1296765186", "18439742981119094705"], "output": false }, + { "inputs": ["1296765182", "1296765186"], "output": false }, + { "inputs": ["1296765186", "1296765186"], "output": false }, + { "inputs": ["1296765186", "1296765182"], "output": true } ], "gt_euint64_euint4": [ - { "inputs": ["2050", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18445028672073920305", "11"], "output": true }, + { "inputs": ["7", "11"], "output": false }, + { "inputs": ["11", "11"], "output": false }, + { "inputs": ["11", "7"], "output": true } ], "gt_euint64_euint8": [ - { "inputs": ["2050", "12"], "output": true }, - { "inputs": ["8", "12"], "output": false }, - { "inputs": ["12", "12"], "output": false }, - { "inputs": ["12", "8"], "output": true } + { "inputs": ["18444472755157488819", "101"], "output": true }, + { "inputs": ["97", "101"], "output": false }, + { "inputs": ["101", "101"], "output": false }, + { "inputs": ["101", "97"], "output": true } ], "gt_euint64_euint16": [ - { "inputs": ["2050", "6"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18446239272421398075", "52612"], "output": true }, + { "inputs": ["52608", "52612"], "output": false }, + { "inputs": ["52612", "52612"], "output": false }, + { "inputs": ["52612", "52608"], "output": true } ], "gt_euint64_euint32": [ - { "inputs": ["2050", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18445619408455524051", "2595159918"], "output": true }, + { "inputs": ["2595159914", "2595159918"], "output": false }, + { "inputs": ["2595159918", "2595159918"], "output": false }, + { "inputs": ["2595159918", "2595159914"], "output": true } ], "gt_euint64_euint64": [ - { "inputs": ["2050", "2503"], "output": false }, - { "inputs": ["2046", "2050"], "output": false }, - { "inputs": ["2050", "2050"], "output": false }, - { "inputs": ["2050", "2046"], "output": true } + { "inputs": ["18439787790330435145", "18439484090308827429"], "output": true }, + { "inputs": ["18439484090308827425", "18439484090308827429"], "output": false }, + { "inputs": ["18439484090308827429", "18439484090308827429"], "output": false }, + { "inputs": ["18439484090308827429", "18439484090308827425"], "output": true } ], "gt_euint64_uint64": [ - { "inputs": ["2050", "4117"], "output": false }, - { "inputs": ["2046", "2050"], "output": false }, - { "inputs": ["2050", "2050"], "output": false }, - { "inputs": ["2050", "2046"], "output": true } + { "inputs": ["18439787790330435145", "18441907321511169065"], "output": false }, + { "inputs": ["18439484090308827425", "18439484090308827429"], "output": false }, + { "inputs": ["18439484090308827429", "18439484090308827429"], "output": false }, + { "inputs": ["18439484090308827429", "18439484090308827425"], "output": true } ], "gt_uint64_euint64": [ - { "inputs": ["44963", "4117"], "output": true }, - { "inputs": ["2046", "2050"], "output": false }, - { "inputs": ["2050", "2050"], "output": false }, - { "inputs": ["2050", "2046"], "output": true } + { "inputs": ["18438935380134710315", "18441907321511169065"], "output": false }, + { "inputs": ["18439484090308827425", "18439484090308827429"], "output": false }, + { "inputs": ["18439484090308827429", "18439484090308827429"], "output": false }, + { "inputs": ["18439484090308827429", "18439484090308827425"], "output": true } ], "eq_euint4_euint4": [ - { "inputs": ["15", "1"], "output": false }, + { "inputs": ["8", "2"], "output": false }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "eq_euint4_euint8": [ - { "inputs": ["15", "5"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["14", "180"], "output": false }, + { "inputs": ["10", "14"], "output": false }, + { "inputs": ["14", "14"], "output": true }, + { "inputs": ["14", "10"], "output": false } ], "eq_euint4_uint8": [ - { "inputs": ["15", "15"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["14", "4"], "output": false }, + { "inputs": ["10", "14"], "output": false }, + { "inputs": ["14", "14"], "output": true }, + { "inputs": ["14", "10"], "output": false } ], "eq_euint4_euint16": [ - { "inputs": ["15", "2"], "output": false }, + { "inputs": ["9", "7831"], "output": false }, + { "inputs": ["5", "9"], "output": false }, + { "inputs": ["9", "9"], "output": true }, + { "inputs": ["9", "5"], "output": false } + ], + "eq_euint4_euint32": [ + { "inputs": ["6", "2902824357"], "output": false }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], - "eq_euint4_euint32": [ - { "inputs": ["15", "16"], "output": false }, - { "inputs": ["11", "15"], "output": false }, - { "inputs": ["15", "15"], "output": true }, - { "inputs": ["15", "11"], "output": false } - ], "eq_euint4_euint64": [ - { "inputs": ["15", "191715"], "output": false }, - { "inputs": ["11", "15"], "output": false }, - { "inputs": ["15", "15"], "output": true }, - { "inputs": ["15", "11"], "output": false } + { "inputs": ["4", "18441783865246079825"], "output": false }, + { "inputs": ["4", "8"], "output": false }, + { "inputs": ["8", "8"], "output": true }, + { "inputs": ["8", "4"], "output": false } ], "eq_euint8_euint4": [ - { "inputs": ["1", "2"], "output": false }, + { "inputs": ["168", "1"], "output": false }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "eq_uint8_euint4": [ - { "inputs": ["1", "2"], "output": false }, + { "inputs": ["11", "1"], "output": false }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "eq_euint8_euint8": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["101", "188"], "output": false }, + { "inputs": ["97", "101"], "output": false }, + { "inputs": ["101", "101"], "output": true }, + { "inputs": ["101", "97"], "output": false } ], "eq_euint8_uint8": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["101", "175"], "output": false }, + { "inputs": ["97", "101"], "output": false }, + { "inputs": ["101", "101"], "output": true }, + { "inputs": ["101", "97"], "output": false } ], "eq_uint8_euint8": [ - { "inputs": ["5", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["182", "175"], "output": false }, + { "inputs": ["97", "101"], "output": false }, + { "inputs": ["101", "101"], "output": true }, + { "inputs": ["101", "97"], "output": false } ], "eq_euint8_euint16": [ - { "inputs": ["5", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["111", "58517"], "output": false }, + { "inputs": ["107", "111"], "output": false }, + { "inputs": ["111", "111"], "output": true }, + { "inputs": ["111", "107"], "output": false } ], "eq_euint8_euint32": [ - { "inputs": ["5", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["161", "1325601812"], "output": false }, + { "inputs": ["157", "161"], "output": false }, + { "inputs": ["161", "161"], "output": true }, + { "inputs": ["161", "157"], "output": false } ], "eq_euint8_euint64": [ - { "inputs": ["5", "5764"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["91", "18446457346943992227"], "output": false }, + { "inputs": ["87", "91"], "output": false }, + { "inputs": ["91", "91"], "output": true }, + { "inputs": ["91", "87"], "output": false } ], "eq_euint16_euint4": [ - { "inputs": ["5", "7"], "output": false }, + { "inputs": ["43178", "6"], "output": false }, { "inputs": ["4", "8"], "output": false }, { "inputs": ["8", "8"], "output": true }, { "inputs": ["8", "4"], "output": false } ], "eq_euint16_euint8": [ - { "inputs": ["5", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["52156", "49"], "output": false }, + { "inputs": ["45", "49"], "output": false }, + { "inputs": ["49", "49"], "output": true }, + { "inputs": ["49", "45"], "output": false } ], "eq_euint16_euint16": [ - { "inputs": ["5", "6"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["53936", "55687"], "output": false }, + { "inputs": ["53932", "53936"], "output": false }, + { "inputs": ["53936", "53936"], "output": true }, + { "inputs": ["53936", "53932"], "output": false } ], "eq_euint16_uint16": [ - { "inputs": ["5", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["53936", "62296"], "output": false }, + { "inputs": ["53932", "53936"], "output": false }, + { "inputs": ["53936", "53936"], "output": true }, + { "inputs": ["53936", "53932"], "output": false } ], "eq_uint16_euint16": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["49783", "62296"], "output": false }, + { "inputs": ["53932", "53936"], "output": false }, + { "inputs": ["53936", "53936"], "output": true }, + { "inputs": ["53936", "53932"], "output": false } ], "eq_euint16_euint32": [ - { "inputs": ["1", "9"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["26213", "2142712247"], "output": false }, + { "inputs": ["26209", "26213"], "output": false }, + { "inputs": ["26213", "26213"], "output": true }, + { "inputs": ["26213", "26209"], "output": false } ], "eq_euint16_euint64": [ - { "inputs": ["1", "4154"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["38256", "18442430973530036421"], "output": false }, + { "inputs": ["38252", "38256"], "output": false }, + { "inputs": ["38256", "38256"], "output": true }, + { "inputs": ["38256", "38252"], "output": false } ], "eq_euint32_euint4": [ - { "inputs": ["1", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["2724048740", "14"], "output": false }, + { "inputs": ["10", "14"], "output": false }, + { "inputs": ["14", "14"], "output": true }, + { "inputs": ["14", "10"], "output": false } ], "eq_euint32_euint8": [ - { "inputs": ["1", "1"], "output": true }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["2890164202", "10"], "output": false }, + { "inputs": ["6", "10"], "output": false }, + { "inputs": ["10", "10"], "output": true }, + { "inputs": ["10", "6"], "output": false } ], "eq_euint32_euint16": [ - { "inputs": ["1", "5"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["3540063980", "53142"], "output": false }, + { "inputs": ["53138", "53142"], "output": false }, + { "inputs": ["53142", "53142"], "output": true }, + { "inputs": ["53142", "53138"], "output": false } ], "eq_euint32_euint32": [ - { "inputs": ["1", "54"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["3674813327", "3173886291"], "output": false }, + { "inputs": ["3173886287", "3173886291"], "output": false }, + { "inputs": ["3173886291", "3173886291"], "output": true }, + { "inputs": ["3173886291", "3173886287"], "output": false } ], "eq_euint32_uint32": [ - { "inputs": ["1", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["3674813327", "340447461"], "output": false }, + { "inputs": ["3173886287", "3173886291"], "output": false }, + { "inputs": ["3173886291", "3173886291"], "output": true }, + { "inputs": ["3173886291", "3173886287"], "output": false } ], "eq_uint32_euint32": [ - { "inputs": ["1", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["630917914", "340447461"], "output": false }, + { "inputs": ["3173886287", "3173886291"], "output": false }, + { "inputs": ["3173886291", "3173886291"], "output": true }, + { "inputs": ["3173886291", "3173886287"], "output": false } ], "eq_euint32_euint64": [ - { "inputs": ["1", "2530"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["2805333302", "18443732701658209223"], "output": false }, + { "inputs": ["2805333298", "2805333302"], "output": false }, + { "inputs": ["2805333302", "2805333302"], "output": true }, + { "inputs": ["2805333302", "2805333298"], "output": false } ], "eq_euint64_euint4": [ - { "inputs": ["55032", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18439121948970600941", "14"], "output": false }, + { "inputs": ["10", "14"], "output": false }, + { "inputs": ["14", "14"], "output": true }, + { "inputs": ["14", "10"], "output": false } ], "eq_euint64_euint8": [ - { "inputs": ["55032", "1"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18441725985045807501", "52"], "output": false }, + { "inputs": ["48", "52"], "output": false }, + { "inputs": ["52", "52"], "output": true }, + { "inputs": ["52", "48"], "output": false } ], "eq_euint64_euint16": [ - { "inputs": ["55032", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18444068251063204057", "45460"], "output": false }, + { "inputs": ["45456", "45460"], "output": false }, + { "inputs": ["45460", "45460"], "output": true }, + { "inputs": ["45460", "45456"], "output": false } ], "eq_euint64_euint32": [ - { "inputs": ["55032", "3"], "output": false }, - { "inputs": ["4", "8"], "output": false }, - { "inputs": ["8", "8"], "output": true }, - { "inputs": ["8", "4"], "output": false } + { "inputs": ["18444814847193612111", "3675625287"], "output": false }, + { "inputs": ["3675625283", "3675625287"], "output": false }, + { "inputs": ["3675625287", "3675625287"], "output": true }, + { "inputs": ["3675625287", "3675625283"], "output": false } ], "eq_euint64_euint64": [ - { "inputs": ["55032", "3655"], "output": false }, - { "inputs": ["3651", "3655"], "output": false }, - { "inputs": ["3655", "3655"], "output": true }, - { "inputs": ["3655", "3651"], "output": false } + { "inputs": ["18443330521266220729", "18438253731135327627"], "output": false }, + { "inputs": ["18438253731135327623", "18438253731135327627"], "output": false }, + { "inputs": ["18438253731135327627", "18438253731135327627"], "output": true }, + { "inputs": ["18438253731135327627", "18438253731135327623"], "output": false } ], "eq_euint64_uint64": [ - { "inputs": ["55032", "2077"], "output": false }, - { "inputs": ["3651", "3655"], "output": false }, - { "inputs": ["3655", "3655"], "output": true }, - { "inputs": ["3655", "3651"], "output": false } + { "inputs": ["18443330521266220729", "18446706410531688277"], "output": false }, + { "inputs": ["18438253731135327623", "18438253731135327627"], "output": false }, + { "inputs": ["18438253731135327627", "18438253731135327627"], "output": true }, + { "inputs": ["18438253731135327627", "18438253731135327623"], "output": false } ], "eq_uint64_euint64": [ - { "inputs": ["6350", "2077"], "output": false }, - { "inputs": ["3651", "3655"], "output": false }, - { "inputs": ["3655", "3655"], "output": true }, - { "inputs": ["3655", "3651"], "output": false } + { "inputs": ["18444395277752785729", "18446706410531688277"], "output": false }, + { "inputs": ["18438253731135327623", "18438253731135327627"], "output": false }, + { "inputs": ["18438253731135327627", "18438253731135327627"], "output": true }, + { "inputs": ["18438253731135327627", "18438253731135327623"], "output": false } ], "ne_euint4_euint4": [ - { "inputs": ["3", "3"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["11", "12"], "output": true }, + { "inputs": ["7", "11"], "output": true }, + { "inputs": ["11", "11"], "output": false }, + { "inputs": ["11", "7"], "output": true } ], "ne_euint4_euint8": [ - { "inputs": ["3", "3"], "output": false }, + { "inputs": ["7", "94"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "ne_euint4_uint8": [ - { "inputs": ["3", "1"], "output": true }, + { "inputs": ["7", "12"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "ne_euint4_euint16": [ - { "inputs": ["3", "41"], "output": true }, + { "inputs": ["2", "63787"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "ne_euint4_euint32": [ - { "inputs": ["3", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["13", "3287915476"], "output": true }, + { "inputs": ["9", "13"], "output": true }, + { "inputs": ["13", "13"], "output": false }, + { "inputs": ["13", "9"], "output": true } ], "ne_euint4_euint64": [ - { "inputs": ["3", "2558"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["11", "18442031616327904827"], "output": true }, + { "inputs": ["7", "11"], "output": true }, + { "inputs": ["11", "11"], "output": false }, + { "inputs": ["11", "7"], "output": true } ], "ne_euint8_euint4": [ - { "inputs": ["2", "2"], "output": false }, + { "inputs": ["237", "1"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "ne_uint8_euint4": [ - { "inputs": ["2", "2"], "output": false }, + { "inputs": ["3", "1"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "ne_euint8_euint8": [ - { "inputs": ["2", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["250", "143"], "output": true }, + { "inputs": ["139", "143"], "output": true }, + { "inputs": ["143", "143"], "output": false }, + { "inputs": ["143", "139"], "output": true } ], "ne_euint8_uint8": [ - { "inputs": ["2", "2"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["250", "114"], "output": true }, + { "inputs": ["139", "143"], "output": true }, + { "inputs": ["143", "143"], "output": false }, + { "inputs": ["143", "139"], "output": true } ], "ne_uint8_euint8": [ - { "inputs": ["3", "2"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["139", "114"], "output": true }, + { "inputs": ["139", "143"], "output": true }, + { "inputs": ["143", "143"], "output": false }, + { "inputs": ["143", "139"], "output": true } ], "ne_euint8_euint16": [ - { "inputs": ["3", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["86", "21243"], "output": true }, + { "inputs": ["82", "86"], "output": true }, + { "inputs": ["86", "86"], "output": false }, + { "inputs": ["86", "82"], "output": true } ], "ne_euint8_euint32": [ - { "inputs": ["3", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["185", "1521229668"], "output": true }, + { "inputs": ["181", "185"], "output": true }, + { "inputs": ["185", "185"], "output": false }, + { "inputs": ["185", "181"], "output": true } ], "ne_euint8_euint64": [ - { "inputs": ["3", "2082"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["109", "18443318570639553087"], "output": true }, + { "inputs": ["105", "109"], "output": true }, + { "inputs": ["109", "109"], "output": false }, + { "inputs": ["109", "105"], "output": true } ], "ne_euint16_euint4": [ - { "inputs": ["3", "3"], "output": false }, + { "inputs": ["36210", "8"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], "ne_euint16_euint8": [ - { "inputs": ["3", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["45762", "206"], "output": true }, + { "inputs": ["202", "206"], "output": true }, + { "inputs": ["206", "206"], "output": false }, + { "inputs": ["206", "202"], "output": true } ], "ne_euint16_euint16": [ - { "inputs": ["3", "2"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["64200", "17038"], "output": true }, + { "inputs": ["17034", "17038"], "output": true }, + { "inputs": ["17038", "17038"], "output": false }, + { "inputs": ["17038", "17034"], "output": true } ], "ne_euint16_uint16": [ - { "inputs": ["3", "6"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["64200", "15145"], "output": true }, + { "inputs": ["17034", "17038"], "output": true }, + { "inputs": ["17038", "17038"], "output": false }, + { "inputs": ["17038", "17034"], "output": true } ], "ne_uint16_euint16": [ - { "inputs": ["1", "6"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["35214", "15145"], "output": true }, + { "inputs": ["17034", "17038"], "output": true }, + { "inputs": ["17038", "17038"], "output": false }, + { "inputs": ["17038", "17034"], "output": true } ], "ne_euint16_euint32": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["52545", "2079966846"], "output": true }, + { "inputs": ["52541", "52545"], "output": true }, + { "inputs": ["52545", "52545"], "output": false }, + { "inputs": ["52545", "52541"], "output": true } ], "ne_euint16_euint64": [ - { "inputs": ["1", "14889"], "output": true }, + { "inputs": ["33238", "18440140341099634203"], "output": true }, + { "inputs": ["33234", "33238"], "output": true }, + { "inputs": ["33238", "33238"], "output": false }, + { "inputs": ["33238", "33234"], "output": true } + ], + "ne_euint32_euint4": [ + { "inputs": ["2506657954", "7"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], - "ne_euint32_euint4": [ - { "inputs": ["24", "15"], "output": true }, - { "inputs": ["11", "15"], "output": true }, - { "inputs": ["15", "15"], "output": false }, - { "inputs": ["15", "11"], "output": true } - ], "ne_euint32_euint8": [ - { "inputs": ["24", "13"], "output": true }, - { "inputs": ["9", "13"], "output": true }, - { "inputs": ["13", "13"], "output": false }, - { "inputs": ["13", "9"], "output": true } + { "inputs": ["874720156", "10"], "output": true }, + { "inputs": ["6", "10"], "output": true }, + { "inputs": ["10", "10"], "output": false }, + { "inputs": ["10", "6"], "output": true } ], "ne_euint32_euint16": [ - { "inputs": ["24", "2"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["2729404223", "63905"], "output": true }, + { "inputs": ["63901", "63905"], "output": true }, + { "inputs": ["63905", "63905"], "output": false }, + { "inputs": ["63905", "63901"], "output": true } ], "ne_euint32_euint32": [ - { "inputs": ["24", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["40863923", "1726230330"], "output": true }, + { "inputs": ["40863919", "40863923"], "output": true }, + { "inputs": ["40863923", "40863923"], "output": false }, + { "inputs": ["40863923", "40863919"], "output": true } ], "ne_euint32_uint32": [ - { "inputs": ["24", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["40863923", "740881042"], "output": true }, + { "inputs": ["40863919", "40863923"], "output": true }, + { "inputs": ["40863923", "40863923"], "output": false }, + { "inputs": ["40863923", "40863919"], "output": true } ], "ne_uint32_euint32": [ - { "inputs": ["1", "1"], "output": false }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["3944008003", "740881042"], "output": true }, + { "inputs": ["40863919", "40863923"], "output": true }, + { "inputs": ["40863923", "40863923"], "output": false }, + { "inputs": ["40863923", "40863919"], "output": true } ], "ne_euint32_euint64": [ - { "inputs": ["1", "2583"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["734315994", "18437906324621631829"], "output": true }, + { "inputs": ["734315990", "734315994"], "output": true }, + { "inputs": ["734315994", "734315994"], "output": false }, + { "inputs": ["734315994", "734315990"], "output": true } ], "ne_euint64_euint4": [ - { "inputs": ["3163", "15"], "output": true }, - { "inputs": ["11", "15"], "output": true }, - { "inputs": ["15", "15"], "output": false }, - { "inputs": ["15", "11"], "output": true } - ], - "ne_euint64_euint8": [ - { "inputs": ["3163", "2"], "output": true }, + { "inputs": ["18442748864669273899", "3"], "output": true }, { "inputs": ["4", "8"], "output": true }, { "inputs": ["8", "8"], "output": false }, { "inputs": ["8", "4"], "output": true } ], + "ne_euint64_euint8": [ + { "inputs": ["18437879735793971605", "183"], "output": true }, + { "inputs": ["179", "183"], "output": true }, + { "inputs": ["183", "183"], "output": false }, + { "inputs": ["183", "179"], "output": true } + ], "ne_euint64_euint16": [ - { "inputs": ["3163", "2"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18439766867707518465", "19155"], "output": true }, + { "inputs": ["19151", "19155"], "output": true }, + { "inputs": ["19155", "19155"], "output": false }, + { "inputs": ["19155", "19151"], "output": true } ], "ne_euint64_euint32": [ - { "inputs": ["3163", "1"], "output": true }, - { "inputs": ["4", "8"], "output": true }, - { "inputs": ["8", "8"], "output": false }, - { "inputs": ["8", "4"], "output": true } + { "inputs": ["18442332740658370363", "1304399628"], "output": true }, + { "inputs": ["1304399624", "1304399628"], "output": true }, + { "inputs": ["1304399628", "1304399628"], "output": false }, + { "inputs": ["1304399628", "1304399624"], "output": true } ], "ne_euint64_euint64": [ - { "inputs": ["3163", "2116"], "output": true }, - { "inputs": ["2112", "2116"], "output": true }, - { "inputs": ["2116", "2116"], "output": false }, - { "inputs": ["2116", "2112"], "output": true } + { "inputs": ["18445140354518938845", "18441391037965649995"], "output": true }, + { "inputs": ["18441391037965649991", "18441391037965649995"], "output": true }, + { "inputs": ["18441391037965649995", "18441391037965649995"], "output": false }, + { "inputs": ["18441391037965649995", "18441391037965649991"], "output": true } ], "ne_euint64_uint64": [ - { "inputs": ["3163", "3329"], "output": true }, - { "inputs": ["2112", "2116"], "output": true }, - { "inputs": ["2116", "2116"], "output": false }, - { "inputs": ["2116", "2112"], "output": true } + { "inputs": ["18445140354518938845", "18438176226766160787"], "output": true }, + { "inputs": ["18441391037965649991", "18441391037965649995"], "output": true }, + { "inputs": ["18441391037965649995", "18441391037965649995"], "output": false }, + { "inputs": ["18441391037965649995", "18441391037965649991"], "output": true } ], "ne_uint64_euint64": [ - { "inputs": ["2985", "3329"], "output": true }, - { "inputs": ["2112", "2116"], "output": true }, - { "inputs": ["2116", "2116"], "output": false }, - { "inputs": ["2116", "2112"], "output": true } + { "inputs": ["18443547473224968383", "18438176226766160787"], "output": true }, + { "inputs": ["18441391037965649991", "18441391037965649995"], "output": true }, + { "inputs": ["18441391037965649995", "18441391037965649995"], "output": false }, + { "inputs": ["18441391037965649995", "18441391037965649991"], "output": true } ], "shl_euint4_uint8": [ - { "inputs": ["1", "3"], "output": 8 }, + { "inputs": ["13", "5"], "output": 10 }, { "inputs": ["4", "8"], "output": 4 }, { "inputs": ["8", "8"], "output": 8 }, { "inputs": ["8", "4"], "output": 8 } ], "shl_euint8_euint8": [ - { "inputs": ["1", "2"], "output": 4 }, + { "inputs": ["34", "4"], "output": 32 }, { "inputs": ["4", "8"], "output": 4 }, { "inputs": ["8", "8"], "output": 8 }, { "inputs": ["8", "4"], "output": 128 } ], "shl_euint8_uint8": [ - { "inputs": ["1", "2"], "output": 4 }, + { "inputs": ["34", "4"], "output": 32 }, { "inputs": ["4", "8"], "output": 4 }, { "inputs": ["8", "8"], "output": 8 }, { "inputs": ["8", "4"], "output": 128 } ], "shl_euint16_euint8": [ - { "inputs": ["1", "5"], "output": 32 }, + { "inputs": ["15362", "2"], "output": 61448 }, { "inputs": ["4", "8"], "output": 1024 }, { "inputs": ["8", "8"], "output": 2048 }, { "inputs": ["8", "4"], "output": 128 } ], "shl_euint16_uint8": [ - { "inputs": ["1", "5"], "output": 32 }, + { "inputs": ["15362", "2"], "output": 61448 }, { "inputs": ["4", "8"], "output": 1024 }, { "inputs": ["8", "8"], "output": 2048 }, { "inputs": ["8", "4"], "output": 128 } ], "shl_euint32_euint8": [ - { "inputs": ["1", "6"], "output": 64 }, + { "inputs": ["833510670", "1"], "output": 1667021340 }, { "inputs": ["4", "8"], "output": 1024 }, { "inputs": ["8", "8"], "output": 2048 }, { "inputs": ["8", "4"], "output": 128 } ], "shl_euint32_uint8": [ - { "inputs": ["1", "6"], "output": 64 }, + { "inputs": ["833510670", "1"], "output": 1667021340 }, { "inputs": ["4", "8"], "output": 1024 }, { "inputs": ["8", "8"], "output": 2048 }, { "inputs": ["8", "4"], "output": 128 } ], "shl_euint64_euint8": [ - { "inputs": ["4744", "2"], "output": 18976 }, + { "inputs": ["18445451452906630791", "5"], "output": 18405380208016085000 }, { "inputs": ["4", "8"], "output": 1024 }, { "inputs": ["8", "8"], "output": 2048 }, { "inputs": ["8", "4"], "output": 128 } ], "shl_euint64_uint8": [ - { "inputs": ["4744", "2"], "output": 18976 }, + { "inputs": ["18445451452906630791", "5"], "output": 18405380208016085000 }, { "inputs": ["4", "8"], "output": 1024 }, { "inputs": ["8", "8"], "output": 2048 }, { "inputs": ["8", "4"], "output": 128 } ], "shr_euint4_uint8": [ - { "inputs": ["5", "6"], "output": 1 }, + { "inputs": ["14", "4"], "output": 14 }, { "inputs": ["4", "8"], "output": 4 }, { "inputs": ["8", "8"], "output": 8 }, { "inputs": ["8", "4"], "output": 8 } ], "shr_euint8_euint8": [ - { "inputs": ["1", "1"], "output": 0 }, + { "inputs": ["68", "4"], "output": 4 }, { "inputs": ["4", "8"], "output": 4 }, { "inputs": ["8", "8"], "output": 8 }, { "inputs": ["8", "4"], "output": 0 } ], "shr_euint8_uint8": [ - { "inputs": ["1", "1"], "output": 0 }, + { "inputs": ["68", "4"], "output": 4 }, { "inputs": ["4", "8"], "output": 4 }, { "inputs": ["8", "8"], "output": 8 }, { "inputs": ["8", "4"], "output": 0 } ], "shr_euint16_euint8": [ - { "inputs": ["278", "4"], "output": 17 }, + { "inputs": ["25648", "5"], "output": 801 }, { "inputs": ["4", "8"], "output": 0 }, { "inputs": ["8", "8"], "output": 0 }, { "inputs": ["8", "4"], "output": 0 } ], "shr_euint16_uint8": [ - { "inputs": ["278", "4"], "output": 17 }, + { "inputs": ["25648", "5"], "output": 801 }, { "inputs": ["4", "8"], "output": 0 }, { "inputs": ["8", "8"], "output": 0 }, { "inputs": ["8", "4"], "output": 0 } ], "shr_euint32_euint8": [ - { "inputs": ["2", "6"], "output": 0 }, + { "inputs": ["3957313401", "6"], "output": 61833021 }, { "inputs": ["4", "8"], "output": 0 }, { "inputs": ["8", "8"], "output": 0 }, { "inputs": ["8", "4"], "output": 0 } ], "shr_euint32_uint8": [ - { "inputs": ["2", "6"], "output": 0 }, + { "inputs": ["3957313401", "6"], "output": 61833021 }, { "inputs": ["4", "8"], "output": 0 }, { "inputs": ["8", "8"], "output": 0 }, { "inputs": ["8", "4"], "output": 0 } ], "shr_euint64_euint8": [ - { "inputs": ["23325", "5"], "output": 728 }, + { "inputs": ["18439569308403000305", "1"], "output": 9219784654201500000 }, { "inputs": ["4", "8"], "output": 0 }, { "inputs": ["8", "8"], "output": 0 }, { "inputs": ["8", "4"], "output": 0 } ], "shr_euint64_uint8": [ - { "inputs": ["23325", "5"], "output": 728 }, + { "inputs": ["18439569308403000305", "1"], "output": 9219784654201500000 }, { "inputs": ["4", "8"], "output": 0 }, { "inputs": ["8", "8"], "output": 0 }, { "inputs": ["8", "4"], "output": 0 } ], "max_euint4_euint4": [ - { "inputs": ["1", "2"], "output": "2" }, + { "inputs": ["8", "3"], "output": "8" }, { "inputs": ["4", "8"], "output": "8" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "8" } ], "max_euint4_euint8": [ - { "inputs": ["1", "5"], "output": "5" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["11", "181"], "output": "181" }, + { "inputs": ["7", "11"], "output": "11" }, + { "inputs": ["11", "11"], "output": "11" }, + { "inputs": ["11", "7"], "output": "11" } ], "max_euint4_uint8": [ - { "inputs": ["1", "7"], "output": "7" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["11", "7"], "output": "11" }, + { "inputs": ["7", "11"], "output": "11" }, + { "inputs": ["11", "11"], "output": "11" }, + { "inputs": ["11", "7"], "output": "11" } ], "max_euint4_euint16": [ - { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["2", "61770"], "output": "61770" }, { "inputs": ["4", "8"], "output": "8" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "8" } ], "max_euint4_euint32": [ - { "inputs": ["1", "6"], "output": "6" }, + { "inputs": ["2", "1031795645"], "output": "1031795645" }, { "inputs": ["4", "8"], "output": "8" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "8" } ], "max_euint4_euint64": [ - { "inputs": ["1", "2520"], "output": "2520" }, + { "inputs": ["3", "18443395042624107977"], "output": "18443395042624107977" }, { "inputs": ["4", "8"], "output": "8" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "8" } ], "max_euint8_euint4": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["211", "14"], "output": "211" }, + { "inputs": ["10", "14"], "output": "14" }, + { "inputs": ["14", "14"], "output": "14" }, + { "inputs": ["14", "10"], "output": "14" } ], "max_uint8_euint4": [ - { "inputs": ["3", "1"], "output": "3" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["7", "14"], "output": "14" }, + { "inputs": ["10", "14"], "output": "14" }, + { "inputs": ["14", "14"], "output": "14" }, + { "inputs": ["14", "10"], "output": "14" } ], "max_euint8_euint8": [ - { "inputs": ["3", "3"], "output": "3" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["198", "211"], "output": "211" }, + { "inputs": ["194", "198"], "output": "198" }, + { "inputs": ["198", "198"], "output": "198" }, + { "inputs": ["198", "194"], "output": "198" } ], "max_euint8_uint8": [ - { "inputs": ["3", "14"], "output": "14" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["198", "31"], "output": "198" }, + { "inputs": ["194", "198"], "output": "198" }, + { "inputs": ["198", "198"], "output": "198" }, + { "inputs": ["198", "194"], "output": "198" } ], "max_uint8_euint8": [ - { "inputs": ["1", "14"], "output": "14" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["102", "31"], "output": "102" }, + { "inputs": ["194", "198"], "output": "198" }, + { "inputs": ["198", "198"], "output": "198" }, + { "inputs": ["198", "194"], "output": "198" } ], "max_euint8_euint16": [ - { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["8", "11440"], "output": "11440" }, { "inputs": ["4", "8"], "output": "8" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "8" } ], "max_euint8_euint32": [ - { "inputs": ["1", "3"], "output": "3" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["130", "566960922"], "output": "566960922" }, + { "inputs": ["126", "130"], "output": "130" }, + { "inputs": ["130", "130"], "output": "130" }, + { "inputs": ["130", "126"], "output": "130" } ], "max_euint8_euint64": [ - { "inputs": ["1", "9155"], "output": "9155" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["172", "18445195398017975891"], "output": "18445195398017975891" }, + { "inputs": ["168", "172"], "output": "172" }, + { "inputs": ["172", "172"], "output": "172" }, + { "inputs": ["172", "168"], "output": "172" } ], "max_euint16_euint4": [ - { "inputs": ["2", "1"], "output": "2" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["29272", "10"], "output": "29272" }, + { "inputs": ["6", "10"], "output": "10" }, + { "inputs": ["10", "10"], "output": "10" }, + { "inputs": ["10", "6"], "output": "10" } ], "max_euint16_euint8": [ - { "inputs": ["2", "1"], "output": "2" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["18336", "117"], "output": "18336" }, + { "inputs": ["113", "117"], "output": "117" }, + { "inputs": ["117", "117"], "output": "117" }, + { "inputs": ["117", "113"], "output": "117" } ], "max_euint16_euint16": [ - { "inputs": ["2", "1"], "output": "2" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["34561", "34789"], "output": "34789" }, + { "inputs": ["34557", "34561"], "output": "34561" }, + { "inputs": ["34561", "34561"], "output": "34561" }, + { "inputs": ["34561", "34557"], "output": "34561" } ], "max_euint16_uint16": [ - { "inputs": ["2", "34"], "output": "34" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["34561", "63895"], "output": "63895" }, + { "inputs": ["34557", "34561"], "output": "34561" }, + { "inputs": ["34561", "34561"], "output": "34561" }, + { "inputs": ["34561", "34557"], "output": "34561" } ], "max_uint16_euint16": [ - { "inputs": ["1", "34"], "output": "34" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["52784", "63895"], "output": "63895" }, + { "inputs": ["34557", "34561"], "output": "34561" }, + { "inputs": ["34561", "34561"], "output": "34561" }, + { "inputs": ["34561", "34557"], "output": "34561" } ], "max_euint16_euint32": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["50723", "1432053137"], "output": "1432053137" }, + { "inputs": ["50719", "50723"], "output": "50723" }, + { "inputs": ["50723", "50723"], "output": "50723" }, + { "inputs": ["50723", "50719"], "output": "50723" } ], "max_euint16_euint64": [ - { "inputs": ["1", "3622"], "output": "3622" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["23644", "18446414081706845657"], "output": "18446414081706845657" }, + { "inputs": ["23640", "23644"], "output": "23644" }, + { "inputs": ["23644", "23644"], "output": "23644" }, + { "inputs": ["23644", "23640"], "output": "23644" } ], "max_euint32_euint4": [ - { "inputs": ["9", "5"], "output": "9" }, + { "inputs": ["681402629", "7"], "output": "681402629" }, { "inputs": ["4", "8"], "output": "8" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "8" } ], "max_euint32_euint8": [ - { "inputs": ["9", "2"], "output": "9" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["1610798197", "160"], "output": "1610798197" }, + { "inputs": ["156", "160"], "output": "160" }, + { "inputs": ["160", "160"], "output": "160" }, + { "inputs": ["160", "156"], "output": "160" } ], "max_euint32_euint16": [ - { "inputs": ["9", "2"], "output": "9" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["4136615954", "9960"], "output": "4136615954" }, + { "inputs": ["9956", "9960"], "output": "9960" }, + { "inputs": ["9960", "9960"], "output": "9960" }, + { "inputs": ["9960", "9956"], "output": "9960" } ], "max_euint32_euint32": [ - { "inputs": ["9", "6"], "output": "9" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["2043312979", "3247295293"], "output": "3247295293" }, + { "inputs": ["2043312975", "2043312979"], "output": "2043312979" }, + { "inputs": ["2043312979", "2043312979"], "output": "2043312979" }, + { "inputs": ["2043312979", "2043312975"], "output": "2043312979" } ], - "max_euint32_uint32": [ - { "inputs": ["9", "12"], "output": "12" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + "max_euint32_uint32": [ + { "inputs": ["2043312979", "706283813"], "output": "2043312979" }, + { "inputs": ["2043312975", "2043312979"], "output": "2043312979" }, + { "inputs": ["2043312979", "2043312979"], "output": "2043312979" }, + { "inputs": ["2043312979", "2043312975"], "output": "2043312979" } ], "max_uint32_euint32": [ - { "inputs": ["4", "12"], "output": "12" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["1094445398", "706283813"], "output": "1094445398" }, + { "inputs": ["2043312975", "2043312979"], "output": "2043312979" }, + { "inputs": ["2043312979", "2043312979"], "output": "2043312979" }, + { "inputs": ["2043312979", "2043312975"], "output": "2043312979" } ], "max_euint32_euint64": [ - { "inputs": ["4", "2425"], "output": "2425" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["340812031", "18443150842651286449"], "output": "18443150842651286449" }, + { "inputs": ["340812027", "340812031"], "output": "340812031" }, + { "inputs": ["340812031", "340812031"], "output": "340812031" }, + { "inputs": ["340812031", "340812027"], "output": "340812031" } ], "max_euint64_euint4": [ - { "inputs": ["2374", "3"], "output": "2374" }, + { "inputs": ["18441711596093702931", "1"], "output": "18441711596093702931" }, { "inputs": ["4", "8"], "output": "8" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "8" } ], "max_euint64_euint8": [ - { "inputs": ["2374", "1"], "output": "2374" }, + { "inputs": ["18442614857754346699", "3"], "output": "18442614857754346699" }, { "inputs": ["4", "8"], "output": "8" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "8" } ], "max_euint64_euint16": [ - { "inputs": ["2374", "1"], "output": "2374" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["18439537518803733101", "41315"], "output": "18439537518803733101" }, + { "inputs": ["41311", "41315"], "output": "41315" }, + { "inputs": ["41315", "41315"], "output": "41315" }, + { "inputs": ["41315", "41311"], "output": "41315" } ], "max_euint64_euint32": [ - { "inputs": ["2374", "2"], "output": "2374" }, - { "inputs": ["4", "8"], "output": "8" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "8" } + { "inputs": ["18439662390589911437", "4249693397"], "output": "18439662390589911437" }, + { "inputs": ["4249693393", "4249693397"], "output": "4249693397" }, + { "inputs": ["4249693397", "4249693397"], "output": "4249693397" }, + { "inputs": ["4249693397", "4249693393"], "output": "4249693397" } ], "max_euint64_euint64": [ - { "inputs": ["2374", "2762"], "output": "2762" }, - { "inputs": ["2370", "2374"], "output": "2374" }, - { "inputs": ["2374", "2374"], "output": "2374" }, - { "inputs": ["2374", "2370"], "output": "2374" } + { "inputs": ["18440739371866435289", "18438298584940765731"], "output": "18440739371866435289" }, + { "inputs": ["18438298584940765727", "18438298584940765731"], "output": "18438298584940765731" }, + { "inputs": ["18438298584940765731", "18438298584940765731"], "output": "18438298584940765731" }, + { "inputs": ["18438298584940765731", "18438298584940765727"], "output": "18438298584940765731" } ], "max_euint64_uint64": [ - { "inputs": ["2374", "5605"], "output": "5605" }, - { "inputs": ["2370", "2374"], "output": "2374" }, - { "inputs": ["2374", "2374"], "output": "2374" }, - { "inputs": ["2374", "2370"], "output": "2374" } + { "inputs": ["18440739371866435289", "18440643015791741637"], "output": "18440739371866435289" }, + { "inputs": ["18438298584940765727", "18438298584940765731"], "output": "18438298584940765731" }, + { "inputs": ["18438298584940765731", "18438298584940765731"], "output": "18438298584940765731" }, + { "inputs": ["18438298584940765731", "18438298584940765727"], "output": "18438298584940765731" } ], "max_uint64_euint64": [ - { "inputs": ["7998", "5605"], "output": "7998" }, - { "inputs": ["2370", "2374"], "output": "2374" }, - { "inputs": ["2374", "2374"], "output": "2374" }, - { "inputs": ["2374", "2370"], "output": "2374" } + { "inputs": ["18441357041435050863", "18440643015791741637"], "output": "18441357041435050863" }, + { "inputs": ["18438298584940765727", "18438298584940765731"], "output": "18438298584940765731" }, + { "inputs": ["18438298584940765731", "18438298584940765731"], "output": "18438298584940765731" }, + { "inputs": ["18438298584940765731", "18438298584940765727"], "output": "18438298584940765731" } ], "min_euint4_euint4": [ - { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["6", "5"], "output": "5" }, { "inputs": ["4", "8"], "output": "4" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "4" } ], "min_euint4_euint8": [ - { "inputs": ["1", "2"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["11", "237"], "output": "11" }, + { "inputs": ["7", "11"], "output": "7" }, + { "inputs": ["11", "11"], "output": "11" }, + { "inputs": ["11", "7"], "output": "7" } ], "min_euint4_uint8": [ - { "inputs": ["1", "15"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["11", "10"], "output": "10" }, + { "inputs": ["7", "11"], "output": "7" }, + { "inputs": ["11", "11"], "output": "11" }, + { "inputs": ["11", "7"], "output": "7" } ], "min_euint4_euint16": [ - { "inputs": ["1", "2"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["10", "26263"], "output": "10" }, + { "inputs": ["6", "10"], "output": "6" }, + { "inputs": ["10", "10"], "output": "10" }, + { "inputs": ["10", "6"], "output": "6" } ], "min_euint4_euint32": [ - { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["5", "2670542696"], "output": "5" }, { "inputs": ["4", "8"], "output": "4" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "4" } ], "min_euint4_euint64": [ - { "inputs": ["1", "2202"], "output": "1" }, + { "inputs": ["6", "18437937380503493287"], "output": "6" }, { "inputs": ["4", "8"], "output": "4" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "4" } ], "min_euint8_euint4": [ - { "inputs": ["8", "15"], "output": "8" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["58", "11"], "output": "11" }, + { "inputs": ["7", "11"], "output": "7" }, + { "inputs": ["11", "11"], "output": "11" }, + { "inputs": ["11", "7"], "output": "7" } ], "min_uint8_euint4": [ - { "inputs": ["2", "15"], "output": "2" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["8", "11"], "output": "8" }, + { "inputs": ["7", "11"], "output": "7" }, + { "inputs": ["11", "11"], "output": "11" }, + { "inputs": ["11", "7"], "output": "7" } ], "min_euint8_euint8": [ - { "inputs": ["2", "2"], "output": "2" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["53", "97"], "output": "53" }, + { "inputs": ["49", "53"], "output": "49" }, + { "inputs": ["53", "53"], "output": "53" }, + { "inputs": ["53", "49"], "output": "49" } ], "min_euint8_uint8": [ - { "inputs": ["2", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["53", "70"], "output": "53" }, + { "inputs": ["49", "53"], "output": "49" }, + { "inputs": ["53", "53"], "output": "53" }, + { "inputs": ["53", "49"], "output": "49" } ], "min_uint8_euint8": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["109", "70"], "output": "70" }, + { "inputs": ["49", "53"], "output": "49" }, + { "inputs": ["53", "53"], "output": "53" }, + { "inputs": ["53", "49"], "output": "49" } ], "min_euint8_euint16": [ - { "inputs": ["1", "3"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["190", "58049"], "output": "190" }, + { "inputs": ["186", "190"], "output": "186" }, + { "inputs": ["190", "190"], "output": "190" }, + { "inputs": ["190", "186"], "output": "186" } ], "min_euint8_euint32": [ - { "inputs": ["1", "18"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["253", "2965000543"], "output": "253" }, + { "inputs": ["249", "253"], "output": "249" }, + { "inputs": ["253", "253"], "output": "253" }, + { "inputs": ["253", "249"], "output": "249" } ], "min_euint8_euint64": [ - { "inputs": ["1", "5533"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["18", "18446036892619585799"], "output": "18" }, + { "inputs": ["14", "18"], "output": "14" }, + { "inputs": ["18", "18"], "output": "18" }, + { "inputs": ["18", "14"], "output": "14" } ], "min_euint16_euint4": [ - { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["37174", "5"], "output": "5" }, { "inputs": ["4", "8"], "output": "4" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "4" } ], "min_euint16_euint8": [ - { "inputs": ["1", "3"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["25144", "64"], "output": "64" }, + { "inputs": ["60", "64"], "output": "60" }, + { "inputs": ["64", "64"], "output": "64" }, + { "inputs": ["64", "60"], "output": "60" } ], "min_euint16_euint16": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["30936", "9027"], "output": "9027" }, + { "inputs": ["9023", "9027"], "output": "9023" }, + { "inputs": ["9027", "9027"], "output": "9027" }, + { "inputs": ["9027", "9023"], "output": "9023" } ], "min_euint16_uint16": [ - { "inputs": ["1", "2"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["30936", "64470"], "output": "30936" }, + { "inputs": ["9023", "9027"], "output": "9023" }, + { "inputs": ["9027", "9027"], "output": "9027" }, + { "inputs": ["9027", "9023"], "output": "9023" } ], "min_uint16_euint16": [ - { "inputs": ["1", "2"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["10499", "64470"], "output": "10499" }, + { "inputs": ["9023", "9027"], "output": "9023" }, + { "inputs": ["9027", "9027"], "output": "9027" }, + { "inputs": ["9027", "9023"], "output": "9023" } ], "min_euint16_euint32": [ - { "inputs": ["1", "5"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["3581", "3061947173"], "output": "3581" }, + { "inputs": ["3577", "3581"], "output": "3577" }, + { "inputs": ["3581", "3581"], "output": "3581" }, + { "inputs": ["3581", "3577"], "output": "3577" } ], "min_euint16_euint64": [ - { "inputs": ["1", "3602"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["60945", "18442404212044065569"], "output": "60945" }, + { "inputs": ["60941", "60945"], "output": "60941" }, + { "inputs": ["60945", "60945"], "output": "60945" }, + { "inputs": ["60945", "60941"], "output": "60941" } ], "min_euint32_euint4": [ - { "inputs": ["3", "15"], "output": "3" }, + { "inputs": ["3192029980", "3"], "output": "3" }, { "inputs": ["4", "8"], "output": "4" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "4" } ], "min_euint32_euint8": [ - { "inputs": ["3", "2"], "output": "2" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["2128865754", "127"], "output": "127" }, + { "inputs": ["123", "127"], "output": "123" }, + { "inputs": ["127", "127"], "output": "127" }, + { "inputs": ["127", "123"], "output": "123" } ], "min_euint32_euint16": [ - { "inputs": ["3", "3"], "output": "3" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["2025213170", "65001"], "output": "65001" }, + { "inputs": ["64997", "65001"], "output": "64997" }, + { "inputs": ["65001", "65001"], "output": "65001" }, + { "inputs": ["65001", "64997"], "output": "64997" } ], "min_euint32_euint32": [ - { "inputs": ["3", "5"], "output": "3" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["1800381916", "3495424142"], "output": "1800381916" }, + { "inputs": ["1800381912", "1800381916"], "output": "1800381912" }, + { "inputs": ["1800381916", "1800381916"], "output": "1800381916" }, + { "inputs": ["1800381916", "1800381912"], "output": "1800381912" } ], "min_euint32_uint32": [ - { "inputs": ["3", "3"], "output": "3" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["1800381916", "3488347882"], "output": "1800381916" }, + { "inputs": ["1800381912", "1800381916"], "output": "1800381912" }, + { "inputs": ["1800381916", "1800381916"], "output": "1800381916" }, + { "inputs": ["1800381916", "1800381912"], "output": "1800381912" } ], "min_uint32_euint32": [ - { "inputs": ["45", "3"], "output": "3" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["2638635782", "3488347882"], "output": "2638635782" }, + { "inputs": ["1800381912", "1800381916"], "output": "1800381912" }, + { "inputs": ["1800381916", "1800381916"], "output": "1800381916" }, + { "inputs": ["1800381916", "1800381912"], "output": "1800381912" } ], "min_euint32_euint64": [ - { "inputs": ["45", "5751"], "output": "45" }, - { "inputs": ["41", "45"], "output": "41" }, - { "inputs": ["45", "45"], "output": "45" }, - { "inputs": ["45", "41"], "output": "41" } + { "inputs": ["968740054", "18439525226452222255"], "output": "968740054" }, + { "inputs": ["968740050", "968740054"], "output": "968740050" }, + { "inputs": ["968740054", "968740054"], "output": "968740054" }, + { "inputs": ["968740054", "968740050"], "output": "968740050" } ], "min_euint64_euint4": [ - { "inputs": ["2618", "3"], "output": "3" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["18437774930056492317", "14"], "output": "14" }, + { "inputs": ["10", "14"], "output": "10" }, + { "inputs": ["14", "14"], "output": "14" }, + { "inputs": ["14", "10"], "output": "10" } ], "min_euint64_euint8": [ - { "inputs": ["2618", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["18441639004244956281", "36"], "output": "36" }, + { "inputs": ["32", "36"], "output": "32" }, + { "inputs": ["36", "36"], "output": "36" }, + { "inputs": ["36", "32"], "output": "32" } ], "min_euint64_euint16": [ - { "inputs": ["2618", "5"], "output": "5" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["18440273866551894469", "42779"], "output": "42779" }, + { "inputs": ["42775", "42779"], "output": "42775" }, + { "inputs": ["42779", "42779"], "output": "42779" }, + { "inputs": ["42779", "42775"], "output": "42775" } ], "min_euint64_euint32": [ - { "inputs": ["2618", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "4" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "4" } + { "inputs": ["18442182412102668107", "657148413"], "output": "657148413" }, + { "inputs": ["657148409", "657148413"], "output": "657148409" }, + { "inputs": ["657148413", "657148413"], "output": "657148413" }, + { "inputs": ["657148413", "657148409"], "output": "657148409" } ], "min_euint64_euint64": [ - { "inputs": ["2618", "6448"], "output": "2618" }, - { "inputs": ["2614", "2618"], "output": "2614" }, - { "inputs": ["2618", "2618"], "output": "2618" }, - { "inputs": ["2618", "2614"], "output": "2614" } + { "inputs": ["18444400472074074345", "18442962239103377481"], "output": "18442962239103377481" }, + { "inputs": ["18442962239103377477", "18442962239103377481"], "output": "18442962239103377477" }, + { "inputs": ["18442962239103377481", "18442962239103377481"], "output": "18442962239103377481" }, + { "inputs": ["18442962239103377481", "18442962239103377477"], "output": "18442962239103377477" } ], "min_euint64_uint64": [ - { "inputs": ["2618", "4687"], "output": "2618" }, - { "inputs": ["2614", "2618"], "output": "2614" }, - { "inputs": ["2618", "2618"], "output": "2618" }, - { "inputs": ["2618", "2614"], "output": "2614" } + { "inputs": ["18444400472074074345", "18445675871085860653"], "output": "18444400472074074345" }, + { "inputs": ["18442962239103377477", "18442962239103377481"], "output": "18442962239103377477" }, + { "inputs": ["18442962239103377481", "18442962239103377481"], "output": "18442962239103377481" }, + { "inputs": ["18442962239103377481", "18442962239103377477"], "output": "18442962239103377477" } ], "min_uint64_euint64": [ - { "inputs": ["3232", "4687"], "output": "3232" }, - { "inputs": ["2614", "2618"], "output": "2614" }, - { "inputs": ["2618", "2618"], "output": "2618" }, - { "inputs": ["2618", "2614"], "output": "2614" } + { "inputs": ["18443908139931756717", "18445675871085860653"], "output": "18443908139931756717" }, + { "inputs": ["18442962239103377477", "18442962239103377481"], "output": "18442962239103377477" }, + { "inputs": ["18442962239103377481", "18442962239103377481"], "output": "18442962239103377481" }, + { "inputs": ["18442962239103377481", "18442962239103377477"], "output": "18442962239103377477" } ], "or_euint4_euint4": [ - { "inputs": ["1", "2"], "output": "3" }, + { "inputs": ["6", "5"], "output": "7" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "12" } ], "or_euint4_euint8": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["14", "110"], "output": "110" }, + { "inputs": ["10", "14"], "output": "14" }, + { "inputs": ["14", "14"], "output": "14" }, + { "inputs": ["14", "10"], "output": "14" } ], "or_euint4_euint16": [ - { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["3", "60460"], "output": "60463" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "12" } ], "or_euint4_euint32": [ - { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["3", "2840015564"], "output": "2840015567" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "12" } ], "or_euint4_euint64": [ - { "inputs": ["1", "57469"], "output": "57469" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["10", "18439589984533574615"], "output": "18439589984533574623" }, + { "inputs": ["6", "10"], "output": "14" }, + { "inputs": ["10", "10"], "output": "10" }, + { "inputs": ["10", "6"], "output": "14" } ], "or_euint8_euint4": [ - { "inputs": ["1", "1"], "output": "1" }, + { "inputs": ["89", "1"], "output": "89" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "12" } ], "or_euint8_euint8": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["174", "137"], "output": "175" }, + { "inputs": ["133", "137"], "output": "141" }, + { "inputs": ["137", "137"], "output": "137" }, + { "inputs": ["137", "133"], "output": "141" } ], "or_euint8_euint16": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["99", "46031"], "output": "46063" }, + { "inputs": ["95", "99"], "output": "127" }, + { "inputs": ["99", "99"], "output": "99" }, + { "inputs": ["99", "95"], "output": "127" } ], "or_euint8_euint32": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["50", "1388677537"], "output": "1388677555" }, + { "inputs": ["46", "50"], "output": "62" }, + { "inputs": ["50", "50"], "output": "50" }, + { "inputs": ["50", "46"], "output": "62" } ], "or_euint8_euint64": [ - { "inputs": ["1", "6021"], "output": "6021" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["135", "18439029290182698975"], "output": "18439029290182698975" }, + { "inputs": ["131", "135"], "output": "135" }, + { "inputs": ["135", "135"], "output": "135" }, + { "inputs": ["135", "131"], "output": "135" } ], "or_euint16_euint4": [ - { "inputs": ["2", "15"], "output": "15" }, + { "inputs": ["57838", "2"], "output": "57838" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "12" } ], "or_euint16_euint8": [ - { "inputs": ["2", "4"], "output": "6" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["60745", "176"], "output": "60921" }, + { "inputs": ["172", "176"], "output": "188" }, + { "inputs": ["176", "176"], "output": "176" }, + { "inputs": ["176", "172"], "output": "188" } ], "or_euint16_euint16": [ - { "inputs": ["2", "5"], "output": "7" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["53682", "14727"], "output": "63927" }, + { "inputs": ["14723", "14727"], "output": "14727" }, + { "inputs": ["14727", "14727"], "output": "14727" }, + { "inputs": ["14727", "14723"], "output": "14727" } ], "or_euint16_euint32": [ - { "inputs": ["2", "4"], "output": "6" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["47569", "1867557342"], "output": "1867561439" }, + { "inputs": ["47565", "47569"], "output": "47581" }, + { "inputs": ["47569", "47569"], "output": "47569" }, + { "inputs": ["47569", "47565"], "output": "47581" } ], "or_euint16_euint64": [ - { "inputs": ["2", "17420"], "output": "17422" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["3594", "18443975303513898329"], "output": "18443975303513898843" }, + { "inputs": ["3590", "3594"], "output": "3598" }, + { "inputs": ["3594", "3594"], "output": "3594" }, + { "inputs": ["3594", "3590"], "output": "3598" } ], "or_euint32_euint4": [ - { "inputs": ["2", "15"], "output": "15" }, + { "inputs": ["2406735968", "5"], "output": "2406735973" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "12" } ], "or_euint32_euint8": [ - { "inputs": ["2", "1"], "output": "3" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["3961011805", "118"], "output": "3961011839" }, + { "inputs": ["114", "118"], "output": "118" }, + { "inputs": ["118", "118"], "output": "118" }, + { "inputs": ["118", "114"], "output": "118" } ], "or_euint32_euint16": [ - { "inputs": ["2", "1"], "output": "3" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["2441286673", "26427"], "output": "2441312059" }, + { "inputs": ["26423", "26427"], "output": "26431" }, + { "inputs": ["26427", "26427"], "output": "26427" }, + { "inputs": ["26427", "26423"], "output": "26431" } ], "or_euint32_euint32": [ - { "inputs": ["2", "2"], "output": "2" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["183558137", "3592149879"], "output": "3741048831" }, + { "inputs": ["183558133", "183558137"], "output": "183558141" }, + { "inputs": ["183558137", "183558137"], "output": "183558137" }, + { "inputs": ["183558137", "183558133"], "output": "183558141" } ], "or_euint32_euint64": [ - { "inputs": ["2", "3577"], "output": "3579" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["1857122149", "18440946789011191531"], "output": "18440946789112971247" }, + { "inputs": ["1857122145", "1857122149"], "output": "1857122149" }, + { "inputs": ["1857122149", "1857122149"], "output": "1857122149" }, + { "inputs": ["1857122149", "1857122145"], "output": "1857122149" } ], "or_euint64_euint4": [ - { "inputs": ["3328", "3"], "output": "3331" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["18445233461885169423", "12"], "output": "18445233461885169423" }, + { "inputs": ["8", "12"], "output": "12" }, + { "inputs": ["12", "12"], "output": "12" }, + { "inputs": ["12", "8"], "output": "12" } ], "or_euint64_euint8": [ - { "inputs": ["3328", "1"], "output": "3329" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["18445900286060653541", "17"], "output": "18445900286060653557" }, + { "inputs": ["13", "17"], "output": "29" }, + { "inputs": ["17", "17"], "output": "17" }, + { "inputs": ["17", "13"], "output": "29" } ], "or_euint64_euint16": [ - { "inputs": ["3328", "2"], "output": "3330" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["18445329388989380329", "5327"], "output": "18445329388989380335" }, + { "inputs": ["5323", "5327"], "output": "5327" }, + { "inputs": ["5327", "5327"], "output": "5327" }, + { "inputs": ["5327", "5323"], "output": "5327" } ], "or_euint64_euint32": [ - { "inputs": ["3328", "3"], "output": "3331" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["18444852954550836631", "3550708762"], "output": "18444852955920440735" }, + { "inputs": ["3550708758", "3550708762"], "output": "3550708766" }, + { "inputs": ["3550708762", "3550708762"], "output": "3550708762" }, + { "inputs": ["3550708762", "3550708758"], "output": "3550708766" } ], "or_euint64_euint64": [ - { "inputs": ["3328", "2096"], "output": "3376" }, - { "inputs": ["2092", "2096"], "output": "2108" }, - { "inputs": ["2096", "2096"], "output": "2096" }, - { "inputs": ["2096", "2092"], "output": "2108" } + { "inputs": ["18439947486770357681", "18442205516883919361"], "output": "18442234697046943665" }, + { "inputs": ["18439947486770357677", "18439947486770357681"], "output": "18439947486770357693" }, + { "inputs": ["18439947486770357681", "18439947486770357681"], "output": "18439947486770357681" }, + { "inputs": ["18439947486770357681", "18439947486770357677"], "output": "18439947486770357693" } ], "and_euint4_euint4": [ - { "inputs": ["1", "15"], "output": "1" }, + { "inputs": ["5", "2"], "output": "0" }, { "inputs": ["4", "8"], "output": "0" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "0" } ], "and_euint4_euint8": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["12", "110"], "output": "12" }, + { "inputs": ["8", "12"], "output": "8" }, + { "inputs": ["12", "12"], "output": "12" }, + { "inputs": ["12", "8"], "output": "8" } ], "and_euint4_euint16": [ - { "inputs": ["1", "3"], "output": "1" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["10", "16702"], "output": "10" }, + { "inputs": ["6", "10"], "output": "2" }, + { "inputs": ["10", "10"], "output": "10" }, + { "inputs": ["10", "6"], "output": "2" } ], "and_euint4_euint32": [ - { "inputs": ["1", "2"], "output": "0" }, + { "inputs": ["6", "3534750602"], "output": "2" }, { "inputs": ["4", "8"], "output": "0" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "0" } ], "and_euint4_euint64": [ - { "inputs": ["1", "13187"], "output": "1" }, + { "inputs": ["7", "18444452142912700231"], "output": "7" }, { "inputs": ["4", "8"], "output": "0" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "0" } ], "and_euint8_euint4": [ - { "inputs": ["2", "1"], "output": "0" }, + { "inputs": ["143", "6"], "output": "6" }, { "inputs": ["4", "8"], "output": "0" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "0" } ], "and_euint8_euint8": [ - { "inputs": ["2", "1"], "output": "0" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["254", "204"], "output": "204" }, + { "inputs": ["200", "204"], "output": "200" }, + { "inputs": ["204", "204"], "output": "204" }, + { "inputs": ["204", "200"], "output": "200" } ], "and_euint8_euint16": [ - { "inputs": ["2", "2"], "output": "2" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["112", "22367"], "output": "80" }, + { "inputs": ["108", "112"], "output": "96" }, + { "inputs": ["112", "112"], "output": "112" }, + { "inputs": ["112", "108"], "output": "96" } ], "and_euint8_euint32": [ - { "inputs": ["2", "4"], "output": "0" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["36", "664013992"], "output": "32" }, + { "inputs": ["32", "36"], "output": "32" }, + { "inputs": ["36", "36"], "output": "36" }, + { "inputs": ["36", "32"], "output": "32" } ], "and_euint8_euint64": [ - { "inputs": ["2", "2049"], "output": "0" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["187", "18444084668783699555"], "output": "35" }, + { "inputs": ["183", "187"], "output": "179" }, + { "inputs": ["187", "187"], "output": "187" }, + { "inputs": ["187", "183"], "output": "179" } ], "and_euint16_euint4": [ - { "inputs": ["1", "7"], "output": "1" }, + { "inputs": ["6680", "4"], "output": "0" }, { "inputs": ["4", "8"], "output": "0" }, { "inputs": ["8", "8"], "output": "8" }, { "inputs": ["8", "4"], "output": "0" } ], "and_euint16_euint8": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["18191", "188"], "output": "12" }, + { "inputs": ["184", "188"], "output": "184" }, + { "inputs": ["188", "188"], "output": "188" }, + { "inputs": ["188", "184"], "output": "184" } ], "and_euint16_euint16": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["63103", "25335"], "output": "25207" }, + { "inputs": ["25331", "25335"], "output": "25331" }, + { "inputs": ["25335", "25335"], "output": "25335" }, + { "inputs": ["25335", "25331"], "output": "25331" } ], "and_euint16_euint32": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["31764", "719791208"], "output": "9216" }, + { "inputs": ["31760", "31764"], "output": "31760" }, + { "inputs": ["31764", "31764"], "output": "31764" }, + { "inputs": ["31764", "31760"], "output": "31760" } ], "and_euint16_euint64": [ - { "inputs": ["1", "4630"], "output": "0" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["3617", "18445521461849474399"], "output": "1025" }, + { "inputs": ["3613", "3617"], "output": "3585" }, + { "inputs": ["3617", "3617"], "output": "3617" }, + { "inputs": ["3617", "3613"], "output": "3585" } ], "and_euint32_euint4": [ - { "inputs": ["1", "2"], "output": "0" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["1301921086", "9"], "output": "8" }, + { "inputs": ["5", "9"], "output": "1" }, + { "inputs": ["9", "9"], "output": "9" }, + { "inputs": ["9", "5"], "output": "1" } ], "and_euint32_euint8": [ - { "inputs": ["1", "85"], "output": "1" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["2684075699", "16"], "output": "16" }, + { "inputs": ["12", "16"], "output": "0" }, + { "inputs": ["16", "16"], "output": "16" }, + { "inputs": ["16", "12"], "output": "0" } ], "and_euint32_euint16": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["1113519013", "16851"], "output": "16769" }, + { "inputs": ["16847", "16851"], "output": "16835" }, + { "inputs": ["16851", "16851"], "output": "16851" }, + { "inputs": ["16851", "16847"], "output": "16835" } ], "and_euint32_euint32": [ - { "inputs": ["1", "1"], "output": "1" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["749010015", "1458345079"], "output": "77894743" }, + { "inputs": ["749010011", "749010015"], "output": "749010011" }, + { "inputs": ["749010015", "749010015"], "output": "749010015" }, + { "inputs": ["749010015", "749010011"], "output": "749010011" } ], "and_euint32_euint64": [ - { "inputs": ["1", "3270"], "output": "0" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["365928159", "18445926323394727831"], "output": "13110935" }, + { "inputs": ["365928155", "365928159"], "output": "365928155" }, + { "inputs": ["365928159", "365928159"], "output": "365928159" }, + { "inputs": ["365928159", "365928155"], "output": "365928155" } ], "and_euint64_euint4": [ - { "inputs": ["2380", "1"], "output": "0" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["18442416087216426369", "12"], "output": "0" }, + { "inputs": ["8", "12"], "output": "8" }, + { "inputs": ["12", "12"], "output": "12" }, + { "inputs": ["12", "8"], "output": "8" } ], "and_euint64_euint8": [ - { "inputs": ["2380", "1"], "output": "0" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["18438525099029165039", "71"], "output": "71" }, + { "inputs": ["67", "71"], "output": "67" }, + { "inputs": ["71", "71"], "output": "71" }, + { "inputs": ["71", "67"], "output": "67" } ], "and_euint64_euint16": [ - { "inputs": ["2380", "9"], "output": "8" }, - { "inputs": ["5", "9"], "output": "1" }, - { "inputs": ["9", "9"], "output": "9" }, - { "inputs": ["9", "5"], "output": "1" } + { "inputs": ["18444131025157690381", "45908"], "output": "4100" }, + { "inputs": ["45904", "45908"], "output": "45904" }, + { "inputs": ["45908", "45908"], "output": "45908" }, + { "inputs": ["45908", "45904"], "output": "45904" } ], "and_euint64_euint32": [ - { "inputs": ["2380", "4"], "output": "4" }, - { "inputs": ["4", "8"], "output": "0" }, - { "inputs": ["8", "8"], "output": "8" }, - { "inputs": ["8", "4"], "output": "0" } + { "inputs": ["18444449709394842073", "3823819229"], "output": "2718454233" }, + { "inputs": ["3823819225", "3823819229"], "output": "3823819225" }, + { "inputs": ["3823819229", "3823819229"], "output": "3823819229" }, + { "inputs": ["3823819229", "3823819225"], "output": "3823819225" } ], "and_euint64_euint64": [ - { "inputs": ["2380", "2068"], "output": "2052" }, - { "inputs": ["2064", "2068"], "output": "2064" }, - { "inputs": ["2068", "2068"], "output": "2068" }, - { "inputs": ["2068", "2064"], "output": "2064" } + { "inputs": ["18441848963293247005", "18437762817766608073"], "output": "18437758350371472393" }, + { "inputs": ["18437762817766608069", "18437762817766608073"], "output": "18437762817766608065" }, + { "inputs": ["18437762817766608073", "18437762817766608073"], "output": "18437762817766608073" }, + { "inputs": ["18437762817766608073", "18437762817766608069"], "output": "18437762817766608065" } ], "xor_euint4_euint4": [ - { "inputs": ["3", "1"], "output": "2" }, + { "inputs": ["2", "10"], "output": "8" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["8", "8"], "output": "0" }, { "inputs": ["8", "4"], "output": "12" } ], "xor_euint4_euint8": [ - { "inputs": ["3", "1"], "output": "2" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["12", "244"], "output": "248" }, + { "inputs": ["8", "12"], "output": "4" }, + { "inputs": ["12", "12"], "output": "0" }, + { "inputs": ["12", "8"], "output": "4" } ], "xor_euint4_euint16": [ - { "inputs": ["3", "1"], "output": "2" }, + { "inputs": ["6", "58722"], "output": "58724" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["8", "8"], "output": "0" }, { "inputs": ["8", "4"], "output": "12" } ], "xor_euint4_euint32": [ - { "inputs": ["3", "5"], "output": "6" }, + { "inputs": ["6", "2183122437"], "output": "2183122435" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["8", "8"], "output": "0" }, { "inputs": ["8", "4"], "output": "12" } ], "xor_euint4_euint64": [ - { "inputs": ["3", "2792"], "output": "2795" }, + { "inputs": ["7", "18438536745518625067"], "output": "18438536745518625068" }, { "inputs": ["4", "8"], "output": "12" }, { "inputs": ["8", "8"], "output": "0" }, { "inputs": ["8", "4"], "output": "12" } ], "xor_euint8_euint4": [ - { "inputs": ["2", "1"], "output": "3" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["100", "12"], "output": "104" }, + { "inputs": ["8", "12"], "output": "4" }, + { "inputs": ["12", "12"], "output": "0" }, + { "inputs": ["12", "8"], "output": "4" } ], "xor_euint8_euint8": [ - { "inputs": ["2", "1"], "output": "3" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["183", "10"], "output": "189" }, + { "inputs": ["6", "10"], "output": "12" }, + { "inputs": ["10", "10"], "output": "0" }, + { "inputs": ["10", "6"], "output": "12" } ], "xor_euint8_euint16": [ - { "inputs": ["2", "1"], "output": "3" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["129", "2322"], "output": "2451" }, + { "inputs": ["125", "129"], "output": "252" }, + { "inputs": ["129", "129"], "output": "0" }, + { "inputs": ["129", "125"], "output": "252" } ], "xor_euint8_euint32": [ - { "inputs": ["2", "1"], "output": "3" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["67", "2386754441"], "output": "2386754506" }, + { "inputs": ["63", "67"], "output": "124" }, + { "inputs": ["67", "67"], "output": "0" }, + { "inputs": ["67", "63"], "output": "124" } ], "xor_euint8_euint64": [ - { "inputs": ["2", "4046"], "output": "4044" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["84", "18444990477299490715"], "output": "18444990477299490767" }, + { "inputs": ["80", "84"], "output": "4" }, + { "inputs": ["84", "84"], "output": "0" }, + { "inputs": ["84", "80"], "output": "4" } ], "xor_euint16_euint4": [ - { "inputs": ["9", "3"], "output": "10" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["29564", "14"], "output": "29554" }, + { "inputs": ["10", "14"], "output": "4" }, + { "inputs": ["14", "14"], "output": "0" }, + { "inputs": ["14", "10"], "output": "4" } ], "xor_euint16_euint8": [ - { "inputs": ["9", "7"], "output": "14" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["24120", "221"], "output": "24293" }, + { "inputs": ["217", "221"], "output": "4" }, + { "inputs": ["221", "221"], "output": "0" }, + { "inputs": ["221", "217"], "output": "4" } ], "xor_euint16_euint16": [ - { "inputs": ["9", "1"], "output": "8" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["272", "42865"], "output": "42593" }, + { "inputs": ["268", "272"], "output": "28" }, + { "inputs": ["272", "272"], "output": "0" }, + { "inputs": ["272", "268"], "output": "28" } ], "xor_euint16_euint32": [ - { "inputs": ["9", "147"], "output": "154" }, - { "inputs": ["5", "9"], "output": "12" }, - { "inputs": ["9", "9"], "output": "0" }, - { "inputs": ["9", "5"], "output": "12" } + { "inputs": ["49958", "2256953798"], "output": "2256970464" }, + { "inputs": ["49954", "49958"], "output": "4" }, + { "inputs": ["49958", "49958"], "output": "0" }, + { "inputs": ["49958", "49954"], "output": "4" } ], "xor_euint16_euint64": [ - { "inputs": ["9", "28164"], "output": "28173" }, - { "inputs": ["5", "9"], "output": "12" }, - { "inputs": ["9", "9"], "output": "0" }, - { "inputs": ["9", "5"], "output": "12" } + { "inputs": ["31158", "18442847100019644985"], "output": "18442847100019663759" }, + { "inputs": ["31154", "31158"], "output": "4" }, + { "inputs": ["31158", "31158"], "output": "0" }, + { "inputs": ["31158", "31154"], "output": "4" } ], "xor_euint32_euint4": [ - { "inputs": ["1", "1"], "output": "0" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["3625477729", "13"], "output": "3625477740" }, + { "inputs": ["9", "13"], "output": "4" }, + { "inputs": ["13", "13"], "output": "0" }, + { "inputs": ["13", "9"], "output": "4" } ], "xor_euint32_euint8": [ - { "inputs": ["1", "1"], "output": "0" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["2615810877", "184"], "output": "2615810949" }, + { "inputs": ["180", "184"], "output": "12" }, + { "inputs": ["184", "184"], "output": "0" }, + { "inputs": ["184", "180"], "output": "12" } ], "xor_euint32_euint16": [ - { "inputs": ["1", "1"], "output": "0" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["2697992454", "47573"], "output": "2698027219" }, + { "inputs": ["47569", "47573"], "output": "4" }, + { "inputs": ["47573", "47573"], "output": "0" }, + { "inputs": ["47573", "47569"], "output": "4" } ], "xor_euint32_euint32": [ - { "inputs": ["1", "1"], "output": "0" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["3727740302", "3007364521"], "output": "1836085287" }, + { "inputs": ["3007364517", "3007364521"], "output": "12" }, + { "inputs": ["3007364521", "3007364521"], "output": "0" }, + { "inputs": ["3007364521", "3007364517"], "output": "12" } ], "xor_euint32_euint64": [ - { "inputs": ["1", "2447"], "output": "2446" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["2536876532", "18445343517070927715"], "output": "18445343518833806999" }, + { "inputs": ["2536876528", "2536876532"], "output": "4" }, + { "inputs": ["2536876532", "2536876532"], "output": "0" }, + { "inputs": ["2536876532", "2536876528"], "output": "4" } ], "xor_euint64_euint4": [ - { "inputs": ["5602", "3"], "output": "5601" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["18444022948851042337", "14"], "output": "18444022948851042351" }, + { "inputs": ["10", "14"], "output": "4" }, + { "inputs": ["14", "14"], "output": "0" }, + { "inputs": ["14", "10"], "output": "4" } ], "xor_euint64_euint8": [ - { "inputs": ["5602", "5"], "output": "5607" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["18439418694946486147", "205"], "output": "18439418694946486094" }, + { "inputs": ["201", "205"], "output": "4" }, + { "inputs": ["205", "205"], "output": "0" }, + { "inputs": ["205", "201"], "output": "4" } ], "xor_euint64_euint16": [ - { "inputs": ["5602", "9"], "output": "5611" }, - { "inputs": ["5", "9"], "output": "12" }, - { "inputs": ["9", "9"], "output": "0" }, - { "inputs": ["9", "5"], "output": "12" } + { "inputs": ["18443398919380985157", "45655"], "output": "18443398919380948754" }, + { "inputs": ["45651", "45655"], "output": "4" }, + { "inputs": ["45655", "45655"], "output": "0" }, + { "inputs": ["45655", "45651"], "output": "4" } ], "xor_euint64_euint32": [ - { "inputs": ["5602", "2"], "output": "5600" }, - { "inputs": ["4", "8"], "output": "12" }, - { "inputs": ["8", "8"], "output": "0" }, - { "inputs": ["8", "4"], "output": "12" } + { "inputs": ["18445532500811503869", "2578227181"], "output": "18445532498506434320" }, + { "inputs": ["2578227177", "2578227181"], "output": "4" }, + { "inputs": ["2578227181", "2578227181"], "output": "0" }, + { "inputs": ["2578227181", "2578227177"], "output": "4" } ], "xor_euint64_euint64": [ - { "inputs": ["5602", "4581"], "output": "1031" }, - { "inputs": ["4577", "4581"], "output": "4" }, - { "inputs": ["4581", "4581"], "output": "0" }, - { "inputs": ["4581", "4577"], "output": "4" } - ], - "not_euint4": [{ "inputs": ["1"], "output": "14" }], - "not_euint8": [{ "inputs": ["1"], "output": "254" }], - "not_euint16": [{ "inputs": ["5"], "output": "65530" }], - "not_euint32": [{ "inputs": ["1"], "output": "4294967294" }], - "not_euint64": [{ "inputs": ["51608"], "output": "18446744073709500007" }], - "neg_euint4": [{ "inputs": ["1"], "output": "15" }], - "neg_euint8": [{ "inputs": ["1"], "output": "255" }], - "neg_euint16": [{ "inputs": ["1"], "output": "65535" }], - "neg_euint32": [{ "inputs": ["1"], "output": "4294967295" }], - "neg_euint64": [{ "inputs": ["40511"], "output": "18446744073709511105" }] + { "inputs": ["18444700078916958431", "18443866708631144651"], "output": "3795455568392212" }, + { "inputs": ["18443866708631144647", "18443866708631144651"], "output": "12" }, + { "inputs": ["18443866708631144651", "18443866708631144651"], "output": "0" }, + { "inputs": ["18443866708631144651", "18443866708631144647"], "output": "12" } + ], + "not_euint4": [{ "inputs": ["13"], "output": "2" }], + "not_euint8": [{ "inputs": ["187"], "output": "68" }], + "not_euint16": [{ "inputs": ["60538"], "output": "4997" }], + "not_euint32": [{ "inputs": ["2475211657"], "output": "1819755638" }], + "not_euint64": [{ "inputs": ["18443955194473722291"], "output": "2788879235829324" }], + "neg_euint4": [{ "inputs": ["11"], "output": "5" }], + "neg_euint8": [{ "inputs": ["251"], "output": "5" }], + "neg_euint16": [{ "inputs": ["25161"], "output": "40375" }], + "neg_euint32": [{ "inputs": ["2156295218"], "output": "2138672078" }], + "neg_euint64": [{ "inputs": ["18438244346234461619"], "output": "8499727475089997" }] } diff --git a/test/tfheOperations/tfheOperations.ts b/test/tfheOperations/tfheOperations.ts index 07649c05..581204c6 100644 --- a/test/tfheOperations/tfheOperations.ts +++ b/test/tfheOperations/tfheOperations.ts @@ -100,12 +100,12 @@ describe('TFHE operations', function () { this.instances5 = instances5; }); - it('test operator "add" overload (euint4, euint4) => euint4 test 1 (8, 2)', async function () { + it('test operator "add" overload (euint4, euint4) => euint4 test 1 (11, 1)', async function () { const res = await this.contract1.add_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(10n); + expect(res).to.equal(12n); }); it('test operator "add" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -148,20 +148,20 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 1 (1, 2)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 1 (3, 3)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(2n); + expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 2 (3, 4)', async function () { const res = await this.contract1.mul_euint4_euint4( this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(15n); + expect(res).to.equal(12n); }); it('test operator "mul" overload (euint4, euint4) => euint4 test 3 (3, 3)', async function () { @@ -172,20 +172,20 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint4) => euint4 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint4, euint4) => euint4 test 4 (4, 3)', async function () { const res = await this.contract1.mul_euint4_euint4( - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(15n); + expect(res).to.equal(12n); }); - it('test operator "and" overload (euint4, euint4) => euint4 test 1 (1, 15)', async function () { + it('test operator "and" overload (euint4, euint4) => euint4 test 1 (5, 2)', async function () { const res = await this.contract1.and_euint4_euint4( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(15), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(1n); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -212,12 +212,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0n); }); - it('test operator "or" overload (euint4, euint4) => euint4 test 1 (1, 2)', async function () { + it('test operator "or" overload (euint4, euint4) => euint4 test 1 (6, 5)', async function () { const res = await this.contract1.or_euint4_euint4( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(3n); + expect(res).to.equal(7n); }); it('test operator "or" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -244,12 +244,12 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint4) => euint4 test 1 (3, 1)', async function () { + it('test operator "xor" overload (euint4, euint4) => euint4 test 1 (2, 10)', async function () { const res = await this.contract1.xor_euint4_euint4( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(10), ); - expect(res).to.equal(2n); + expect(res).to.equal(8n); }); it('test operator "xor" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -276,10 +276,10 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint4, euint4) => ebool test 1 (15, 1)', async function () { + it('test operator "eq" overload (euint4, euint4) => ebool test 1 (8, 2)', async function () { const res = await this.contract1.eq_euint4_euint4( - this.instances1.alice.encrypt4(15), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(2), ); expect(res).to.equal(false); }); @@ -308,44 +308,44 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint4) => ebool test 1 (3, 3)', async function () { + it('test operator "ne" overload (euint4, euint4) => ebool test 1 (11, 12)', async function () { const res = await this.contract1.ne_euint4_euint4( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ne" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint4, euint4) => ebool test 2 (7, 11)', async function () { const res = await this.contract1.ne_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint4, euint4) => ebool test 3 (11, 11)', async function () { const res = await this.contract1.ne_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint4, euint4) => ebool test 4 (11, 7)', async function () { const res = await this.contract1.ne_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt4(7), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint4) => ebool test 1 (2, 1)', async function () { + it('test operator "ge" overload (euint4, euint4) => ebool test 1 (3, 4)', async function () { const res = await this.contract1.ge_euint4_euint4( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "ge" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { @@ -372,44 +372,44 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 1 (3, 3)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 1 (9, 12)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(12), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint4, euint4) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.gt_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(5), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint4) => ebool test 1 (1, 3)', async function () { + it('test operator "le" overload (euint4, euint4) => ebool test 1 (8, 6)', async function () { const res = await this.contract1.le_euint4_euint4( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(6), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "le" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { @@ -436,44 +436,44 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint4) => ebool test 1 (2, 5)', async function () { + it('test operator "lt" overload (euint4, euint4) => ebool test 1 (10, 9)', async function () { const res = await this.contract1.lt_euint4_euint4( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt4(9), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint4, euint4) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.lt_euint4_euint4( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint4, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint4, euint4) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.lt_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint4, euint4) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.lt_euint4_euint4( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt4(5), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint4) => euint4 test 1 (1, 1)', async function () { + it('test operator "min" overload (euint4, euint4) => euint4 test 1 (6, 5)', async function () { const res = await this.contract1.min_euint4_euint4( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt4(5), ); - expect(res).to.equal(1n); + expect(res).to.equal(5n); }); it('test operator "min" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -500,12 +500,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "max" overload (euint4, euint4) => euint4 test 1 (1, 2)', async function () { + it('test operator "max" overload (euint4, euint4) => euint4 test 1 (8, 3)', async function () { const res = await this.contract1.max_euint4_euint4( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(2n); + expect(res).to.equal(8n); }); it('test operator "max" overload (euint4, euint4) => euint4 test 2 (4, 8)', async function () { @@ -532,12 +532,12 @@ describe('TFHE operations', function () { expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint8) => euint8 test 1 (8, 3)', async function () { + it('test operator "add" overload (euint4, euint8) => euint8 test 1 (2, 12)', async function () { const res = await this.contract1.add_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(3), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt8(12), ); - expect(res).to.equal(11n); + expect(res).to.equal(14n); }); it('test operator "add" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { @@ -580,12 +580,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint8) => euint8 test 1 (1, 1)', async function () { + it('test operator "mul" overload (euint4, euint8) => euint8 test 1 (1, 14)', async function () { const res = await this.contract1.mul_euint4_euint8( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(1), + this.instances1.alice.encrypt8(14), ); - expect(res).to.equal(1n); + expect(res).to.equal(14n); }); it('test operator "mul" overload (euint4, euint8) => euint8 test 2 (3, 5)', async function () { @@ -612,140 +612,140 @@ describe('TFHE operations', function () { expect(res).to.equal(15n); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 1 (1, 1)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 1 (12, 110)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(1), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(110), ); - expect(res).to.equal(1n); + expect(res).to.equal(12n); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 2 (8, 12)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(12), ); - expect(res).to.equal(0n); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 3 (12, 12)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(12), ); - expect(res).to.equal(8n); + expect(res).to.equal(12n); }); - it('test operator "and" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint4, euint8) => euint8 test 4 (12, 8)', async function () { const res = await this.contract1.and_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(0n); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 1 (1, 1)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 1 (14, 110)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(1), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(110), ); - expect(res).to.equal(1n); + expect(res).to.equal(110n); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 2 (10, 14)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(14), ); - expect(res).to.equal(12n); + expect(res).to.equal(14n); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 3 (14, 14)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(14), ); - expect(res).to.equal(8n); + expect(res).to.equal(14n); }); - it('test operator "or" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint4, euint8) => euint8 test 4 (14, 10)', async function () { const res = await this.contract1.or_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(10), ); - expect(res).to.equal(12n); + expect(res).to.equal(14n); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 1 (3, 1)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 1 (12, 244)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt8(1), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(244), ); - expect(res).to.equal(2n); + expect(res).to.equal(248n); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 2 (8, 12)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(12), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 3 (12, 12)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(12), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint4, euint8) => euint8 test 4 (12, 8)', async function () { const res = await this.contract1.xor_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(8), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 1 (15, 5)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 1 (14, 180)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(15), - this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(180), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 2 (10, 14)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(14), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 3 (14, 14)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(14), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint4, euint8) => ebool test 4 (14, 10)', async function () { const res = await this.contract1.eq_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(10), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint8) => ebool test 1 (3, 3)', async function () { + it('test operator "ne" overload (euint4, euint8) => ebool test 1 (7, 94)', async function () { const res = await this.contract1.ne_euint4_euint8( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt8(3), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(94), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "ne" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { @@ -772,42 +772,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 1 (2, 3)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 1 (12, 141)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt8(3), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(141), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 2 (8, 12)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(12), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 3 (12, 12)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(12), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint4, euint8) => ebool test 4 (12, 8)', async function () { const res = await this.contract1.ge_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt8(8), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint8) => ebool test 1 (3, 4)', async function () { + it('test operator "gt" overload (euint4, euint8) => ebool test 1 (7, 49)', async function () { const res = await this.contract1.gt_euint4_euint8( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(49), ); expect(res).to.equal(false); }); @@ -836,42 +836,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 1 (1, 1)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 1 (14, 151)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(1), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(151), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 2 (10, 14)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt8(14), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 3 (14, 14)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(14), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint4, euint8) => ebool test 4 (14, 10)', async function () { const res = await this.contract1.le_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt8(10), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint8) => ebool test 1 (2, 255)', async function () { + it('test operator "lt" overload (euint4, euint8) => ebool test 1 (7, 92)', async function () { const res = await this.contract1.lt_euint4_euint8( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt8(255), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(92), ); expect(res).to.equal(true); }); @@ -900,84 +900,84 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 1 (1, 2)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 1 (11, 237)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(2), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(237), ); - expect(res).to.equal(1n); + expect(res).to.equal(11n); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 2 (7, 11)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(11), ); - expect(res).to.equal(4n); + expect(res).to.equal(7n); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 3 (11, 11)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(11), ); - expect(res).to.equal(8n); + expect(res).to.equal(11n); }); - it('test operator "min" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint4, euint8) => euint8 test 4 (11, 7)', async function () { const res = await this.contract1.min_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(7), ); - expect(res).to.equal(4n); + expect(res).to.equal(7n); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 1 (1, 5)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 1 (11, 181)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(181), ); - expect(res).to.equal(5n); + expect(res).to.equal(181n); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 2 (7, 11)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt8(11), ); - expect(res).to.equal(8n); + expect(res).to.equal(11n); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 3 (11, 11)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(11), ); - expect(res).to.equal(8n); + expect(res).to.equal(11n); }); - it('test operator "max" overload (euint4, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint4, euint8) => euint8 test 4 (11, 7)', async function () { const res = await this.contract1.max_euint4_euint8( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt8(4), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt8(7), ); - expect(res).to.equal(8n); + expect(res).to.equal(11n); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 1 (8, 1)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 1 (2, 9)', async function () { const res = await this.contract1.add_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(1), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(9), ); - expect(res).to.equal(9n); + expect(res).to.equal(11n); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 2 (6, 8)', async function () { const res = await this.contract1.add_euint4_euint16( - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt4(6), this.instances1.alice.encrypt16(8), ); - expect(res).to.equal(12n); + expect(res).to.equal(14n); }); it('test operator "add" overload (euint4, euint16) => euint16 test 3 (5, 5)', async function () { @@ -988,12 +988,12 @@ describe('TFHE operations', function () { expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint4, euint16) => euint16 test 4 (8, 6)', async function () { const res = await this.contract1.add_euint4_euint16( this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt16(6), ); - expect(res).to.equal(12n); + expect(res).to.equal(14n); }); it('test operator "sub" overload (euint4, euint16) => euint16 test 1 (8, 8)', async function () { @@ -1012,12 +1012,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint16) => euint16 test 1 (1, 12)', async function () { + it('test operator "mul" overload (euint4, euint16) => euint16 test 1 (2, 5)', async function () { const res = await this.contract1.mul_euint4_euint16( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(12), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(5), ); - expect(res).to.equal(12n); + expect(res).to.equal(10n); }); it('test operator "mul" overload (euint4, euint16) => euint16 test 2 (3, 5)', async function () { @@ -1044,44 +1044,44 @@ describe('TFHE operations', function () { expect(res).to.equal(15n); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 1 (1, 3)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 1 (10, 16702)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(3), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(16702), ); - expect(res).to.equal(1n); + expect(res).to.equal(10n); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 2 (6, 10)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(10), ); - expect(res).to.equal(0n); + expect(res).to.equal(2n); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 3 (10, 10)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(10), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "and" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint4, euint16) => euint16 test 4 (10, 6)', async function () { const res = await this.contract1.and_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(6), ); - expect(res).to.equal(0n); + expect(res).to.equal(2n); }); - it('test operator "or" overload (euint4, euint16) => euint16 test 1 (1, 1)', async function () { + it('test operator "or" overload (euint4, euint16) => euint16 test 1 (3, 60460)', async function () { const res = await this.contract1.or_euint4_euint16( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(1), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt16(60460), ); - expect(res).to.equal(1n); + expect(res).to.equal(60463n); }); it('test operator "or" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { @@ -1108,12 +1108,12 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint16) => euint16 test 1 (3, 1)', async function () { + it('test operator "xor" overload (euint4, euint16) => euint16 test 1 (6, 58722)', async function () { const res = await this.contract1.xor_euint4_euint16( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt16(1), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(58722), ); - expect(res).to.equal(2n); + expect(res).to.equal(58724n); }); it('test operator "xor" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { @@ -1140,42 +1140,42 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 1 (15, 2)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 1 (9, 7831)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(15), - this.instances1.alice.encrypt16(2), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(7831), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(9), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(9), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint4, euint16) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.eq_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(5), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint16) => ebool test 1 (3, 41)', async function () { + it('test operator "ne" overload (euint4, euint16) => ebool test 1 (2, 63787)', async function () { const res = await this.contract1.ne_euint4_euint16( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt16(41), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(63787), ); expect(res).to.equal(true); }); @@ -1204,74 +1204,74 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 1 (2, 10)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 1 (9, 63554)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt16(10), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(63554), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt16(9), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint4, euint16) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.ge_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(5), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 1 (3, 2)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 1 (13, 28270)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt16(2), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(28270), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 2 (9, 13)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt16(13), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 3 (13, 13)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(13), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint4, euint16) => ebool test 4 (13, 9)', async function () { const res = await this.contract1.gt_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt16(9), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint16) => ebool test 1 (1, 17)', async function () { + it('test operator "le" overload (euint4, euint16) => ebool test 1 (1, 51341)', async function () { const res = await this.contract1.le_euint4_euint16( this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(17), + this.instances1.alice.encrypt16(51341), ); expect(res).to.equal(true); }); @@ -1300,12 +1300,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint16) => ebool test 1 (2, 1)', async function () { + it('test operator "lt" overload (euint4, euint16) => ebool test 1 (6, 15496)', async function () { const res = await this.contract1.lt_euint4_euint16( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt16(1), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(15496), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "lt" overload (euint4, euint16) => ebool test 2 (4, 8)', async function () { @@ -1332,44 +1332,44 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 1 (1, 2)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 1 (10, 26263)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(2), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(26263), ); - expect(res).to.equal(1n); + expect(res).to.equal(10n); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 2 (6, 10)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt16(10), ); - expect(res).to.equal(4n); + expect(res).to.equal(6n); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 3 (10, 10)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(10), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "min" overload (euint4, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint4, euint16) => euint16 test 4 (10, 6)', async function () { const res = await this.contract1.min_euint4_euint16( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt16(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt16(6), ); - expect(res).to.equal(4n); + expect(res).to.equal(6n); }); - it('test operator "max" overload (euint4, euint16) => euint16 test 1 (1, 1)', async function () { + it('test operator "max" overload (euint4, euint16) => euint16 test 1 (2, 61770)', async function () { const res = await this.contract1.max_euint4_euint16( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt16(1), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt16(61770), ); - expect(res).to.equal(1n); + expect(res).to.equal(61770n); }); it('test operator "max" overload (euint4, euint16) => euint16 test 2 (4, 8)', async function () { @@ -1396,12 +1396,12 @@ describe('TFHE operations', function () { expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint32) => euint32 test 1 (8, 1)', async function () { + it('test operator "add" overload (euint4, euint32) => euint32 test 1 (2, 11)', async function () { const res = await this.contract1.add_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(1), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt32(11), ); - expect(res).to.equal(9n); + expect(res).to.equal(13n); }); it('test operator "add" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { @@ -1444,20 +1444,20 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 1 (1, 2)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 1 (2, 7)', async function () { const res = await this.contract1.mul_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(2), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt32(7), ); - expect(res).to.equal(2n); + expect(res).to.equal(14n); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 2 (3, 4)', async function () { const res = await this.contract1.mul_euint4_euint32( this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt32(5), + this.instances1.alice.encrypt32(4), ); - expect(res).to.equal(15n); + expect(res).to.equal(12n); }); it('test operator "mul" overload (euint4, euint32) => euint32 test 3 (3, 3)', async function () { @@ -1468,20 +1468,20 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint4, euint32) => euint32 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint4, euint32) => euint32 test 4 (4, 3)', async function () { const res = await this.contract1.mul_euint4_euint32( - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(4), this.instances1.alice.encrypt32(3), ); - expect(res).to.equal(15n); + expect(res).to.equal(12n); }); - it('test operator "and" overload (euint4, euint32) => euint32 test 1 (1, 2)', async function () { + it('test operator "and" overload (euint4, euint32) => euint32 test 1 (6, 3534750602)', async function () { const res = await this.contract1.and_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(2), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(3534750602), ); - expect(res).to.equal(0n); + expect(res).to.equal(2n); }); it('test operator "and" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { @@ -1508,12 +1508,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0n); }); - it('test operator "or" overload (euint4, euint32) => euint32 test 1 (1, 1)', async function () { + it('test operator "or" overload (euint4, euint32) => euint32 test 1 (3, 2840015564)', async function () { const res = await this.contract1.or_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(1), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt32(2840015564), ); - expect(res).to.equal(1n); + expect(res).to.equal(2840015567n); }); it('test operator "or" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { @@ -1540,12 +1540,12 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint4, euint32) => euint32 test 1 (3, 5)', async function () { + it('test operator "xor" overload (euint4, euint32) => euint32 test 1 (6, 2183122437)', async function () { const res = await this.contract1.xor_euint4_euint32( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt32(5), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(2183122437), ); - expect(res).to.equal(6n); + expect(res).to.equal(2183122435n); }); it('test operator "xor" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { @@ -1572,204 +1572,204 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 1 (15, 16)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 1 (6, 2902824357)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(15), - this.instances1.alice.encrypt32(16), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(2902824357), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 2 (11, 15)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt32(15), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 3 (15, 15)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(15), - this.instances1.alice.encrypt32(15), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint32) => ebool test 4 (15, 11)', async function () { + it('test operator "eq" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.eq_euint4_euint32( - this.instances1.alice.encrypt4(15), - this.instances1.alice.encrypt32(11), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt32(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint32) => ebool test 1 (3, 1)', async function () { + it('test operator "ne" overload (euint4, euint32) => ebool test 1 (13, 3287915476)', async function () { const res = await this.contract1.ne_euint4_euint32( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt32(1), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(3287915476), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint4, euint32) => ebool test 2 (9, 13)', async function () { const res = await this.contract1.ne_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(13), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint4, euint32) => ebool test 3 (13, 13)', async function () { const res = await this.contract1.ne_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(13), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint4, euint32) => ebool test 4 (13, 9)', async function () { const res = await this.contract1.ne_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(13), + this.instances1.alice.encrypt32(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 1 (2, 3)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 1 (9, 3023026099)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt32(3), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(3023026099), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(9), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(9), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint4, euint32) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.ge_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(5), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 1 (3, 4)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 1 (10, 2302702329)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(2302702329), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 2 (6, 10)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt32(10), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 3 (10, 10)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(10), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint4, euint32) => ebool test 4 (10, 6)', async function () { const res = await this.contract1.gt_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt32(6), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 1 (1, 1)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 1 (9, 467708048)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(1), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(467708048), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 2 (5, 9)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(9), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 3 (9, 9)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(9), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint4, euint32) => ebool test 4 (9, 5)', async function () { const res = await this.contract1.le_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(9), + this.instances1.alice.encrypt32(5), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint32) => ebool test 1 (2, 1)', async function () { + it('test operator "lt" overload (euint4, euint32) => ebool test 1 (11, 1378961804)', async function () { const res = await this.contract1.lt_euint4_euint32( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt32(1), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(1378961804), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint4, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint4, euint32) => ebool test 2 (7, 11)', async function () { const res = await this.contract1.lt_euint4_euint32( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt32(11), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint4, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint4, euint32) => ebool test 3 (11, 11)', async function () { const res = await this.contract1.lt_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint4, euint32) => ebool test 4 (11, 7)', async function () { const res = await this.contract1.lt_euint4_euint32( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt32(4), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt32(7), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint32) => euint32 test 1 (1, 1)', async function () { + it('test operator "min" overload (euint4, euint32) => euint32 test 1 (5, 2670542696)', async function () { const res = await this.contract1.min_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(1), + this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt32(2670542696), ); - expect(res).to.equal(1n); + expect(res).to.equal(5n); }); it('test operator "min" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { @@ -1796,12 +1796,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "max" overload (euint4, euint32) => euint32 test 1 (1, 6)', async function () { + it('test operator "max" overload (euint4, euint32) => euint32 test 1 (2, 1031795645)', async function () { const res = await this.contract1.max_euint4_euint32( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt32(6), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt32(1031795645), ); - expect(res).to.equal(6n); + expect(res).to.equal(1031795645n); }); it('test operator "max" overload (euint4, euint32) => euint32 test 2 (4, 8)', async function () { @@ -1828,36 +1828,36 @@ describe('TFHE operations', function () { expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 1 (2, 10)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 1 (2, 9)', async function () { const res = await this.contract1.add_euint4_euint64( this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt64(10), + this.instances1.alice.encrypt64(9), ); - expect(res).to.equal(12n); + expect(res).to.equal(11n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 2 (6, 8)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 2 (4, 6)', async function () { const res = await this.contract1.add_euint4_euint64( - this.instances1.alice.encrypt4(6), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(6), ); - expect(res).to.equal(14n); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 3 (5, 5)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 3 (6, 6)', async function () { const res = await this.contract1.add_euint4_euint64( - this.instances1.alice.encrypt4(5), - this.instances1.alice.encrypt64(5), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(6), ); - expect(res).to.equal(10n); + expect(res).to.equal(12n); }); - it('test operator "add" overload (euint4, euint64) => euint64 test 4 (8, 6)', async function () { + it('test operator "add" overload (euint4, euint64) => euint64 test 4 (6, 4)', async function () { const res = await this.contract1.add_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(6), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(4), ); - expect(res).to.equal(14n); + expect(res).to.equal(10n); }); it('test operator "sub" overload (euint4, euint64) => euint64 test 1 (8, 8)', async function () { @@ -1876,12 +1876,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, euint64) => euint64 test 1 (1, 13)', async function () { + it('test operator "mul" overload (euint4, euint64) => euint64 test 1 (2, 5)', async function () { const res = await this.contract1.mul_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(13), + this.instances1.alice.encrypt4(2), + this.instances1.alice.encrypt64(5), ); - expect(res).to.equal(13n); + expect(res).to.equal(10n); }); it('test operator "mul" overload (euint4, euint64) => euint64 test 2 (3, 5)', async function () { @@ -1908,12 +1908,12 @@ describe('TFHE operations', function () { expect(res).to.equal(15n); }); - it('test operator "and" overload (euint4, euint64) => euint64 test 1 (1, 13187)', async function () { + it('test operator "and" overload (euint4, euint64) => euint64 test 1 (7, 18444452142912700231)', async function () { const res = await this.contract1.and_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(13187), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt64(18444452142912700231), ); - expect(res).to.equal(1n); + expect(res).to.equal(7n); }); it('test operator "and" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { @@ -1940,44 +1940,44 @@ describe('TFHE operations', function () { expect(res).to.equal(0n); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 1 (1, 57469)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 1 (10, 18439589984533574615)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(57469), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(18439589984533574615), ); - expect(res).to.equal(57469n); + expect(res).to.equal(18439589984533574623n); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 2 (6, 10)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(10), ); - expect(res).to.equal(12n); + expect(res).to.equal(14n); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 3 (10, 10)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(10), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "or" overload (euint4, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint4, euint64) => euint64 test 4 (10, 6)', async function () { const res = await this.contract1.or_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(6), ); - expect(res).to.equal(12n); + expect(res).to.equal(14n); }); - it('test operator "xor" overload (euint4, euint64) => euint64 test 1 (3, 2792)', async function () { + it('test operator "xor" overload (euint4, euint64) => euint64 test 1 (7, 18438536745518625067)', async function () { const res = await this.contract1.xor_euint4_euint64( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt64(2792), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt64(18438536745518625067), ); - expect(res).to.equal(2795n); + expect(res).to.equal(18438536745518625068n); }); it('test operator "xor" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { @@ -2004,106 +2004,106 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 1 (15, 191715)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 1 (4, 18441783865246079825)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(15), - this.instances1.alice.encrypt64(191715), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(18441783865246079825), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 2 (11, 15)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(11), - this.instances1.alice.encrypt64(15), + this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 3 (15, 15)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(15), - this.instances1.alice.encrypt64(15), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, euint64) => ebool test 4 (15, 11)', async function () { + it('test operator "eq" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { const res = await this.contract1.eq_euint4_euint64( - this.instances1.alice.encrypt4(15), - this.instances1.alice.encrypt64(11), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(4), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint64) => ebool test 1 (3, 2558)', async function () { + it('test operator "ne" overload (euint4, euint64) => ebool test 1 (11, 18442031616327904827)', async function () { const res = await this.contract1.ne_euint4_euint64( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt64(2558), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(18442031616327904827), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint4, euint64) => ebool test 2 (7, 11)', async function () { const res = await this.contract1.ne_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(7), + this.instances1.alice.encrypt64(11), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint4, euint64) => ebool test 3 (11, 11)', async function () { const res = await this.contract1.ne_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(11), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint4, euint64) => ebool test 4 (11, 7)', async function () { const res = await this.contract1.ne_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(11), + this.instances1.alice.encrypt64(7), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 1 (2, 3677)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 1 (14, 18441505983320830973)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt64(3677), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt64(18441505983320830973), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 2 (10, 14)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(10), + this.instances1.alice.encrypt64(14), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 3 (14, 14)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt64(14), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint4, euint64) => ebool test 4 (14, 10)', async function () { const res = await this.contract1.ge_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(14), + this.instances1.alice.encrypt64(10), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, euint64) => ebool test 1 (3, 6288)', async function () { + it('test operator "gt" overload (euint4, euint64) => ebool test 1 (8, 18443962302044821049)', async function () { const res = await this.contract1.gt_euint4_euint64( - this.instances1.alice.encrypt4(3), - this.instances1.alice.encrypt64(6288), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(18443962302044821049), ); expect(res).to.equal(false); }); @@ -2132,42 +2132,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 1 (1, 10377)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 1 (12, 18438657387678135029)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(10377), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt64(18438657387678135029), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 2 (8, 12)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(4), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(12), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 3 (12, 12)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(8), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt64(12), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint4, euint64) => ebool test 4 (12, 8)', async function () { const res = await this.contract1.le_euint4_euint64( - this.instances1.alice.encrypt4(8), - this.instances1.alice.encrypt64(4), + this.instances1.alice.encrypt4(12), + this.instances1.alice.encrypt64(8), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, euint64) => ebool test 1 (2, 8139)', async function () { + it('test operator "lt" overload (euint4, euint64) => ebool test 1 (8, 18442139041620940861)', async function () { const res = await this.contract1.lt_euint4_euint64( - this.instances1.alice.encrypt4(2), - this.instances1.alice.encrypt64(8139), + this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt64(18442139041620940861), ); expect(res).to.equal(true); }); @@ -2196,12 +2196,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, euint64) => euint64 test 1 (1, 2202)', async function () { + it('test operator "min" overload (euint4, euint64) => euint64 test 1 (6, 18437937380503493287)', async function () { const res = await this.contract1.min_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(2202), + this.instances1.alice.encrypt4(6), + this.instances1.alice.encrypt64(18437937380503493287), ); - expect(res).to.equal(1n); + expect(res).to.equal(6n); }); it('test operator "min" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { @@ -2228,12 +2228,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "max" overload (euint4, euint64) => euint64 test 1 (1, 2520)', async function () { + it('test operator "max" overload (euint4, euint64) => euint64 test 1 (3, 18443395042624107977)', async function () { const res = await this.contract1.max_euint4_euint64( - this.instances1.alice.encrypt4(1), - this.instances1.alice.encrypt64(2520), + this.instances1.alice.encrypt4(3), + this.instances1.alice.encrypt64(18443395042624107977), ); - expect(res).to.equal(2520n); + expect(res).to.equal(18443395042624107977n); }); it('test operator "max" overload (euint4, euint64) => euint64 test 2 (4, 8)', async function () { @@ -2260,9 +2260,9 @@ describe('TFHE operations', function () { expect(res).to.equal(8n); }); - it('test operator "add" overload (euint4, uint8) => euint4 test 1 (8, 2)', async function () { - const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(8), 2); - expect(res).to.equal(10n); + it('test operator "add" overload (euint4, uint8) => euint4 test 1 (7, 7)', async function () { + const res = await this.contract1.add_euint4_uint8(this.instances1.alice.encrypt4(7), 7); + expect(res).to.equal(14n); }); it('test operator "add" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { @@ -2280,9 +2280,9 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "add" overload (uint8, euint4) => euint4 test 1 (8, 1)', async function () { - const res = await this.contract1.add_uint8_euint4(8, this.instances1.alice.encrypt4(1)); - expect(res).to.equal(9n); + it('test operator "add" overload (uint8, euint4) => euint4 test 1 (12, 3)', async function () { + const res = await this.contract1.add_uint8_euint4(12, this.instances1.alice.encrypt4(3)); + expect(res).to.equal(15n); }); it('test operator "add" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { @@ -2320,9 +2320,9 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint4, uint8) => euint4 test 1 (1, 3)', async function () { - const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(1), 3); - expect(res).to.equal(3n); + it('test operator "mul" overload (euint4, uint8) => euint4 test 1 (1, 10)', async function () { + const res = await this.contract1.mul_euint4_uint8(this.instances1.alice.encrypt4(1), 10); + expect(res).to.equal(10n); }); it('test operator "mul" overload (euint4, uint8) => euint4 test 2 (3, 5)', async function () { @@ -2340,14 +2340,14 @@ describe('TFHE operations', function () { expect(res).to.equal(15n); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 1 (2, 5)', async function () { - const res = await this.contract1.mul_uint8_euint4(2, this.instances1.alice.encrypt4(5)); + it('test operator "mul" overload (uint8, euint4) => euint4 test 1 (1, 10)', async function () { + const res = await this.contract1.mul_uint8_euint4(1, this.instances1.alice.encrypt4(10)); expect(res).to.equal(10n); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 2 (3, 5)', async function () { - const res = await this.contract1.mul_uint8_euint4(3, this.instances1.alice.encrypt4(5)); - expect(res).to.equal(15n); + it('test operator "mul" overload (uint8, euint4) => euint4 test 2 (3, 4)', async function () { + const res = await this.contract1.mul_uint8_euint4(3, this.instances1.alice.encrypt4(4)); + expect(res).to.equal(12n); }); it('test operator "mul" overload (uint8, euint4) => euint4 test 3 (3, 3)', async function () { @@ -2355,13 +2355,13 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (uint8, euint4) => euint4 test 4 (5, 3)', async function () { - const res = await this.contract1.mul_uint8_euint4(5, this.instances1.alice.encrypt4(3)); - expect(res).to.equal(15n); + it('test operator "mul" overload (uint8, euint4) => euint4 test 4 (4, 3)', async function () { + const res = await this.contract1.mul_uint8_euint4(4, this.instances1.alice.encrypt4(3)); + expect(res).to.equal(12n); }); - it('test operator "div" overload (euint4, uint8) => euint4 test 1 (1, 2)', async function () { - const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(1), 2); + it('test operator "div" overload (euint4, uint8) => euint4 test 1 (3, 6)', async function () { + const res = await this.contract1.div_euint4_uint8(this.instances1.alice.encrypt4(3), 6); expect(res).to.equal(0n); }); @@ -2380,9 +2380,9 @@ describe('TFHE operations', function () { expect(res).to.equal(2n); }); - it('test operator "rem" overload (euint4, uint8) => euint4 test 1 (15, 2)', async function () { - const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(15), 2); - expect(res).to.equal(1n); + it('test operator "rem" overload (euint4, uint8) => euint4 test 1 (4, 10)', async function () { + const res = await this.contract1.rem_euint4_uint8(this.instances1.alice.encrypt4(4), 10); + expect(res).to.equal(4n); }); it('test operator "rem" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { @@ -2400,28 +2400,28 @@ describe('TFHE operations', function () { expect(res).to.equal(0n); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 1 (15, 15)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(15), 15); - expect(res).to.equal(true); + it('test operator "eq" overload (euint4, uint8) => ebool test 1 (14, 4)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(14), 4); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + it('test operator "eq" overload (euint4, uint8) => ebool test 2 (10, 14)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(10), 14); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + it('test operator "eq" overload (euint4, uint8) => ebool test 3 (14, 14)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(14), 14); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + it('test operator "eq" overload (euint4, uint8) => ebool test 4 (14, 10)', async function () { + const res = await this.contract1.eq_euint4_uint8(this.instances1.alice.encrypt4(14), 10); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint4) => ebool test 1 (1, 2)', async function () { - const res = await this.contract1.eq_uint8_euint4(1, this.instances1.alice.encrypt4(2)); + it('test operator "eq" overload (uint8, euint4) => ebool test 1 (11, 1)', async function () { + const res = await this.contract1.eq_uint8_euint4(11, this.instances1.alice.encrypt4(1)); expect(res).to.equal(false); }); @@ -2440,8 +2440,8 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint4, uint8) => ebool test 1 (3, 1)', async function () { - const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(3), 1); + it('test operator "ne" overload (euint4, uint8) => ebool test 1 (7, 12)', async function () { + const res = await this.contract1.ne_euint4_uint8(this.instances1.alice.encrypt4(7), 12); expect(res).to.equal(true); }); @@ -2460,9 +2460,9 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint4) => ebool test 1 (2, 2)', async function () { - const res = await this.contract1.ne_uint8_euint4(2, this.instances1.alice.encrypt4(2)); - expect(res).to.equal(false); + it('test operator "ne" overload (uint8, euint4) => ebool test 1 (3, 1)', async function () { + const res = await this.contract1.ne_uint8_euint4(3, this.instances1.alice.encrypt4(1)); + expect(res).to.equal(true); }); it('test operator "ne" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { @@ -2480,28 +2480,28 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 1 (2, 1)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(2), 1); + it('test operator "ge" overload (euint4, uint8) => ebool test 1 (12, 11)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(12), 11); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + it('test operator "ge" overload (euint4, uint8) => ebool test 2 (8, 12)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(8), 12); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + it('test operator "ge" overload (euint4, uint8) => ebool test 3 (12, 12)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(12), 12); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + it('test operator "ge" overload (euint4, uint8) => ebool test 4 (12, 8)', async function () { + const res = await this.contract1.ge_euint4_uint8(this.instances1.alice.encrypt4(12), 8); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint4) => ebool test 1 (2, 15)', async function () { - const res = await this.contract1.ge_uint8_euint4(2, this.instances1.alice.encrypt4(15)); + it('test operator "ge" overload (uint8, euint4) => ebool test 1 (2, 4)', async function () { + const res = await this.contract1.ge_uint8_euint4(2, this.instances1.alice.encrypt4(4)); expect(res).to.equal(false); }); @@ -2520,9 +2520,9 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint4, uint8) => ebool test 1 (3, 1)', async function () { - const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(3), 1); - expect(res).to.equal(true); + it('test operator "gt" overload (euint4, uint8) => ebool test 1 (7, 10)', async function () { + const res = await this.contract1.gt_euint4_uint8(this.instances1.alice.encrypt4(7), 10); + expect(res).to.equal(false); }); it('test operator "gt" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { @@ -2540,49 +2540,49 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 1 (5, 15)', async function () { - const res = await this.contract1.gt_uint8_euint4(5, this.instances1.alice.encrypt4(15)); + it('test operator "gt" overload (uint8, euint4) => ebool test 1 (4, 14)', async function () { + const res = await this.contract1.gt_uint8_euint4(4, this.instances1.alice.encrypt4(14)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { - const res = await this.contract1.gt_uint8_euint4(4, this.instances1.alice.encrypt4(8)); + it('test operator "gt" overload (uint8, euint4) => ebool test 2 (10, 14)', async function () { + const res = await this.contract1.gt_uint8_euint4(10, this.instances1.alice.encrypt4(14)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 3 (8, 8)', async function () { - const res = await this.contract1.gt_uint8_euint4(8, this.instances1.alice.encrypt4(8)); + it('test operator "gt" overload (uint8, euint4) => ebool test 3 (14, 14)', async function () { + const res = await this.contract1.gt_uint8_euint4(14, this.instances1.alice.encrypt4(14)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint4) => ebool test 4 (8, 4)', async function () { - const res = await this.contract1.gt_uint8_euint4(8, this.instances1.alice.encrypt4(4)); + it('test operator "gt" overload (uint8, euint4) => ebool test 4 (14, 10)', async function () { + const res = await this.contract1.gt_uint8_euint4(14, this.instances1.alice.encrypt4(10)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 1 (1, 7)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(1), 7); - expect(res).to.equal(true); + it('test operator "le" overload (euint4, uint8) => ebool test 1 (14, 8)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(14), 8); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint4, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(4), 8); + it('test operator "le" overload (euint4, uint8) => ebool test 2 (10, 14)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(10), 14); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(8), 8); + it('test operator "le" overload (euint4, uint8) => ebool test 3 (14, 14)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(14), 14); expect(res).to.equal(true); }); - it('test operator "le" overload (euint4, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(8), 4); + it('test operator "le" overload (euint4, uint8) => ebool test 4 (14, 10)', async function () { + const res = await this.contract1.le_euint4_uint8(this.instances1.alice.encrypt4(14), 10); expect(res).to.equal(false); }); - it('test operator "le" overload (uint8, euint4) => ebool test 1 (1, 2)', async function () { - const res = await this.contract1.le_uint8_euint4(1, this.instances1.alice.encrypt4(2)); - expect(res).to.equal(true); + it('test operator "le" overload (uint8, euint4) => ebool test 1 (11, 8)', async function () { + const res = await this.contract1.le_uint8_euint4(11, this.instances1.alice.encrypt4(8)); + expect(res).to.equal(false); }); it('test operator "le" overload (uint8, euint4) => ebool test 2 (4, 8)', async function () { @@ -2600,8 +2600,8 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint4, uint8) => ebool test 1 (2, 3)', async function () { - const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(2), 3); + it('test operator "lt" overload (euint4, uint8) => ebool test 1 (7, 14)', async function () { + const res = await this.contract1.lt_euint4_uint8(this.instances1.alice.encrypt4(7), 14); expect(res).to.equal(true); }); @@ -2620,8 +2620,8 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint4) => ebool test 1 (15, 1)', async function () { - const res = await this.contract1.lt_uint8_euint4(15, this.instances1.alice.encrypt4(1)); + it('test operator "lt" overload (uint8, euint4) => ebool test 1 (12, 5)', async function () { + const res = await this.contract1.lt_uint8_euint4(12, this.instances1.alice.encrypt4(5)); expect(res).to.equal(false); }); @@ -2640,92 +2640,92 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 1 (1, 15)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(1), 15); - expect(res).to.equal(1n); + it('test operator "min" overload (euint4, uint8) => euint4 test 1 (11, 10)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(11), 10); + expect(res).to.equal(10n); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(4), 8); - expect(res).to.equal(4n); + it('test operator "min" overload (euint4, uint8) => euint4 test 2 (7, 11)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(7), 11); + expect(res).to.equal(7n); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(8), 8); - expect(res).to.equal(8n); + it('test operator "min" overload (euint4, uint8) => euint4 test 3 (11, 11)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(11), 11); + expect(res).to.equal(11n); }); - it('test operator "min" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { - const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(8), 4); - expect(res).to.equal(4n); + it('test operator "min" overload (euint4, uint8) => euint4 test 4 (11, 7)', async function () { + const res = await this.contract1.min_euint4_uint8(this.instances1.alice.encrypt4(11), 7); + expect(res).to.equal(7n); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 1 (2, 15)', async function () { - const res = await this.contract1.min_uint8_euint4(2, this.instances1.alice.encrypt4(15)); - expect(res).to.equal(2n); + it('test operator "min" overload (uint8, euint4) => euint4 test 1 (8, 11)', async function () { + const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(11)); + expect(res).to.equal(8n); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { - const res = await this.contract1.min_uint8_euint4(4, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(4n); + it('test operator "min" overload (uint8, euint4) => euint4 test 2 (7, 11)', async function () { + const res = await this.contract1.min_uint8_euint4(7, this.instances1.alice.encrypt4(11)); + expect(res).to.equal(7n); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 3 (8, 8)', async function () { - const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(8n); + it('test operator "min" overload (uint8, euint4) => euint4 test 3 (11, 11)', async function () { + const res = await this.contract1.min_uint8_euint4(11, this.instances1.alice.encrypt4(11)); + expect(res).to.equal(11n); }); - it('test operator "min" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { - const res = await this.contract1.min_uint8_euint4(8, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(4n); + it('test operator "min" overload (uint8, euint4) => euint4 test 4 (11, 7)', async function () { + const res = await this.contract1.min_uint8_euint4(11, this.instances1.alice.encrypt4(7)); + expect(res).to.equal(7n); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 1 (1, 7)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(1), 7); - expect(res).to.equal(7n); + it('test operator "max" overload (euint4, uint8) => euint4 test 1 (11, 7)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(11), 7); + expect(res).to.equal(11n); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(4), 8); - expect(res).to.equal(8n); + it('test operator "max" overload (euint4, uint8) => euint4 test 2 (7, 11)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(7), 11); + expect(res).to.equal(11n); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 3 (8, 8)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(8), 8); - expect(res).to.equal(8n); + it('test operator "max" overload (euint4, uint8) => euint4 test 3 (11, 11)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(11), 11); + expect(res).to.equal(11n); }); - it('test operator "max" overload (euint4, uint8) => euint4 test 4 (8, 4)', async function () { - const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(8), 4); - expect(res).to.equal(8n); + it('test operator "max" overload (euint4, uint8) => euint4 test 4 (11, 7)', async function () { + const res = await this.contract1.max_euint4_uint8(this.instances1.alice.encrypt4(11), 7); + expect(res).to.equal(11n); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 1 (3, 1)', async function () { - const res = await this.contract1.max_uint8_euint4(3, this.instances1.alice.encrypt4(1)); - expect(res).to.equal(3n); + it('test operator "max" overload (uint8, euint4) => euint4 test 1 (7, 14)', async function () { + const res = await this.contract1.max_uint8_euint4(7, this.instances1.alice.encrypt4(14)); + expect(res).to.equal(14n); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 2 (4, 8)', async function () { - const res = await this.contract1.max_uint8_euint4(4, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint8, euint4) => euint4 test 2 (10, 14)', async function () { + const res = await this.contract1.max_uint8_euint4(10, this.instances1.alice.encrypt4(14)); + expect(res).to.equal(14n); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 3 (8, 8)', async function () { - const res = await this.contract1.max_uint8_euint4(8, this.instances1.alice.encrypt4(8)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint8, euint4) => euint4 test 3 (14, 14)', async function () { + const res = await this.contract1.max_uint8_euint4(14, this.instances1.alice.encrypt4(14)); + expect(res).to.equal(14n); }); - it('test operator "max" overload (uint8, euint4) => euint4 test 4 (8, 4)', async function () { - const res = await this.contract1.max_uint8_euint4(8, this.instances1.alice.encrypt4(4)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint8, euint4) => euint4 test 4 (14, 10)', async function () { + const res = await this.contract1.max_uint8_euint4(14, this.instances1.alice.encrypt4(10)); + expect(res).to.equal(14n); }); - it('test operator "add" overload (euint8, euint4) => euint8 test 1 (2, 1)', async function () { + it('test operator "add" overload (euint8, euint4) => euint8 test 1 (9, 2)', async function () { const res = await this.contract1.add_euint8_euint4( - this.instances1.alice.encrypt8(2), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(9), + this.instances1.alice.encrypt4(2), ); - expect(res).to.equal(3n); + expect(res).to.equal(11n); }); it('test operator "add" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { @@ -2768,20 +2768,20 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 1 (2, 5)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 1 (5, 2)', async function () { const res = await this.contract1.mul_euint8_euint4( - this.instances1.alice.encrypt8(2), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt4(2), ); expect(res).to.equal(10n); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 2 (3, 4)', async function () { const res = await this.contract1.mul_euint8_euint4( this.instances1.alice.encrypt8(3), - this.instances1.alice.encrypt4(5), + this.instances1.alice.encrypt4(4), ); - expect(res).to.equal(15n); + expect(res).to.equal(12n); }); it('test operator "mul" overload (euint8, euint4) => euint8 test 3 (3, 3)', async function () { @@ -2792,20 +2792,20 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint8, euint4) => euint8 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint8, euint4) => euint8 test 4 (4, 3)', async function () { const res = await this.contract1.mul_euint8_euint4( - this.instances1.alice.encrypt8(5), + this.instances1.alice.encrypt8(4), this.instances1.alice.encrypt4(3), ); - expect(res).to.equal(15n); + expect(res).to.equal(12n); }); - it('test operator "and" overload (euint8, euint4) => euint8 test 1 (2, 1)', async function () { + it('test operator "and" overload (euint8, euint4) => euint8 test 1 (143, 6)', async function () { const res = await this.contract1.and_euint8_euint4( - this.instances1.alice.encrypt8(2), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(143), + this.instances1.alice.encrypt4(6), ); - expect(res).to.equal(0n); + expect(res).to.equal(6n); }); it('test operator "and" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { @@ -2832,12 +2832,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0n); }); - it('test operator "or" overload (euint8, euint4) => euint8 test 1 (1, 1)', async function () { + it('test operator "or" overload (euint8, euint4) => euint8 test 1 (89, 1)', async function () { const res = await this.contract1.or_euint8_euint4( - this.instances1.alice.encrypt8(1), + this.instances1.alice.encrypt8(89), this.instances1.alice.encrypt4(1), ); - expect(res).to.equal(1n); + expect(res).to.equal(89n); }); it('test operator "or" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { @@ -2864,42 +2864,42 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint8, euint4) => euint8 test 1 (2, 1)', async function () { + it('test operator "xor" overload (euint8, euint4) => euint8 test 1 (100, 12)', async function () { const res = await this.contract1.xor_euint8_euint4( - this.instances1.alice.encrypt8(2), - this.instances1.alice.encrypt4(1), + this.instances1.alice.encrypt8(100), + this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(3n); + expect(res).to.equal(104n); }); - it('test operator "xor" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint8, euint4) => euint8 test 2 (8, 12)', async function () { const res = await this.contract1.xor_euint8_euint4( - this.instances1.alice.encrypt8(4), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(8), + this.instances1.alice.encrypt4(12), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint8, euint4) => euint8 test 3 (12, 12)', async function () { const res = await this.contract1.xor_euint8_euint4( - this.instances1.alice.encrypt8(8), - this.instances1.alice.encrypt4(8), + this.instances1.alice.encrypt8(12), + this.instances1.alice.encrypt4(12), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint8, euint4) => euint8 test 4 (12, 8)', async function () { const res = await this.contract1.xor_euint8_euint4( - this.instances1.alice.encrypt8(8), - this.instances1.alice.encrypt4(4), + this.instances1.alice.encrypt8(12), + this.instances1.alice.encrypt4(8), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint8, euint4) => ebool test 1 (1, 2)', async function () { + it('test operator "eq" overload (euint8, euint4) => ebool test 1 (168, 1)', async function () { const res = await this.contract2.eq_euint8_euint4( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt4(2), + this.instances2.alice.encrypt8(168), + this.instances2.alice.encrypt4(1), ); expect(res).to.equal(false); }); @@ -2928,12 +2928,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint4) => ebool test 1 (2, 2)', async function () { + it('test operator "ne" overload (euint8, euint4) => ebool test 1 (237, 1)', async function () { const res = await this.contract2.ne_euint8_euint4( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt4(2), + this.instances2.alice.encrypt8(237), + this.instances2.alice.encrypt4(1), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "ne" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { @@ -2960,12 +2960,12 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint4) => ebool test 1 (2, 15)', async function () { + it('test operator "ge" overload (euint8, euint4) => ebool test 1 (228, 4)', async function () { const res = await this.contract2.ge_euint8_euint4( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt4(15), + this.instances2.alice.encrypt8(228), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "ge" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { @@ -2992,44 +2992,44 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 1 (1, 15)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 1 (53, 14)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt4(15), + this.instances2.alice.encrypt8(53), + this.instances2.alice.encrypt4(14), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 2 (10, 14)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt4(14), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 3 (14, 14)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt4(14), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint8, euint4) => ebool test 4 (14, 10)', async function () { const res = await this.contract2.gt_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt4(10), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint4) => ebool test 1 (1, 2)', async function () { + it('test operator "le" overload (euint8, euint4) => ebool test 1 (194, 8)', async function () { const res = await this.contract2.le_euint8_euint4( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt4(2), + this.instances2.alice.encrypt8(194), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "le" overload (euint8, euint4) => ebool test 2 (4, 8)', async function () { @@ -3056,10 +3056,10 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint4) => ebool test 1 (1, 1)', async function () { + it('test operator "lt" overload (euint8, euint4) => ebool test 1 (130, 5)', async function () { const res = await this.contract2.lt_euint8_euint4( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt8(130), + this.instances2.alice.encrypt4(5), ); expect(res).to.equal(false); }); @@ -3088,380 +3088,380 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 1 (8, 15)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 1 (58, 11)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(15), + this.instances2.alice.encrypt8(58), + this.instances2.alice.encrypt4(11), ); - expect(res).to.equal(8n); + expect(res).to.equal(11n); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 2 (7, 11)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(7), + this.instances2.alice.encrypt4(11), ); - expect(res).to.equal(4n); + expect(res).to.equal(7n); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 3 (11, 11)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt4(11), ); - expect(res).to.equal(8n); + expect(res).to.equal(11n); }); - it('test operator "min" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint8, euint4) => euint8 test 4 (11, 7)', async function () { const res = await this.contract2.min_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt4(7), ); - expect(res).to.equal(4n); + expect(res).to.equal(7n); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 1 (1, 1)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 1 (211, 14)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt8(211), + this.instances2.alice.encrypt4(14), ); - expect(res).to.equal(1n); + expect(res).to.equal(211n); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 2 (10, 14)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt4(14), ); - expect(res).to.equal(8n); + expect(res).to.equal(14n); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 3 (14, 14)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt4(14), ); - expect(res).to.equal(8n); + expect(res).to.equal(14n); }); - it('test operator "max" overload (euint8, euint4) => euint8 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint8, euint4) => euint8 test 4 (14, 10)', async function () { const res = await this.contract2.max_euint8_euint4( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt4(10), ); - expect(res).to.equal(8n); + expect(res).to.equal(14n); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 1 (15, 3)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 1 (93, 114)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(15), - this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt8(114), ); - expect(res).to.equal(18n); + expect(res).to.equal(207n); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 2 (91, 93)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(91), + this.instances2.alice.encrypt8(93), ); - expect(res).to.equal(12n); + expect(res).to.equal(184n); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 3 (93, 93)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt8(93), ); - expect(res).to.equal(16n); + expect(res).to.equal(186n); }); - it('test operator "add" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint8, euint8) => euint8 test 4 (93, 91)', async function () { const res = await this.contract2.add_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(93), + this.instances2.alice.encrypt8(91), ); - expect(res).to.equal(12n); + expect(res).to.equal(184n); }); - it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint8, euint8) => euint8 test 1 (52, 52)', async function () { const res = await this.contract2.sub_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt8(52), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint8, euint8) => euint8 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint8, euint8) => euint8 test 2 (52, 48)', async function () { const res = await this.contract2.sub_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(52), + this.instances2.alice.encrypt8(48), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (2, 2)', async function () { + it('test operator "mul" overload (euint8, euint8) => euint8 test 1 (9, 17)', async function () { const res = await this.contract2.mul_euint8_euint8( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(17), ); - expect(res).to.equal(4n); + expect(res).to.equal(153n); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint8, euint8) => euint8 test 2 (15, 16)', async function () { const res = await this.contract2.mul_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(15), + this.instances2.alice.encrypt8(16), ); - expect(res).to.equal(32n); + expect(res).to.equal(240n); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint8) => euint8 test 3 (9, 9)', async function () { const res = await this.contract2.mul_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt8(9), ); - expect(res).to.equal(64n); + expect(res).to.equal(81n); }); - it('test operator "mul" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint8, euint8) => euint8 test 4 (16, 15)', async function () { const res = await this.contract2.mul_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(16), + this.instances2.alice.encrypt8(15), ); - expect(res).to.equal(32n); + expect(res).to.equal(240n); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 1 (2, 1)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 1 (254, 204)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt8(204), ); - expect(res).to.equal(0n); + expect(res).to.equal(204n); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 2 (200, 204)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt8(204), ); - expect(res).to.equal(0n); + expect(res).to.equal(200n); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 3 (204, 204)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(204), + this.instances2.alice.encrypt8(204), ); - expect(res).to.equal(8n); + expect(res).to.equal(204n); }); - it('test operator "and" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint8, euint8) => euint8 test 4 (204, 200)', async function () { const res = await this.contract2.and_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(204), + this.instances2.alice.encrypt8(200), ); - expect(res).to.equal(0n); + expect(res).to.equal(200n); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 1 (1, 1)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 1 (174, 137)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(174), + this.instances2.alice.encrypt8(137), ); - expect(res).to.equal(1n); + expect(res).to.equal(175n); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 2 (133, 137)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(133), + this.instances2.alice.encrypt8(137), ); - expect(res).to.equal(12n); + expect(res).to.equal(141n); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 3 (137, 137)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(137), + this.instances2.alice.encrypt8(137), ); - expect(res).to.equal(8n); + expect(res).to.equal(137n); }); - it('test operator "or" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint8, euint8) => euint8 test 4 (137, 133)', async function () { const res = await this.contract2.or_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(137), + this.instances2.alice.encrypt8(133), ); - expect(res).to.equal(12n); + expect(res).to.equal(141n); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (2, 1)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 1 (183, 10)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(183), + this.instances2.alice.encrypt8(10), ); - expect(res).to.equal(3n); + expect(res).to.equal(189n); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 2 (6, 10)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(6), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 3 (10, 10)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(10), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint8, euint8) => euint8 test 4 (10, 6)', async function () { const res = await this.contract2.xor_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt8(6), ); expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint8, euint8) => ebool test 1 (1, 1)', async function () { + it('test operator "eq" overload (euint8, euint8) => ebool test 1 (101, 188)', async function () { const res = await this.contract2.eq_euint8_euint8( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(101), + this.instances2.alice.encrypt8(188), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint8, euint8) => ebool test 2 (97, 101)', async function () { const res = await this.contract2.eq_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(97), + this.instances2.alice.encrypt8(101), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint8, euint8) => ebool test 3 (101, 101)', async function () { const res = await this.contract2.eq_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(101), + this.instances2.alice.encrypt8(101), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint8, euint8) => ebool test 4 (101, 97)', async function () { const res = await this.contract2.eq_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(101), + this.instances2.alice.encrypt8(97), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 1 (2, 1)', async function () { + it('test operator "ne" overload (euint8, euint8) => ebool test 1 (250, 143)', async function () { const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt8(143), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint8, euint8) => ebool test 2 (139, 143)', async function () { const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(139), + this.instances2.alice.encrypt8(143), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint8, euint8) => ebool test 3 (143, 143)', async function () { const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(143), + this.instances2.alice.encrypt8(143), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint8, euint8) => ebool test 4 (143, 139)', async function () { const res = await this.contract2.ne_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(143), + this.instances2.alice.encrypt8(139), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint8) => ebool test 1 (2, 2)', async function () { + it('test operator "ge" overload (euint8, euint8) => ebool test 1 (41, 173)', async function () { const res = await this.contract2.ge_euint8_euint8( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(41), + this.instances2.alice.encrypt8(173), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint8, euint8) => ebool test 2 (37, 41)', async function () { const res = await this.contract2.ge_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(37), + this.instances2.alice.encrypt8(41), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint8, euint8) => ebool test 3 (41, 41)', async function () { const res = await this.contract2.ge_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(41), + this.instances2.alice.encrypt8(41), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint8, euint8) => ebool test 4 (41, 37)', async function () { const res = await this.contract2.ge_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(41), + this.instances2.alice.encrypt8(37), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint8) => ebool test 1 (5, 1)', async function () { + it('test operator "gt" overload (euint8, euint8) => ebool test 1 (225, 96)', async function () { const res = await this.contract2.gt_euint8_euint8( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(225), + this.instances2.alice.encrypt8(96), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint8, euint8) => ebool test 2 (92, 96)', async function () { const res = await this.contract2.gt_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(92), + this.instances2.alice.encrypt8(96), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint8, euint8) => ebool test 3 (96, 96)', async function () { const res = await this.contract2.gt_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt8(96), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint8, euint8) => ebool test 4 (96, 92)', async function () { const res = await this.contract2.gt_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt8(92), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint8) => ebool test 1 (1, 4)', async function () { + it('test operator "le" overload (euint8, euint8) => ebool test 1 (102, 4)', async function () { const res = await this.contract2.le_euint8_euint8( - this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(102), this.instances2.alice.encrypt8(4), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); it('test operator "le" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { @@ -3488,508 +3488,508 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint8) => ebool test 1 (15, 1)', async function () { + it('test operator "lt" overload (euint8, euint8) => ebool test 1 (253, 98)', async function () { const res = await this.contract2.lt_euint8_euint8( - this.instances2.alice.encrypt8(15), - this.instances2.alice.encrypt8(1), + this.instances2.alice.encrypt8(253), + this.instances2.alice.encrypt8(98), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint8, euint8) => ebool test 2 (94, 98)', async function () { const res = await this.contract2.lt_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(94), + this.instances2.alice.encrypt8(98), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint8, euint8) => ebool test 3 (98, 98)', async function () { const res = await this.contract2.lt_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(98), + this.instances2.alice.encrypt8(98), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint8, euint8) => ebool test 4 (98, 94)', async function () { const res = await this.contract2.lt_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(98), + this.instances2.alice.encrypt8(94), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 1 (2, 2)', async function () { + it('test operator "min" overload (euint8, euint8) => euint8 test 1 (53, 97)', async function () { const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt8(53), + this.instances2.alice.encrypt8(97), ); - expect(res).to.equal(2n); + expect(res).to.equal(53n); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint8, euint8) => euint8 test 2 (49, 53)', async function () { const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(49), + this.instances2.alice.encrypt8(53), ); - expect(res).to.equal(4n); + expect(res).to.equal(49n); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint8, euint8) => euint8 test 3 (53, 53)', async function () { const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(53), + this.instances2.alice.encrypt8(53), ); - expect(res).to.equal(8n); + expect(res).to.equal(53n); }); - it('test operator "min" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint8, euint8) => euint8 test 4 (53, 49)', async function () { const res = await this.contract2.min_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(53), + this.instances2.alice.encrypt8(49), ); - expect(res).to.equal(4n); + expect(res).to.equal(49n); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 1 (3, 3)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 1 (198, 211)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt8(211), ); - expect(res).to.equal(3n); + expect(res).to.equal(211n); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 2 (194, 198)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(194), + this.instances2.alice.encrypt8(198), ); - expect(res).to.equal(8n); + expect(res).to.equal(198n); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 3 (198, 198)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt8(198), ); - expect(res).to.equal(8n); + expect(res).to.equal(198n); }); - it('test operator "max" overload (euint8, euint8) => euint8 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint8, euint8) => euint8 test 4 (198, 194)', async function () { const res = await this.contract2.max_euint8_euint8( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt8(4), + this.instances2.alice.encrypt8(198), + this.instances2.alice.encrypt8(194), ); - expect(res).to.equal(8n); + expect(res).to.equal(198n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 1 (36, 1)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 1 (2, 208)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(36), - this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt16(208), ); - expect(res).to.equal(37n); + expect(res).to.equal(210n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 2 (83, 85)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(83), + this.instances2.alice.encrypt16(85), ); - expect(res).to.equal(12n); + expect(res).to.equal(168n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 3 (85, 85)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(85), + this.instances2.alice.encrypt16(85), ); - expect(res).to.equal(16n); + expect(res).to.equal(170n); }); - it('test operator "add" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint8, euint16) => euint16 test 4 (85, 83)', async function () { const res = await this.contract2.add_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(85), + this.instances2.alice.encrypt16(83), ); - expect(res).to.equal(12n); + expect(res).to.equal(168n); }); - it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint8, euint16) => euint16 test 1 (236, 236)', async function () { const res = await this.contract2.sub_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(236), + this.instances2.alice.encrypt16(236), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint8, euint16) => euint16 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint8, euint16) => euint16 test 2 (236, 232)', async function () { const res = await this.contract2.sub_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(236), + this.instances2.alice.encrypt16(232), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (1, 1)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 1 (3, 60)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt8(3), + this.instances2.alice.encrypt16(60), ); - expect(res).to.equal(1n); + expect(res).to.equal(180n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 2 (9, 9)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt16(9), ); - expect(res).to.equal(32n); + expect(res).to.equal(81n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 3 (9, 9)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt16(9), ); - expect(res).to.equal(64n); + expect(res).to.equal(81n); }); - it('test operator "mul" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint8, euint16) => euint16 test 4 (9, 9)', async function () { const res = await this.contract2.mul_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(9), + this.instances2.alice.encrypt16(9), ); - expect(res).to.equal(32n); + expect(res).to.equal(81n); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 1 (2, 2)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 1 (112, 22367)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt16(2), + this.instances2.alice.encrypt8(112), + this.instances2.alice.encrypt16(22367), ); - expect(res).to.equal(2n); + expect(res).to.equal(80n); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 2 (108, 112)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(108), + this.instances2.alice.encrypt16(112), ); - expect(res).to.equal(0n); + expect(res).to.equal(96n); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 3 (112, 112)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(112), + this.instances2.alice.encrypt16(112), ); - expect(res).to.equal(8n); + expect(res).to.equal(112n); }); - it('test operator "and" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint8, euint16) => euint16 test 4 (112, 108)', async function () { const res = await this.contract2.and_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(112), + this.instances2.alice.encrypt16(108), ); - expect(res).to.equal(0n); + expect(res).to.equal(96n); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 1 (1, 1)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 1 (99, 46031)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt8(99), + this.instances2.alice.encrypt16(46031), ); - expect(res).to.equal(1n); + expect(res).to.equal(46063n); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 2 (95, 99)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(95), + this.instances2.alice.encrypt16(99), ); - expect(res).to.equal(12n); + expect(res).to.equal(127n); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 3 (99, 99)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(99), + this.instances2.alice.encrypt16(99), ); - expect(res).to.equal(8n); + expect(res).to.equal(99n); }); - it('test operator "or" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint8, euint16) => euint16 test 4 (99, 95)', async function () { const res = await this.contract2.or_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(99), + this.instances2.alice.encrypt16(95), ); - expect(res).to.equal(12n); + expect(res).to.equal(127n); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (2, 1)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 1 (129, 2322)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt8(129), + this.instances2.alice.encrypt16(2322), ); - expect(res).to.equal(3n); + expect(res).to.equal(2451n); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 2 (125, 129)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(125), + this.instances2.alice.encrypt16(129), ); - expect(res).to.equal(12n); + expect(res).to.equal(252n); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 3 (129, 129)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(129), + this.instances2.alice.encrypt16(129), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint8, euint16) => euint16 test 4 (129, 125)', async function () { const res = await this.contract2.xor_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(129), + this.instances2.alice.encrypt16(125), ); - expect(res).to.equal(12n); + expect(res).to.equal(252n); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 1 (5, 1)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 1 (111, 58517)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt8(111), + this.instances2.alice.encrypt16(58517), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 2 (107, 111)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(107), + this.instances2.alice.encrypt16(111), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 3 (111, 111)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(111), + this.instances2.alice.encrypt16(111), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint8, euint16) => ebool test 4 (111, 107)', async function () { const res = await this.contract2.eq_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(111), + this.instances2.alice.encrypt16(107), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 1 (3, 1)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 1 (86, 21243)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt8(86), + this.instances2.alice.encrypt16(21243), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 2 (82, 86)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(82), + this.instances2.alice.encrypt16(86), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 3 (86, 86)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(86), + this.instances2.alice.encrypt16(86), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint8, euint16) => ebool test 4 (86, 82)', async function () { const res = await this.contract2.ne_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(86), + this.instances2.alice.encrypt16(82), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 1 (1, 26)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 1 (204, 4953)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(26), + this.instances2.alice.encrypt8(204), + this.instances2.alice.encrypt16(4953), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 2 (200, 204)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt16(204), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 3 (204, 204)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(204), + this.instances2.alice.encrypt16(204), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint8, euint16) => ebool test 4 (204, 200)', async function () { const res = await this.contract2.ge_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(204), + this.instances2.alice.encrypt16(200), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 1 (2, 2)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 1 (254, 24172)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt16(2), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt16(24172), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 2 (250, 254)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt16(254), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 3 (254, 254)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt16(254), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint8, euint16) => ebool test 4 (254, 250)', async function () { const res = await this.contract2.gt_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt16(250), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 1 (15, 1)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 1 (31, 28651)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(15), - this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt8(31), + this.instances2.alice.encrypt16(28651), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 2 (27, 31)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(27), + this.instances2.alice.encrypt16(31), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 3 (31, 31)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(31), + this.instances2.alice.encrypt16(31), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint8, euint16) => ebool test 4 (31, 27)', async function () { const res = await this.contract2.le_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(31), + this.instances2.alice.encrypt16(27), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 1 (1, 1)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 1 (113, 2877)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt8(113), + this.instances2.alice.encrypt16(2877), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 2 (109, 113)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(109), + this.instances2.alice.encrypt16(113), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 3 (113, 113)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(113), + this.instances2.alice.encrypt16(113), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint8, euint16) => ebool test 4 (113, 109)', async function () { const res = await this.contract2.lt_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(113), + this.instances2.alice.encrypt16(109), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 1 (1, 3)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 1 (190, 58049)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(3), + this.instances2.alice.encrypt8(190), + this.instances2.alice.encrypt16(58049), ); - expect(res).to.equal(1n); + expect(res).to.equal(190n); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 2 (186, 190)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(186), + this.instances2.alice.encrypt16(190), ); - expect(res).to.equal(4n); + expect(res).to.equal(186n); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 3 (190, 190)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(8), + this.instances2.alice.encrypt8(190), + this.instances2.alice.encrypt16(190), ); - expect(res).to.equal(8n); + expect(res).to.equal(190n); }); - it('test operator "min" overload (euint8, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint8, euint16) => euint16 test 4 (190, 186)', async function () { const res = await this.contract2.min_euint8_euint16( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt16(4), + this.instances2.alice.encrypt8(190), + this.instances2.alice.encrypt16(186), ); - expect(res).to.equal(4n); + expect(res).to.equal(186n); }); - it('test operator "max" overload (euint8, euint16) => euint16 test 1 (1, 1)', async function () { + it('test operator "max" overload (euint8, euint16) => euint16 test 1 (8, 11440)', async function () { const res = await this.contract2.max_euint8_euint16( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt16(1), + this.instances2.alice.encrypt8(8), + this.instances2.alice.encrypt16(11440), ); - expect(res).to.equal(1n); + expect(res).to.equal(11440n); }); it('test operator "max" overload (euint8, euint16) => euint16 test 2 (4, 8)', async function () { @@ -4016,1173 +4016,1173 @@ describe('TFHE operations', function () { expect(res).to.equal(8n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 1 (36, 2)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 1 (2, 161)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(36), - this.instances2.alice.encrypt32(2), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt32(161), ); - expect(res).to.equal(38n); + expect(res).to.equal(163n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 2 (96, 100)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(96), + this.instances2.alice.encrypt32(100), ); - expect(res).to.equal(12n); + expect(res).to.equal(196n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 3 (100, 100)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(100), + this.instances2.alice.encrypt32(100), ); - expect(res).to.equal(16n); + expect(res).to.equal(200n); }); - it('test operator "add" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint8, euint32) => euint32 test 4 (100, 96)', async function () { const res = await this.contract2.add_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(100), + this.instances2.alice.encrypt32(96), ); - expect(res).to.equal(12n); + expect(res).to.equal(196n); }); - it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint8, euint32) => euint32 test 1 (83, 83)', async function () { const res = await this.contract2.sub_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(83), + this.instances2.alice.encrypt32(83), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint8, euint32) => euint32 test 2 (83, 79)', async function () { const res = await this.contract2.sub_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(83), + this.instances2.alice.encrypt32(79), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 1 (1, 1)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 1 (2, 96)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt32(96), ); - expect(res).to.equal(1n); + expect(res).to.equal(192n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 2 (10, 12)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt32(12), ); - expect(res).to.equal(32n); + expect(res).to.equal(120n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 3 (12, 12)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt32(12), ); - expect(res).to.equal(64n); + expect(res).to.equal(144n); }); - it('test operator "mul" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint8, euint32) => euint32 test 4 (12, 10)', async function () { const res = await this.contract2.mul_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(12), + this.instances2.alice.encrypt32(10), ); - expect(res).to.equal(32n); + expect(res).to.equal(120n); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 1 (2, 4)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 1 (36, 664013992)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(36), + this.instances2.alice.encrypt32(664013992), ); - expect(res).to.equal(0n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 2 (32, 36)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(32), + this.instances2.alice.encrypt32(36), ); - expect(res).to.equal(0n); + expect(res).to.equal(32n); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 3 (36, 36)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(36), + this.instances2.alice.encrypt32(36), ); - expect(res).to.equal(8n); + expect(res).to.equal(36n); }); - it('test operator "and" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint8, euint32) => euint32 test 4 (36, 32)', async function () { const res = await this.contract2.and_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(36), + this.instances2.alice.encrypt32(32), ); - expect(res).to.equal(0n); + expect(res).to.equal(32n); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 1 (1, 1)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 1 (50, 1388677537)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + this.instances2.alice.encrypt8(50), + this.instances2.alice.encrypt32(1388677537), ); - expect(res).to.equal(1n); + expect(res).to.equal(1388677555n); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 2 (46, 50)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(46), + this.instances2.alice.encrypt32(50), ); - expect(res).to.equal(12n); + expect(res).to.equal(62n); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 3 (50, 50)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(50), + this.instances2.alice.encrypt32(50), ); - expect(res).to.equal(8n); + expect(res).to.equal(50n); }); - it('test operator "or" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint8, euint32) => euint32 test 4 (50, 46)', async function () { const res = await this.contract2.or_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(50), + this.instances2.alice.encrypt32(46), ); - expect(res).to.equal(12n); + expect(res).to.equal(62n); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (2, 1)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 1 (67, 2386754441)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt32(1), + this.instances2.alice.encrypt8(67), + this.instances2.alice.encrypt32(2386754441), ); - expect(res).to.equal(3n); + expect(res).to.equal(2386754506n); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 2 (63, 67)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(63), + this.instances2.alice.encrypt32(67), ); - expect(res).to.equal(12n); + expect(res).to.equal(124n); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 3 (67, 67)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(67), + this.instances2.alice.encrypt32(67), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint8, euint32) => euint32 test 4 (67, 63)', async function () { const res = await this.contract2.xor_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(67), + this.instances2.alice.encrypt32(63), ); - expect(res).to.equal(12n); + expect(res).to.equal(124n); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 1 (5, 3)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 1 (161, 1325601812)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt32(3), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt32(1325601812), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 2 (157, 161)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(157), + this.instances2.alice.encrypt32(161), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 3 (161, 161)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt32(161), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint8, euint32) => ebool test 4 (161, 157)', async function () { const res = await this.contract2.eq_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(161), + this.instances2.alice.encrypt32(157), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 1 (3, 1)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 1 (185, 1521229668)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt32(1), + this.instances2.alice.encrypt8(185), + this.instances2.alice.encrypt32(1521229668), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 2 (181, 185)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(181), + this.instances2.alice.encrypt32(185), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 3 (185, 185)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(185), + this.instances2.alice.encrypt32(185), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint8, euint32) => ebool test 4 (185, 181)', async function () { const res = await this.contract2.ne_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(185), + this.instances2.alice.encrypt32(181), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 1 (214, 2636986545)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + this.instances2.alice.encrypt8(214), + this.instances2.alice.encrypt32(2636986545), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 2 (210, 214)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(210), + this.instances2.alice.encrypt32(214), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 3 (214, 214)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(214), + this.instances2.alice.encrypt32(214), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint8, euint32) => ebool test 4 (214, 210)', async function () { const res = await this.contract2.ge_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(214), + this.instances2.alice.encrypt32(210), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 1 (2, 1)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 1 (254, 3644170480)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt32(1), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt32(3644170480), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 2 (250, 254)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(250), + this.instances2.alice.encrypt32(254), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 3 (254, 254)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt32(254), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint8, euint32) => ebool test 4 (254, 250)', async function () { const res = await this.contract2.gt_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(254), + this.instances2.alice.encrypt32(250), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 1 (15, 1)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 1 (200, 2966523441)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(15), - this.instances2.alice.encrypt32(1), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt32(2966523441), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 2 (196, 200)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(196), + this.instances2.alice.encrypt32(200), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 3 (200, 200)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt32(200), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint8, euint32) => ebool test 4 (200, 196)', async function () { const res = await this.contract2.le_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(200), + this.instances2.alice.encrypt32(196), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 1 (1, 1)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 1 (80, 2205479823)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(1), + this.instances2.alice.encrypt8(80), + this.instances2.alice.encrypt32(2205479823), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 2 (76, 80)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(76), + this.instances2.alice.encrypt32(80), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 3 (80, 80)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(80), + this.instances2.alice.encrypt32(80), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint8, euint32) => ebool test 4 (80, 76)', async function () { const res = await this.contract2.lt_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(80), + this.instances2.alice.encrypt32(76), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 1 (1, 18)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 1 (253, 2965000543)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(18), + this.instances2.alice.encrypt8(253), + this.instances2.alice.encrypt32(2965000543), ); - expect(res).to.equal(1n); + expect(res).to.equal(253n); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 2 (249, 253)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(249), + this.instances2.alice.encrypt32(253), ); - expect(res).to.equal(4n); + expect(res).to.equal(249n); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 3 (253, 253)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(253), + this.instances2.alice.encrypt32(253), ); - expect(res).to.equal(8n); + expect(res).to.equal(253n); }); - it('test operator "min" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint8, euint32) => euint32 test 4 (253, 249)', async function () { const res = await this.contract2.min_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(253), + this.instances2.alice.encrypt32(249), ); - expect(res).to.equal(4n); + expect(res).to.equal(249n); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 1 (1, 3)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 1 (130, 566960922)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt32(3), + this.instances2.alice.encrypt8(130), + this.instances2.alice.encrypt32(566960922), ); - expect(res).to.equal(3n); + expect(res).to.equal(566960922n); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 2 (126, 130)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(126), + this.instances2.alice.encrypt32(130), ); - expect(res).to.equal(8n); + expect(res).to.equal(130n); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 3 (130, 130)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(8), + this.instances2.alice.encrypt8(130), + this.instances2.alice.encrypt32(130), ); - expect(res).to.equal(8n); + expect(res).to.equal(130n); }); - it('test operator "max" overload (euint8, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint8, euint32) => euint32 test 4 (130, 126)', async function () { const res = await this.contract2.max_euint8_euint32( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt32(4), + this.instances2.alice.encrypt8(130), + this.instances2.alice.encrypt32(126), ); - expect(res).to.equal(8n); + expect(res).to.equal(130n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 1 (3, 168)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 1 (2, 129)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt64(168), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt64(129), ); - expect(res).to.equal(171n); + expect(res).to.equal(131n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 2 (32, 36)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 2 (115, 119)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(32), - this.instances2.alice.encrypt64(36), + this.instances2.alice.encrypt8(115), + this.instances2.alice.encrypt64(119), ); - expect(res).to.equal(68n); + expect(res).to.equal(234n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 3 (36, 36)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 3 (119, 119)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(36), - this.instances2.alice.encrypt64(36), + this.instances2.alice.encrypt8(119), + this.instances2.alice.encrypt64(119), ); - expect(res).to.equal(72n); + expect(res).to.equal(238n); }); - it('test operator "add" overload (euint8, euint64) => euint64 test 4 (36, 32)', async function () { + it('test operator "add" overload (euint8, euint64) => euint64 test 4 (119, 115)', async function () { const res = await this.contract2.add_euint8_euint64( - this.instances2.alice.encrypt8(36), - this.instances2.alice.encrypt64(32), + this.instances2.alice.encrypt8(119), + this.instances2.alice.encrypt64(115), ); - expect(res).to.equal(68n); + expect(res).to.equal(234n); }); - it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint8, euint64) => euint64 test 1 (168, 168)', async function () { const res = await this.contract2.sub_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(168), + this.instances2.alice.encrypt64(168), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint8, euint64) => euint64 test 2 (168, 164)', async function () { const res = await this.contract2.sub_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(168), + this.instances2.alice.encrypt64(164), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (1, 140)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 1 (2, 65)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(140), + this.instances2.alice.encrypt8(2), + this.instances2.alice.encrypt64(65), ); - expect(res).to.equal(140n); + expect(res).to.equal(130n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 2 (10, 11)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(10), + this.instances2.alice.encrypt64(11), ); - expect(res).to.equal(32n); + expect(res).to.equal(110n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 3 (11, 11)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt64(11), ); - expect(res).to.equal(64n); + expect(res).to.equal(121n); }); - it('test operator "mul" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint8, euint64) => euint64 test 4 (11, 10)', async function () { const res = await this.contract2.mul_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(11), + this.instances2.alice.encrypt64(10), ); - expect(res).to.equal(32n); + expect(res).to.equal(110n); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 1 (2, 2049)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 1 (187, 18444084668783699555)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt64(2049), + this.instances2.alice.encrypt8(187), + this.instances2.alice.encrypt64(18444084668783699555), ); - expect(res).to.equal(0n); + expect(res).to.equal(35n); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 2 (183, 187)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(183), + this.instances2.alice.encrypt64(187), ); - expect(res).to.equal(0n); + expect(res).to.equal(179n); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 3 (187, 187)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(187), + this.instances2.alice.encrypt64(187), ); - expect(res).to.equal(8n); + expect(res).to.equal(187n); }); - it('test operator "and" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint8, euint64) => euint64 test 4 (187, 183)', async function () { const res = await this.contract2.and_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(187), + this.instances2.alice.encrypt64(183), ); - expect(res).to.equal(0n); + expect(res).to.equal(179n); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 1 (1, 6021)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 1 (135, 18439029290182698975)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(6021), + this.instances2.alice.encrypt8(135), + this.instances2.alice.encrypt64(18439029290182698975), ); - expect(res).to.equal(6021n); + expect(res).to.equal(18439029290182698975n); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 2 (131, 135)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(131), + this.instances2.alice.encrypt64(135), ); - expect(res).to.equal(12n); + expect(res).to.equal(135n); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 3 (135, 135)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(135), + this.instances2.alice.encrypt64(135), ); - expect(res).to.equal(8n); + expect(res).to.equal(135n); }); - it('test operator "or" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint8, euint64) => euint64 test 4 (135, 131)', async function () { const res = await this.contract2.or_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(135), + this.instances2.alice.encrypt64(131), ); - expect(res).to.equal(12n); + expect(res).to.equal(135n); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (2, 4046)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 1 (84, 18444990477299490715)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt64(4046), + this.instances2.alice.encrypt8(84), + this.instances2.alice.encrypt64(18444990477299490715), ); - expect(res).to.equal(4044n); + expect(res).to.equal(18444990477299490767n); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 2 (80, 84)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(80), + this.instances2.alice.encrypt64(84), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 3 (84, 84)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(84), + this.instances2.alice.encrypt64(84), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint8, euint64) => euint64 test 4 (84, 80)', async function () { const res = await this.contract2.xor_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(84), + this.instances2.alice.encrypt64(80), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 1 (5, 5764)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 1 (91, 18446457346943992227)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(5), - this.instances2.alice.encrypt64(5764), + this.instances2.alice.encrypt8(91), + this.instances2.alice.encrypt64(18446457346943992227), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 2 (87, 91)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(87), + this.instances2.alice.encrypt64(91), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 3 (91, 91)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(91), + this.instances2.alice.encrypt64(91), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint8, euint64) => ebool test 4 (91, 87)', async function () { const res = await this.contract2.eq_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(91), + this.instances2.alice.encrypt64(87), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 1 (3, 2082)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 1 (109, 18443318570639553087)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(3), - this.instances2.alice.encrypt64(2082), + this.instances2.alice.encrypt8(109), + this.instances2.alice.encrypt64(18443318570639553087), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 2 (105, 109)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(105), + this.instances2.alice.encrypt64(109), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 3 (109, 109)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(109), + this.instances2.alice.encrypt64(109), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint8, euint64) => ebool test 4 (109, 105)', async function () { const res = await this.contract2.ne_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(109), + this.instances2.alice.encrypt64(105), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 1 (1, 7637)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 1 (27, 18445930867214181117)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(7637), + this.instances2.alice.encrypt8(27), + this.instances2.alice.encrypt64(18445930867214181117), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 2 (23, 27)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(23), + this.instances2.alice.encrypt64(27), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 3 (27, 27)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(27), + this.instances2.alice.encrypt64(27), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint8, euint64) => ebool test 4 (27, 23)', async function () { const res = await this.contract2.ge_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(27), + this.instances2.alice.encrypt64(23), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 1 (2, 2952)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 1 (235, 18439120393033635471)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(2), - this.instances2.alice.encrypt64(2952), + this.instances2.alice.encrypt8(235), + this.instances2.alice.encrypt64(18439120393033635471), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 2 (231, 235)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(231), + this.instances2.alice.encrypt64(235), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 3 (235, 235)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(235), + this.instances2.alice.encrypt64(235), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint8, euint64) => ebool test 4 (235, 231)', async function () { const res = await this.contract2.gt_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(235), + this.instances2.alice.encrypt64(231), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 1 (15, 3500)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 1 (80, 18440486388708045995)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(15), - this.instances2.alice.encrypt64(3500), + this.instances2.alice.encrypt8(80), + this.instances2.alice.encrypt64(18440486388708045995), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 2 (11, 15)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 2 (76, 80)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(11), - this.instances2.alice.encrypt64(15), + this.instances2.alice.encrypt8(76), + this.instances2.alice.encrypt64(80), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 3 (15, 15)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 3 (80, 80)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(15), - this.instances2.alice.encrypt64(15), + this.instances2.alice.encrypt8(80), + this.instances2.alice.encrypt64(80), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, euint64) => ebool test 4 (15, 11)', async function () { + it('test operator "le" overload (euint8, euint64) => ebool test 4 (80, 76)', async function () { const res = await this.contract2.le_euint8_euint64( - this.instances2.alice.encrypt8(15), - this.instances2.alice.encrypt64(11), + this.instances2.alice.encrypt8(80), + this.instances2.alice.encrypt64(76), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 1 (1, 2371)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 1 (190, 18443665731691391943)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(2371), + this.instances2.alice.encrypt8(190), + this.instances2.alice.encrypt64(18443665731691391943), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 2 (186, 190)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(186), + this.instances2.alice.encrypt64(190), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 3 (190, 190)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(190), + this.instances2.alice.encrypt64(190), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint8, euint64) => ebool test 4 (190, 186)', async function () { const res = await this.contract2.lt_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(190), + this.instances2.alice.encrypt64(186), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 1 (1, 5533)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 1 (18, 18446036892619585799)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(5533), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt64(18446036892619585799), ); - expect(res).to.equal(1n); + expect(res).to.equal(18n); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 2 (14, 18)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(14), + this.instances2.alice.encrypt64(18), ); - expect(res).to.equal(4n); + expect(res).to.equal(14n); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 3 (18, 18)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt64(18), ); - expect(res).to.equal(8n); + expect(res).to.equal(18n); }); - it('test operator "min" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint8, euint64) => euint64 test 4 (18, 14)', async function () { const res = await this.contract2.min_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(18), + this.instances2.alice.encrypt64(14), ); - expect(res).to.equal(4n); + expect(res).to.equal(14n); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 1 (1, 9155)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 1 (172, 18445195398017975891)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(1), - this.instances2.alice.encrypt64(9155), + this.instances2.alice.encrypt8(172), + this.instances2.alice.encrypt64(18445195398017975891), ); - expect(res).to.equal(9155n); + expect(res).to.equal(18445195398017975891n); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 2 (168, 172)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(4), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(168), + this.instances2.alice.encrypt64(172), ); - expect(res).to.equal(8n); + expect(res).to.equal(172n); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 3 (172, 172)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(8), + this.instances2.alice.encrypt8(172), + this.instances2.alice.encrypt64(172), ); - expect(res).to.equal(8n); + expect(res).to.equal(172n); }); - it('test operator "max" overload (euint8, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint8, euint64) => euint64 test 4 (172, 168)', async function () { const res = await this.contract2.max_euint8_euint64( - this.instances2.alice.encrypt8(8), - this.instances2.alice.encrypt64(4), + this.instances2.alice.encrypt8(172), + this.instances2.alice.encrypt64(168), ); - expect(res).to.equal(8n); + expect(res).to.equal(172n); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 1 (15, 1)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(15), 1); - expect(res).to.equal(16n); + it('test operator "add" overload (euint8, uint8) => euint8 test 1 (93, 112)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(93), 112); + expect(res).to.equal(205n); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(4), 8); - expect(res).to.equal(12n); + it('test operator "add" overload (euint8, uint8) => euint8 test 2 (91, 93)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(91), 93); + expect(res).to.equal(184n); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(8), 8); - expect(res).to.equal(16n); + it('test operator "add" overload (euint8, uint8) => euint8 test 3 (93, 93)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(93), 93); + expect(res).to.equal(186n); }); - it('test operator "add" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(12n); + it('test operator "add" overload (euint8, uint8) => euint8 test 4 (93, 91)', async function () { + const res = await this.contract2.add_euint8_uint8(this.instances2.alice.encrypt8(93), 91); + expect(res).to.equal(184n); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 1 (36, 1)', async function () { - const res = await this.contract2.add_uint8_euint8(36, this.instances2.alice.encrypt8(1)); - expect(res).to.equal(37n); + it('test operator "add" overload (uint8, euint8) => euint8 test 1 (34, 112)', async function () { + const res = await this.contract2.add_uint8_euint8(34, this.instances2.alice.encrypt8(112)); + expect(res).to.equal(146n); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.add_uint8_euint8(4, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(12n); + it('test operator "add" overload (uint8, euint8) => euint8 test 2 (91, 93)', async function () { + const res = await this.contract2.add_uint8_euint8(91, this.instances2.alice.encrypt8(93)); + expect(res).to.equal(184n); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.add_uint8_euint8(8, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(16n); + it('test operator "add" overload (uint8, euint8) => euint8 test 3 (93, 93)', async function () { + const res = await this.contract2.add_uint8_euint8(93, this.instances2.alice.encrypt8(93)); + expect(res).to.equal(186n); }); - it('test operator "add" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.add_uint8_euint8(8, this.instances2.alice.encrypt8(4)); - expect(res).to.equal(12n); + it('test operator "add" overload (uint8, euint8) => euint8 test 4 (93, 91)', async function () { + const res = await this.contract2.add_uint8_euint8(93, this.instances2.alice.encrypt8(91)); + expect(res).to.equal(184n); }); - it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (8, 8)', async function () { - const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + it('test operator "sub" overload (euint8, uint8) => euint8 test 1 (52, 52)', async function () { + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(52), 52); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (8, 4)', async function () { - const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + it('test operator "sub" overload (euint8, uint8) => euint8 test 2 (52, 48)', async function () { + const res = await this.contract2.sub_euint8_uint8(this.instances2.alice.encrypt8(52), 48); expect(res).to.equal(4n); }); - it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (8, 8)', async function () { - const res = await this.contract2.sub_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + it('test operator "sub" overload (uint8, euint8) => euint8 test 1 (52, 52)', async function () { + const res = await this.contract2.sub_uint8_euint8(52, this.instances2.alice.encrypt8(52)); expect(res).to.equal(0n); }); - it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (8, 4)', async function () { - const res = await this.contract2.sub_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + it('test operator "sub" overload (uint8, euint8) => euint8 test 2 (52, 48)', async function () { + const res = await this.contract2.sub_uint8_euint8(52, this.instances2.alice.encrypt8(48)); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (2, 2)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(2), 2); - expect(res).to.equal(4n); + it('test operator "mul" overload (euint8, uint8) => euint8 test 1 (16, 7)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(16), 7); + expect(res).to.equal(112n); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(4), 8); - expect(res).to.equal(32n); + it('test operator "mul" overload (euint8, uint8) => euint8 test 2 (15, 16)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(15), 16); + expect(res).to.equal(240n); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(8), 8); - expect(res).to.equal(64n); + it('test operator "mul" overload (euint8, uint8) => euint8 test 3 (9, 9)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(9), 9); + expect(res).to.equal(81n); }); - it('test operator "mul" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(32n); + it('test operator "mul" overload (euint8, uint8) => euint8 test 4 (16, 15)', async function () { + const res = await this.contract2.mul_euint8_uint8(this.instances2.alice.encrypt8(16), 15); + expect(res).to.equal(240n); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (1, 2)', async function () { - const res = await this.contract2.mul_uint8_euint8(1, this.instances2.alice.encrypt8(2)); - expect(res).to.equal(2n); + it('test operator "mul" overload (uint8, euint8) => euint8 test 1 (14, 12)', async function () { + const res = await this.contract2.mul_uint8_euint8(14, this.instances2.alice.encrypt8(12)); + expect(res).to.equal(168n); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.mul_uint8_euint8(4, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(32n); + it('test operator "mul" overload (uint8, euint8) => euint8 test 2 (15, 16)', async function () { + const res = await this.contract2.mul_uint8_euint8(15, this.instances2.alice.encrypt8(16)); + expect(res).to.equal(240n); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(64n); + it('test operator "mul" overload (uint8, euint8) => euint8 test 3 (9, 9)', async function () { + const res = await this.contract2.mul_uint8_euint8(9, this.instances2.alice.encrypt8(9)); + expect(res).to.equal(81n); }); - it('test operator "mul" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.mul_uint8_euint8(8, this.instances2.alice.encrypt8(4)); - expect(res).to.equal(32n); + it('test operator "mul" overload (uint8, euint8) => euint8 test 4 (16, 15)', async function () { + const res = await this.contract2.mul_uint8_euint8(16, this.instances2.alice.encrypt8(15)); + expect(res).to.equal(240n); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 1 (1, 7)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(1), 7); + it('test operator "div" overload (euint8, uint8) => euint8 test 1 (123, 214)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(123), 214); expect(res).to.equal(0n); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + it('test operator "div" overload (euint8, uint8) => euint8 test 2 (20, 24)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(20), 24); expect(res).to.equal(0n); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + it('test operator "div" overload (euint8, uint8) => euint8 test 3 (24, 24)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(24), 24); expect(res).to.equal(1n); }); - it('test operator "div" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(2n); + it('test operator "div" overload (euint8, uint8) => euint8 test 4 (24, 20)', async function () { + const res = await this.contract2.div_euint8_uint8(this.instances2.alice.encrypt8(24), 20); + expect(res).to.equal(1n); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (1, 1)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(1), 1); - expect(res).to.equal(0n); + it('test operator "rem" overload (euint8, uint8) => euint8 test 1 (144, 19)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(144), 19); + expect(res).to.equal(11n); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(4), 8); - expect(res).to.equal(4n); + it('test operator "rem" overload (euint8, uint8) => euint8 test 2 (140, 144)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(140), 144); + expect(res).to.equal(140n); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + it('test operator "rem" overload (euint8, uint8) => euint8 test 3 (144, 144)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(144), 144); expect(res).to.equal(0n); }); - it('test operator "rem" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(0n); + it('test operator "rem" overload (euint8, uint8) => euint8 test 4 (144, 140)', async function () { + const res = await this.contract2.rem_euint8_uint8(this.instances2.alice.encrypt8(144), 140); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint8, uint8) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(1), 1); - expect(res).to.equal(true); + it('test operator "eq" overload (euint8, uint8) => ebool test 1 (101, 175)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(101), 175); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + it('test operator "eq" overload (euint8, uint8) => ebool test 2 (97, 101)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(97), 101); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + it('test operator "eq" overload (euint8, uint8) => ebool test 3 (101, 101)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(101), 101); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + it('test operator "eq" overload (euint8, uint8) => ebool test 4 (101, 97)', async function () { + const res = await this.contract2.eq_euint8_uint8(this.instances2.alice.encrypt8(101), 97); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint8) => ebool test 1 (5, 1)', async function () { - const res = await this.contract2.eq_uint8_euint8(5, this.instances2.alice.encrypt8(1)); + it('test operator "eq" overload (uint8, euint8) => ebool test 1 (182, 175)', async function () { + const res = await this.contract2.eq_uint8_euint8(182, this.instances2.alice.encrypt8(175)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.eq_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + it('test operator "eq" overload (uint8, euint8) => ebool test 2 (97, 101)', async function () { + const res = await this.contract2.eq_uint8_euint8(97, this.instances2.alice.encrypt8(101)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.eq_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + it('test operator "eq" overload (uint8, euint8) => ebool test 3 (101, 101)', async function () { + const res = await this.contract2.eq_uint8_euint8(101, this.instances2.alice.encrypt8(101)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.eq_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + it('test operator "eq" overload (uint8, euint8) => ebool test 4 (101, 97)', async function () { + const res = await this.contract2.eq_uint8_euint8(101, this.instances2.alice.encrypt8(97)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 1 (2, 2)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(2), 2); - expect(res).to.equal(false); + it('test operator "ne" overload (euint8, uint8) => ebool test 1 (250, 114)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(250), 114); + expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + it('test operator "ne" overload (euint8, uint8) => ebool test 2 (139, 143)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(139), 143); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + it('test operator "ne" overload (euint8, uint8) => ebool test 3 (143, 143)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(143), 143); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + it('test operator "ne" overload (euint8, uint8) => ebool test 4 (143, 139)', async function () { + const res = await this.contract2.ne_euint8_uint8(this.instances2.alice.encrypt8(143), 139); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 1 (3, 2)', async function () { - const res = await this.contract2.ne_uint8_euint8(3, this.instances2.alice.encrypt8(2)); + it('test operator "ne" overload (uint8, euint8) => ebool test 1 (139, 114)', async function () { + const res = await this.contract2.ne_uint8_euint8(139, this.instances2.alice.encrypt8(114)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.ne_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + it('test operator "ne" overload (uint8, euint8) => ebool test 2 (139, 143)', async function () { + const res = await this.contract2.ne_uint8_euint8(139, this.instances2.alice.encrypt8(143)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.ne_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + it('test operator "ne" overload (uint8, euint8) => ebool test 3 (143, 143)', async function () { + const res = await this.contract2.ne_uint8_euint8(143, this.instances2.alice.encrypt8(143)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.ne_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + it('test operator "ne" overload (uint8, euint8) => ebool test 4 (143, 139)', async function () { + const res = await this.contract2.ne_uint8_euint8(143, this.instances2.alice.encrypt8(139)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, uint8) => ebool test 1 (2, 11)', async function () { - const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(2), 11); + it('test operator "ge" overload (euint8, uint8) => ebool test 1 (41, 155)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(41), 155); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + it('test operator "ge" overload (euint8, uint8) => ebool test 2 (37, 41)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(37), 41); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + it('test operator "ge" overload (euint8, uint8) => ebool test 3 (41, 41)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(41), 41); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + it('test operator "ge" overload (euint8, uint8) => ebool test 4 (41, 37)', async function () { + const res = await this.contract2.ge_euint8_uint8(this.instances2.alice.encrypt8(41), 37); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint8) => ebool test 1 (1, 11)', async function () { - const res = await this.contract2.ge_uint8_euint8(1, this.instances2.alice.encrypt8(11)); + it('test operator "ge" overload (uint8, euint8) => ebool test 1 (28, 155)', async function () { + const res = await this.contract2.ge_uint8_euint8(28, this.instances2.alice.encrypt8(155)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.ge_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + it('test operator "ge" overload (uint8, euint8) => ebool test 2 (37, 41)', async function () { + const res = await this.contract2.ge_uint8_euint8(37, this.instances2.alice.encrypt8(41)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.ge_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + it('test operator "ge" overload (uint8, euint8) => ebool test 3 (41, 41)', async function () { + const res = await this.contract2.ge_uint8_euint8(41, this.instances2.alice.encrypt8(41)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.ge_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + it('test operator "ge" overload (uint8, euint8) => ebool test 4 (41, 37)', async function () { + const res = await this.contract2.ge_uint8_euint8(41, this.instances2.alice.encrypt8(37)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, uint8) => ebool test 1 (5, 1)', async function () { - const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(5), 1); + it('test operator "gt" overload (euint8, uint8) => ebool test 1 (225, 176)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(225), 176); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + it('test operator "gt" overload (euint8, uint8) => ebool test 2 (92, 96)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(92), 96); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + it('test operator "gt" overload (euint8, uint8) => ebool test 3 (96, 96)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(96), 96); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + it('test operator "gt" overload (euint8, uint8) => ebool test 4 (96, 92)', async function () { + const res = await this.contract2.gt_euint8_uint8(this.instances2.alice.encrypt8(96), 92); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint8, euint8) => ebool test 1 (2, 1)', async function () { - const res = await this.contract2.gt_uint8_euint8(2, this.instances2.alice.encrypt8(1)); - expect(res).to.equal(true); + it('test operator "gt" overload (uint8, euint8) => ebool test 1 (34, 176)', async function () { + const res = await this.contract2.gt_uint8_euint8(34, this.instances2.alice.encrypt8(176)); + expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.gt_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + it('test operator "gt" overload (uint8, euint8) => ebool test 2 (92, 96)', async function () { + const res = await this.contract2.gt_uint8_euint8(92, this.instances2.alice.encrypt8(96)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.gt_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + it('test operator "gt" overload (uint8, euint8) => ebool test 3 (96, 96)', async function () { + const res = await this.contract2.gt_uint8_euint8(96, this.instances2.alice.encrypt8(96)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.gt_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + it('test operator "gt" overload (uint8, euint8) => ebool test 4 (96, 92)', async function () { + const res = await this.contract2.gt_uint8_euint8(96, this.instances2.alice.encrypt8(92)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint8, uint8) => ebool test 1 (1, 2)', async function () { - const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(1), 2); - expect(res).to.equal(true); + it('test operator "le" overload (euint8, uint8) => ebool test 1 (102, 85)', async function () { + const res = await this.contract2.le_euint8_uint8(this.instances2.alice.encrypt8(102), 85); + expect(res).to.equal(false); }); it('test operator "le" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { @@ -5200,9 +5200,9 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "le" overload (uint8, euint8) => ebool test 1 (15, 2)', async function () { - const res = await this.contract2.le_uint8_euint8(15, this.instances2.alice.encrypt8(2)); - expect(res).to.equal(false); + it('test operator "le" overload (uint8, euint8) => ebool test 1 (46, 85)', async function () { + const res = await this.contract2.le_uint8_euint8(46, this.instances2.alice.encrypt8(85)); + expect(res).to.equal(true); }); it('test operator "le" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { @@ -5220,132 +5220,132 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, uint8) => ebool test 1 (15, 1)', async function () { - const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(15), 1); + it('test operator "lt" overload (euint8, uint8) => ebool test 1 (253, 9)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(253), 9); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, uint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(4), 8); + it('test operator "lt" overload (euint8, uint8) => ebool test 2 (94, 98)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(94), 98); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint8, uint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(8), 8); + it('test operator "lt" overload (euint8, uint8) => ebool test 3 (98, 98)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(98), 98); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint8, uint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(8), 4); + it('test operator "lt" overload (euint8, uint8) => ebool test 4 (98, 94)', async function () { + const res = await this.contract2.lt_euint8_uint8(this.instances2.alice.encrypt8(98), 94); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint8) => ebool test 1 (1, 1)', async function () { - const res = await this.contract2.lt_uint8_euint8(1, this.instances2.alice.encrypt8(1)); + it('test operator "lt" overload (uint8, euint8) => ebool test 1 (79, 9)', async function () { + const res = await this.contract2.lt_uint8_euint8(79, this.instances2.alice.encrypt8(9)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint8) => ebool test 2 (4, 8)', async function () { - const res = await this.contract2.lt_uint8_euint8(4, this.instances2.alice.encrypt8(8)); + it('test operator "lt" overload (uint8, euint8) => ebool test 2 (94, 98)', async function () { + const res = await this.contract2.lt_uint8_euint8(94, this.instances2.alice.encrypt8(98)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint8, euint8) => ebool test 3 (8, 8)', async function () { - const res = await this.contract2.lt_uint8_euint8(8, this.instances2.alice.encrypt8(8)); + it('test operator "lt" overload (uint8, euint8) => ebool test 3 (98, 98)', async function () { + const res = await this.contract2.lt_uint8_euint8(98, this.instances2.alice.encrypt8(98)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint8, euint8) => ebool test 4 (8, 4)', async function () { - const res = await this.contract2.lt_uint8_euint8(8, this.instances2.alice.encrypt8(4)); + it('test operator "lt" overload (uint8, euint8) => ebool test 4 (98, 94)', async function () { + const res = await this.contract2.lt_uint8_euint8(98, this.instances2.alice.encrypt8(94)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 1 (2, 1)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(2), 1); - expect(res).to.equal(1n); + it('test operator "min" overload (euint8, uint8) => euint8 test 1 (53, 70)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(53), 70); + expect(res).to.equal(53n); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(4), 8); - expect(res).to.equal(4n); + it('test operator "min" overload (euint8, uint8) => euint8 test 2 (49, 53)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(49), 53); + expect(res).to.equal(49n); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(8), 8); - expect(res).to.equal(8n); + it('test operator "min" overload (euint8, uint8) => euint8 test 3 (53, 53)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(53), 53); + expect(res).to.equal(53n); }); - it('test operator "min" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(4n); + it('test operator "min" overload (euint8, uint8) => euint8 test 4 (53, 49)', async function () { + const res = await this.contract2.min_euint8_uint8(this.instances2.alice.encrypt8(53), 49); + expect(res).to.equal(49n); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 1 (1, 1)', async function () { - const res = await this.contract2.min_uint8_euint8(1, this.instances2.alice.encrypt8(1)); - expect(res).to.equal(1n); + it('test operator "min" overload (uint8, euint8) => euint8 test 1 (109, 70)', async function () { + const res = await this.contract2.min_uint8_euint8(109, this.instances2.alice.encrypt8(70)); + expect(res).to.equal(70n); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.min_uint8_euint8(4, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(4n); + it('test operator "min" overload (uint8, euint8) => euint8 test 2 (49, 53)', async function () { + const res = await this.contract2.min_uint8_euint8(49, this.instances2.alice.encrypt8(53)); + expect(res).to.equal(49n); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.min_uint8_euint8(8, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(8n); + it('test operator "min" overload (uint8, euint8) => euint8 test 3 (53, 53)', async function () { + const res = await this.contract2.min_uint8_euint8(53, this.instances2.alice.encrypt8(53)); + expect(res).to.equal(53n); }); - it('test operator "min" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.min_uint8_euint8(8, this.instances2.alice.encrypt8(4)); - expect(res).to.equal(4n); + it('test operator "min" overload (uint8, euint8) => euint8 test 4 (53, 49)', async function () { + const res = await this.contract2.min_uint8_euint8(53, this.instances2.alice.encrypt8(49)); + expect(res).to.equal(49n); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 1 (3, 14)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(3), 14); - expect(res).to.equal(14n); + it('test operator "max" overload (euint8, uint8) => euint8 test 1 (198, 31)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(198), 31); + expect(res).to.equal(198n); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(4), 8); - expect(res).to.equal(8n); + it('test operator "max" overload (euint8, uint8) => euint8 test 2 (194, 198)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(194), 198); + expect(res).to.equal(198n); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(8), 8); - expect(res).to.equal(8n); + it('test operator "max" overload (euint8, uint8) => euint8 test 3 (198, 198)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(198), 198); + expect(res).to.equal(198n); }); - it('test operator "max" overload (euint8, uint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(8), 4); - expect(res).to.equal(8n); + it('test operator "max" overload (euint8, uint8) => euint8 test 4 (198, 194)', async function () { + const res = await this.contract2.max_euint8_uint8(this.instances2.alice.encrypt8(198), 194); + expect(res).to.equal(198n); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 1 (1, 14)', async function () { - const res = await this.contract2.max_uint8_euint8(1, this.instances2.alice.encrypt8(14)); - expect(res).to.equal(14n); + it('test operator "max" overload (uint8, euint8) => euint8 test 1 (102, 31)', async function () { + const res = await this.contract2.max_uint8_euint8(102, this.instances2.alice.encrypt8(31)); + expect(res).to.equal(102n); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 2 (4, 8)', async function () { - const res = await this.contract2.max_uint8_euint8(4, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint8, euint8) => euint8 test 2 (194, 198)', async function () { + const res = await this.contract2.max_uint8_euint8(194, this.instances2.alice.encrypt8(198)); + expect(res).to.equal(198n); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 3 (8, 8)', async function () { - const res = await this.contract2.max_uint8_euint8(8, this.instances2.alice.encrypt8(8)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint8, euint8) => euint8 test 3 (198, 198)', async function () { + const res = await this.contract2.max_uint8_euint8(198, this.instances2.alice.encrypt8(198)); + expect(res).to.equal(198n); }); - it('test operator "max" overload (uint8, euint8) => euint8 test 4 (8, 4)', async function () { - const res = await this.contract2.max_uint8_euint8(8, this.instances2.alice.encrypt8(4)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint8, euint8) => euint8 test 4 (198, 194)', async function () { + const res = await this.contract2.max_uint8_euint8(198, this.instances2.alice.encrypt8(194)); + expect(res).to.equal(198n); }); - it('test operator "add" overload (euint16, euint4) => euint16 test 1 (3, 2)', async function () { + it('test operator "add" overload (euint16, euint4) => euint16 test 1 (13, 2)', async function () { const res = await this.contract2.add_euint16_euint4( - this.instances2.alice.encrypt16(3), + this.instances2.alice.encrypt16(13), this.instances2.alice.encrypt4(2), ); - expect(res).to.equal(5n); + expect(res).to.equal(15n); }); it('test operator "add" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { @@ -5372,28 +5372,28 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "sub" overload (euint16, euint4) => euint16 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint16, euint4) => euint16 test 1 (14, 14)', async function () { const res = await this.contract2.sub_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt4(14), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, euint4) => euint16 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint16, euint4) => euint16 test 2 (14, 10)', async function () { const res = await this.contract2.sub_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt4(10), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint4) => euint16 test 1 (1, 1)', async function () { + it('test operator "mul" overload (euint16, euint4) => euint16 test 1 (7, 2)', async function () { const res = await this.contract2.mul_euint16_euint4( - this.instances2.alice.encrypt16(1), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt16(7), + this.instances2.alice.encrypt4(2), ); - expect(res).to.equal(1n); + expect(res).to.equal(14n); }); it('test operator "mul" overload (euint16, euint4) => euint16 test 2 (3, 5)', async function () { @@ -5420,12 +5420,12 @@ describe('TFHE operations', function () { expect(res).to.equal(15n); }); - it('test operator "and" overload (euint16, euint4) => euint16 test 1 (1, 7)', async function () { + it('test operator "and" overload (euint16, euint4) => euint16 test 1 (6680, 4)', async function () { const res = await this.contract2.and_euint16_euint4( - this.instances2.alice.encrypt16(1), - this.instances2.alice.encrypt4(7), + this.instances2.alice.encrypt16(6680), + this.instances2.alice.encrypt4(4), ); - expect(res).to.equal(1n); + expect(res).to.equal(0n); }); it('test operator "and" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { @@ -5452,12 +5452,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0n); }); - it('test operator "or" overload (euint16, euint4) => euint16 test 1 (2, 15)', async function () { + it('test operator "or" overload (euint16, euint4) => euint16 test 1 (57838, 2)', async function () { const res = await this.contract2.or_euint16_euint4( - this.instances2.alice.encrypt16(2), - this.instances2.alice.encrypt4(15), + this.instances2.alice.encrypt16(57838), + this.instances2.alice.encrypt4(2), ); - expect(res).to.equal(15n); + expect(res).to.equal(57838n); }); it('test operator "or" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { @@ -5484,42 +5484,42 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 1 (9, 3)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 1 (29564, 14)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(9), - this.instances2.alice.encrypt4(3), + this.instances2.alice.encrypt16(29564), + this.instances2.alice.encrypt4(14), ); - expect(res).to.equal(10n); + expect(res).to.equal(29554n); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 2 (10, 14)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(10), + this.instances2.alice.encrypt4(14), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 3 (14, 14)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt4(14), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint16, euint4) => euint16 test 4 (14, 10)', async function () { const res = await this.contract2.xor_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt16(14), + this.instances2.alice.encrypt4(10), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint16, euint4) => ebool test 1 (5, 7)', async function () { + it('test operator "eq" overload (euint16, euint4) => ebool test 1 (43178, 6)', async function () { const res = await this.contract2.eq_euint16_euint4( - this.instances2.alice.encrypt16(5), - this.instances2.alice.encrypt4(7), + this.instances2.alice.encrypt16(43178), + this.instances2.alice.encrypt4(6), ); expect(res).to.equal(false); }); @@ -5548,12 +5548,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint4) => ebool test 1 (3, 3)', async function () { + it('test operator "ne" overload (euint16, euint4) => ebool test 1 (36210, 8)', async function () { const res = await this.contract2.ne_euint16_euint4( - this.instances2.alice.encrypt16(3), - this.instances2.alice.encrypt4(3), + this.instances2.alice.encrypt16(36210), + this.instances2.alice.encrypt4(8), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "ne" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { @@ -5580,12 +5580,12 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint4) => ebool test 1 (1, 7)', async function () { + it('test operator "ge" overload (euint16, euint4) => ebool test 1 (9661, 2)', async function () { const res = await this.contract2.ge_euint16_euint4( - this.instances2.alice.encrypt16(1), - this.instances2.alice.encrypt4(7), + this.instances2.alice.encrypt16(9661), + this.instances2.alice.encrypt4(2), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "ge" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { @@ -5612,74 +5612,74 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint4) => ebool test 1 (1, 1)', async function () { + it('test operator "gt" overload (euint16, euint4) => ebool test 1 (36260, 13)', async function () { const res = await this.contract2.gt_euint16_euint4( - this.instances2.alice.encrypt16(1), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt16(36260), + this.instances2.alice.encrypt4(13), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint16, euint4) => ebool test 2 (9, 13)', async function () { const res = await this.contract2.gt_euint16_euint4( - this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(9), + this.instances2.alice.encrypt4(13), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint16, euint4) => ebool test 3 (13, 13)', async function () { const res = await this.contract2.gt_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(13), + this.instances2.alice.encrypt4(13), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint16, euint4) => ebool test 4 (13, 9)', async function () { const res = await this.contract2.gt_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt16(13), + this.instances2.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint4) => ebool test 1 (23, 1)', async function () { + it('test operator "le" overload (euint16, euint4) => ebool test 1 (7456, 9)', async function () { const res = await this.contract2.le_euint16_euint4( - this.instances2.alice.encrypt16(23), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt16(7456), + this.instances2.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint16, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint16, euint4) => ebool test 2 (5, 9)', async function () { const res = await this.contract2.le_euint16_euint4( - this.instances2.alice.encrypt16(4), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(5), + this.instances2.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint16, euint4) => ebool test 3 (9, 9)', async function () { const res = await this.contract2.le_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(8), + this.instances2.alice.encrypt16(9), + this.instances2.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint16, euint4) => ebool test 4 (9, 5)', async function () { const res = await this.contract2.le_euint16_euint4( - this.instances2.alice.encrypt16(8), - this.instances2.alice.encrypt4(4), + this.instances2.alice.encrypt16(9), + this.instances2.alice.encrypt4(5), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint4) => ebool test 1 (1, 1)', async function () { + it('test operator "lt" overload (euint16, euint4) => ebool test 1 (53504, 6)', async function () { const res = await this.contract2.lt_euint16_euint4( - this.instances2.alice.encrypt16(1), - this.instances2.alice.encrypt4(1), + this.instances2.alice.encrypt16(53504), + this.instances2.alice.encrypt4(6), ); expect(res).to.equal(false); }); @@ -5708,12 +5708,12 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint4) => euint16 test 1 (1, 1)', async function () { + it('test operator "min" overload (euint16, euint4) => euint16 test 1 (37174, 5)', async function () { const res = await this.contract3.min_euint16_euint4( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt4(1), + this.instances3.alice.encrypt16(37174), + this.instances3.alice.encrypt4(5), ); - expect(res).to.equal(1n); + expect(res).to.equal(5n); }); it('test operator "min" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { @@ -5740,316 +5740,316 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 1 (2, 1)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 1 (29272, 10)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt4(1), + this.instances3.alice.encrypt16(29272), + this.instances3.alice.encrypt4(10), ); - expect(res).to.equal(2n); + expect(res).to.equal(29272n); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 2 (6, 10)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt16(6), + this.instances3.alice.encrypt4(10), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 3 (10, 10)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt16(10), + this.instances3.alice.encrypt4(10), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "max" overload (euint16, euint4) => euint16 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint16, euint4) => euint16 test 4 (10, 6)', async function () { const res = await this.contract3.max_euint16_euint4( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt16(10), + this.instances3.alice.encrypt4(6), ); - expect(res).to.equal(8n); + expect(res).to.equal(10n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 1 (3, 1)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 1 (171, 2)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(3), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt16(171), + this.instances3.alice.encrypt8(2), ); - expect(res).to.equal(4n); + expect(res).to.equal(173n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 2 (7, 11)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(7), + this.instances3.alice.encrypt8(11), ); - expect(res).to.equal(12n); + expect(res).to.equal(18n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 3 (11, 11)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(11), + this.instances3.alice.encrypt8(11), ); - expect(res).to.equal(16n); + expect(res).to.equal(22n); }); - it('test operator "add" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint16, euint8) => euint16 test 4 (11, 7)', async function () { const res = await this.contract3.add_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(11), + this.instances3.alice.encrypt8(7), ); - expect(res).to.equal(12n); + expect(res).to.equal(18n); }); - it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint16, euint8) => euint16 test 1 (166, 166)', async function () { const res = await this.contract3.sub_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(166), + this.instances3.alice.encrypt8(166), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint16, euint8) => euint16 test 2 (166, 162)', async function () { const res = await this.contract3.sub_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(166), + this.instances3.alice.encrypt8(162), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (1, 21)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 1 (110, 2)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt8(21), + this.instances3.alice.encrypt16(110), + this.instances3.alice.encrypt8(2), ); - expect(res).to.equal(21n); + expect(res).to.equal(220n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 2 (13, 13)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(13), + this.instances3.alice.encrypt8(13), ); - expect(res).to.equal(32n); + expect(res).to.equal(169n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 3 (13, 13)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(13), + this.instances3.alice.encrypt8(13), ); - expect(res).to.equal(64n); + expect(res).to.equal(169n); }); - it('test operator "mul" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint16, euint8) => euint16 test 4 (13, 13)', async function () { const res = await this.contract3.mul_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(13), + this.instances3.alice.encrypt8(13), ); - expect(res).to.equal(32n); + expect(res).to.equal(169n); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 1 (1, 1)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 1 (18191, 188)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt16(18191), + this.instances3.alice.encrypt8(188), ); - expect(res).to.equal(1n); + expect(res).to.equal(12n); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 2 (184, 188)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(184), + this.instances3.alice.encrypt8(188), ); - expect(res).to.equal(0n); + expect(res).to.equal(184n); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 3 (188, 188)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(188), + this.instances3.alice.encrypt8(188), ); - expect(res).to.equal(8n); + expect(res).to.equal(188n); }); - it('test operator "and" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint16, euint8) => euint16 test 4 (188, 184)', async function () { const res = await this.contract3.and_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(188), + this.instances3.alice.encrypt8(184), ); - expect(res).to.equal(0n); + expect(res).to.equal(184n); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 1 (2, 4)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 1 (60745, 176)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(60745), + this.instances3.alice.encrypt8(176), ); - expect(res).to.equal(6n); + expect(res).to.equal(60921n); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 2 (172, 176)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(172), + this.instances3.alice.encrypt8(176), ); - expect(res).to.equal(12n); + expect(res).to.equal(188n); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 3 (176, 176)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(176), + this.instances3.alice.encrypt8(176), ); - expect(res).to.equal(8n); + expect(res).to.equal(176n); }); - it('test operator "or" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint16, euint8) => euint16 test 4 (176, 172)', async function () { const res = await this.contract3.or_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(176), + this.instances3.alice.encrypt8(172), ); - expect(res).to.equal(12n); + expect(res).to.equal(188n); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (9, 7)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 1 (24120, 221)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(9), - this.instances3.alice.encrypt8(7), + this.instances3.alice.encrypt16(24120), + this.instances3.alice.encrypt8(221), ); - expect(res).to.equal(14n); + expect(res).to.equal(24293n); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 2 (217, 221)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(217), + this.instances3.alice.encrypt8(221), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 3 (221, 221)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(221), + this.instances3.alice.encrypt8(221), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint16, euint8) => euint16 test 4 (221, 217)', async function () { const res = await this.contract3.xor_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(221), + this.instances3.alice.encrypt8(217), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 1 (5, 3)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 1 (52156, 49)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(5), - this.instances3.alice.encrypt8(3), + this.instances3.alice.encrypt16(52156), + this.instances3.alice.encrypt8(49), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 2 (45, 49)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(45), + this.instances3.alice.encrypt8(49), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 3 (49, 49)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(49), + this.instances3.alice.encrypt8(49), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint16, euint8) => ebool test 4 (49, 45)', async function () { const res = await this.contract3.eq_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(49), + this.instances3.alice.encrypt8(45), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 1 (3, 1)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 1 (45762, 206)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(3), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt16(45762), + this.instances3.alice.encrypt8(206), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 2 (202, 206)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(202), + this.instances3.alice.encrypt8(206), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 3 (206, 206)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(206), + this.instances3.alice.encrypt8(206), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint16, euint8) => ebool test 4 (206, 202)', async function () { const res = await this.contract3.ne_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(206), + this.instances3.alice.encrypt8(202), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 1 (1, 1)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 1 (3763, 81)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt16(3763), + this.instances3.alice.encrypt8(81), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 2 (77, 81)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(77), + this.instances3.alice.encrypt8(81), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 3 (81, 81)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(81), + this.instances3.alice.encrypt8(81), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint16, euint8) => ebool test 4 (81, 77)', async function () { const res = await this.contract3.ge_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(81), + this.instances3.alice.encrypt8(77), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint8) => ebool test 1 (1, 3)', async function () { + it('test operator "gt" overload (euint16, euint8) => ebool test 1 (17649, 8)', async function () { const res = await this.contract3.gt_euint16_euint8( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt8(3), + this.instances3.alice.encrypt16(17649), + this.instances3.alice.encrypt8(8), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "gt" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { @@ -6076,1896 +6076,1896 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 1 (23, 2)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 1 (3242, 147)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(23), - this.instances3.alice.encrypt8(2), + this.instances3.alice.encrypt16(3242), + this.instances3.alice.encrypt8(147), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 2 (143, 147)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(143), + this.instances3.alice.encrypt8(147), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 3 (147, 147)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(147), + this.instances3.alice.encrypt8(147), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint16, euint8) => ebool test 4 (147, 143)', async function () { const res = await this.contract3.le_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(147), + this.instances3.alice.encrypt8(143), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 1 (1, 5)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 1 (42518, 110)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt8(5), + this.instances3.alice.encrypt16(42518), + this.instances3.alice.encrypt8(110), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 2 (106, 110)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(106), + this.instances3.alice.encrypt8(110), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 3 (110, 110)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(110), + this.instances3.alice.encrypt8(110), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint16, euint8) => ebool test 4 (110, 106)', async function () { const res = await this.contract3.lt_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(110), + this.instances3.alice.encrypt8(106), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 1 (1, 3)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 1 (25144, 64)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt8(3), + this.instances3.alice.encrypt16(25144), + this.instances3.alice.encrypt8(64), ); - expect(res).to.equal(1n); + expect(res).to.equal(64n); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 2 (60, 64)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(60), + this.instances3.alice.encrypt8(64), ); - expect(res).to.equal(4n); + expect(res).to.equal(60n); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 3 (64, 64)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(64), + this.instances3.alice.encrypt8(64), ); - expect(res).to.equal(8n); + expect(res).to.equal(64n); }); - it('test operator "min" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint16, euint8) => euint16 test 4 (64, 60)', async function () { const res = await this.contract3.min_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(64), + this.instances3.alice.encrypt8(60), ); - expect(res).to.equal(4n); + expect(res).to.equal(60n); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 1 (2, 1)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 1 (18336, 117)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt16(18336), + this.instances3.alice.encrypt8(117), ); - expect(res).to.equal(2n); + expect(res).to.equal(18336n); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 2 (113, 117)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(113), + this.instances3.alice.encrypt8(117), ); - expect(res).to.equal(8n); + expect(res).to.equal(117n); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 3 (117, 117)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt16(117), + this.instances3.alice.encrypt8(117), ); - expect(res).to.equal(8n); + expect(res).to.equal(117n); }); - it('test operator "max" overload (euint16, euint8) => euint16 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint16, euint8) => euint16 test 4 (117, 113)', async function () { const res = await this.contract3.max_euint16_euint8( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt16(117), + this.instances3.alice.encrypt8(113), ); - expect(res).to.equal(8n); + expect(res).to.equal(117n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 1 (3, 3)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 1 (27226, 22058)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(3), - this.instances3.alice.encrypt16(3), + this.instances3.alice.encrypt16(27226), + this.instances3.alice.encrypt16(22058), ); - expect(res).to.equal(6n); + expect(res).to.equal(49284n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 2 (22056, 22058)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(22056), + this.instances3.alice.encrypt16(22058), ); - expect(res).to.equal(12n); + expect(res).to.equal(44114n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 3 (22058, 22058)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(22058), + this.instances3.alice.encrypt16(22058), ); - expect(res).to.equal(16n); + expect(res).to.equal(44116n); }); - it('test operator "add" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint16, euint16) => euint16 test 4 (22058, 22056)', async function () { const res = await this.contract3.add_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(22058), + this.instances3.alice.encrypt16(22056), ); - expect(res).to.equal(12n); + expect(res).to.equal(44114n); }); - it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint16, euint16) => euint16 test 1 (56955, 56955)', async function () { const res = await this.contract3.sub_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(56955), + this.instances3.alice.encrypt16(56955), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, euint16) => euint16 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint16, euint16) => euint16 test 2 (56955, 56951)', async function () { const res = await this.contract3.sub_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(56955), + this.instances3.alice.encrypt16(56951), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (1, 2)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 1 (120, 150)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt16(120), + this.instances3.alice.encrypt16(150), ); - expect(res).to.equal(2n); + expect(res).to.equal(18000n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 2 (239, 239)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(239), + this.instances3.alice.encrypt16(239), ); - expect(res).to.equal(32n); + expect(res).to.equal(57121n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 3 (239, 239)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(239), + this.instances3.alice.encrypt16(239), ); - expect(res).to.equal(64n); + expect(res).to.equal(57121n); }); - it('test operator "mul" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint16, euint16) => euint16 test 4 (239, 239)', async function () { const res = await this.contract3.mul_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(239), + this.instances3.alice.encrypt16(239), ); - expect(res).to.equal(32n); + expect(res).to.equal(57121n); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 1 (1, 1)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 1 (63103, 25335)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(63103), + this.instances3.alice.encrypt16(25335), ); - expect(res).to.equal(1n); + expect(res).to.equal(25207n); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 2 (25331, 25335)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(25331), + this.instances3.alice.encrypt16(25335), ); - expect(res).to.equal(0n); + expect(res).to.equal(25331n); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 3 (25335, 25335)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(25335), + this.instances3.alice.encrypt16(25335), ); - expect(res).to.equal(8n); + expect(res).to.equal(25335n); }); - it('test operator "and" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint16, euint16) => euint16 test 4 (25335, 25331)', async function () { const res = await this.contract3.and_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(25335), + this.instances3.alice.encrypt16(25331), ); - expect(res).to.equal(0n); + expect(res).to.equal(25331n); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 1 (2, 5)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 1 (53682, 14727)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt16(5), + this.instances3.alice.encrypt16(53682), + this.instances3.alice.encrypt16(14727), ); - expect(res).to.equal(7n); + expect(res).to.equal(63927n); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 2 (14723, 14727)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(14723), + this.instances3.alice.encrypt16(14727), ); - expect(res).to.equal(12n); + expect(res).to.equal(14727n); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 3 (14727, 14727)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(14727), + this.instances3.alice.encrypt16(14727), ); - expect(res).to.equal(8n); + expect(res).to.equal(14727n); }); - it('test operator "or" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint16, euint16) => euint16 test 4 (14727, 14723)', async function () { const res = await this.contract3.or_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(14727), + this.instances3.alice.encrypt16(14723), ); - expect(res).to.equal(12n); + expect(res).to.equal(14727n); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (9, 1)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 1 (272, 42865)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(9), - this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt16(42865), ); - expect(res).to.equal(8n); + expect(res).to.equal(42593n); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 2 (268, 272)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(268), + this.instances3.alice.encrypt16(272), ); - expect(res).to.equal(12n); + expect(res).to.equal(28n); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 3 (272, 272)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt16(272), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint16, euint16) => euint16 test 4 (272, 268)', async function () { const res = await this.contract3.xor_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(272), + this.instances3.alice.encrypt16(268), ); - expect(res).to.equal(12n); + expect(res).to.equal(28n); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 1 (5, 6)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 1 (53936, 55687)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(5), - this.instances3.alice.encrypt16(6), + this.instances3.alice.encrypt16(53936), + this.instances3.alice.encrypt16(55687), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 2 (53932, 53936)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(53932), + this.instances3.alice.encrypt16(53936), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 3 (53936, 53936)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(53936), + this.instances3.alice.encrypt16(53936), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint16, euint16) => ebool test 4 (53936, 53932)', async function () { const res = await this.contract3.eq_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(53936), + this.instances3.alice.encrypt16(53932), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 1 (3, 2)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 1 (64200, 17038)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(3), - this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt16(64200), + this.instances3.alice.encrypt16(17038), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 2 (17034, 17038)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(17034), + this.instances3.alice.encrypt16(17038), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 3 (17038, 17038)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(17038), + this.instances3.alice.encrypt16(17038), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint16, euint16) => ebool test 4 (17038, 17034)', async function () { const res = await this.contract3.ne_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(17038), + this.instances3.alice.encrypt16(17034), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 1 (1, 2)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 1 (18226, 11817)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt16(18226), + this.instances3.alice.encrypt16(11817), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 2 (11813, 11817)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(11813), + this.instances3.alice.encrypt16(11817), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 3 (11817, 11817)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(11817), + this.instances3.alice.encrypt16(11817), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint16, euint16) => ebool test 4 (11817, 11813)', async function () { const res = await this.contract3.ge_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(11817), + this.instances3.alice.encrypt16(11813), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 1 (1, 2)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 1 (46712, 53146)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt16(2), + this.instances3.alice.encrypt16(46712), + this.instances3.alice.encrypt16(53146), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 2 (46708, 46712)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(46708), + this.instances3.alice.encrypt16(46712), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 3 (46712, 46712)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(46712), + this.instances3.alice.encrypt16(46712), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint16, euint16) => ebool test 4 (46712, 46708)', async function () { const res = await this.contract3.gt_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(46712), + this.instances3.alice.encrypt16(46708), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 1 (23, 1)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 1 (9281, 48556)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(23), - this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(9281), + this.instances3.alice.encrypt16(48556), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 2 (9277, 9281)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(9277), + this.instances3.alice.encrypt16(9281), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 3 (9281, 9281)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(9281), + this.instances3.alice.encrypt16(9281), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint16, euint16) => ebool test 4 (9281, 9277)', async function () { const res = await this.contract3.le_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(9281), + this.instances3.alice.encrypt16(9277), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 1 (1, 1)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 1 (44794, 23290)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(44794), + this.instances3.alice.encrypt16(23290), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 2 (23286, 23290)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(23286), + this.instances3.alice.encrypt16(23290), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 3 (23290, 23290)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(23290), + this.instances3.alice.encrypt16(23290), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint16, euint16) => ebool test 4 (23290, 23286)', async function () { const res = await this.contract3.lt_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(23290), + this.instances3.alice.encrypt16(23286), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 1 (1, 1)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 1 (30936, 9027)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(30936), + this.instances3.alice.encrypt16(9027), ); - expect(res).to.equal(1n); + expect(res).to.equal(9027n); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 2 (9023, 9027)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(9023), + this.instances3.alice.encrypt16(9027), ); - expect(res).to.equal(4n); + expect(res).to.equal(9023n); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 3 (9027, 9027)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(9027), + this.instances3.alice.encrypt16(9027), ); - expect(res).to.equal(8n); + expect(res).to.equal(9027n); }); - it('test operator "min" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint16, euint16) => euint16 test 4 (9027, 9023)', async function () { const res = await this.contract3.min_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(9027), + this.instances3.alice.encrypt16(9023), ); - expect(res).to.equal(4n); + expect(res).to.equal(9023n); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 1 (2, 1)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 1 (34561, 34789)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt16(1), + this.instances3.alice.encrypt16(34561), + this.instances3.alice.encrypt16(34789), ); - expect(res).to.equal(2n); + expect(res).to.equal(34789n); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 2 (34557, 34561)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(34557), + this.instances3.alice.encrypt16(34561), ); - expect(res).to.equal(8n); + expect(res).to.equal(34561n); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 3 (34561, 34561)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(8), + this.instances3.alice.encrypt16(34561), + this.instances3.alice.encrypt16(34561), ); - expect(res).to.equal(8n); + expect(res).to.equal(34561n); }); - it('test operator "max" overload (euint16, euint16) => euint16 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint16, euint16) => euint16 test 4 (34561, 34557)', async function () { const res = await this.contract3.max_euint16_euint16( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt16(4), + this.instances3.alice.encrypt16(34561), + this.instances3.alice.encrypt16(34557), ); - expect(res).to.equal(8n); + expect(res).to.equal(34561n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 1 (2, 2)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 1 (2, 41075)', async function () { const res = await this.contract3.add_euint16_euint32( this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt32(2), + this.instances3.alice.encrypt32(41075), ); - expect(res).to.equal(4n); + expect(res).to.equal(41077n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 2 (25150, 25154)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(25150), + this.instances3.alice.encrypt32(25154), ); - expect(res).to.equal(12n); + expect(res).to.equal(50304n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 3 (25154, 25154)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(25154), + this.instances3.alice.encrypt32(25154), ); - expect(res).to.equal(16n); + expect(res).to.equal(50308n); }); - it('test operator "add" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint16, euint32) => euint32 test 4 (25154, 25150)', async function () { const res = await this.contract3.add_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(25154), + this.instances3.alice.encrypt32(25150), ); - expect(res).to.equal(12n); + expect(res).to.equal(50304n); }); - it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint16, euint32) => euint32 test 1 (42408, 42408)', async function () { const res = await this.contract3.sub_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(42408), + this.instances3.alice.encrypt32(42408), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint16, euint32) => euint32 test 2 (42408, 42404)', async function () { const res = await this.contract3.sub_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(42408), + this.instances3.alice.encrypt32(42404), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (2, 1)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 1 (2, 32121)', async function () { const res = await this.contract3.mul_euint16_euint32( this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt32(32121), ); - expect(res).to.equal(2n); + expect(res).to.equal(64242n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 2 (235, 235)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(235), + this.instances3.alice.encrypt32(235), ); - expect(res).to.equal(32n); + expect(res).to.equal(55225n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 3 (235, 235)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(235), + this.instances3.alice.encrypt32(235), ); - expect(res).to.equal(64n); + expect(res).to.equal(55225n); }); - it('test operator "mul" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint16, euint32) => euint32 test 4 (235, 235)', async function () { const res = await this.contract3.mul_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(235), + this.instances3.alice.encrypt32(235), ); - expect(res).to.equal(32n); + expect(res).to.equal(55225n); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 1 (1, 1)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 1 (31764, 719791208)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt16(31764), + this.instances3.alice.encrypt32(719791208), ); - expect(res).to.equal(1n); + expect(res).to.equal(9216n); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 2 (31760, 31764)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(31760), + this.instances3.alice.encrypt32(31764), ); - expect(res).to.equal(0n); + expect(res).to.equal(31760n); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 3 (31764, 31764)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(31764), + this.instances3.alice.encrypt32(31764), ); - expect(res).to.equal(8n); + expect(res).to.equal(31764n); }); - it('test operator "and" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint16, euint32) => euint32 test 4 (31764, 31760)', async function () { const res = await this.contract3.and_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(31764), + this.instances3.alice.encrypt32(31760), ); - expect(res).to.equal(0n); + expect(res).to.equal(31760n); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 1 (2, 4)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 1 (47569, 1867557342)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(47569), + this.instances3.alice.encrypt32(1867557342), ); - expect(res).to.equal(6n); + expect(res).to.equal(1867561439n); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 2 (47565, 47569)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(47565), + this.instances3.alice.encrypt32(47569), ); - expect(res).to.equal(12n); + expect(res).to.equal(47581n); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 3 (47569, 47569)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(47569), + this.instances3.alice.encrypt32(47569), ); - expect(res).to.equal(8n); + expect(res).to.equal(47569n); }); - it('test operator "or" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint16, euint32) => euint32 test 4 (47569, 47565)', async function () { const res = await this.contract3.or_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(47569), + this.instances3.alice.encrypt32(47565), ); - expect(res).to.equal(12n); + expect(res).to.equal(47581n); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (9, 147)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 1 (49958, 2256953798)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(9), - this.instances3.alice.encrypt32(147), + this.instances3.alice.encrypt16(49958), + this.instances3.alice.encrypt32(2256953798), ); - expect(res).to.equal(154n); + expect(res).to.equal(2256970464n); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (5, 9)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 2 (49954, 49958)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(5), - this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt16(49954), + this.instances3.alice.encrypt32(49958), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 3 (9, 9)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 3 (49958, 49958)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(9), - this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt16(49958), + this.instances3.alice.encrypt32(49958), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint16, euint32) => euint32 test 4 (9, 5)', async function () { + it('test operator "xor" overload (euint16, euint32) => euint32 test 4 (49958, 49954)', async function () { const res = await this.contract3.xor_euint16_euint32( - this.instances3.alice.encrypt16(9), - this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt16(49958), + this.instances3.alice.encrypt32(49954), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 1 (1, 9)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 1 (26213, 2142712247)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt16(26213), + this.instances3.alice.encrypt32(2142712247), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 2 (26209, 26213)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(26209), + this.instances3.alice.encrypt32(26213), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 3 (26213, 26213)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(26213), + this.instances3.alice.encrypt32(26213), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint16, euint32) => ebool test 4 (26213, 26209)', async function () { const res = await this.contract3.eq_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(26213), + this.instances3.alice.encrypt32(26209), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 1 (1, 1)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 1 (52545, 2079966846)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt16(52545), + this.instances3.alice.encrypt32(2079966846), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 2 (52541, 52545)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(52541), + this.instances3.alice.encrypt32(52545), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 3 (52545, 52545)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(52545), + this.instances3.alice.encrypt32(52545), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint16, euint32) => ebool test 4 (52545, 52541)', async function () { const res = await this.contract3.ne_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(52545), + this.instances3.alice.encrypt32(52541), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 1 (1, 1)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 1 (19364, 2908406445)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt16(19364), + this.instances3.alice.encrypt32(2908406445), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 2 (19360, 19364)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(19360), + this.instances3.alice.encrypt32(19364), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 3 (19364, 19364)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(19364), + this.instances3.alice.encrypt32(19364), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint16, euint32) => ebool test 4 (19364, 19360)', async function () { const res = await this.contract3.ge_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(19364), + this.instances3.alice.encrypt32(19360), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 1 (1, 1)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 1 (61440, 2523716364)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt16(61440), + this.instances3.alice.encrypt32(2523716364), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 2 (61436, 61440)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(61436), + this.instances3.alice.encrypt32(61440), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 3 (61440, 61440)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(61440), + this.instances3.alice.encrypt32(61440), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint16, euint32) => ebool test 4 (61440, 61436)', async function () { const res = await this.contract3.gt_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(61440), + this.instances3.alice.encrypt32(61436), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 1 (1, 1)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 1 (42248, 3250361677)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt16(42248), + this.instances3.alice.encrypt32(3250361677), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 2 (42244, 42248)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(42244), + this.instances3.alice.encrypt32(42248), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 3 (42248, 42248)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(42248), + this.instances3.alice.encrypt32(42248), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint16, euint32) => ebool test 4 (42248, 42244)', async function () { const res = await this.contract3.le_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(42248), + this.instances3.alice.encrypt32(42244), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 1 (2, 4)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 1 (45430, 522886914)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(45430), + this.instances3.alice.encrypt32(522886914), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 2 (45426, 45430)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(45426), + this.instances3.alice.encrypt32(45430), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 3 (45430, 45430)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(45430), + this.instances3.alice.encrypt32(45430), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint16, euint32) => ebool test 4 (45430, 45426)', async function () { const res = await this.contract3.lt_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(45430), + this.instances3.alice.encrypt32(45426), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 1 (1, 5)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 1 (3581, 3061947173)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt16(3581), + this.instances3.alice.encrypt32(3061947173), ); - expect(res).to.equal(1n); + expect(res).to.equal(3581n); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 2 (3577, 3581)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(3577), + this.instances3.alice.encrypt32(3581), ); - expect(res).to.equal(4n); + expect(res).to.equal(3577n); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 3 (3581, 3581)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(3581), + this.instances3.alice.encrypt32(3581), ); - expect(res).to.equal(8n); + expect(res).to.equal(3581n); }); - it('test operator "min" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint16, euint32) => euint32 test 4 (3581, 3577)', async function () { const res = await this.contract3.min_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(3581), + this.instances3.alice.encrypt32(3577), ); - expect(res).to.equal(4n); + expect(res).to.equal(3577n); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 1 (1, 1)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 1 (50723, 1432053137)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt16(50723), + this.instances3.alice.encrypt32(1432053137), ); - expect(res).to.equal(1n); + expect(res).to.equal(1432053137n); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 2 (50719, 50723)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(50719), + this.instances3.alice.encrypt32(50723), ); - expect(res).to.equal(8n); + expect(res).to.equal(50723n); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 3 (50723, 50723)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt16(50723), + this.instances3.alice.encrypt32(50723), ); - expect(res).to.equal(8n); + expect(res).to.equal(50723n); }); - it('test operator "max" overload (euint16, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint16, euint32) => euint32 test 4 (50723, 50719)', async function () { const res = await this.contract3.max_euint16_euint32( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt16(50723), + this.instances3.alice.encrypt32(50719), ); - expect(res).to.equal(8n); + expect(res).to.equal(50723n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 1 (2, 5596)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 1 (2, 65518)', async function () { const res = await this.contract3.add_euint16_euint64( this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt64(5596), + this.instances3.alice.encrypt64(65518), ); - expect(res).to.equal(5598n); + expect(res).to.equal(65520n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 2 (22742, 22744)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(22742), + this.instances3.alice.encrypt64(22744), ); - expect(res).to.equal(12n); + expect(res).to.equal(45486n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 3 (22744, 22744)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(22744), + this.instances3.alice.encrypt64(22744), ); - expect(res).to.equal(16n); + expect(res).to.equal(45488n); }); - it('test operator "add" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint16, euint64) => euint64 test 4 (22744, 22742)', async function () { const res = await this.contract3.add_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(22744), + this.instances3.alice.encrypt64(22742), ); - expect(res).to.equal(12n); + expect(res).to.equal(45486n); }); - it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint16, euint64) => euint64 test 1 (8385, 8385)', async function () { const res = await this.contract3.sub_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(8385), + this.instances3.alice.encrypt64(8385), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint16, euint64) => euint64 test 2 (8385, 8381)', async function () { const res = await this.contract3.sub_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(8385), + this.instances3.alice.encrypt64(8381), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (2, 2601)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 1 (2, 32761)', async function () { const res = await this.contract3.mul_euint16_euint64( this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt64(2601), + this.instances3.alice.encrypt64(32761), ); - expect(res).to.equal(5202n); + expect(res).to.equal(65522n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 2 (251, 251)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(251), + this.instances3.alice.encrypt64(251), ); - expect(res).to.equal(32n); + expect(res).to.equal(63001n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 3 (251, 251)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(251), + this.instances3.alice.encrypt64(251), ); - expect(res).to.equal(64n); + expect(res).to.equal(63001n); }); - it('test operator "mul" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint16, euint64) => euint64 test 4 (251, 251)', async function () { const res = await this.contract3.mul_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(251), + this.instances3.alice.encrypt64(251), ); - expect(res).to.equal(32n); + expect(res).to.equal(63001n); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 1 (1, 4630)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 1 (3617, 18445521461849474399)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(4630), + this.instances3.alice.encrypt16(3617), + this.instances3.alice.encrypt64(18445521461849474399), ); - expect(res).to.equal(0n); + expect(res).to.equal(1025n); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 2 (3613, 3617)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(3613), + this.instances3.alice.encrypt64(3617), ); - expect(res).to.equal(0n); + expect(res).to.equal(3585n); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 3 (3617, 3617)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(3617), + this.instances3.alice.encrypt64(3617), ); - expect(res).to.equal(8n); + expect(res).to.equal(3617n); }); - it('test operator "and" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint16, euint64) => euint64 test 4 (3617, 3613)', async function () { const res = await this.contract3.and_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(3617), + this.instances3.alice.encrypt64(3613), ); - expect(res).to.equal(0n); + expect(res).to.equal(3585n); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 1 (2, 17420)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 1 (3594, 18443975303513898329)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt64(17420), + this.instances3.alice.encrypt16(3594), + this.instances3.alice.encrypt64(18443975303513898329), ); - expect(res).to.equal(17422n); + expect(res).to.equal(18443975303513898843n); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 2 (3590, 3594)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(3590), + this.instances3.alice.encrypt64(3594), ); - expect(res).to.equal(12n); + expect(res).to.equal(3598n); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 3 (3594, 3594)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(3594), + this.instances3.alice.encrypt64(3594), ); - expect(res).to.equal(8n); + expect(res).to.equal(3594n); }); - it('test operator "or" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint16, euint64) => euint64 test 4 (3594, 3590)', async function () { const res = await this.contract3.or_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(3594), + this.instances3.alice.encrypt64(3590), ); - expect(res).to.equal(12n); + expect(res).to.equal(3598n); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (9, 28164)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 1 (31158, 18442847100019644985)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(9), - this.instances3.alice.encrypt64(28164), + this.instances3.alice.encrypt16(31158), + this.instances3.alice.encrypt64(18442847100019644985), ); - expect(res).to.equal(28173n); + expect(res).to.equal(18442847100019663759n); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (5, 9)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 2 (31154, 31158)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(5), - this.instances3.alice.encrypt64(9), + this.instances3.alice.encrypt16(31154), + this.instances3.alice.encrypt64(31158), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 3 (9, 9)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 3 (31158, 31158)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(9), - this.instances3.alice.encrypt64(9), + this.instances3.alice.encrypt16(31158), + this.instances3.alice.encrypt64(31158), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint16, euint64) => euint64 test 4 (9, 5)', async function () { + it('test operator "xor" overload (euint16, euint64) => euint64 test 4 (31158, 31154)', async function () { const res = await this.contract3.xor_euint16_euint64( - this.instances3.alice.encrypt16(9), - this.instances3.alice.encrypt64(5), + this.instances3.alice.encrypt16(31158), + this.instances3.alice.encrypt64(31154), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 1 (1, 4154)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 1 (38256, 18442430973530036421)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(4154), + this.instances3.alice.encrypt16(38256), + this.instances3.alice.encrypt64(18442430973530036421), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 2 (38252, 38256)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(38252), + this.instances3.alice.encrypt64(38256), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 3 (38256, 38256)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(38256), + this.instances3.alice.encrypt64(38256), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint16, euint64) => ebool test 4 (38256, 38252)', async function () { const res = await this.contract3.eq_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(38256), + this.instances3.alice.encrypt64(38252), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 1 (1, 14889)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 1 (33238, 18440140341099634203)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(14889), + this.instances3.alice.encrypt16(33238), + this.instances3.alice.encrypt64(18440140341099634203), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 2 (33234, 33238)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(33234), + this.instances3.alice.encrypt64(33238), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 3 (33238, 33238)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(33238), + this.instances3.alice.encrypt64(33238), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint16, euint64) => ebool test 4 (33238, 33234)', async function () { const res = await this.contract3.ne_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(33238), + this.instances3.alice.encrypt64(33234), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 1 (1, 3917)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 1 (17006, 18440111639904808773)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(3917), + this.instances3.alice.encrypt16(17006), + this.instances3.alice.encrypt64(18440111639904808773), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 2 (17002, 17006)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(17002), + this.instances3.alice.encrypt64(17006), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 3 (17006, 17006)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(17006), + this.instances3.alice.encrypt64(17006), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint16, euint64) => ebool test 4 (17006, 17002)', async function () { const res = await this.contract3.ge_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(17006), + this.instances3.alice.encrypt64(17002), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 1 (1, 23898)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 1 (13915, 18437957835114177845)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(23898), + this.instances3.alice.encrypt16(13915), + this.instances3.alice.encrypt64(18437957835114177845), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 2 (13911, 13915)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(13911), + this.instances3.alice.encrypt64(13915), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 3 (13915, 13915)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(13915), + this.instances3.alice.encrypt64(13915), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint16, euint64) => ebool test 4 (13915, 13911)', async function () { const res = await this.contract3.gt_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(13915), + this.instances3.alice.encrypt64(13911), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 1 (1, 7578)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 1 (16281, 18438048148950562767)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(7578), + this.instances3.alice.encrypt16(16281), + this.instances3.alice.encrypt64(18438048148950562767), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 2 (16277, 16281)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(16277), + this.instances3.alice.encrypt64(16281), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 3 (16281, 16281)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(16281), + this.instances3.alice.encrypt64(16281), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint16, euint64) => ebool test 4 (16281, 16277)', async function () { const res = await this.contract3.le_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(16281), + this.instances3.alice.encrypt64(16277), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 1 (2, 2714)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 1 (18995, 18443093417222594453)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(2), - this.instances3.alice.encrypt64(2714), + this.instances3.alice.encrypt16(18995), + this.instances3.alice.encrypt64(18443093417222594453), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 2 (18991, 18995)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(18991), + this.instances3.alice.encrypt64(18995), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 3 (18995, 18995)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(18995), + this.instances3.alice.encrypt64(18995), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint16, euint64) => ebool test 4 (18995, 18991)', async function () { const res = await this.contract3.lt_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(18995), + this.instances3.alice.encrypt64(18991), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 1 (1, 3602)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 1 (60945, 18442404212044065569)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(3602), + this.instances3.alice.encrypt16(60945), + this.instances3.alice.encrypt64(18442404212044065569), ); - expect(res).to.equal(1n); + expect(res).to.equal(60945n); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 2 (60941, 60945)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(60941), + this.instances3.alice.encrypt64(60945), ); - expect(res).to.equal(4n); + expect(res).to.equal(60941n); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 3 (60945, 60945)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(60945), + this.instances3.alice.encrypt64(60945), ); - expect(res).to.equal(8n); + expect(res).to.equal(60945n); }); - it('test operator "min" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint16, euint64) => euint64 test 4 (60945, 60941)', async function () { const res = await this.contract3.min_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(60945), + this.instances3.alice.encrypt64(60941), ); - expect(res).to.equal(4n); + expect(res).to.equal(60941n); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 1 (1, 3622)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 1 (23644, 18446414081706845657)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(1), - this.instances3.alice.encrypt64(3622), + this.instances3.alice.encrypt16(23644), + this.instances3.alice.encrypt64(18446414081706845657), ); - expect(res).to.equal(3622n); + expect(res).to.equal(18446414081706845657n); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 2 (23640, 23644)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(4), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(23640), + this.instances3.alice.encrypt64(23644), ); - expect(res).to.equal(8n); + expect(res).to.equal(23644n); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 3 (23644, 23644)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(8), + this.instances3.alice.encrypt16(23644), + this.instances3.alice.encrypt64(23644), ); - expect(res).to.equal(8n); + expect(res).to.equal(23644n); }); - it('test operator "max" overload (euint16, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint16, euint64) => euint64 test 4 (23644, 23640)', async function () { const res = await this.contract3.max_euint16_euint64( - this.instances3.alice.encrypt16(8), - this.instances3.alice.encrypt64(4), + this.instances3.alice.encrypt16(23644), + this.instances3.alice.encrypt64(23640), ); - expect(res).to.equal(8n); + expect(res).to.equal(23644n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 1 (3, 2)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(3), 2); - expect(res).to.equal(5n); + it('test operator "add" overload (euint16, uint16) => euint16 test 1 (54451, 6303)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(54451), 6303); + expect(res).to.equal(60754n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(4), 8); - expect(res).to.equal(12n); + it('test operator "add" overload (euint16, uint16) => euint16 test 2 (22056, 22058)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(22056), 22058); + expect(res).to.equal(44114n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(8), 8); - expect(res).to.equal(16n); + it('test operator "add" overload (euint16, uint16) => euint16 test 3 (22058, 22058)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(22058), 22058); + expect(res).to.equal(44116n); }); - it('test operator "add" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { - const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(8), 4); - expect(res).to.equal(12n); + it('test operator "add" overload (euint16, uint16) => euint16 test 4 (22058, 22056)', async function () { + const res = await this.contract3.add_euint16_uint16(this.instances3.alice.encrypt16(22058), 22056); + expect(res).to.equal(44114n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 1 (2, 2)', async function () { - const res = await this.contract3.add_uint16_euint16(2, this.instances3.alice.encrypt16(2)); - expect(res).to.equal(4n); + it('test operator "add" overload (uint16, euint16) => euint16 test 1 (29751, 3152)', async function () { + const res = await this.contract3.add_uint16_euint16(29751, this.instances3.alice.encrypt16(3152)); + expect(res).to.equal(32903n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 2 (4, 8)', async function () { - const res = await this.contract3.add_uint16_euint16(4, this.instances3.alice.encrypt16(8)); - expect(res).to.equal(12n); + it('test operator "add" overload (uint16, euint16) => euint16 test 2 (22056, 22058)', async function () { + const res = await this.contract3.add_uint16_euint16(22056, this.instances3.alice.encrypt16(22058)); + expect(res).to.equal(44114n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 3 (8, 8)', async function () { - const res = await this.contract3.add_uint16_euint16(8, this.instances3.alice.encrypt16(8)); - expect(res).to.equal(16n); + it('test operator "add" overload (uint16, euint16) => euint16 test 3 (22058, 22058)', async function () { + const res = await this.contract3.add_uint16_euint16(22058, this.instances3.alice.encrypt16(22058)); + expect(res).to.equal(44116n); }); - it('test operator "add" overload (uint16, euint16) => euint16 test 4 (8, 4)', async function () { - const res = await this.contract3.add_uint16_euint16(8, this.instances3.alice.encrypt16(4)); - expect(res).to.equal(12n); + it('test operator "add" overload (uint16, euint16) => euint16 test 4 (22058, 22056)', async function () { + const res = await this.contract3.add_uint16_euint16(22058, this.instances3.alice.encrypt16(22056)); + expect(res).to.equal(44114n); }); - it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (8, 8)', async function () { - const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + it('test operator "sub" overload (euint16, uint16) => euint16 test 1 (56955, 56955)', async function () { + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(56955), 56955); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint16, uint16) => euint16 test 2 (8, 4)', async function () { - const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + it('test operator "sub" overload (euint16, uint16) => euint16 test 2 (56955, 56951)', async function () { + const res = await this.contract3.sub_euint16_uint16(this.instances3.alice.encrypt16(56955), 56951); expect(res).to.equal(4n); }); - it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (8, 8)', async function () { - const res = await this.contract3.sub_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + it('test operator "sub" overload (uint16, euint16) => euint16 test 1 (56955, 56955)', async function () { + const res = await this.contract3.sub_uint16_euint16(56955, this.instances3.alice.encrypt16(56955)); expect(res).to.equal(0n); }); - it('test operator "sub" overload (uint16, euint16) => euint16 test 2 (8, 4)', async function () { - const res = await this.contract3.sub_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + it('test operator "sub" overload (uint16, euint16) => euint16 test 2 (56955, 56951)', async function () { + const res = await this.contract3.sub_uint16_euint16(56955, this.instances3.alice.encrypt16(56951)); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (1, 14)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(1), 14); - expect(res).to.equal(14n); + it('test operator "mul" overload (euint16, uint16) => euint16 test 1 (239, 131)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(239), 131); + expect(res).to.equal(31309n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(4), 8); - expect(res).to.equal(32n); + it('test operator "mul" overload (euint16, uint16) => euint16 test 2 (239, 239)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(239), 239); + expect(res).to.equal(57121n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(8), 8); - expect(res).to.equal(64n); + it('test operator "mul" overload (euint16, uint16) => euint16 test 3 (239, 239)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(239), 239); + expect(res).to.equal(57121n); }); - it('test operator "mul" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { - const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(8), 4); - expect(res).to.equal(32n); + it('test operator "mul" overload (euint16, uint16) => euint16 test 4 (239, 239)', async function () { + const res = await this.contract3.mul_euint16_uint16(this.instances3.alice.encrypt16(239), 239); + expect(res).to.equal(57121n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (2, 14)', async function () { - const res = await this.contract3.mul_uint16_euint16(2, this.instances3.alice.encrypt16(14)); - expect(res).to.equal(28n); + it('test operator "mul" overload (uint16, euint16) => euint16 test 1 (190, 131)', async function () { + const res = await this.contract3.mul_uint16_euint16(190, this.instances3.alice.encrypt16(131)); + expect(res).to.equal(24890n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 2 (4, 8)', async function () { - const res = await this.contract3.mul_uint16_euint16(4, this.instances3.alice.encrypt16(8)); - expect(res).to.equal(32n); + it('test operator "mul" overload (uint16, euint16) => euint16 test 2 (239, 239)', async function () { + const res = await this.contract3.mul_uint16_euint16(239, this.instances3.alice.encrypt16(239)); + expect(res).to.equal(57121n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 3 (8, 8)', async function () { - const res = await this.contract3.mul_uint16_euint16(8, this.instances3.alice.encrypt16(8)); - expect(res).to.equal(64n); + it('test operator "mul" overload (uint16, euint16) => euint16 test 3 (239, 239)', async function () { + const res = await this.contract3.mul_uint16_euint16(239, this.instances3.alice.encrypt16(239)); + expect(res).to.equal(57121n); }); - it('test operator "mul" overload (uint16, euint16) => euint16 test 4 (8, 4)', async function () { - const res = await this.contract3.mul_uint16_euint16(8, this.instances3.alice.encrypt16(4)); - expect(res).to.equal(32n); + it('test operator "mul" overload (uint16, euint16) => euint16 test 4 (239, 239)', async function () { + const res = await this.contract3.mul_uint16_euint16(239, this.instances3.alice.encrypt16(239)); + expect(res).to.equal(57121n); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 1 (1, 1)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(1), 1); + it('test operator "div" overload (euint16, uint16) => euint16 test 1 (61139, 60988)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(61139), 60988); expect(res).to.equal(1n); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + it('test operator "div" overload (euint16, uint16) => euint16 test 2 (59165, 59169)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(59165), 59169); expect(res).to.equal(0n); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + it('test operator "div" overload (euint16, uint16) => euint16 test 3 (59169, 59169)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(59169), 59169); expect(res).to.equal(1n); }); - it('test operator "div" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { - const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(8), 4); - expect(res).to.equal(2n); + it('test operator "div" overload (euint16, uint16) => euint16 test 4 (59169, 59165)', async function () { + const res = await this.contract3.div_euint16_uint16(this.instances3.alice.encrypt16(59169), 59165); + expect(res).to.equal(1n); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (1, 3)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(1), 3); - expect(res).to.equal(1n); + it('test operator "rem" overload (euint16, uint16) => euint16 test 1 (18856, 18330)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(18856), 18330); + expect(res).to.equal(526n); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(4), 8); - expect(res).to.equal(4n); + it('test operator "rem" overload (euint16, uint16) => euint16 test 2 (18852, 18856)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(18852), 18856); + expect(res).to.equal(18852n); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + it('test operator "rem" overload (euint16, uint16) => euint16 test 3 (18856, 18856)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(18856), 18856); expect(res).to.equal(0n); }); - it('test operator "rem" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { - const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(8), 4); - expect(res).to.equal(0n); + it('test operator "rem" overload (euint16, uint16) => euint16 test 4 (18856, 18852)', async function () { + const res = await this.contract3.rem_euint16_uint16(this.instances3.alice.encrypt16(18856), 18852); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 1 (5, 1)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(5), 1); + it('test operator "eq" overload (euint16, uint16) => ebool test 1 (53936, 62296)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(53936), 62296); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + it('test operator "eq" overload (euint16, uint16) => ebool test 2 (53932, 53936)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(53932), 53936); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + it('test operator "eq" overload (euint16, uint16) => ebool test 3 (53936, 53936)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(53936), 53936); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + it('test operator "eq" overload (euint16, uint16) => ebool test 4 (53936, 53932)', async function () { + const res = await this.contract3.eq_euint16_uint16(this.instances3.alice.encrypt16(53936), 53932); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 1 (1, 1)', async function () { - const res = await this.contract3.eq_uint16_euint16(1, this.instances3.alice.encrypt16(1)); - expect(res).to.equal(true); + it('test operator "eq" overload (uint16, euint16) => ebool test 1 (49783, 62296)', async function () { + const res = await this.contract3.eq_uint16_euint16(49783, this.instances3.alice.encrypt16(62296)); + expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.eq_uint16_euint16(4, this.instances3.alice.encrypt16(8)); + it('test operator "eq" overload (uint16, euint16) => ebool test 2 (53932, 53936)', async function () { + const res = await this.contract3.eq_uint16_euint16(53932, this.instances3.alice.encrypt16(53936)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.eq_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + it('test operator "eq" overload (uint16, euint16) => ebool test 3 (53936, 53936)', async function () { + const res = await this.contract3.eq_uint16_euint16(53936, this.instances3.alice.encrypt16(53936)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.eq_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + it('test operator "eq" overload (uint16, euint16) => ebool test 4 (53936, 53932)', async function () { + const res = await this.contract3.eq_uint16_euint16(53936, this.instances3.alice.encrypt16(53932)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 1 (3, 6)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(3), 6); + it('test operator "ne" overload (euint16, uint16) => ebool test 1 (64200, 15145)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(64200), 15145); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + it('test operator "ne" overload (euint16, uint16) => ebool test 2 (17034, 17038)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(17034), 17038); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + it('test operator "ne" overload (euint16, uint16) => ebool test 3 (17038, 17038)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(17038), 17038); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + it('test operator "ne" overload (euint16, uint16) => ebool test 4 (17038, 17034)', async function () { + const res = await this.contract3.ne_euint16_uint16(this.instances3.alice.encrypt16(17038), 17034); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 1 (1, 6)', async function () { - const res = await this.contract3.ne_uint16_euint16(1, this.instances3.alice.encrypt16(6)); + it('test operator "ne" overload (uint16, euint16) => ebool test 1 (35214, 15145)', async function () { + const res = await this.contract3.ne_uint16_euint16(35214, this.instances3.alice.encrypt16(15145)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.ne_uint16_euint16(4, this.instances3.alice.encrypt16(8)); + it('test operator "ne" overload (uint16, euint16) => ebool test 2 (17034, 17038)', async function () { + const res = await this.contract3.ne_uint16_euint16(17034, this.instances3.alice.encrypt16(17038)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.ne_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + it('test operator "ne" overload (uint16, euint16) => ebool test 3 (17038, 17038)', async function () { + const res = await this.contract3.ne_uint16_euint16(17038, this.instances3.alice.encrypt16(17038)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.ne_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + it('test operator "ne" overload (uint16, euint16) => ebool test 4 (17038, 17034)', async function () { + const res = await this.contract3.ne_uint16_euint16(17038, this.instances3.alice.encrypt16(17034)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 1 (1, 1)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(1), 1); - expect(res).to.equal(true); + it('test operator "ge" overload (euint16, uint16) => ebool test 1 (18226, 26413)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(18226), 26413); + expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + it('test operator "ge" overload (euint16, uint16) => ebool test 2 (11813, 11817)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(11813), 11817); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + it('test operator "ge" overload (euint16, uint16) => ebool test 3 (11817, 11817)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(11817), 11817); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + it('test operator "ge" overload (euint16, uint16) => ebool test 4 (11817, 11813)', async function () { + const res = await this.contract3.ge_euint16_uint16(this.instances3.alice.encrypt16(11817), 11813); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 1 (1, 1)', async function () { - const res = await this.contract3.ge_uint16_euint16(1, this.instances3.alice.encrypt16(1)); + it('test operator "ge" overload (uint16, euint16) => ebool test 1 (45131, 26413)', async function () { + const res = await this.contract3.ge_uint16_euint16(45131, this.instances3.alice.encrypt16(26413)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.ge_uint16_euint16(4, this.instances3.alice.encrypt16(8)); + it('test operator "ge" overload (uint16, euint16) => ebool test 2 (11813, 11817)', async function () { + const res = await this.contract3.ge_uint16_euint16(11813, this.instances3.alice.encrypt16(11817)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.ge_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + it('test operator "ge" overload (uint16, euint16) => ebool test 3 (11817, 11817)', async function () { + const res = await this.contract3.ge_uint16_euint16(11817, this.instances3.alice.encrypt16(11817)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.ge_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + it('test operator "ge" overload (uint16, euint16) => ebool test 4 (11817, 11813)', async function () { + const res = await this.contract3.ge_uint16_euint16(11817, this.instances3.alice.encrypt16(11813)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 1 (1, 1)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(1), 1); + it('test operator "gt" overload (euint16, uint16) => ebool test 1 (46712, 65342)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(46712), 65342); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + it('test operator "gt" overload (euint16, uint16) => ebool test 2 (46708, 46712)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(46708), 46712); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + it('test operator "gt" overload (euint16, uint16) => ebool test 3 (46712, 46712)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(46712), 46712); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + it('test operator "gt" overload (euint16, uint16) => ebool test 4 (46712, 46708)', async function () { + const res = await this.contract3.gt_euint16_uint16(this.instances3.alice.encrypt16(46712), 46708); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 1 (1, 1)', async function () { - const res = await this.contract3.gt_uint16_euint16(1, this.instances3.alice.encrypt16(1)); + it('test operator "gt" overload (uint16, euint16) => ebool test 1 (58255, 65342)', async function () { + const res = await this.contract3.gt_uint16_euint16(58255, this.instances3.alice.encrypt16(65342)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.gt_uint16_euint16(4, this.instances3.alice.encrypt16(8)); + it('test operator "gt" overload (uint16, euint16) => ebool test 2 (46708, 46712)', async function () { + const res = await this.contract3.gt_uint16_euint16(46708, this.instances3.alice.encrypt16(46712)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.gt_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + it('test operator "gt" overload (uint16, euint16) => ebool test 3 (46712, 46712)', async function () { + const res = await this.contract3.gt_uint16_euint16(46712, this.instances3.alice.encrypt16(46712)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.gt_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + it('test operator "gt" overload (uint16, euint16) => ebool test 4 (46712, 46708)', async function () { + const res = await this.contract3.gt_uint16_euint16(46712, this.instances3.alice.encrypt16(46708)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 1 (23, 1)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(23), 1); - expect(res).to.equal(false); + it('test operator "le" overload (euint16, uint16) => ebool test 1 (9281, 23936)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(9281), 23936); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + it('test operator "le" overload (euint16, uint16) => ebool test 2 (9277, 9281)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(9277), 9281); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + it('test operator "le" overload (euint16, uint16) => ebool test 3 (9281, 9281)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(9281), 9281); expect(res).to.equal(true); }); - it('test operator "le" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + it('test operator "le" overload (euint16, uint16) => ebool test 4 (9281, 9277)', async function () { + const res = await this.contract3.le_euint16_uint16(this.instances3.alice.encrypt16(9281), 9277); expect(res).to.equal(false); }); - it('test operator "le" overload (uint16, euint16) => ebool test 1 (1, 1)', async function () { - const res = await this.contract3.le_uint16_euint16(1, this.instances3.alice.encrypt16(1)); - expect(res).to.equal(true); + it('test operator "le" overload (uint16, euint16) => ebool test 1 (49675, 23936)', async function () { + const res = await this.contract3.le_uint16_euint16(49675, this.instances3.alice.encrypt16(23936)); + expect(res).to.equal(false); }); - it('test operator "le" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.le_uint16_euint16(4, this.instances3.alice.encrypt16(8)); + it('test operator "le" overload (uint16, euint16) => ebool test 2 (9277, 9281)', async function () { + const res = await this.contract3.le_uint16_euint16(9277, this.instances3.alice.encrypt16(9281)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.le_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + it('test operator "le" overload (uint16, euint16) => ebool test 3 (9281, 9281)', async function () { + const res = await this.contract3.le_uint16_euint16(9281, this.instances3.alice.encrypt16(9281)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.le_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + it('test operator "le" overload (uint16, euint16) => ebool test 4 (9281, 9277)', async function () { + const res = await this.contract3.le_uint16_euint16(9281, this.instances3.alice.encrypt16(9277)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 1 (1, 8)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(1), 8); - expect(res).to.equal(true); + it('test operator "lt" overload (euint16, uint16) => ebool test 1 (44794, 29106)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(44794), 29106); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(4), 8); + it('test operator "lt" overload (euint16, uint16) => ebool test 2 (23286, 23290)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(23286), 23290); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(8), 8); + it('test operator "lt" overload (euint16, uint16) => ebool test 3 (23290, 23290)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(23290), 23290); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint16, uint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(8), 4); + it('test operator "lt" overload (euint16, uint16) => ebool test 4 (23290, 23286)', async function () { + const res = await this.contract3.lt_euint16_uint16(this.instances3.alice.encrypt16(23290), 23286); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 1 (2, 8)', async function () { - const res = await this.contract3.lt_uint16_euint16(2, this.instances3.alice.encrypt16(8)); + it('test operator "lt" overload (uint16, euint16) => ebool test 1 (11942, 29106)', async function () { + const res = await this.contract3.lt_uint16_euint16(11942, this.instances3.alice.encrypt16(29106)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 2 (4, 8)', async function () { - const res = await this.contract3.lt_uint16_euint16(4, this.instances3.alice.encrypt16(8)); + it('test operator "lt" overload (uint16, euint16) => ebool test 2 (23286, 23290)', async function () { + const res = await this.contract3.lt_uint16_euint16(23286, this.instances3.alice.encrypt16(23290)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 3 (8, 8)', async function () { - const res = await this.contract3.lt_uint16_euint16(8, this.instances3.alice.encrypt16(8)); + it('test operator "lt" overload (uint16, euint16) => ebool test 3 (23290, 23290)', async function () { + const res = await this.contract3.lt_uint16_euint16(23290, this.instances3.alice.encrypt16(23290)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint16, euint16) => ebool test 4 (8, 4)', async function () { - const res = await this.contract3.lt_uint16_euint16(8, this.instances3.alice.encrypt16(4)); + it('test operator "lt" overload (uint16, euint16) => ebool test 4 (23290, 23286)', async function () { + const res = await this.contract3.lt_uint16_euint16(23290, this.instances3.alice.encrypt16(23286)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 1 (1, 2)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(1), 2); - expect(res).to.equal(1n); + it('test operator "min" overload (euint16, uint16) => euint16 test 1 (30936, 64470)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(30936), 64470); + expect(res).to.equal(30936n); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(4), 8); - expect(res).to.equal(4n); + it('test operator "min" overload (euint16, uint16) => euint16 test 2 (9023, 9027)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(9023), 9027); + expect(res).to.equal(9023n); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(8), 8); - expect(res).to.equal(8n); + it('test operator "min" overload (euint16, uint16) => euint16 test 3 (9027, 9027)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(9027), 9027); + expect(res).to.equal(9027n); }); - it('test operator "min" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { - const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(8), 4); - expect(res).to.equal(4n); + it('test operator "min" overload (euint16, uint16) => euint16 test 4 (9027, 9023)', async function () { + const res = await this.contract3.min_euint16_uint16(this.instances3.alice.encrypt16(9027), 9023); + expect(res).to.equal(9023n); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 1 (1, 2)', async function () { - const res = await this.contract3.min_uint16_euint16(1, this.instances3.alice.encrypt16(2)); - expect(res).to.equal(1n); + it('test operator "min" overload (uint16, euint16) => euint16 test 1 (10499, 64470)', async function () { + const res = await this.contract3.min_uint16_euint16(10499, this.instances3.alice.encrypt16(64470)); + expect(res).to.equal(10499n); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 2 (4, 8)', async function () { - const res = await this.contract3.min_uint16_euint16(4, this.instances3.alice.encrypt16(8)); - expect(res).to.equal(4n); + it('test operator "min" overload (uint16, euint16) => euint16 test 2 (9023, 9027)', async function () { + const res = await this.contract3.min_uint16_euint16(9023, this.instances3.alice.encrypt16(9027)); + expect(res).to.equal(9023n); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 3 (8, 8)', async function () { - const res = await this.contract3.min_uint16_euint16(8, this.instances3.alice.encrypt16(8)); - expect(res).to.equal(8n); + it('test operator "min" overload (uint16, euint16) => euint16 test 3 (9027, 9027)', async function () { + const res = await this.contract3.min_uint16_euint16(9027, this.instances3.alice.encrypt16(9027)); + expect(res).to.equal(9027n); }); - it('test operator "min" overload (uint16, euint16) => euint16 test 4 (8, 4)', async function () { - const res = await this.contract3.min_uint16_euint16(8, this.instances3.alice.encrypt16(4)); - expect(res).to.equal(4n); + it('test operator "min" overload (uint16, euint16) => euint16 test 4 (9027, 9023)', async function () { + const res = await this.contract3.min_uint16_euint16(9027, this.instances3.alice.encrypt16(9023)); + expect(res).to.equal(9023n); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 1 (2, 34)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(2), 34); - expect(res).to.equal(34n); + it('test operator "max" overload (euint16, uint16) => euint16 test 1 (34561, 63895)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(34561), 63895); + expect(res).to.equal(63895n); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 2 (4, 8)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(4), 8); - expect(res).to.equal(8n); + it('test operator "max" overload (euint16, uint16) => euint16 test 2 (34557, 34561)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(34557), 34561); + expect(res).to.equal(34561n); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 3 (8, 8)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(8), 8); - expect(res).to.equal(8n); + it('test operator "max" overload (euint16, uint16) => euint16 test 3 (34561, 34561)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(34561), 34561); + expect(res).to.equal(34561n); }); - it('test operator "max" overload (euint16, uint16) => euint16 test 4 (8, 4)', async function () { - const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(8), 4); - expect(res).to.equal(8n); + it('test operator "max" overload (euint16, uint16) => euint16 test 4 (34561, 34557)', async function () { + const res = await this.contract3.max_euint16_uint16(this.instances3.alice.encrypt16(34561), 34557); + expect(res).to.equal(34561n); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 1 (1, 34)', async function () { - const res = await this.contract3.max_uint16_euint16(1, this.instances3.alice.encrypt16(34)); - expect(res).to.equal(34n); + it('test operator "max" overload (uint16, euint16) => euint16 test 1 (52784, 63895)', async function () { + const res = await this.contract3.max_uint16_euint16(52784, this.instances3.alice.encrypt16(63895)); + expect(res).to.equal(63895n); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 2 (4, 8)', async function () { - const res = await this.contract3.max_uint16_euint16(4, this.instances3.alice.encrypt16(8)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint16, euint16) => euint16 test 2 (34557, 34561)', async function () { + const res = await this.contract3.max_uint16_euint16(34557, this.instances3.alice.encrypt16(34561)); + expect(res).to.equal(34561n); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 3 (8, 8)', async function () { - const res = await this.contract3.max_uint16_euint16(8, this.instances3.alice.encrypt16(8)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint16, euint16) => euint16 test 3 (34561, 34561)', async function () { + const res = await this.contract3.max_uint16_euint16(34561, this.instances3.alice.encrypt16(34561)); + expect(res).to.equal(34561n); }); - it('test operator "max" overload (uint16, euint16) => euint16 test 4 (8, 4)', async function () { - const res = await this.contract3.max_uint16_euint16(8, this.instances3.alice.encrypt16(4)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint16, euint16) => euint16 test 4 (34561, 34557)', async function () { + const res = await this.contract3.max_uint16_euint16(34561, this.instances3.alice.encrypt16(34557)); + expect(res).to.equal(34561n); }); - it('test operator "add" overload (euint32, euint4) => euint32 test 1 (2, 8)', async function () { + it('test operator "add" overload (euint32, euint4) => euint32 test 1 (11, 2)', async function () { const res = await this.contract3.add_euint32_euint4( - this.instances3.alice.encrypt32(2), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(11), + this.instances3.alice.encrypt4(2), ); - expect(res).to.equal(10n); + expect(res).to.equal(13n); }); it('test operator "add" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { @@ -8008,20 +8008,20 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 1 (1, 2)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 1 (5, 2)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(1), + this.instances3.alice.encrypt32(5), this.instances3.alice.encrypt4(2), ); - expect(res).to.equal(2n); + expect(res).to.equal(10n); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 2 (3, 5)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 2 (3, 3)', async function () { const res = await this.contract3.mul_euint32_euint4( this.instances3.alice.encrypt32(3), - this.instances3.alice.encrypt4(5), + this.instances3.alice.encrypt4(3), ); - expect(res).to.equal(15n); + expect(res).to.equal(9n); }); it('test operator "mul" overload (euint32, euint4) => euint32 test 3 (3, 3)', async function () { @@ -8032,52 +8032,52 @@ describe('TFHE operations', function () { expect(res).to.equal(9n); }); - it('test operator "mul" overload (euint32, euint4) => euint32 test 4 (5, 3)', async function () { + it('test operator "mul" overload (euint32, euint4) => euint32 test 4 (3, 3)', async function () { const res = await this.contract3.mul_euint32_euint4( - this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt32(3), this.instances3.alice.encrypt4(3), ); - expect(res).to.equal(15n); + expect(res).to.equal(9n); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 1 (1, 2)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 1 (1301921086, 9)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(1), - this.instances3.alice.encrypt4(2), + this.instances3.alice.encrypt32(1301921086), + this.instances3.alice.encrypt4(9), ); - expect(res).to.equal(0n); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 2 (5, 9)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt4(9), ); - expect(res).to.equal(0n); + expect(res).to.equal(1n); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 3 (9, 9)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(9), ); - expect(res).to.equal(8n); + expect(res).to.equal(9n); }); - it('test operator "and" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint32, euint4) => euint32 test 4 (9, 5)', async function () { const res = await this.contract3.and_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(5), ); - expect(res).to.equal(0n); + expect(res).to.equal(1n); }); - it('test operator "or" overload (euint32, euint4) => euint32 test 1 (2, 15)', async function () { + it('test operator "or" overload (euint32, euint4) => euint32 test 1 (2406735968, 5)', async function () { const res = await this.contract3.or_euint32_euint4( - this.instances3.alice.encrypt32(2), - this.instances3.alice.encrypt4(15), + this.instances3.alice.encrypt32(2406735968), + this.instances3.alice.encrypt4(5), ); - expect(res).to.equal(15n); + expect(res).to.equal(2406735973n); }); it('test operator "or" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { @@ -8104,140 +8104,140 @@ describe('TFHE operations', function () { expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 1 (1, 1)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 1 (3625477729, 13)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(1), - this.instances3.alice.encrypt4(1), + this.instances3.alice.encrypt32(3625477729), + this.instances3.alice.encrypt4(13), ); - expect(res).to.equal(0n); + expect(res).to.equal(3625477740n); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 2 (9, 13)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(13), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 3 (13, 13)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(13), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint4) => euint32 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint32, euint4) => euint32 test 4 (13, 9)', async function () { const res = await this.contract3.xor_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(9), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 1 (1, 3)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 1 (2724048740, 14)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(1), - this.instances3.alice.encrypt4(3), + this.instances3.alice.encrypt32(2724048740), + this.instances3.alice.encrypt4(14), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 2 (10, 14)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(10), + this.instances3.alice.encrypt4(14), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 3 (14, 14)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(14), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint32, euint4) => ebool test 4 (14, 10)', async function () { const res = await this.contract3.eq_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(14), + this.instances3.alice.encrypt4(10), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 1 (24, 15)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 1 (2506657954, 7)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(24), - this.instances3.alice.encrypt4(15), + this.instances3.alice.encrypt32(2506657954), + this.instances3.alice.encrypt4(7), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 2 (11, 15)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(11), - this.instances3.alice.encrypt4(15), + this.instances3.alice.encrypt32(4), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 3 (15, 15)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(15), - this.instances3.alice.encrypt4(15), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint4) => ebool test 4 (15, 11)', async function () { + it('test operator "ne" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract3.ne_euint32_euint4( - this.instances3.alice.encrypt32(15), - this.instances3.alice.encrypt4(11), + this.instances3.alice.encrypt32(8), + this.instances3.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 1 (1, 15)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 1 (4064050662, 13)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(1), - this.instances3.alice.encrypt4(15), + this.instances3.alice.encrypt32(4064050662), + this.instances3.alice.encrypt4(13), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 2 (9, 13)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(13), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 3 (13, 13)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(8), + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(13), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint32, euint4) => ebool test 4 (13, 9)', async function () { const res = await this.contract3.ge_euint32_euint4( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt4(4), + this.instances3.alice.encrypt32(13), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint4) => ebool test 1 (1, 15)', async function () { + it('test operator "gt" overload (euint32, euint4) => ebool test 1 (2933730621, 7)', async function () { const res = await this.contract3.gt_euint32_euint4( - this.instances3.alice.encrypt32(1), - this.instances3.alice.encrypt4(15), + this.instances3.alice.encrypt32(2933730621), + this.instances3.alice.encrypt4(7), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); it('test operator "gt" overload (euint32, euint4) => ebool test 2 (4, 8)', async function () { @@ -8264,42 +8264,42 @@ describe('TFHE operations', function () { expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 1 (25, 15)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 1 (4064031115, 9)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(25), - this.instances3.alice.encrypt4(15), + this.instances3.alice.encrypt32(4064031115), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint4) => ebool test 2 (11, 15)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 2 (5, 9)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(11), - this.instances3.alice.encrypt4(15), + this.instances3.alice.encrypt32(5), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 3 (15, 15)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 3 (9, 9)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(15), - this.instances3.alice.encrypt4(15), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(9), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint4) => ebool test 4 (15, 11)', async function () { + it('test operator "le" overload (euint32, euint4) => ebool test 4 (9, 5)', async function () { const res = await this.contract3.le_euint32_euint4( - this.instances3.alice.encrypt32(15), - this.instances3.alice.encrypt4(11), + this.instances3.alice.encrypt32(9), + this.instances3.alice.encrypt4(5), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint4) => ebool test 1 (2, 1)', async function () { + it('test operator "lt" overload (euint32, euint4) => ebool test 1 (3623618060, 5)', async function () { const res = await this.contract3.lt_euint32_euint4( - this.instances3.alice.encrypt32(2), - this.instances3.alice.encrypt4(1), + this.instances3.alice.encrypt32(3623618060), + this.instances3.alice.encrypt4(5), ); expect(res).to.equal(false); }); @@ -8328,10 +8328,10 @@ describe('TFHE operations', function () { expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint4) => euint32 test 1 (3, 15)', async function () { + it('test operator "min" overload (euint32, euint4) => euint32 test 1 (3192029980, 3)', async function () { const res = await this.contract3.min_euint32_euint4( - this.instances3.alice.encrypt32(3), - this.instances3.alice.encrypt4(15), + this.instances3.alice.encrypt32(3192029980), + this.instances3.alice.encrypt4(3), ); expect(res).to.equal(3n); }); @@ -8360,12 +8360,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "max" overload (euint32, euint4) => euint32 test 1 (9, 5)', async function () { + it('test operator "max" overload (euint32, euint4) => euint32 test 1 (681402629, 7)', async function () { const res = await this.contract3.max_euint32_euint4( - this.instances3.alice.encrypt32(9), - this.instances3.alice.encrypt4(5), + this.instances3.alice.encrypt32(681402629), + this.instances3.alice.encrypt4(7), ); - expect(res).to.equal(9n); + expect(res).to.equal(681402629n); }); it('test operator "max" overload (euint32, euint4) => euint32 test 2 (4, 8)', async function () { @@ -8392,2208 +8392,2208 @@ describe('TFHE operations', function () { expect(res).to.equal(8n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 1 (3, 1)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 1 (186, 2)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(3), - this.instances3.alice.encrypt8(1), + this.instances3.alice.encrypt32(186), + this.instances3.alice.encrypt8(2), ); - expect(res).to.equal(4n); + expect(res).to.equal(188n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 2 (69, 71)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt32(69), + this.instances3.alice.encrypt8(71), ); - expect(res).to.equal(12n); + expect(res).to.equal(140n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 3 (71, 71)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt32(71), + this.instances3.alice.encrypt8(71), ); - expect(res).to.equal(16n); + expect(res).to.equal(142n); }); - it('test operator "add" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint32, euint8) => euint32 test 4 (71, 69)', async function () { const res = await this.contract3.add_euint32_euint8( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt32(71), + this.instances3.alice.encrypt8(69), ); - expect(res).to.equal(12n); + expect(res).to.equal(140n); }); - it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint32, euint8) => euint32 test 1 (179, 179)', async function () { const res = await this.contract3.sub_euint32_euint8( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt32(179), + this.instances3.alice.encrypt8(179), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint32, euint8) => euint32 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint32, euint8) => euint32 test 2 (179, 175)', async function () { const res = await this.contract3.sub_euint32_euint8( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt32(179), + this.instances3.alice.encrypt8(175), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 1 (1, 3)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 1 (107, 2)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(1), - this.instances3.alice.encrypt8(3), + this.instances3.alice.encrypt32(107), + this.instances3.alice.encrypt8(2), ); - expect(res).to.equal(3n); + expect(res).to.equal(214n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 2 (12, 12)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt8(12), ); - expect(res).to.equal(32n); + expect(res).to.equal(144n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 3 (12, 12)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt8(12), ); - expect(res).to.equal(64n); + expect(res).to.equal(144n); }); - it('test operator "mul" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint32, euint8) => euint32 test 4 (12, 12)', async function () { const res = await this.contract3.mul_euint32_euint8( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt8(12), ); - expect(res).to.equal(32n); + expect(res).to.equal(144n); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 1 (1, 85)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 1 (2684075699, 16)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(1), - this.instances3.alice.encrypt8(85), + this.instances3.alice.encrypt32(2684075699), + this.instances3.alice.encrypt8(16), ); - expect(res).to.equal(1n); + expect(res).to.equal(16n); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 2 (12, 16)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(4), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt32(12), + this.instances3.alice.encrypt8(16), ); expect(res).to.equal(0n); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 3 (16, 16)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt8(8), + this.instances3.alice.encrypt32(16), + this.instances3.alice.encrypt8(16), ); - expect(res).to.equal(8n); + expect(res).to.equal(16n); }); - it('test operator "and" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint32, euint8) => euint32 test 4 (16, 12)', async function () { const res = await this.contract3.and_euint32_euint8( - this.instances3.alice.encrypt32(8), - this.instances3.alice.encrypt8(4), + this.instances3.alice.encrypt32(16), + this.instances3.alice.encrypt8(12), ); expect(res).to.equal(0n); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 1 (2, 1)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 1 (3961011805, 118)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(2), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt32(3961011805), + this.instances4.alice.encrypt8(118), ); - expect(res).to.equal(3n); + expect(res).to.equal(3961011839n); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 2 (114, 118)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(114), + this.instances4.alice.encrypt8(118), ); - expect(res).to.equal(12n); + expect(res).to.equal(118n); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 3 (118, 118)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(118), + this.instances4.alice.encrypt8(118), ); - expect(res).to.equal(8n); + expect(res).to.equal(118n); }); - it('test operator "or" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint32, euint8) => euint32 test 4 (118, 114)', async function () { const res = await this.contract4.or_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(118), + this.instances4.alice.encrypt8(114), ); - expect(res).to.equal(12n); + expect(res).to.equal(118n); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (1, 1)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 1 (2615810877, 184)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt32(2615810877), + this.instances4.alice.encrypt8(184), ); - expect(res).to.equal(0n); + expect(res).to.equal(2615810949n); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 2 (180, 184)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(180), + this.instances4.alice.encrypt8(184), ); expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 3 (184, 184)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(184), + this.instances4.alice.encrypt8(184), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint32, euint8) => euint32 test 4 (184, 180)', async function () { const res = await this.contract4.xor_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(184), + this.instances4.alice.encrypt8(180), ); expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 1 (1, 1)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 1 (2890164202, 10)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt32(2890164202), + this.instances4.alice.encrypt8(10), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 2 (6, 10)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(6), + this.instances4.alice.encrypt8(10), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 3 (10, 10)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(10), + this.instances4.alice.encrypt8(10), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint32, euint8) => ebool test 4 (10, 6)', async function () { const res = await this.contract4.eq_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(10), + this.instances4.alice.encrypt8(6), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 1 (24, 13)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 1 (874720156, 10)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(24), - this.instances4.alice.encrypt8(13), + this.instances4.alice.encrypt32(874720156), + this.instances4.alice.encrypt8(10), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 2 (9, 13)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 2 (6, 10)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(9), - this.instances4.alice.encrypt8(13), + this.instances4.alice.encrypt32(6), + this.instances4.alice.encrypt8(10), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 3 (13, 13)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 3 (10, 10)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(13), - this.instances4.alice.encrypt8(13), + this.instances4.alice.encrypt32(10), + this.instances4.alice.encrypt8(10), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint8) => ebool test 4 (13, 9)', async function () { + it('test operator "ne" overload (euint32, euint8) => ebool test 4 (10, 6)', async function () { const res = await this.contract4.ne_euint32_euint8( - this.instances4.alice.encrypt32(13), - this.instances4.alice.encrypt8(9), + this.instances4.alice.encrypt32(10), + this.instances4.alice.encrypt8(6), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 1 (1, 1)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 1 (4107105674, 147)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt32(4107105674), + this.instances4.alice.encrypt8(147), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 2 (143, 147)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(143), + this.instances4.alice.encrypt8(147), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 3 (147, 147)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(147), + this.instances4.alice.encrypt8(147), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint32, euint8) => ebool test 4 (147, 143)', async function () { const res = await this.contract4.ge_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(147), + this.instances4.alice.encrypt8(143), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 1 (1, 7)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 1 (1917780828, 163)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt8(7), + this.instances4.alice.encrypt32(1917780828), + this.instances4.alice.encrypt8(163), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 2 (159, 163)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(159), + this.instances4.alice.encrypt8(163), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 3 (163, 163)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(163), + this.instances4.alice.encrypt8(163), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint32, euint8) => ebool test 4 (163, 159)', async function () { const res = await this.contract4.gt_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(163), + this.instances4.alice.encrypt8(159), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 1 (25, 1)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 1 (3743657855, 103)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(25), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt32(3743657855), + this.instances4.alice.encrypt8(103), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 2 (99, 103)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(99), + this.instances4.alice.encrypt8(103), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 3 (103, 103)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(103), + this.instances4.alice.encrypt8(103), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint32, euint8) => ebool test 4 (103, 99)', async function () { const res = await this.contract4.le_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(103), + this.instances4.alice.encrypt8(99), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 1 (2, 4)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 1 (800790361, 82)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(2), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(800790361), + this.instances4.alice.encrypt8(82), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 2 (78, 82)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(78), + this.instances4.alice.encrypt8(82), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 3 (82, 82)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(82), + this.instances4.alice.encrypt8(82), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint32, euint8) => ebool test 4 (82, 78)', async function () { const res = await this.contract4.lt_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(82), + this.instances4.alice.encrypt8(78), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 1 (3, 2)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 1 (2128865754, 127)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt8(2), + this.instances4.alice.encrypt32(2128865754), + this.instances4.alice.encrypt8(127), ); - expect(res).to.equal(2n); + expect(res).to.equal(127n); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 2 (123, 127)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(123), + this.instances4.alice.encrypt8(127), ); - expect(res).to.equal(4n); + expect(res).to.equal(123n); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 3 (127, 127)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(127), + this.instances4.alice.encrypt8(127), ); - expect(res).to.equal(8n); + expect(res).to.equal(127n); }); - it('test operator "min" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint32, euint8) => euint32 test 4 (127, 123)', async function () { const res = await this.contract4.min_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(127), + this.instances4.alice.encrypt8(123), ); - expect(res).to.equal(4n); + expect(res).to.equal(123n); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 1 (9, 2)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 1 (1610798197, 160)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(9), - this.instances4.alice.encrypt8(2), + this.instances4.alice.encrypt32(1610798197), + this.instances4.alice.encrypt8(160), ); - expect(res).to.equal(9n); + expect(res).to.equal(1610798197n); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 2 (156, 160)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(156), + this.instances4.alice.encrypt8(160), ); - expect(res).to.equal(8n); + expect(res).to.equal(160n); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 3 (160, 160)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt32(160), + this.instances4.alice.encrypt8(160), ); - expect(res).to.equal(8n); + expect(res).to.equal(160n); }); - it('test operator "max" overload (euint32, euint8) => euint32 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint32, euint8) => euint32 test 4 (160, 156)', async function () { const res = await this.contract4.max_euint32_euint8( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt32(160), + this.instances4.alice.encrypt8(156), ); - expect(res).to.equal(8n); + expect(res).to.equal(160n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 1 (3, 5)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 1 (40687, 4)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt16(5), + this.instances4.alice.encrypt32(40687), + this.instances4.alice.encrypt16(4), ); - expect(res).to.equal(8n); + expect(res).to.equal(40691n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 2 (18607, 18611)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(18607), + this.instances4.alice.encrypt16(18611), ); - expect(res).to.equal(12n); + expect(res).to.equal(37218n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 3 (18611, 18611)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(18611), + this.instances4.alice.encrypt16(18611), ); - expect(res).to.equal(16n); + expect(res).to.equal(37222n); }); - it('test operator "add" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint32, euint16) => euint32 test 4 (18611, 18607)', async function () { const res = await this.contract4.add_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(18611), + this.instances4.alice.encrypt16(18607), ); - expect(res).to.equal(12n); + expect(res).to.equal(37218n); }); - it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint32, euint16) => euint32 test 1 (47991, 47991)', async function () { const res = await this.contract4.sub_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(47991), + this.instances4.alice.encrypt16(47991), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint32, euint16) => euint32 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint32, euint16) => euint32 test 2 (47991, 47987)', async function () { const res = await this.contract4.sub_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(47991), + this.instances4.alice.encrypt16(47987), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (1, 4)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 1 (30409, 2)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(30409), + this.instances4.alice.encrypt16(2), ); - expect(res).to.equal(4n); + expect(res).to.equal(60818n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 2 (152, 152)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(152), + this.instances4.alice.encrypt16(152), ); - expect(res).to.equal(32n); + expect(res).to.equal(23104n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 3 (152, 152)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(152), + this.instances4.alice.encrypt16(152), ); - expect(res).to.equal(64n); + expect(res).to.equal(23104n); }); - it('test operator "mul" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint32, euint16) => euint32 test 4 (152, 152)', async function () { const res = await this.contract4.mul_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(152), + this.instances4.alice.encrypt16(152), ); - expect(res).to.equal(32n); + expect(res).to.equal(23104n); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 1 (1, 1)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 1 (1113519013, 16851)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt16(1), + this.instances4.alice.encrypt32(1113519013), + this.instances4.alice.encrypt16(16851), ); - expect(res).to.equal(1n); + expect(res).to.equal(16769n); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 2 (16847, 16851)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(16847), + this.instances4.alice.encrypt16(16851), ); - expect(res).to.equal(0n); + expect(res).to.equal(16835n); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 3 (16851, 16851)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(16851), + this.instances4.alice.encrypt16(16851), ); - expect(res).to.equal(8n); + expect(res).to.equal(16851n); }); - it('test operator "and" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint32, euint16) => euint32 test 4 (16851, 16847)', async function () { const res = await this.contract4.and_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(16851), + this.instances4.alice.encrypt16(16847), ); - expect(res).to.equal(0n); + expect(res).to.equal(16835n); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 1 (2, 1)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 1 (2441286673, 26427)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(2), - this.instances4.alice.encrypt16(1), + this.instances4.alice.encrypt32(2441286673), + this.instances4.alice.encrypt16(26427), ); - expect(res).to.equal(3n); + expect(res).to.equal(2441312059n); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 2 (26423, 26427)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(26423), + this.instances4.alice.encrypt16(26427), ); - expect(res).to.equal(12n); + expect(res).to.equal(26431n); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 3 (26427, 26427)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(26427), + this.instances4.alice.encrypt16(26427), ); - expect(res).to.equal(8n); + expect(res).to.equal(26427n); }); - it('test operator "or" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint32, euint16) => euint32 test 4 (26427, 26423)', async function () { const res = await this.contract4.or_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(26427), + this.instances4.alice.encrypt16(26423), ); - expect(res).to.equal(12n); + expect(res).to.equal(26431n); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (1, 1)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 1 (2697992454, 47573)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt16(1), + this.instances4.alice.encrypt32(2697992454), + this.instances4.alice.encrypt16(47573), ); - expect(res).to.equal(0n); + expect(res).to.equal(2698027219n); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 2 (47569, 47573)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(47569), + this.instances4.alice.encrypt16(47573), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 3 (47573, 47573)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(47573), + this.instances4.alice.encrypt16(47573), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint32, euint16) => euint32 test 4 (47573, 47569)', async function () { const res = await this.contract4.xor_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(47573), + this.instances4.alice.encrypt16(47569), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 1 (1, 5)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 1 (3540063980, 53142)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt16(5), + this.instances4.alice.encrypt32(3540063980), + this.instances4.alice.encrypt16(53142), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 2 (53138, 53142)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(53138), + this.instances4.alice.encrypt16(53142), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 3 (53142, 53142)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(53142), + this.instances4.alice.encrypt16(53142), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint32, euint16) => ebool test 4 (53142, 53138)', async function () { const res = await this.contract4.eq_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(53142), + this.instances4.alice.encrypt16(53138), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 1 (24, 2)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 1 (2729404223, 63905)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(24), - this.instances4.alice.encrypt16(2), + this.instances4.alice.encrypt32(2729404223), + this.instances4.alice.encrypt16(63905), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 2 (63901, 63905)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(63901), + this.instances4.alice.encrypt16(63905), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 3 (63905, 63905)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(63905), + this.instances4.alice.encrypt16(63905), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint32, euint16) => ebool test 4 (63905, 63901)', async function () { const res = await this.contract4.ne_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(63905), + this.instances4.alice.encrypt16(63901), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 1 (1, 1)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 1 (3202817970, 50829)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt16(1), + this.instances4.alice.encrypt32(3202817970), + this.instances4.alice.encrypt16(50829), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 2 (50825, 50829)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(50825), + this.instances4.alice.encrypt16(50829), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 3 (50829, 50829)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(50829), + this.instances4.alice.encrypt16(50829), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint32, euint16) => ebool test 4 (50829, 50825)', async function () { const res = await this.contract4.ge_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(50829), + this.instances4.alice.encrypt16(50825), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 1 (1, 1)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 1 (1221805876, 57752)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt16(1), + this.instances4.alice.encrypt32(1221805876), + this.instances4.alice.encrypt16(57752), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 2 (57748, 57752)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(57748), + this.instances4.alice.encrypt16(57752), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 3 (57752, 57752)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(57752), + this.instances4.alice.encrypt16(57752), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint32, euint16) => ebool test 4 (57752, 57748)', async function () { const res = await this.contract4.gt_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(57752), + this.instances4.alice.encrypt16(57748), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 1 (25, 1)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 1 (1673073080, 44621)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(25), - this.instances4.alice.encrypt16(1), + this.instances4.alice.encrypt32(1673073080), + this.instances4.alice.encrypt16(44621), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 2 (44617, 44621)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(44617), + this.instances4.alice.encrypt16(44621), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 3 (44621, 44621)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(44621), + this.instances4.alice.encrypt16(44621), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint32, euint16) => ebool test 4 (44621, 44617)', async function () { const res = await this.contract4.le_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(44621), + this.instances4.alice.encrypt16(44617), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 1 (2, 6)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 1 (2528767958, 64360)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(2), - this.instances4.alice.encrypt16(6), + this.instances4.alice.encrypt32(2528767958), + this.instances4.alice.encrypt16(64360), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 2 (64356, 64360)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(64356), + this.instances4.alice.encrypt16(64360), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 3 (64360, 64360)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(64360), + this.instances4.alice.encrypt16(64360), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint32, euint16) => ebool test 4 (64360, 64356)', async function () { const res = await this.contract4.lt_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(64360), + this.instances4.alice.encrypt16(64356), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 1 (3, 3)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 1 (2025213170, 65001)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt16(3), + this.instances4.alice.encrypt32(2025213170), + this.instances4.alice.encrypt16(65001), ); - expect(res).to.equal(3n); + expect(res).to.equal(65001n); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 2 (64997, 65001)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(64997), + this.instances4.alice.encrypt16(65001), ); - expect(res).to.equal(4n); + expect(res).to.equal(64997n); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 3 (65001, 65001)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(65001), + this.instances4.alice.encrypt16(65001), ); - expect(res).to.equal(8n); + expect(res).to.equal(65001n); }); - it('test operator "min" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint32, euint16) => euint32 test 4 (65001, 64997)', async function () { const res = await this.contract4.min_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(65001), + this.instances4.alice.encrypt16(64997), ); - expect(res).to.equal(4n); + expect(res).to.equal(64997n); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 1 (9, 2)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 1 (4136615954, 9960)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(9), - this.instances4.alice.encrypt16(2), + this.instances4.alice.encrypt32(4136615954), + this.instances4.alice.encrypt16(9960), ); - expect(res).to.equal(9n); + expect(res).to.equal(4136615954n); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 2 (9956, 9960)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(9956), + this.instances4.alice.encrypt16(9960), ); - expect(res).to.equal(8n); + expect(res).to.equal(9960n); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 3 (9960, 9960)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(8), + this.instances4.alice.encrypt32(9960), + this.instances4.alice.encrypt16(9960), ); - expect(res).to.equal(8n); + expect(res).to.equal(9960n); }); - it('test operator "max" overload (euint32, euint16) => euint32 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint32, euint16) => euint32 test 4 (9960, 9956)', async function () { const res = await this.contract4.max_euint32_euint16( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt16(4), + this.instances4.alice.encrypt32(9960), + this.instances4.alice.encrypt16(9956), ); - expect(res).to.equal(8n); + expect(res).to.equal(9960n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 1 (3, 1)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 1 (2163343287, 829836787)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(2163343287), + this.instances4.alice.encrypt32(829836787), ); - expect(res).to.equal(4n); + expect(res).to.equal(2993180074n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 2 (829836783, 829836787)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(829836783), + this.instances4.alice.encrypt32(829836787), ); - expect(res).to.equal(12n); + expect(res).to.equal(1659673570n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 3 (829836787, 829836787)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(829836787), + this.instances4.alice.encrypt32(829836787), ); - expect(res).to.equal(16n); + expect(res).to.equal(1659673574n); }); - it('test operator "add" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint32, euint32) => euint32 test 4 (829836787, 829836783)', async function () { const res = await this.contract4.add_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(829836787), + this.instances4.alice.encrypt32(829836783), ); - expect(res).to.equal(12n); + expect(res).to.equal(1659673570n); }); - it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint32, euint32) => euint32 test 1 (3061205449, 3061205449)', async function () { const res = await this.contract4.sub_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(3061205449), + this.instances4.alice.encrypt32(3061205449), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint32, euint32) => euint32 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint32, euint32) => euint32 test 2 (3061205449, 3061205445)', async function () { const res = await this.contract4.sub_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(3061205449), + this.instances4.alice.encrypt32(3061205445), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (1, 1)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 1 (42467, 41983)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(42467), + this.instances4.alice.encrypt32(41983), ); - expect(res).to.equal(1n); + expect(res).to.equal(1782892061n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 2 (41983, 41983)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(41983), + this.instances4.alice.encrypt32(41983), ); - expect(res).to.equal(32n); + expect(res).to.equal(1762572289n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 3 (41983, 41983)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(41983), + this.instances4.alice.encrypt32(41983), ); - expect(res).to.equal(64n); + expect(res).to.equal(1762572289n); }); - it('test operator "mul" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint32, euint32) => euint32 test 4 (41983, 41983)', async function () { const res = await this.contract4.mul_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(41983), + this.instances4.alice.encrypt32(41983), ); - expect(res).to.equal(32n); + expect(res).to.equal(1762572289n); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 1 (1, 1)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 1 (749010015, 1458345079)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(749010015), + this.instances4.alice.encrypt32(1458345079), ); - expect(res).to.equal(1n); + expect(res).to.equal(77894743n); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 2 (749010011, 749010015)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(749010011), + this.instances4.alice.encrypt32(749010015), ); - expect(res).to.equal(0n); + expect(res).to.equal(749010011n); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 3 (749010015, 749010015)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(749010015), + this.instances4.alice.encrypt32(749010015), ); - expect(res).to.equal(8n); + expect(res).to.equal(749010015n); }); - it('test operator "and" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint32, euint32) => euint32 test 4 (749010015, 749010011)', async function () { const res = await this.contract4.and_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(749010015), + this.instances4.alice.encrypt32(749010011), ); - expect(res).to.equal(0n); + expect(res).to.equal(749010011n); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 1 (2, 2)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 1 (183558137, 3592149879)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(2), - this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt32(183558137), + this.instances4.alice.encrypt32(3592149879), ); - expect(res).to.equal(2n); + expect(res).to.equal(3741048831n); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 2 (183558133, 183558137)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(183558133), + this.instances4.alice.encrypt32(183558137), ); - expect(res).to.equal(12n); + expect(res).to.equal(183558141n); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 3 (183558137, 183558137)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(183558137), + this.instances4.alice.encrypt32(183558137), ); - expect(res).to.equal(8n); + expect(res).to.equal(183558137n); }); - it('test operator "or" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint32, euint32) => euint32 test 4 (183558137, 183558133)', async function () { const res = await this.contract4.or_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(183558137), + this.instances4.alice.encrypt32(183558133), ); - expect(res).to.equal(12n); + expect(res).to.equal(183558141n); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (1, 1)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 1 (3727740302, 3007364521)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(3727740302), + this.instances4.alice.encrypt32(3007364521), ); - expect(res).to.equal(0n); + expect(res).to.equal(1836085287n); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 2 (3007364517, 3007364521)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(3007364517), + this.instances4.alice.encrypt32(3007364521), ); expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 3 (3007364521, 3007364521)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(3007364521), + this.instances4.alice.encrypt32(3007364521), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint32, euint32) => euint32 test 4 (3007364521, 3007364517)', async function () { const res = await this.contract4.xor_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(3007364521), + this.instances4.alice.encrypt32(3007364517), ); expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 1 (1, 54)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 1 (3674813327, 3173886291)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt32(54), + this.instances4.alice.encrypt32(3674813327), + this.instances4.alice.encrypt32(3173886291), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 2 (3173886287, 3173886291)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(3173886287), + this.instances4.alice.encrypt32(3173886291), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 3 (3173886291, 3173886291)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(3173886291), + this.instances4.alice.encrypt32(3173886291), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint32, euint32) => ebool test 4 (3173886291, 3173886287)', async function () { const res = await this.contract4.eq_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(3173886291), + this.instances4.alice.encrypt32(3173886287), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 1 (24, 1)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 1 (40863923, 1726230330)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(24), - this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(40863923), + this.instances4.alice.encrypt32(1726230330), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 2 (40863919, 40863923)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(40863919), + this.instances4.alice.encrypt32(40863923), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 3 (40863923, 40863923)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(40863923), + this.instances4.alice.encrypt32(40863923), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint32, euint32) => ebool test 4 (40863923, 40863919)', async function () { const res = await this.contract4.ne_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(40863923), + this.instances4.alice.encrypt32(40863919), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 1 (1, 22)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 1 (1970784794, 1596956634)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt32(22), + this.instances4.alice.encrypt32(1970784794), + this.instances4.alice.encrypt32(1596956634), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 2 (1596956630, 1596956634)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(1596956630), + this.instances4.alice.encrypt32(1596956634), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 3 (1596956634, 1596956634)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(1596956634), + this.instances4.alice.encrypt32(1596956634), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint32, euint32) => ebool test 4 (1596956634, 1596956630)', async function () { const res = await this.contract4.ge_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(1596956634), + this.instances4.alice.encrypt32(1596956630), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 1 (1, 1)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 1 (2212514392, 854163759)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(2212514392), + this.instances4.alice.encrypt32(854163759), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 2 (854163755, 854163759)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(854163755), + this.instances4.alice.encrypt32(854163759), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 3 (854163759, 854163759)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(854163759), + this.instances4.alice.encrypt32(854163759), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint32, euint32) => ebool test 4 (854163759, 854163755)', async function () { const res = await this.contract4.gt_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(854163759), + this.instances4.alice.encrypt32(854163755), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 1 (25, 1)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 1 (989604334, 3011475023)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(25), - this.instances4.alice.encrypt32(1), + this.instances4.alice.encrypt32(989604334), + this.instances4.alice.encrypt32(3011475023), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 2 (989604330, 989604334)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(989604330), + this.instances4.alice.encrypt32(989604334), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 3 (989604334, 989604334)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(989604334), + this.instances4.alice.encrypt32(989604334), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint32, euint32) => ebool test 4 (989604334, 989604330)', async function () { const res = await this.contract4.le_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(989604334), + this.instances4.alice.encrypt32(989604330), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 1 (2, 25)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 1 (3432727362, 2953663248)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(2), - this.instances4.alice.encrypt32(25), + this.instances4.alice.encrypt32(3432727362), + this.instances4.alice.encrypt32(2953663248), ); - expect(res).to.equal(true); + expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 2 (2953663244, 2953663248)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(2953663244), + this.instances4.alice.encrypt32(2953663248), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 3 (2953663248, 2953663248)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(2953663248), + this.instances4.alice.encrypt32(2953663248), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint32, euint32) => ebool test 4 (2953663248, 2953663244)', async function () { const res = await this.contract4.lt_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(2953663248), + this.instances4.alice.encrypt32(2953663244), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 1 (3, 5)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 1 (1800381916, 3495424142)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(3), - this.instances4.alice.encrypt32(5), + this.instances4.alice.encrypt32(1800381916), + this.instances4.alice.encrypt32(3495424142), ); - expect(res).to.equal(3n); + expect(res).to.equal(1800381916n); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 2 (1800381912, 1800381916)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(1800381912), + this.instances4.alice.encrypt32(1800381916), ); - expect(res).to.equal(4n); + expect(res).to.equal(1800381912n); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 3 (1800381916, 1800381916)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(1800381916), + this.instances4.alice.encrypt32(1800381916), ); - expect(res).to.equal(8n); + expect(res).to.equal(1800381916n); }); - it('test operator "min" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint32, euint32) => euint32 test 4 (1800381916, 1800381912)', async function () { const res = await this.contract4.min_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(1800381916), + this.instances4.alice.encrypt32(1800381912), ); - expect(res).to.equal(4n); + expect(res).to.equal(1800381912n); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 1 (9, 6)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 1 (2043312979, 3247295293)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(9), - this.instances4.alice.encrypt32(6), + this.instances4.alice.encrypt32(2043312979), + this.instances4.alice.encrypt32(3247295293), ); - expect(res).to.equal(9n); + expect(res).to.equal(3247295293n); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 2 (2043312975, 2043312979)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(2043312975), + this.instances4.alice.encrypt32(2043312979), ); - expect(res).to.equal(8n); + expect(res).to.equal(2043312979n); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 3 (2043312979, 2043312979)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(8), + this.instances4.alice.encrypt32(2043312979), + this.instances4.alice.encrypt32(2043312979), ); - expect(res).to.equal(8n); + expect(res).to.equal(2043312979n); }); - it('test operator "max" overload (euint32, euint32) => euint32 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint32, euint32) => euint32 test 4 (2043312979, 2043312975)', async function () { const res = await this.contract4.max_euint32_euint32( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt32(4), + this.instances4.alice.encrypt32(2043312979), + this.instances4.alice.encrypt32(2043312975), ); - expect(res).to.equal(8n); + expect(res).to.equal(2043312979n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 1 (8, 2055)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 1 (2, 4293304478)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(2055), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt64(4293304478), ); - expect(res).to.equal(2063n); + expect(res).to.equal(4293304480n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 2 (2093298939, 2093298943)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(2093298939), + this.instances4.alice.encrypt64(2093298943), ); - expect(res).to.equal(12n); + expect(res).to.equal(4186597882n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 3 (2093298943, 2093298943)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(2093298943), + this.instances4.alice.encrypt64(2093298943), ); - expect(res).to.equal(16n); + expect(res).to.equal(4186597886n); }); - it('test operator "add" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint32, euint64) => euint64 test 4 (2093298943, 2093298939)', async function () { const res = await this.contract4.add_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(2093298943), + this.instances4.alice.encrypt64(2093298939), ); - expect(res).to.equal(12n); + expect(res).to.equal(4186597882n); }); - it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint32, euint64) => euint64 test 1 (1018084759, 1018084759)', async function () { const res = await this.contract4.sub_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(1018084759), + this.instances4.alice.encrypt64(1018084759), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint32, euint64) => euint64 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint32, euint64) => euint64 test 2 (1018084759, 1018084755)', async function () { const res = await this.contract4.sub_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(1018084759), + this.instances4.alice.encrypt64(1018084755), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (1, 2410)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 1 (2, 2147115345)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt64(2410), + this.instances4.alice.encrypt32(2), + this.instances4.alice.encrypt64(2147115345), ); - expect(res).to.equal(2410n); + expect(res).to.equal(4294230690n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 2 (46957, 46957)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(46957), + this.instances4.alice.encrypt64(46957), ); - expect(res).to.equal(32n); + expect(res).to.equal(2204959849n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 3 (46957, 46957)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(46957), + this.instances4.alice.encrypt64(46957), ); - expect(res).to.equal(64n); + expect(res).to.equal(2204959849n); }); - it('test operator "mul" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint32, euint64) => euint64 test 4 (46957, 46957)', async function () { const res = await this.contract4.mul_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(46957), + this.instances4.alice.encrypt64(46957), ); - expect(res).to.equal(32n); + expect(res).to.equal(2204959849n); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 1 (1, 3270)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 1 (365928159, 18445926323394727831)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt64(3270), + this.instances4.alice.encrypt32(365928159), + this.instances4.alice.encrypt64(18445926323394727831), ); - expect(res).to.equal(0n); + expect(res).to.equal(13110935n); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 2 (365928155, 365928159)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(365928155), + this.instances4.alice.encrypt64(365928159), ); - expect(res).to.equal(0n); + expect(res).to.equal(365928155n); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 3 (365928159, 365928159)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(365928159), + this.instances4.alice.encrypt64(365928159), ); - expect(res).to.equal(8n); + expect(res).to.equal(365928159n); }); - it('test operator "and" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint32, euint64) => euint64 test 4 (365928159, 365928155)', async function () { const res = await this.contract4.and_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(365928159), + this.instances4.alice.encrypt64(365928155), ); - expect(res).to.equal(0n); + expect(res).to.equal(365928155n); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 1 (2, 3577)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 1 (1857122149, 18440946789011191531)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(2), - this.instances4.alice.encrypt64(3577), + this.instances4.alice.encrypt32(1857122149), + this.instances4.alice.encrypt64(18440946789011191531), ); - expect(res).to.equal(3579n); + expect(res).to.equal(18440946789112971247n); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 2 (1857122145, 1857122149)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(1857122145), + this.instances4.alice.encrypt64(1857122149), ); - expect(res).to.equal(12n); + expect(res).to.equal(1857122149n); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 3 (1857122149, 1857122149)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(1857122149), + this.instances4.alice.encrypt64(1857122149), ); - expect(res).to.equal(8n); + expect(res).to.equal(1857122149n); }); - it('test operator "or" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint32, euint64) => euint64 test 4 (1857122149, 1857122145)', async function () { const res = await this.contract4.or_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(1857122149), + this.instances4.alice.encrypt64(1857122145), ); - expect(res).to.equal(12n); + expect(res).to.equal(1857122149n); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (1, 2447)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 1 (2536876532, 18445343517070927715)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt64(2447), + this.instances4.alice.encrypt32(2536876532), + this.instances4.alice.encrypt64(18445343517070927715), ); - expect(res).to.equal(2446n); + expect(res).to.equal(18445343518833806999n); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 2 (2536876528, 2536876532)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(2536876528), + this.instances4.alice.encrypt64(2536876532), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 3 (2536876532, 2536876532)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(2536876532), + this.instances4.alice.encrypt64(2536876532), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint32, euint64) => euint64 test 4 (2536876532, 2536876528)', async function () { const res = await this.contract4.xor_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(2536876532), + this.instances4.alice.encrypt64(2536876528), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 1 (1, 2530)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 1 (2805333302, 18443732701658209223)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt64(2530), + this.instances4.alice.encrypt32(2805333302), + this.instances4.alice.encrypt64(18443732701658209223), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 2 (2805333298, 2805333302)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(2805333298), + this.instances4.alice.encrypt64(2805333302), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 3 (2805333302, 2805333302)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(2805333302), + this.instances4.alice.encrypt64(2805333302), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint32, euint64) => ebool test 4 (2805333302, 2805333298)', async function () { const res = await this.contract4.eq_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(2805333302), + this.instances4.alice.encrypt64(2805333298), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 1 (1, 2583)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 1 (734315994, 18437906324621631829)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt64(2583), + this.instances4.alice.encrypt32(734315994), + this.instances4.alice.encrypt64(18437906324621631829), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 2 (734315990, 734315994)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(734315990), + this.instances4.alice.encrypt64(734315994), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 3 (734315994, 734315994)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(734315994), + this.instances4.alice.encrypt64(734315994), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint32, euint64) => ebool test 4 (734315994, 734315990)', async function () { const res = await this.contract4.ne_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(734315994), + this.instances4.alice.encrypt64(734315990), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 1 (2, 2385)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 1 (1126093045, 18444900127425225651)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(2), - this.instances4.alice.encrypt64(2385), + this.instances4.alice.encrypt32(1126093045), + this.instances4.alice.encrypt64(18444900127425225651), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 2 (1126093041, 1126093045)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(1126093041), + this.instances4.alice.encrypt64(1126093045), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 3 (1126093045, 1126093045)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(1126093045), + this.instances4.alice.encrypt64(1126093045), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint32, euint64) => ebool test 4 (1126093045, 1126093041)', async function () { const res = await this.contract4.ge_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(1126093045), + this.instances4.alice.encrypt64(1126093041), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 1 (1, 3010)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 1 (1296765186, 18439742981119094705)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(1), - this.instances4.alice.encrypt64(3010), + this.instances4.alice.encrypt32(1296765186), + this.instances4.alice.encrypt64(18439742981119094705), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 2 (1296765182, 1296765186)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(1296765182), + this.instances4.alice.encrypt64(1296765186), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 3 (1296765186, 1296765186)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(1296765186), + this.instances4.alice.encrypt64(1296765186), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint32, euint64) => ebool test 4 (1296765186, 1296765182)', async function () { const res = await this.contract4.gt_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(1296765186), + this.instances4.alice.encrypt64(1296765182), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 1 (2, 2235)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 1 (3652038615, 18440248369616077365)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(2), - this.instances4.alice.encrypt64(2235), + this.instances4.alice.encrypt32(3652038615), + this.instances4.alice.encrypt64(18440248369616077365), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 2 (3652038611, 3652038615)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(3652038611), + this.instances4.alice.encrypt64(3652038615), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 3 (3652038615, 3652038615)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(3652038615), + this.instances4.alice.encrypt64(3652038615), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint32, euint64) => ebool test 4 (3652038615, 3652038611)', async function () { const res = await this.contract4.le_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(3652038615), + this.instances4.alice.encrypt64(3652038611), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 1 (4, 5352)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 1 (1728686329, 18442541149578902807)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(5352), + this.instances4.alice.encrypt32(1728686329), + this.instances4.alice.encrypt64(18442541149578902807), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 2 (1728686325, 1728686329)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(1728686325), + this.instances4.alice.encrypt64(1728686329), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 3 (1728686329, 1728686329)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(1728686329), + this.instances4.alice.encrypt64(1728686329), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, euint64) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint32, euint64) => ebool test 4 (1728686329, 1728686325)', async function () { const res = await this.contract4.lt_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(1728686329), + this.instances4.alice.encrypt64(1728686325), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 1 (45, 5751)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 1 (968740054, 18439525226452222255)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(45), - this.instances4.alice.encrypt64(5751), + this.instances4.alice.encrypt32(968740054), + this.instances4.alice.encrypt64(18439525226452222255), ); - expect(res).to.equal(45n); + expect(res).to.equal(968740054n); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 2 (41, 45)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 2 (968740050, 968740054)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(41), - this.instances4.alice.encrypt64(45), + this.instances4.alice.encrypt32(968740050), + this.instances4.alice.encrypt64(968740054), ); - expect(res).to.equal(41n); + expect(res).to.equal(968740050n); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 3 (45, 45)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 3 (968740054, 968740054)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(45), - this.instances4.alice.encrypt64(45), + this.instances4.alice.encrypt32(968740054), + this.instances4.alice.encrypt64(968740054), ); - expect(res).to.equal(45n); + expect(res).to.equal(968740054n); }); - it('test operator "min" overload (euint32, euint64) => euint64 test 4 (45, 41)', async function () { + it('test operator "min" overload (euint32, euint64) => euint64 test 4 (968740054, 968740050)', async function () { const res = await this.contract4.min_euint32_euint64( - this.instances4.alice.encrypt32(45), - this.instances4.alice.encrypt64(41), + this.instances4.alice.encrypt32(968740054), + this.instances4.alice.encrypt64(968740050), ); - expect(res).to.equal(41n); + expect(res).to.equal(968740050n); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 1 (4, 2425)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 1 (340812031, 18443150842651286449)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(2425), + this.instances4.alice.encrypt32(340812031), + this.instances4.alice.encrypt64(18443150842651286449), ); - expect(res).to.equal(2425n); + expect(res).to.equal(18443150842651286449n); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 2 (340812027, 340812031)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(4), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(340812027), + this.instances4.alice.encrypt64(340812031), ); - expect(res).to.equal(8n); + expect(res).to.equal(340812031n); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 3 (340812031, 340812031)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt32(340812031), + this.instances4.alice.encrypt64(340812031), ); - expect(res).to.equal(8n); + expect(res).to.equal(340812031n); }); - it('test operator "max" overload (euint32, euint64) => euint64 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint32, euint64) => euint64 test 4 (340812031, 340812027)', async function () { const res = await this.contract4.max_euint32_euint64( - this.instances4.alice.encrypt32(8), - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt32(340812031), + this.instances4.alice.encrypt64(340812027), ); - expect(res).to.equal(8n); + expect(res).to.equal(340812031n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 1 (3, 1)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(3), 1); - expect(res).to.equal(4n); + it('test operator "add" overload (euint32, uint32) => euint32 test 1 (1081671644, 1277295402)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(1081671644), 1277295402); + expect(res).to.equal(2358967046n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(4), 8); - expect(res).to.equal(12n); + it('test operator "add" overload (euint32, uint32) => euint32 test 2 (829836783, 829836787)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(829836783), 829836787); + expect(res).to.equal(1659673570n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(8), 8); - expect(res).to.equal(16n); + it('test operator "add" overload (euint32, uint32) => euint32 test 3 (829836787, 829836787)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(829836787), 829836787); + expect(res).to.equal(1659673574n); }); - it('test operator "add" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { - const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(8), 4); - expect(res).to.equal(12n); + it('test operator "add" overload (euint32, uint32) => euint32 test 4 (829836787, 829836783)', async function () { + const res = await this.contract4.add_euint32_uint32(this.instances4.alice.encrypt32(829836787), 829836783); + expect(res).to.equal(1659673570n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 1 (8, 1)', async function () { - const res = await this.contract4.add_uint32_euint32(8, this.instances4.alice.encrypt32(1)); - expect(res).to.equal(9n); + it('test operator "add" overload (uint32, euint32) => euint32 test 1 (1301306419, 1277295402)', async function () { + const res = await this.contract4.add_uint32_euint32(1301306419, this.instances4.alice.encrypt32(1277295402)); + expect(res).to.equal(2578601821n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 2 (4, 8)', async function () { - const res = await this.contract4.add_uint32_euint32(4, this.instances4.alice.encrypt32(8)); - expect(res).to.equal(12n); + it('test operator "add" overload (uint32, euint32) => euint32 test 2 (829836783, 829836787)', async function () { + const res = await this.contract4.add_uint32_euint32(829836783, this.instances4.alice.encrypt32(829836787)); + expect(res).to.equal(1659673570n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 3 (8, 8)', async function () { - const res = await this.contract4.add_uint32_euint32(8, this.instances4.alice.encrypt32(8)); - expect(res).to.equal(16n); + it('test operator "add" overload (uint32, euint32) => euint32 test 3 (829836787, 829836787)', async function () { + const res = await this.contract4.add_uint32_euint32(829836787, this.instances4.alice.encrypt32(829836787)); + expect(res).to.equal(1659673574n); }); - it('test operator "add" overload (uint32, euint32) => euint32 test 4 (8, 4)', async function () { - const res = await this.contract4.add_uint32_euint32(8, this.instances4.alice.encrypt32(4)); - expect(res).to.equal(12n); + it('test operator "add" overload (uint32, euint32) => euint32 test 4 (829836787, 829836783)', async function () { + const res = await this.contract4.add_uint32_euint32(829836787, this.instances4.alice.encrypt32(829836783)); + expect(res).to.equal(1659673570n); }); - it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (8, 8)', async function () { - const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + it('test operator "sub" overload (euint32, uint32) => euint32 test 1 (3061205449, 3061205449)', async function () { + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(3061205449), 3061205449); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint32, uint32) => euint32 test 2 (8, 4)', async function () { - const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + it('test operator "sub" overload (euint32, uint32) => euint32 test 2 (3061205449, 3061205445)', async function () { + const res = await this.contract4.sub_euint32_uint32(this.instances4.alice.encrypt32(3061205449), 3061205445); expect(res).to.equal(4n); }); - it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (8, 8)', async function () { - const res = await this.contract4.sub_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + it('test operator "sub" overload (uint32, euint32) => euint32 test 1 (3061205449, 3061205449)', async function () { + const res = await this.contract4.sub_uint32_euint32(3061205449, this.instances4.alice.encrypt32(3061205449)); expect(res).to.equal(0n); }); - it('test operator "sub" overload (uint32, euint32) => euint32 test 2 (8, 4)', async function () { - const res = await this.contract4.sub_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + it('test operator "sub" overload (uint32, euint32) => euint32 test 2 (3061205449, 3061205445)', async function () { + const res = await this.contract4.sub_uint32_euint32(3061205449, this.instances4.alice.encrypt32(3061205445)); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (1, 4)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(1), 4); - expect(res).to.equal(4n); + it('test operator "mul" overload (euint32, uint32) => euint32 test 1 (42467, 65037)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(42467), 65037); + expect(res).to.equal(2761926279n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(4), 8); - expect(res).to.equal(32n); + it('test operator "mul" overload (euint32, uint32) => euint32 test 2 (41983, 41983)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(41983), 41983); + expect(res).to.equal(1762572289n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(8), 8); - expect(res).to.equal(64n); + it('test operator "mul" overload (euint32, uint32) => euint32 test 3 (41983, 41983)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(41983), 41983); + expect(res).to.equal(1762572289n); }); - it('test operator "mul" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { - const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(8), 4); - expect(res).to.equal(32n); + it('test operator "mul" overload (euint32, uint32) => euint32 test 4 (41983, 41983)', async function () { + const res = await this.contract4.mul_euint32_uint32(this.instances4.alice.encrypt32(41983), 41983); + expect(res).to.equal(1762572289n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (1, 4)', async function () { - const res = await this.contract4.mul_uint32_euint32(1, this.instances4.alice.encrypt32(4)); - expect(res).to.equal(4n); + it('test operator "mul" overload (uint32, euint32) => euint32 test 1 (17461, 65037)', async function () { + const res = await this.contract4.mul_uint32_euint32(17461, this.instances4.alice.encrypt32(65037)); + expect(res).to.equal(1135611057n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 2 (4, 8)', async function () { - const res = await this.contract4.mul_uint32_euint32(4, this.instances4.alice.encrypt32(8)); - expect(res).to.equal(32n); + it('test operator "mul" overload (uint32, euint32) => euint32 test 2 (41983, 41983)', async function () { + const res = await this.contract4.mul_uint32_euint32(41983, this.instances4.alice.encrypt32(41983)); + expect(res).to.equal(1762572289n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 3 (8, 8)', async function () { - const res = await this.contract4.mul_uint32_euint32(8, this.instances4.alice.encrypt32(8)); - expect(res).to.equal(64n); + it('test operator "mul" overload (uint32, euint32) => euint32 test 3 (41983, 41983)', async function () { + const res = await this.contract4.mul_uint32_euint32(41983, this.instances4.alice.encrypt32(41983)); + expect(res).to.equal(1762572289n); }); - it('test operator "mul" overload (uint32, euint32) => euint32 test 4 (8, 4)', async function () { - const res = await this.contract4.mul_uint32_euint32(8, this.instances4.alice.encrypt32(4)); - expect(res).to.equal(32n); + it('test operator "mul" overload (uint32, euint32) => euint32 test 4 (41983, 41983)', async function () { + const res = await this.contract4.mul_uint32_euint32(41983, this.instances4.alice.encrypt32(41983)); + expect(res).to.equal(1762572289n); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 1 (1, 12)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(1), 12); - expect(res).to.equal(0n); + it('test operator "div" overload (euint32, uint32) => euint32 test 1 (1945845245, 755191882)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(1945845245), 755191882); + expect(res).to.equal(2n); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + it('test operator "div" overload (euint32, uint32) => euint32 test 2 (1945845241, 1945845245)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(1945845241), 1945845245); expect(res).to.equal(0n); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + it('test operator "div" overload (euint32, uint32) => euint32 test 3 (1945845245, 1945845245)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(1945845245), 1945845245); expect(res).to.equal(1n); }); - it('test operator "div" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { - const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(8), 4); - expect(res).to.equal(2n); + it('test operator "div" overload (euint32, uint32) => euint32 test 4 (1945845245, 1945845241)', async function () { + const res = await this.contract4.div_euint32_uint32(this.instances4.alice.encrypt32(1945845245), 1945845241); + expect(res).to.equal(1n); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (1, 1)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(1), 1); - expect(res).to.equal(0n); + it('test operator "rem" overload (euint32, uint32) => euint32 test 1 (2521442787, 706504920)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(2521442787), 706504920); + expect(res).to.equal(401928027n); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(4), 8); - expect(res).to.equal(4n); + it('test operator "rem" overload (euint32, uint32) => euint32 test 2 (2521442783, 2521442787)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(2521442783), 2521442787); + expect(res).to.equal(2521442783n); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + it('test operator "rem" overload (euint32, uint32) => euint32 test 3 (2521442787, 2521442787)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(2521442787), 2521442787); expect(res).to.equal(0n); }); - it('test operator "rem" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { - const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(8), 4); - expect(res).to.equal(0n); + it('test operator "rem" overload (euint32, uint32) => euint32 test 4 (2521442787, 2521442783)', async function () { + const res = await this.contract4.rem_euint32_uint32(this.instances4.alice.encrypt32(2521442787), 2521442783); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 1 (1, 3)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(1), 3); + it('test operator "eq" overload (euint32, uint32) => ebool test 1 (3674813327, 340447461)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(3674813327), 340447461); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + it('test operator "eq" overload (euint32, uint32) => ebool test 2 (3173886287, 3173886291)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(3173886287), 3173886291); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + it('test operator "eq" overload (euint32, uint32) => ebool test 3 (3173886291, 3173886291)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(3173886291), 3173886291); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + it('test operator "eq" overload (euint32, uint32) => ebool test 4 (3173886291, 3173886287)', async function () { + const res = await this.contract4.eq_euint32_uint32(this.instances4.alice.encrypt32(3173886291), 3173886287); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 1 (1, 3)', async function () { - const res = await this.contract4.eq_uint32_euint32(1, this.instances4.alice.encrypt32(3)); + it('test operator "eq" overload (uint32, euint32) => ebool test 1 (630917914, 340447461)', async function () { + const res = await this.contract4.eq_uint32_euint32(630917914, this.instances4.alice.encrypt32(340447461)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.eq_uint32_euint32(4, this.instances4.alice.encrypt32(8)); + it('test operator "eq" overload (uint32, euint32) => ebool test 2 (3173886287, 3173886291)', async function () { + const res = await this.contract4.eq_uint32_euint32(3173886287, this.instances4.alice.encrypt32(3173886291)); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.eq_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + it('test operator "eq" overload (uint32, euint32) => ebool test 3 (3173886291, 3173886291)', async function () { + const res = await this.contract4.eq_uint32_euint32(3173886291, this.instances4.alice.encrypt32(3173886291)); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.eq_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + it('test operator "eq" overload (uint32, euint32) => ebool test 4 (3173886291, 3173886287)', async function () { + const res = await this.contract4.eq_uint32_euint32(3173886291, this.instances4.alice.encrypt32(3173886287)); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 1 (24, 1)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(24), 1); + it('test operator "ne" overload (euint32, uint32) => ebool test 1 (40863923, 740881042)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(40863923), 740881042); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + it('test operator "ne" overload (euint32, uint32) => ebool test 2 (40863919, 40863923)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(40863919), 40863923); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + it('test operator "ne" overload (euint32, uint32) => ebool test 3 (40863923, 40863923)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(40863923), 40863923); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + it('test operator "ne" overload (euint32, uint32) => ebool test 4 (40863923, 40863919)', async function () { + const res = await this.contract4.ne_euint32_uint32(this.instances4.alice.encrypt32(40863923), 40863919); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 1 (1, 1)', async function () { - const res = await this.contract4.ne_uint32_euint32(1, this.instances4.alice.encrypt32(1)); - expect(res).to.equal(false); + it('test operator "ne" overload (uint32, euint32) => ebool test 1 (3944008003, 740881042)', async function () { + const res = await this.contract4.ne_uint32_euint32(3944008003, this.instances4.alice.encrypt32(740881042)); + expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.ne_uint32_euint32(4, this.instances4.alice.encrypt32(8)); + it('test operator "ne" overload (uint32, euint32) => ebool test 2 (40863919, 40863923)', async function () { + const res = await this.contract4.ne_uint32_euint32(40863919, this.instances4.alice.encrypt32(40863923)); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.ne_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + it('test operator "ne" overload (uint32, euint32) => ebool test 3 (40863923, 40863923)', async function () { + const res = await this.contract4.ne_uint32_euint32(40863923, this.instances4.alice.encrypt32(40863923)); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.ne_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + it('test operator "ne" overload (uint32, euint32) => ebool test 4 (40863923, 40863919)', async function () { + const res = await this.contract4.ne_uint32_euint32(40863923, this.instances4.alice.encrypt32(40863919)); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 1 (1, 2)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(1), 2); + it('test operator "ge" overload (euint32, uint32) => ebool test 1 (1970784794, 2198890323)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(1970784794), 2198890323); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + it('test operator "ge" overload (euint32, uint32) => ebool test 2 (1596956630, 1596956634)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(1596956630), 1596956634); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + it('test operator "ge" overload (euint32, uint32) => ebool test 3 (1596956634, 1596956634)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(1596956634), 1596956634); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + it('test operator "ge" overload (euint32, uint32) => ebool test 4 (1596956634, 1596956630)', async function () { + const res = await this.contract4.ge_euint32_uint32(this.instances4.alice.encrypt32(1596956634), 1596956630); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 1 (2, 2)', async function () { - const res = await this.contract4.ge_uint32_euint32(2, this.instances4.alice.encrypt32(2)); + it('test operator "ge" overload (uint32, euint32) => ebool test 1 (3128599756, 2198890323)', async function () { + const res = await this.contract4.ge_uint32_euint32(3128599756, this.instances4.alice.encrypt32(2198890323)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.ge_uint32_euint32(4, this.instances4.alice.encrypt32(8)); + it('test operator "ge" overload (uint32, euint32) => ebool test 2 (1596956630, 1596956634)', async function () { + const res = await this.contract4.ge_uint32_euint32(1596956630, this.instances4.alice.encrypt32(1596956634)); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.ge_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + it('test operator "ge" overload (uint32, euint32) => ebool test 3 (1596956634, 1596956634)', async function () { + const res = await this.contract4.ge_uint32_euint32(1596956634, this.instances4.alice.encrypt32(1596956634)); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.ge_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + it('test operator "ge" overload (uint32, euint32) => ebool test 4 (1596956634, 1596956630)', async function () { + const res = await this.contract4.ge_uint32_euint32(1596956634, this.instances4.alice.encrypt32(1596956630)); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 1 (1, 3)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(1), 3); + it('test operator "gt" overload (euint32, uint32) => ebool test 1 (2212514392, 3587264713)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(2212514392), 3587264713); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + it('test operator "gt" overload (euint32, uint32) => ebool test 2 (854163755, 854163759)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(854163755), 854163759); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + it('test operator "gt" overload (euint32, uint32) => ebool test 3 (854163759, 854163759)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(854163759), 854163759); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + it('test operator "gt" overload (euint32, uint32) => ebool test 4 (854163759, 854163755)', async function () { + const res = await this.contract4.gt_euint32_uint32(this.instances4.alice.encrypt32(854163759), 854163755); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 1 (1, 3)', async function () { - const res = await this.contract4.gt_uint32_euint32(1, this.instances4.alice.encrypt32(3)); + it('test operator "gt" overload (uint32, euint32) => ebool test 1 (405003775, 3587264713)', async function () { + const res = await this.contract4.gt_uint32_euint32(405003775, this.instances4.alice.encrypt32(3587264713)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.gt_uint32_euint32(4, this.instances4.alice.encrypt32(8)); + it('test operator "gt" overload (uint32, euint32) => ebool test 2 (854163755, 854163759)', async function () { + const res = await this.contract4.gt_uint32_euint32(854163755, this.instances4.alice.encrypt32(854163759)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.gt_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + it('test operator "gt" overload (uint32, euint32) => ebool test 3 (854163759, 854163759)', async function () { + const res = await this.contract4.gt_uint32_euint32(854163759, this.instances4.alice.encrypt32(854163759)); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.gt_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + it('test operator "gt" overload (uint32, euint32) => ebool test 4 (854163759, 854163755)', async function () { + const res = await this.contract4.gt_uint32_euint32(854163759, this.instances4.alice.encrypt32(854163755)); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 1 (25, 3)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(25), 3); - expect(res).to.equal(false); + it('test operator "le" overload (euint32, uint32) => ebool test 1 (989604334, 2400461325)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(989604334), 2400461325); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + it('test operator "le" overload (euint32, uint32) => ebool test 2 (989604330, 989604334)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(989604330), 989604334); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + it('test operator "le" overload (euint32, uint32) => ebool test 3 (989604334, 989604334)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(989604334), 989604334); expect(res).to.equal(true); }); - it('test operator "le" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + it('test operator "le" overload (euint32, uint32) => ebool test 4 (989604334, 989604330)', async function () { + const res = await this.contract4.le_euint32_uint32(this.instances4.alice.encrypt32(989604334), 989604330); expect(res).to.equal(false); }); - it('test operator "le" overload (uint32, euint32) => ebool test 1 (2, 3)', async function () { - const res = await this.contract4.le_uint32_euint32(2, this.instances4.alice.encrypt32(3)); - expect(res).to.equal(true); + it('test operator "le" overload (uint32, euint32) => ebool test 1 (3171491075, 2400461325)', async function () { + const res = await this.contract4.le_uint32_euint32(3171491075, this.instances4.alice.encrypt32(2400461325)); + expect(res).to.equal(false); }); - it('test operator "le" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.le_uint32_euint32(4, this.instances4.alice.encrypt32(8)); + it('test operator "le" overload (uint32, euint32) => ebool test 2 (989604330, 989604334)', async function () { + const res = await this.contract4.le_uint32_euint32(989604330, this.instances4.alice.encrypt32(989604334)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.le_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + it('test operator "le" overload (uint32, euint32) => ebool test 3 (989604334, 989604334)', async function () { + const res = await this.contract4.le_uint32_euint32(989604334, this.instances4.alice.encrypt32(989604334)); expect(res).to.equal(true); }); - it('test operator "le" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.le_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + it('test operator "le" overload (uint32, euint32) => ebool test 4 (989604334, 989604330)', async function () { + const res = await this.contract4.le_uint32_euint32(989604334, this.instances4.alice.encrypt32(989604330)); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 1 (2, 2)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(2), 2); + it('test operator "lt" overload (euint32, uint32) => ebool test 1 (3432727362, 340267218)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(3432727362), 340267218); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(4), 8); + it('test operator "lt" overload (euint32, uint32) => ebool test 2 (2953663244, 2953663248)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(2953663244), 2953663248); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(8), 8); + it('test operator "lt" overload (euint32, uint32) => ebool test 3 (2953663248, 2953663248)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(2953663248), 2953663248); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint32, uint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(8), 4); + it('test operator "lt" overload (euint32, uint32) => ebool test 4 (2953663248, 2953663244)', async function () { + const res = await this.contract4.lt_euint32_uint32(this.instances4.alice.encrypt32(2953663248), 2953663244); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 1 (4, 2)', async function () { - const res = await this.contract4.lt_uint32_euint32(4, this.instances4.alice.encrypt32(2)); - expect(res).to.equal(false); + it('test operator "lt" overload (uint32, euint32) => ebool test 1 (254860119, 340267218)', async function () { + const res = await this.contract4.lt_uint32_euint32(254860119, this.instances4.alice.encrypt32(340267218)); + expect(res).to.equal(true); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 2 (4, 8)', async function () { - const res = await this.contract4.lt_uint32_euint32(4, this.instances4.alice.encrypt32(8)); + it('test operator "lt" overload (uint32, euint32) => ebool test 2 (2953663244, 2953663248)', async function () { + const res = await this.contract4.lt_uint32_euint32(2953663244, this.instances4.alice.encrypt32(2953663248)); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 3 (8, 8)', async function () { - const res = await this.contract4.lt_uint32_euint32(8, this.instances4.alice.encrypt32(8)); + it('test operator "lt" overload (uint32, euint32) => ebool test 3 (2953663248, 2953663248)', async function () { + const res = await this.contract4.lt_uint32_euint32(2953663248, this.instances4.alice.encrypt32(2953663248)); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint32, euint32) => ebool test 4 (8, 4)', async function () { - const res = await this.contract4.lt_uint32_euint32(8, this.instances4.alice.encrypt32(4)); + it('test operator "lt" overload (uint32, euint32) => ebool test 4 (2953663248, 2953663244)', async function () { + const res = await this.contract4.lt_uint32_euint32(2953663248, this.instances4.alice.encrypt32(2953663244)); expect(res).to.equal(false); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 1 (3, 3)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(3), 3); - expect(res).to.equal(3n); + it('test operator "min" overload (euint32, uint32) => euint32 test 1 (1800381916, 3488347882)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(1800381916), 3488347882); + expect(res).to.equal(1800381916n); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(4), 8); - expect(res).to.equal(4n); + it('test operator "min" overload (euint32, uint32) => euint32 test 2 (1800381912, 1800381916)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(1800381912), 1800381916); + expect(res).to.equal(1800381912n); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(8), 8); - expect(res).to.equal(8n); + it('test operator "min" overload (euint32, uint32) => euint32 test 3 (1800381916, 1800381916)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(1800381916), 1800381916); + expect(res).to.equal(1800381916n); }); - it('test operator "min" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { - const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(8), 4); - expect(res).to.equal(4n); + it('test operator "min" overload (euint32, uint32) => euint32 test 4 (1800381916, 1800381912)', async function () { + const res = await this.contract4.min_euint32_uint32(this.instances4.alice.encrypt32(1800381916), 1800381912); + expect(res).to.equal(1800381912n); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 1 (45, 3)', async function () { - const res = await this.contract4.min_uint32_euint32(45, this.instances4.alice.encrypt32(3)); - expect(res).to.equal(3n); + it('test operator "min" overload (uint32, euint32) => euint32 test 1 (2638635782, 3488347882)', async function () { + const res = await this.contract4.min_uint32_euint32(2638635782, this.instances4.alice.encrypt32(3488347882)); + expect(res).to.equal(2638635782n); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 2 (4, 8)', async function () { - const res = await this.contract4.min_uint32_euint32(4, this.instances4.alice.encrypt32(8)); - expect(res).to.equal(4n); + it('test operator "min" overload (uint32, euint32) => euint32 test 2 (1800381912, 1800381916)', async function () { + const res = await this.contract4.min_uint32_euint32(1800381912, this.instances4.alice.encrypt32(1800381916)); + expect(res).to.equal(1800381912n); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 3 (8, 8)', async function () { - const res = await this.contract4.min_uint32_euint32(8, this.instances4.alice.encrypt32(8)); - expect(res).to.equal(8n); + it('test operator "min" overload (uint32, euint32) => euint32 test 3 (1800381916, 1800381916)', async function () { + const res = await this.contract4.min_uint32_euint32(1800381916, this.instances4.alice.encrypt32(1800381916)); + expect(res).to.equal(1800381916n); }); - it('test operator "min" overload (uint32, euint32) => euint32 test 4 (8, 4)', async function () { - const res = await this.contract4.min_uint32_euint32(8, this.instances4.alice.encrypt32(4)); - expect(res).to.equal(4n); + it('test operator "min" overload (uint32, euint32) => euint32 test 4 (1800381916, 1800381912)', async function () { + const res = await this.contract4.min_uint32_euint32(1800381916, this.instances4.alice.encrypt32(1800381912)); + expect(res).to.equal(1800381912n); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 1 (9, 12)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(9), 12); - expect(res).to.equal(12n); + it('test operator "max" overload (euint32, uint32) => euint32 test 1 (2043312979, 706283813)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(2043312979), 706283813); + expect(res).to.equal(2043312979n); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 2 (4, 8)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(4), 8); - expect(res).to.equal(8n); + it('test operator "max" overload (euint32, uint32) => euint32 test 2 (2043312975, 2043312979)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(2043312975), 2043312979); + expect(res).to.equal(2043312979n); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 3 (8, 8)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8), 8); - expect(res).to.equal(8n); + it('test operator "max" overload (euint32, uint32) => euint32 test 3 (2043312979, 2043312979)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(2043312979), 2043312979); + expect(res).to.equal(2043312979n); }); - it('test operator "max" overload (euint32, uint32) => euint32 test 4 (8, 4)', async function () { - const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(8), 4); - expect(res).to.equal(8n); + it('test operator "max" overload (euint32, uint32) => euint32 test 4 (2043312979, 2043312975)', async function () { + const res = await this.contract4.max_euint32_uint32(this.instances4.alice.encrypt32(2043312979), 2043312975); + expect(res).to.equal(2043312979n); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 1 (4, 12)', async function () { - const res = await this.contract4.max_uint32_euint32(4, this.instances4.alice.encrypt32(12)); - expect(res).to.equal(12n); + it('test operator "max" overload (uint32, euint32) => euint32 test 1 (1094445398, 706283813)', async function () { + const res = await this.contract4.max_uint32_euint32(1094445398, this.instances4.alice.encrypt32(706283813)); + expect(res).to.equal(1094445398n); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 2 (4, 8)', async function () { - const res = await this.contract4.max_uint32_euint32(4, this.instances4.alice.encrypt32(8)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint32, euint32) => euint32 test 2 (2043312975, 2043312979)', async function () { + const res = await this.contract4.max_uint32_euint32(2043312975, this.instances4.alice.encrypt32(2043312979)); + expect(res).to.equal(2043312979n); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 3 (8, 8)', async function () { - const res = await this.contract4.max_uint32_euint32(8, this.instances4.alice.encrypt32(8)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint32, euint32) => euint32 test 3 (2043312979, 2043312979)', async function () { + const res = await this.contract4.max_uint32_euint32(2043312979, this.instances4.alice.encrypt32(2043312979)); + expect(res).to.equal(2043312979n); }); - it('test operator "max" overload (uint32, euint32) => euint32 test 4 (8, 4)', async function () { - const res = await this.contract4.max_uint32_euint32(8, this.instances4.alice.encrypt32(4)); - expect(res).to.equal(8n); + it('test operator "max" overload (uint32, euint32) => euint32 test 4 (2043312979, 2043312975)', async function () { + const res = await this.contract4.max_uint32_euint32(2043312979, this.instances4.alice.encrypt32(2043312975)); + expect(res).to.equal(2043312979n); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 1 (10, 1)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 1 (9, 2)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt4(1), + this.instances4.alice.encrypt64(9), + this.instances4.alice.encrypt4(2), ); expect(res).to.equal(11n); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 2 (6, 8)', async function () { const res = await this.contract4.add_euint64_euint4( - this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt64(6), this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(12n); + expect(res).to.equal(14n); }); it('test operator "add" overload (euint64, euint4) => euint64 test 3 (5, 5)', async function () { @@ -10604,12 +10604,12 @@ describe('TFHE operations', function () { expect(res).to.equal(10n); }); - it('test operator "add" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint64, euint4) => euint64 test 4 (8, 6)', async function () { const res = await this.contract4.add_euint64_euint4( this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt4(6), ); - expect(res).to.equal(12n); + expect(res).to.equal(14n); }); it('test operator "sub" overload (euint64, euint4) => euint64 test 1 (8, 8)', async function () { @@ -10628,12 +10628,12 @@ describe('TFHE operations', function () { expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint4) => euint64 test 1 (15, 1)', async function () { + it('test operator "mul" overload (euint64, euint4) => euint64 test 1 (5, 2)', async function () { const res = await this.contract4.mul_euint64_euint4( - this.instances4.alice.encrypt64(15), - this.instances4.alice.encrypt4(1), + this.instances4.alice.encrypt64(5), + this.instances4.alice.encrypt4(2), ); - expect(res).to.equal(15n); + expect(res).to.equal(10n); }); it('test operator "mul" overload (euint64, euint4) => euint64 test 2 (3, 5)', async function () { @@ -10660,332 +10660,332 @@ describe('TFHE operations', function () { expect(res).to.equal(15n); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 1 (2380, 1)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 1 (18442416087216426369, 12)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(2380), - this.instances4.alice.encrypt4(1), + this.instances4.alice.encrypt64(18442416087216426369), + this.instances4.alice.encrypt4(12), ); expect(res).to.equal(0n); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 2 (8, 12)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(12), ); - expect(res).to.equal(0n); + expect(res).to.equal(8n); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 3 (12, 12)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt4(12), ); - expect(res).to.equal(8n); + expect(res).to.equal(12n); }); - it('test operator "and" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint64, euint4) => euint64 test 4 (12, 8)', async function () { const res = await this.contract4.and_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt4(8), ); - expect(res).to.equal(0n); + expect(res).to.equal(8n); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 1 (3328, 3)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 1 (18445233461885169423, 12)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(3328), - this.instances4.alice.encrypt4(3), + this.instances4.alice.encrypt64(18445233461885169423), + this.instances4.alice.encrypt4(12), ); - expect(res).to.equal(3331n); + expect(res).to.equal(18445233461885169423n); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 2 (8, 12)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(12), ); expect(res).to.equal(12n); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 3 (12, 12)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt4(12), ); - expect(res).to.equal(8n); + expect(res).to.equal(12n); }); - it('test operator "or" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint64, euint4) => euint64 test 4 (12, 8)', async function () { const res = await this.contract4.or_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint64, euint4) => euint64 test 1 (5602, 3)', async function () { + it('test operator "xor" overload (euint64, euint4) => euint64 test 1 (18444022948851042337, 14)', async function () { const res = await this.contract4.xor_euint64_euint4( - this.instances4.alice.encrypt64(5602), - this.instances4.alice.encrypt4(3), + this.instances4.alice.encrypt64(18444022948851042337), + this.instances4.alice.encrypt4(14), ); - expect(res).to.equal(5601n); + expect(res).to.equal(18444022948851042351n); }); - it('test operator "xor" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { - const res = await this.contract4.xor_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + it('test operator "xor" overload (euint64, euint4) => euint64 test 2 (10, 14)', async function () { + const res = await this.contract4.xor_euint64_euint4( + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(14), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint64, euint4) => euint64 test 3 (14, 14)', async function () { const res = await this.contract4.xor_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(14), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint64, euint4) => euint64 test 4 (14, 10)', async function () { const res = await this.contract4.xor_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(10), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint64, euint4) => ebool test 1 (55032, 1)', async function () { + it('test operator "eq" overload (euint64, euint4) => ebool test 1 (18439121948970600941, 14)', async function () { const res = await this.contract4.eq_euint64_euint4( - this.instances4.alice.encrypt64(55032), - this.instances4.alice.encrypt4(1), + this.instances4.alice.encrypt64(18439121948970600941), + this.instances4.alice.encrypt4(14), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint64, euint4) => ebool test 2 (10, 14)', async function () { const res = await this.contract4.eq_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(14), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint64, euint4) => ebool test 3 (14, 14)', async function () { const res = await this.contract4.eq_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(14), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint64, euint4) => ebool test 4 (14, 10)', async function () { const res = await this.contract4.eq_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(10), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 1 (3163, 15)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 1 (18442748864669273899, 3)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(3163), - this.instances4.alice.encrypt4(15), + this.instances4.alice.encrypt64(18442748864669273899), + this.instances4.alice.encrypt4(3), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 2 (11, 15)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(11), - this.instances4.alice.encrypt4(15), + this.instances4.alice.encrypt64(4), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 3 (15, 15)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(15), - this.instances4.alice.encrypt4(15), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint4) => ebool test 4 (15, 11)', async function () { + it('test operator "ne" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { const res = await this.contract4.ne_euint64_euint4( - this.instances4.alice.encrypt64(15), - this.instances4.alice.encrypt4(11), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(4), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 1 (3383, 2)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 1 (18438518295027982843, 12)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(3383), - this.instances4.alice.encrypt4(2), + this.instances4.alice.encrypt64(18438518295027982843), + this.instances4.alice.encrypt4(12), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 2 (8, 12)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(8), + this.instances4.alice.encrypt4(12), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 3 (12, 12)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt4(12), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint64, euint4) => ebool test 4 (12, 8)', async function () { const res = await this.contract4.ge_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(12), + this.instances4.alice.encrypt4(8), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 1 (2050, 1)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 1 (18445028672073920305, 11)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(2050), - this.instances4.alice.encrypt4(1), + this.instances4.alice.encrypt64(18445028672073920305), + this.instances4.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 2 (7, 11)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(7), + this.instances4.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 3 (11, 11)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint64, euint4) => ebool test 4 (11, 7)', async function () { const res = await this.contract4.gt_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt4(7), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint4) => ebool test 1 (4742, 7)', async function () { + it('test operator "le" overload (euint64, euint4) => ebool test 1 (18446127513373335953, 14)', async function () { const res = await this.contract4.le_euint64_euint4( - this.instances4.alice.encrypt64(4742), - this.instances4.alice.encrypt4(7), + this.instances4.alice.encrypt64(18446127513373335953), + this.instances4.alice.encrypt4(14), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint64, euint4) => ebool test 2 (10, 14)', async function () { const res = await this.contract4.le_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(14), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint64, euint4) => ebool test 3 (14, 14)', async function () { const res = await this.contract4.le_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(14), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint64, euint4) => ebool test 4 (14, 10)', async function () { const res = await this.contract4.le_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(10), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 1 (16329, 1)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 1 (18440890716948813157, 11)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(16329), - this.instances4.alice.encrypt4(1), + this.instances4.alice.encrypt64(18440890716948813157), + this.instances4.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 2 (7, 11)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(7), + this.instances4.alice.encrypt4(11), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 3 (11, 11)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt4(11), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint4) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint64, euint4) => ebool test 4 (11, 7)', async function () { const res = await this.contract4.lt_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(11), + this.instances4.alice.encrypt4(7), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint4) => euint64 test 1 (2618, 3)', async function () { + it('test operator "min" overload (euint64, euint4) => euint64 test 1 (18437774930056492317, 14)', async function () { const res = await this.contract4.min_euint64_euint4( - this.instances4.alice.encrypt64(2618), - this.instances4.alice.encrypt4(3), + this.instances4.alice.encrypt64(18437774930056492317), + this.instances4.alice.encrypt4(14), ); - expect(res).to.equal(3n); + expect(res).to.equal(14n); }); - it('test operator "min" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint64, euint4) => euint64 test 2 (10, 14)', async function () { const res = await this.contract4.min_euint64_euint4( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(10), + this.instances4.alice.encrypt4(14), ); - expect(res).to.equal(4n); + expect(res).to.equal(10n); }); - it('test operator "min" overload (euint64, euint4) => euint64 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint64, euint4) => euint64 test 3 (14, 14)', async function () { const res = await this.contract4.min_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(8), + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(14), ); - expect(res).to.equal(8n); + expect(res).to.equal(14n); }); - it('test operator "min" overload (euint64, euint4) => euint64 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint64, euint4) => euint64 test 4 (14, 10)', async function () { const res = await this.contract4.min_euint64_euint4( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt4(4), + this.instances4.alice.encrypt64(14), + this.instances4.alice.encrypt4(10), ); - expect(res).to.equal(4n); + expect(res).to.equal(10n); }); - it('test operator "max" overload (euint64, euint4) => euint64 test 1 (2374, 3)', async function () { + it('test operator "max" overload (euint64, euint4) => euint64 test 1 (18441711596093702931, 1)', async function () { const res = await this.contract4.max_euint64_euint4( - this.instances4.alice.encrypt64(2374), - this.instances4.alice.encrypt4(3), + this.instances4.alice.encrypt64(18441711596093702931), + this.instances4.alice.encrypt4(1), ); - expect(res).to.equal(2374n); + expect(res).to.equal(18441711596093702931n); }); it('test operator "max" overload (euint64, euint4) => euint64 test 2 (4, 8)', async function () { @@ -11012,412 +11012,412 @@ describe('TFHE operations', function () { expect(res).to.equal(8n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 1 (141, 2)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 1 (129, 2)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(141), + this.instances4.alice.encrypt64(129), this.instances4.alice.encrypt8(2), ); - expect(res).to.equal(143n); + expect(res).to.equal(131n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 2 (10, 14)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 2 (98, 102)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(10), - this.instances4.alice.encrypt8(14), + this.instances4.alice.encrypt64(98), + this.instances4.alice.encrypt8(102), ); - expect(res).to.equal(24n); + expect(res).to.equal(200n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 3 (14, 14)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 3 (102, 102)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(14), - this.instances4.alice.encrypt8(14), + this.instances4.alice.encrypt64(102), + this.instances4.alice.encrypt8(102), ); - expect(res).to.equal(28n); + expect(res).to.equal(204n); }); - it('test operator "add" overload (euint64, euint8) => euint64 test 4 (14, 10)', async function () { + it('test operator "add" overload (euint64, euint8) => euint64 test 4 (102, 98)', async function () { const res = await this.contract4.add_euint64_euint8( - this.instances4.alice.encrypt64(14), - this.instances4.alice.encrypt8(10), + this.instances4.alice.encrypt64(102), + this.instances4.alice.encrypt8(98), ); - expect(res).to.equal(24n); + expect(res).to.equal(200n); }); - it('test operator "sub" overload (euint64, euint8) => euint64 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint64, euint8) => euint64 test 1 (101, 101)', async function () { const res = await this.contract4.sub_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(101), + this.instances4.alice.encrypt8(101), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, euint8) => euint64 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint64, euint8) => euint64 test 2 (101, 97)', async function () { const res = await this.contract4.sub_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt64(101), + this.instances4.alice.encrypt8(97), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (109, 2)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 1 (65, 2)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(109), + this.instances4.alice.encrypt64(65), this.instances4.alice.encrypt8(2), ); - expect(res).to.equal(218n); + expect(res).to.equal(130n); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 2 (15, 15)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(15), + this.instances4.alice.encrypt8(15), ); - expect(res).to.equal(32n); + expect(res).to.equal(225n); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 3 (15, 15)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(15), + this.instances4.alice.encrypt8(15), ); - expect(res).to.equal(64n); + expect(res).to.equal(225n); }); - it('test operator "mul" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint64, euint8) => euint64 test 4 (15, 15)', async function () { const res = await this.contract4.mul_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt64(15), + this.instances4.alice.encrypt8(15), ); - expect(res).to.equal(32n); + expect(res).to.equal(225n); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 1 (2380, 1)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 1 (18438525099029165039, 71)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(2380), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt64(18438525099029165039), + this.instances4.alice.encrypt8(71), ); - expect(res).to.equal(0n); + expect(res).to.equal(71n); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 2 (67, 71)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(67), + this.instances4.alice.encrypt8(71), ); - expect(res).to.equal(0n); + expect(res).to.equal(67n); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 3 (71, 71)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(71), + this.instances4.alice.encrypt8(71), ); - expect(res).to.equal(8n); + expect(res).to.equal(71n); }); - it('test operator "and" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint64, euint8) => euint64 test 4 (71, 67)', async function () { const res = await this.contract4.and_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt64(71), + this.instances4.alice.encrypt8(67), ); - expect(res).to.equal(0n); + expect(res).to.equal(67n); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 1 (3328, 1)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 1 (18445900286060653541, 17)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(3328), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt64(18445900286060653541), + this.instances4.alice.encrypt8(17), ); - expect(res).to.equal(3329n); + expect(res).to.equal(18445900286060653557n); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 2 (13, 17)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(13), + this.instances4.alice.encrypt8(17), ); - expect(res).to.equal(12n); + expect(res).to.equal(29n); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 3 (17, 17)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(17), + this.instances4.alice.encrypt8(17), ); - expect(res).to.equal(8n); + expect(res).to.equal(17n); }); - it('test operator "or" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint64, euint8) => euint64 test 4 (17, 13)', async function () { const res = await this.contract4.or_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt64(17), + this.instances4.alice.encrypt8(13), ); - expect(res).to.equal(12n); + expect(res).to.equal(29n); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (5602, 5)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 1 (18439418694946486147, 205)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(5602), - this.instances4.alice.encrypt8(5), + this.instances4.alice.encrypt64(18439418694946486147), + this.instances4.alice.encrypt8(205), ); - expect(res).to.equal(5607n); + expect(res).to.equal(18439418694946486094n); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 2 (201, 205)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(201), + this.instances4.alice.encrypt8(205), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 3 (205, 205)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(205), + this.instances4.alice.encrypt8(205), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint64, euint8) => euint64 test 4 (205, 201)', async function () { const res = await this.contract4.xor_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt64(205), + this.instances4.alice.encrypt8(201), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 1 (55032, 1)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 1 (18441725985045807501, 52)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(55032), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt64(18441725985045807501), + this.instances4.alice.encrypt8(52), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 2 (48, 52)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(48), + this.instances4.alice.encrypt8(52), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 3 (52, 52)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(52), + this.instances4.alice.encrypt8(52), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint64, euint8) => ebool test 4 (52, 48)', async function () { const res = await this.contract4.eq_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt64(52), + this.instances4.alice.encrypt8(48), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 1 (3163, 2)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 1 (18437879735793971605, 183)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(3163), - this.instances4.alice.encrypt8(2), + this.instances4.alice.encrypt64(18437879735793971605), + this.instances4.alice.encrypt8(183), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 2 (179, 183)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(179), + this.instances4.alice.encrypt8(183), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 3 (183, 183)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(183), + this.instances4.alice.encrypt8(183), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint64, euint8) => ebool test 4 (183, 179)', async function () { const res = await this.contract4.ne_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt64(183), + this.instances4.alice.encrypt8(179), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 1 (3383, 1)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 1 (18439034739003983767, 245)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(3383), - this.instances4.alice.encrypt8(1), + this.instances4.alice.encrypt64(18439034739003983767), + this.instances4.alice.encrypt8(245), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 2 (241, 245)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(4), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(241), + this.instances4.alice.encrypt8(245), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 3 (245, 245)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(245), + this.instances4.alice.encrypt8(245), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint64, euint8) => ebool test 4 (245, 241)', async function () { const res = await this.contract4.ge_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(4), + this.instances4.alice.encrypt64(245), + this.instances4.alice.encrypt8(241), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 1 (2050, 12)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 1 (18444472755157488819, 101)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(2050), - this.instances4.alice.encrypt8(12), + this.instances4.alice.encrypt64(18444472755157488819), + this.instances4.alice.encrypt8(101), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 2 (8, 12)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 2 (97, 101)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(8), - this.instances4.alice.encrypt8(12), + this.instances4.alice.encrypt64(97), + this.instances4.alice.encrypt8(101), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 3 (12, 12)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 3 (101, 101)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(12), - this.instances4.alice.encrypt8(12), + this.instances4.alice.encrypt64(101), + this.instances4.alice.encrypt8(101), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint8) => ebool test 4 (12, 8)', async function () { + it('test operator "gt" overload (euint64, euint8) => ebool test 4 (101, 97)', async function () { const res = await this.contract4.gt_euint64_euint8( - this.instances4.alice.encrypt64(12), - this.instances4.alice.encrypt8(8), + this.instances4.alice.encrypt64(101), + this.instances4.alice.encrypt8(97), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 1 (4742, 1)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 1 (18446424442125229129, 19)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(4742), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt64(18446424442125229129), + this.instances5.alice.encrypt8(19), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 2 (15, 19)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt8(8), + this.instances5.alice.encrypt64(15), + this.instances5.alice.encrypt8(19), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 3 (19, 19)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt8(8), + this.instances5.alice.encrypt64(19), + this.instances5.alice.encrypt8(19), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint64, euint8) => ebool test 4 (19, 15)', async function () { const res = await this.contract5.le_euint64_euint8( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt8(4), + this.instances5.alice.encrypt64(19), + this.instances5.alice.encrypt8(15), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 1 (16329, 1)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 1 (18445717540030063977, 27)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(16329), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt64(18445717540030063977), + this.instances5.alice.encrypt8(27), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 2 (23, 27)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt8(8), + this.instances5.alice.encrypt64(23), + this.instances5.alice.encrypt8(27), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 3 (27, 27)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt8(8), + this.instances5.alice.encrypt64(27), + this.instances5.alice.encrypt8(27), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint8) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint64, euint8) => ebool test 4 (27, 23)', async function () { const res = await this.contract5.lt_euint64_euint8( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt8(4), + this.instances5.alice.encrypt64(27), + this.instances5.alice.encrypt8(23), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 1 (2618, 1)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 1 (18441639004244956281, 36)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(2618), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt64(18441639004244956281), + this.instances5.alice.encrypt8(36), ); - expect(res).to.equal(1n); + expect(res).to.equal(36n); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 2 (32, 36)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt8(8), + this.instances5.alice.encrypt64(32), + this.instances5.alice.encrypt8(36), ); - expect(res).to.equal(4n); + expect(res).to.equal(32n); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 3 (36, 36)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt8(8), + this.instances5.alice.encrypt64(36), + this.instances5.alice.encrypt8(36), ); - expect(res).to.equal(8n); + expect(res).to.equal(36n); }); - it('test operator "min" overload (euint64, euint8) => euint64 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint64, euint8) => euint64 test 4 (36, 32)', async function () { const res = await this.contract5.min_euint64_euint8( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt8(4), + this.instances5.alice.encrypt64(36), + this.instances5.alice.encrypt8(32), ); - expect(res).to.equal(4n); + expect(res).to.equal(32n); }); - it('test operator "max" overload (euint64, euint8) => euint64 test 1 (2374, 1)', async function () { + it('test operator "max" overload (euint64, euint8) => euint64 test 1 (18442614857754346699, 3)', async function () { const res = await this.contract5.max_euint64_euint8( - this.instances5.alice.encrypt64(2374), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt64(18442614857754346699), + this.instances5.alice.encrypt8(3), ); - expect(res).to.equal(2374n); + expect(res).to.equal(18442614857754346699n); }); it('test operator "max" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { @@ -11444,1765 +11444,2017 @@ describe('TFHE operations', function () { expect(res).to.equal(8n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 1 (17823, 1)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 1 (65532, 2)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(17823), - this.instances5.alice.encrypt16(1), + this.instances5.alice.encrypt64(65532), + this.instances5.alice.encrypt16(2), ); - expect(res).to.equal(17824n); + expect(res).to.equal(65534n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 2 (23282, 23284)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(23282), + this.instances5.alice.encrypt16(23284), ); - expect(res).to.equal(12n); + expect(res).to.equal(46566n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 3 (23284, 23284)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(23284), + this.instances5.alice.encrypt16(23284), ); - expect(res).to.equal(16n); + expect(res).to.equal(46568n); }); - it('test operator "add" overload (euint64, euint16) => euint64 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint64, euint16) => euint64 test 4 (23284, 23282)', async function () { const res = await this.contract5.add_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(23284), + this.instances5.alice.encrypt16(23282), ); - expect(res).to.equal(12n); + expect(res).to.equal(46566n); }); - it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint64, euint16) => euint64 test 1 (25338, 25338)', async function () { const res = await this.contract5.sub_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(25338), + this.instances5.alice.encrypt16(25338), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, euint16) => euint64 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint64, euint16) => euint64 test 2 (25338, 25334)', async function () { const res = await this.contract5.sub_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(25338), + this.instances5.alice.encrypt16(25334), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (3449, 2)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 1 (32765, 2)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(3449), + this.instances5.alice.encrypt64(32765), this.instances5.alice.encrypt16(2), ); - expect(res).to.equal(6898n); + expect(res).to.equal(65530n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 2 (4, 8)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 2 (163, 163)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(163), + this.instances5.alice.encrypt16(163), ); - expect(res).to.equal(32n); + expect(res).to.equal(26569n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 3 (8, 8)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 3 (163, 163)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(163), + this.instances5.alice.encrypt16(163), ); - expect(res).to.equal(64n); + expect(res).to.equal(26569n); }); - it('test operator "mul" overload (euint64, euint16) => euint64 test 4 (8, 4)', async function () { + it('test operator "mul" overload (euint64, euint16) => euint64 test 4 (163, 163)', async function () { const res = await this.contract5.mul_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(163), + this.instances5.alice.encrypt16(163), ); - expect(res).to.equal(32n); + expect(res).to.equal(26569n); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 1 (2380, 9)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 1 (18444131025157690381, 45908)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(2380), - this.instances5.alice.encrypt16(9), + this.instances5.alice.encrypt64(18444131025157690381), + this.instances5.alice.encrypt16(45908), ); - expect(res).to.equal(8n); + expect(res).to.equal(4100n); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 2 (5, 9)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 2 (45904, 45908)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(5), - this.instances5.alice.encrypt16(9), + this.instances5.alice.encrypt64(45904), + this.instances5.alice.encrypt16(45908), ); - expect(res).to.equal(1n); + expect(res).to.equal(45904n); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 3 (9, 9)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 3 (45908, 45908)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(9), - this.instances5.alice.encrypt16(9), + this.instances5.alice.encrypt64(45908), + this.instances5.alice.encrypt16(45908), ); - expect(res).to.equal(9n); + expect(res).to.equal(45908n); }); - it('test operator "and" overload (euint64, euint16) => euint64 test 4 (9, 5)', async function () { + it('test operator "and" overload (euint64, euint16) => euint64 test 4 (45908, 45904)', async function () { const res = await this.contract5.and_euint64_euint16( - this.instances5.alice.encrypt64(9), - this.instances5.alice.encrypt16(5), + this.instances5.alice.encrypt64(45908), + this.instances5.alice.encrypt16(45904), ); - expect(res).to.equal(1n); + expect(res).to.equal(45904n); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 1 (3328, 2)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 1 (18445329388989380329, 5327)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(3328), - this.instances5.alice.encrypt16(2), + this.instances5.alice.encrypt64(18445329388989380329), + this.instances5.alice.encrypt16(5327), ); - expect(res).to.equal(3330n); + expect(res).to.equal(18445329388989380335n); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 2 (5323, 5327)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(5323), + this.instances5.alice.encrypt16(5327), ); - expect(res).to.equal(12n); + expect(res).to.equal(5327n); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 3 (5327, 5327)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(5327), + this.instances5.alice.encrypt16(5327), ); - expect(res).to.equal(8n); + expect(res).to.equal(5327n); }); - it('test operator "or" overload (euint64, euint16) => euint64 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint64, euint16) => euint64 test 4 (5327, 5323)', async function () { const res = await this.contract5.or_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(5327), + this.instances5.alice.encrypt16(5323), ); - expect(res).to.equal(12n); + expect(res).to.equal(5327n); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (5602, 9)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 1 (18443398919380985157, 45655)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(5602), - this.instances5.alice.encrypt16(9), + this.instances5.alice.encrypt64(18443398919380985157), + this.instances5.alice.encrypt16(45655), ); - expect(res).to.equal(5611n); + expect(res).to.equal(18443398919380948754n); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 2 (5, 9)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 2 (45651, 45655)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(5), - this.instances5.alice.encrypt16(9), + this.instances5.alice.encrypt64(45651), + this.instances5.alice.encrypt16(45655), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 3 (9, 9)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 3 (45655, 45655)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(9), - this.instances5.alice.encrypt16(9), + this.instances5.alice.encrypt64(45655), + this.instances5.alice.encrypt16(45655), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint64, euint16) => euint64 test 4 (9, 5)', async function () { + it('test operator "xor" overload (euint64, euint16) => euint64 test 4 (45655, 45651)', async function () { const res = await this.contract5.xor_euint64_euint16( - this.instances5.alice.encrypt64(9), - this.instances5.alice.encrypt16(5), + this.instances5.alice.encrypt64(45655), + this.instances5.alice.encrypt16(45651), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 1 (55032, 3)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 1 (18444068251063204057, 45460)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(55032), - this.instances5.alice.encrypt16(3), + this.instances5.alice.encrypt64(18444068251063204057), + this.instances5.alice.encrypt16(45460), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 2 (45456, 45460)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(45456), + this.instances5.alice.encrypt16(45460), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 3 (45460, 45460)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(45460), + this.instances5.alice.encrypt16(45460), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint64, euint16) => ebool test 4 (45460, 45456)', async function () { const res = await this.contract5.eq_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(45460), + this.instances5.alice.encrypt16(45456), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 1 (3163, 2)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 1 (18439766867707518465, 19155)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(3163), - this.instances5.alice.encrypt16(2), + this.instances5.alice.encrypt64(18439766867707518465), + this.instances5.alice.encrypt16(19155), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 2 (19151, 19155)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(19151), + this.instances5.alice.encrypt16(19155), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 3 (19155, 19155)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(19155), + this.instances5.alice.encrypt16(19155), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint64, euint16) => ebool test 4 (19155, 19151)', async function () { const res = await this.contract5.ne_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(19155), + this.instances5.alice.encrypt16(19151), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 1 (3383, 2)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 1 (18440840766291159069, 55918)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(3383), - this.instances5.alice.encrypt16(2), + this.instances5.alice.encrypt64(18440840766291159069), + this.instances5.alice.encrypt16(55918), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 2 (55914, 55918)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(55914), + this.instances5.alice.encrypt16(55918), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 3 (55918, 55918)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(55918), + this.instances5.alice.encrypt16(55918), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint64, euint16) => ebool test 4 (55918, 55914)', async function () { const res = await this.contract5.ge_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(55918), + this.instances5.alice.encrypt16(55914), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 1 (2050, 6)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 1 (18446239272421398075, 52612)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(2050), - this.instances5.alice.encrypt16(6), + this.instances5.alice.encrypt64(18446239272421398075), + this.instances5.alice.encrypt16(52612), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 2 (52608, 52612)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(52608), + this.instances5.alice.encrypt16(52612), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 3 (52612, 52612)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(52612), + this.instances5.alice.encrypt16(52612), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint64, euint16) => ebool test 4 (52612, 52608)', async function () { const res = await this.contract5.gt_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(52612), + this.instances5.alice.encrypt16(52608), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 1 (4742, 1)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 1 (18442809234541757919, 39205)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(4742), - this.instances5.alice.encrypt16(1), + this.instances5.alice.encrypt64(18442809234541757919), + this.instances5.alice.encrypt16(39205), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 2 (39201, 39205)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(39201), + this.instances5.alice.encrypt16(39205), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 3 (39205, 39205)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(39205), + this.instances5.alice.encrypt16(39205), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "le" overload (euint64, euint16) => ebool test 4 (39205, 39201)', async function () { const res = await this.contract5.le_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(39205), + this.instances5.alice.encrypt16(39201), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 1 (16329, 3)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 1 (18443664339829863559, 39059)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(16329), - this.instances5.alice.encrypt16(3), + this.instances5.alice.encrypt64(18443664339829863559), + this.instances5.alice.encrypt16(39059), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 2 (39055, 39059)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(39055), + this.instances5.alice.encrypt16(39059), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 3 (39059, 39059)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(39059), + this.instances5.alice.encrypt16(39059), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint16) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint64, euint16) => ebool test 4 (39059, 39055)', async function () { const res = await this.contract5.lt_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(39059), + this.instances5.alice.encrypt16(39055), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 1 (2618, 5)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 1 (18440273866551894469, 42779)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(2618), - this.instances5.alice.encrypt16(5), + this.instances5.alice.encrypt64(18440273866551894469), + this.instances5.alice.encrypt16(42779), ); - expect(res).to.equal(5n); + expect(res).to.equal(42779n); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 2 (42775, 42779)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(42775), + this.instances5.alice.encrypt16(42779), ); - expect(res).to.equal(4n); + expect(res).to.equal(42775n); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 3 (42779, 42779)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(42779), + this.instances5.alice.encrypt16(42779), ); - expect(res).to.equal(8n); + expect(res).to.equal(42779n); }); - it('test operator "min" overload (euint64, euint16) => euint64 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint64, euint16) => euint64 test 4 (42779, 42775)', async function () { const res = await this.contract5.min_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(42779), + this.instances5.alice.encrypt16(42775), ); - expect(res).to.equal(4n); + expect(res).to.equal(42775n); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 1 (2374, 1)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 1 (18439537518803733101, 41315)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(2374), - this.instances5.alice.encrypt16(1), + this.instances5.alice.encrypt64(18439537518803733101), + this.instances5.alice.encrypt16(41315), ); - expect(res).to.equal(2374n); + expect(res).to.equal(18439537518803733101n); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 2 (41311, 41315)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(41311), + this.instances5.alice.encrypt16(41315), ); - expect(res).to.equal(8n); + expect(res).to.equal(41315n); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 3 (41315, 41315)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(8), + this.instances5.alice.encrypt64(41315), + this.instances5.alice.encrypt16(41315), ); - expect(res).to.equal(8n); + expect(res).to.equal(41315n); }); - it('test operator "max" overload (euint64, euint16) => euint64 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint64, euint16) => euint64 test 4 (41315, 41311)', async function () { const res = await this.contract5.max_euint64_euint16( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt16(4), + this.instances5.alice.encrypt64(41315), + this.instances5.alice.encrypt16(41311), ); - expect(res).to.equal(8n); + expect(res).to.equal(41315n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 1 (17823, 2)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 1 (4293362093, 2)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(17823), + this.instances5.alice.encrypt64(4293362093), this.instances5.alice.encrypt32(2), ); - expect(res).to.equal(17825n); + expect(res).to.equal(4293362095n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 2 (1194292230, 1194292232)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(1194292230), + this.instances5.alice.encrypt32(1194292232), ); - expect(res).to.equal(12n); + expect(res).to.equal(2388584462n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 3 (1194292232, 1194292232)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(1194292232), + this.instances5.alice.encrypt32(1194292232), ); - expect(res).to.equal(16n); + expect(res).to.equal(2388584464n); }); - it('test operator "add" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { + it('test operator "add" overload (euint64, euint32) => euint64 test 4 (1194292232, 1194292230)', async function () { const res = await this.contract5.add_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(1194292232), + this.instances5.alice.encrypt32(1194292230), ); - expect(res).to.equal(12n); + expect(res).to.equal(2388584462n); }); - it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (8, 8)', async function () { + it('test operator "sub" overload (euint64, euint32) => euint64 test 1 (624820999, 624820999)', async function () { const res = await this.contract5.sub_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(624820999), + this.instances5.alice.encrypt32(624820999), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, euint32) => euint64 test 2 (8, 4)', async function () { + it('test operator "sub" overload (euint64, euint32) => euint64 test 2 (624820999, 624820995)', async function () { const res = await this.contract5.sub_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(624820999), + this.instances5.alice.encrypt32(624820995), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (3449, 9)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 1 (2147410658, 2)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(3449), - this.instances5.alice.encrypt32(9), + this.instances5.alice.encrypt64(2147410658), + this.instances5.alice.encrypt32(2), ); - expect(res).to.equal(31041n); + expect(res).to.equal(4294821316n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 2 (5, 9)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 2 (32881, 32881)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(5), - this.instances5.alice.encrypt32(9), + this.instances5.alice.encrypt64(32881), + this.instances5.alice.encrypt32(32881), ); - expect(res).to.equal(45n); + expect(res).to.equal(1081160161n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 3 (9, 9)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 3 (32881, 32881)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(9), - this.instances5.alice.encrypt32(9), + this.instances5.alice.encrypt64(32881), + this.instances5.alice.encrypt32(32881), ); - expect(res).to.equal(81n); + expect(res).to.equal(1081160161n); }); - it('test operator "mul" overload (euint64, euint32) => euint64 test 4 (9, 5)', async function () { + it('test operator "mul" overload (euint64, euint32) => euint64 test 4 (32881, 32881)', async function () { const res = await this.contract5.mul_euint64_euint32( - this.instances5.alice.encrypt64(9), - this.instances5.alice.encrypt32(5), + this.instances5.alice.encrypt64(32881), + this.instances5.alice.encrypt32(32881), ); - expect(res).to.equal(45n); + expect(res).to.equal(1081160161n); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 1 (2380, 4)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 1 (18444449709394842073, 3823819229)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(2380), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(18444449709394842073), + this.instances5.alice.encrypt32(3823819229), ); - expect(res).to.equal(4n); + expect(res).to.equal(2718454233n); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 2 (3823819225, 3823819229)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(3823819225), + this.instances5.alice.encrypt32(3823819229), ); - expect(res).to.equal(0n); + expect(res).to.equal(3823819225n); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 3 (3823819229, 3823819229)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(3823819229), + this.instances5.alice.encrypt32(3823819229), ); - expect(res).to.equal(8n); + expect(res).to.equal(3823819229n); }); - it('test operator "and" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { + it('test operator "and" overload (euint64, euint32) => euint64 test 4 (3823819229, 3823819225)', async function () { const res = await this.contract5.and_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(3823819229), + this.instances5.alice.encrypt32(3823819225), ); - expect(res).to.equal(0n); + expect(res).to.equal(3823819225n); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 1 (3328, 3)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 1 (18444852954550836631, 3550708762)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(3328), - this.instances5.alice.encrypt32(3), + this.instances5.alice.encrypt64(18444852954550836631), + this.instances5.alice.encrypt32(3550708762), ); - expect(res).to.equal(3331n); + expect(res).to.equal(18444852955920440735n); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 2 (3550708758, 3550708762)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(3550708758), + this.instances5.alice.encrypt32(3550708762), ); - expect(res).to.equal(12n); + expect(res).to.equal(3550708766n); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 3 (3550708762, 3550708762)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(3550708762), + this.instances5.alice.encrypt32(3550708762), ); - expect(res).to.equal(8n); + expect(res).to.equal(3550708762n); }); - it('test operator "or" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { + it('test operator "or" overload (euint64, euint32) => euint64 test 4 (3550708762, 3550708758)', async function () { const res = await this.contract5.or_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(3550708762), + this.instances5.alice.encrypt32(3550708758), ); - expect(res).to.equal(12n); + expect(res).to.equal(3550708766n); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (5602, 2)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 1 (18445532500811503869, 2578227181)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(5602), - this.instances5.alice.encrypt32(2), + this.instances5.alice.encrypt64(18445532500811503869), + this.instances5.alice.encrypt32(2578227181), ); - expect(res).to.equal(5600n); + expect(res).to.equal(18445532498506434320n); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 2 (2578227177, 2578227181)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(2578227177), + this.instances5.alice.encrypt32(2578227181), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 3 (2578227181, 2578227181)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(2578227181), + this.instances5.alice.encrypt32(2578227181), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { + it('test operator "xor" overload (euint64, euint32) => euint64 test 4 (2578227181, 2578227177)', async function () { const res = await this.contract5.xor_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(2578227181), + this.instances5.alice.encrypt32(2578227177), ); - expect(res).to.equal(12n); + expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 1 (55032, 3)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 1 (18444814847193612111, 3675625287)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(55032), - this.instances5.alice.encrypt32(3), + this.instances5.alice.encrypt64(18444814847193612111), + this.instances5.alice.encrypt32(3675625287), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 2 (3675625283, 3675625287)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(3675625283), + this.instances5.alice.encrypt32(3675625287), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 3 (3675625287, 3675625287)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(3675625287), + this.instances5.alice.encrypt32(3675625287), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "eq" overload (euint64, euint32) => ebool test 4 (3675625287, 3675625283)', async function () { const res = await this.contract5.eq_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(3675625287), + this.instances5.alice.encrypt32(3675625283), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 1 (3163, 1)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 1 (18442332740658370363, 1304399628)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(3163), - this.instances5.alice.encrypt32(1), + this.instances5.alice.encrypt64(18442332740658370363), + this.instances5.alice.encrypt32(1304399628), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 2 (1304399624, 1304399628)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(1304399624), + this.instances5.alice.encrypt32(1304399628), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 3 (1304399628, 1304399628)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(1304399628), + this.instances5.alice.encrypt32(1304399628), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ne" overload (euint64, euint32) => ebool test 4 (1304399628, 1304399624)', async function () { const res = await this.contract5.ne_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(1304399628), + this.instances5.alice.encrypt32(1304399624), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 1 (3383, 8)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 1 (18443677328726027173, 2889413053)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(3383), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(18443677328726027173), + this.instances5.alice.encrypt32(2889413053), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 2 (2889413049, 2889413053)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(2889413049), + this.instances5.alice.encrypt32(2889413053), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 3 (2889413053, 2889413053)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(2889413053), + this.instances5.alice.encrypt32(2889413053), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "ge" overload (euint64, euint32) => ebool test 4 (2889413053, 2889413049)', async function () { const res = await this.contract5.ge_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(2889413053), + this.instances5.alice.encrypt32(2889413049), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 1 (2050, 1)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 1 (18445619408455524051, 2595159918)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(2050), - this.instances5.alice.encrypt32(1), + this.instances5.alice.encrypt64(18445619408455524051), + this.instances5.alice.encrypt32(2595159918), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 2 (2595159914, 2595159918)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(2595159914), + this.instances5.alice.encrypt32(2595159918), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 3 (2595159918, 2595159918)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(2595159918), + this.instances5.alice.encrypt32(2595159918), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "gt" overload (euint64, euint32) => ebool test 4 (2595159918, 2595159914)', async function () { const res = await this.contract5.gt_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(2595159918), + this.instances5.alice.encrypt32(2595159914), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 1 (4742, 21)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 1 (18439009396144568585, 2271345781)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(4742), - this.instances5.alice.encrypt32(21), + this.instances5.alice.encrypt64(18439009396144568585), + this.instances5.alice.encrypt32(2271345781), ); expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, euint32) => ebool test 2 (17, 21)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 2 (2271345777, 2271345781)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(17), - this.instances5.alice.encrypt32(21), + this.instances5.alice.encrypt64(2271345777), + this.instances5.alice.encrypt32(2271345781), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 3 (21, 21)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 3 (2271345781, 2271345781)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(21), - this.instances5.alice.encrypt32(21), + this.instances5.alice.encrypt64(2271345781), + this.instances5.alice.encrypt32(2271345781), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint32) => ebool test 4 (21, 17)', async function () { + it('test operator "le" overload (euint64, euint32) => ebool test 4 (2271345781, 2271345777)', async function () { const res = await this.contract5.le_euint64_euint32( - this.instances5.alice.encrypt64(21), - this.instances5.alice.encrypt32(17), + this.instances5.alice.encrypt64(2271345781), + this.instances5.alice.encrypt32(2271345777), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 1 (16329, 2)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 1 (18439663977987842087, 2158000734)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(16329), - this.instances5.alice.encrypt32(2), + this.instances5.alice.encrypt64(18439663977987842087), + this.instances5.alice.encrypt32(2158000734), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 2 (4, 8)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 2 (2158000730, 2158000734)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(2158000730), + this.instances5.alice.encrypt32(2158000734), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 3 (8, 8)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 3 (2158000734, 2158000734)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(2158000734), + this.instances5.alice.encrypt32(2158000734), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint32) => ebool test 4 (8, 4)', async function () { + it('test operator "lt" overload (euint64, euint32) => ebool test 4 (2158000734, 2158000730)', async function () { const res = await this.contract5.lt_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(2158000734), + this.instances5.alice.encrypt32(2158000730), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 1 (2618, 1)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 1 (18442182412102668107, 657148413)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(2618), - this.instances5.alice.encrypt32(1), + this.instances5.alice.encrypt64(18442182412102668107), + this.instances5.alice.encrypt32(657148413), ); - expect(res).to.equal(1n); + expect(res).to.equal(657148413n); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 2 (657148409, 657148413)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(657148409), + this.instances5.alice.encrypt32(657148413), ); - expect(res).to.equal(4n); + expect(res).to.equal(657148409n); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 3 (657148413, 657148413)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(657148413), + this.instances5.alice.encrypt32(657148413), ); - expect(res).to.equal(8n); + expect(res).to.equal(657148413n); }); - it('test operator "min" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { + it('test operator "min" overload (euint64, euint32) => euint64 test 4 (657148413, 657148409)', async function () { const res = await this.contract5.min_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(657148413), + this.instances5.alice.encrypt32(657148409), ); - expect(res).to.equal(4n); + expect(res).to.equal(657148409n); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 1 (2374, 2)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 1 (18439662390589911437, 4249693397)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(2374), - this.instances5.alice.encrypt32(2), + this.instances5.alice.encrypt64(18439662390589911437), + this.instances5.alice.encrypt32(4249693397), ); - expect(res).to.equal(2374n); + expect(res).to.equal(18439662390589911437n); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 2 (4, 8)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 2 (4249693393, 4249693397)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(4), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(4249693393), + this.instances5.alice.encrypt32(4249693397), ); - expect(res).to.equal(8n); + expect(res).to.equal(4249693397n); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 3 (8, 8)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 3 (4249693397, 4249693397)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(8), + this.instances5.alice.encrypt64(4249693397), + this.instances5.alice.encrypt32(4249693397), ); - expect(res).to.equal(8n); + expect(res).to.equal(4249693397n); }); - it('test operator "max" overload (euint64, euint32) => euint64 test 4 (8, 4)', async function () { + it('test operator "max" overload (euint64, euint32) => euint64 test 4 (4249693397, 4249693393)', async function () { const res = await this.contract5.max_euint64_euint32( - this.instances5.alice.encrypt64(8), - this.instances5.alice.encrypt32(4), + this.instances5.alice.encrypt64(4249693397), + this.instances5.alice.encrypt32(4249693393), ); - expect(res).to.equal(8n); + expect(res).to.equal(4249693397n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 1 (17823, 3432)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 1 (9223329218882461797, 9219964371310000511)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(17823), - this.instances5.alice.encrypt64(3432), + this.instances5.alice.encrypt64(9223329218882461797), + this.instances5.alice.encrypt64(9219964371310000511), ); - expect(res).to.equal(21255n); + expect(res).to.equal(18443293590192462308n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 2 (3428, 3432)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 2 (9219964371310000509, 9219964371310000511)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(3428), - this.instances5.alice.encrypt64(3432), + this.instances5.alice.encrypt64(9219964371310000509), + this.instances5.alice.encrypt64(9219964371310000511), ); - expect(res).to.equal(6860n); + expect(res).to.equal(18439928742620001020n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 3 (3432, 3432)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 3 (9219964371310000511, 9219964371310000511)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(3432), - this.instances5.alice.encrypt64(3432), + this.instances5.alice.encrypt64(9219964371310000511), + this.instances5.alice.encrypt64(9219964371310000511), ); - expect(res).to.equal(6864n); + expect(res).to.equal(18439928742620001022n); }); - it('test operator "add" overload (euint64, euint64) => euint64 test 4 (3432, 3428)', async function () { + it('test operator "add" overload (euint64, euint64) => euint64 test 4 (9219964371310000511, 9219964371310000509)', async function () { const res = await this.contract5.add_euint64_euint64( - this.instances5.alice.encrypt64(3432), - this.instances5.alice.encrypt64(3428), + this.instances5.alice.encrypt64(9219964371310000511), + this.instances5.alice.encrypt64(9219964371310000509), ); - expect(res).to.equal(6860n); + expect(res).to.equal(18439928742620001020n); }); - it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (3660, 3660)', async function () { + it('test operator "sub" overload (euint64, euint64) => euint64 test 1 (18445117613821089157, 18445117613821089157)', async function () { const res = await this.contract5.sub_euint64_euint64( - this.instances5.alice.encrypt64(3660), - this.instances5.alice.encrypt64(3660), + this.instances5.alice.encrypt64(18445117613821089157), + this.instances5.alice.encrypt64(18445117613821089157), ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, euint64) => euint64 test 2 (3660, 3656)', async function () { + it('test operator "sub" overload (euint64, euint64) => euint64 test 2 (18445117613821089157, 18445117613821089153)', async function () { const res = await this.contract5.sub_euint64_euint64( - this.instances5.alice.encrypt64(3660), - this.instances5.alice.encrypt64(3656), + this.instances5.alice.encrypt64(18445117613821089157), + this.instances5.alice.encrypt64(18445117613821089153), ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (3449, 2396)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 1 (4294635170, 4293288604)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(3449), - this.instances5.alice.encrypt64(2396), + this.instances5.alice.encrypt64(4294635170), + this.instances5.alice.encrypt64(4293288604), ); - expect(res).to.equal(8263804n); + expect(res).to.equal(18438108233698602680n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 2 (2392, 2396)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 2 (4293288604, 4293288604)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(2392), - this.instances5.alice.encrypt64(2396), + this.instances5.alice.encrypt64(4293288604), + this.instances5.alice.encrypt64(4293288604), ); - expect(res).to.equal(5731232n); + expect(res).to.equal(18432327037236268816n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 3 (2396, 2396)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 3 (4293288604, 4293288604)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(2396), - this.instances5.alice.encrypt64(2396), + this.instances5.alice.encrypt64(4293288604), + this.instances5.alice.encrypt64(4293288604), ); - expect(res).to.equal(5740816n); + expect(res).to.equal(18432327037236268816n); }); - it('test operator "mul" overload (euint64, euint64) => euint64 test 4 (2396, 2392)', async function () { + it('test operator "mul" overload (euint64, euint64) => euint64 test 4 (4293288604, 4293288604)', async function () { const res = await this.contract5.mul_euint64_euint64( - this.instances5.alice.encrypt64(2396), - this.instances5.alice.encrypt64(2392), + this.instances5.alice.encrypt64(4293288604), + this.instances5.alice.encrypt64(4293288604), ); - expect(res).to.equal(5731232n); + expect(res).to.equal(18432327037236268816n); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 1 (2380, 2068)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 1 (18441848963293247005, 18437762817766608073)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(2380), - this.instances5.alice.encrypt64(2068), + this.instances5.alice.encrypt64(18441848963293247005), + this.instances5.alice.encrypt64(18437762817766608073), ); - expect(res).to.equal(2052n); + expect(res).to.equal(18437758350371472393n); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 2 (2064, 2068)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 2 (18437762817766608069, 18437762817766608073)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(2064), - this.instances5.alice.encrypt64(2068), + this.instances5.alice.encrypt64(18437762817766608069), + this.instances5.alice.encrypt64(18437762817766608073), ); - expect(res).to.equal(2064n); + expect(res).to.equal(18437762817766608065n); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 3 (2068, 2068)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 3 (18437762817766608073, 18437762817766608073)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(2068), - this.instances5.alice.encrypt64(2068), + this.instances5.alice.encrypt64(18437762817766608073), + this.instances5.alice.encrypt64(18437762817766608073), ); - expect(res).to.equal(2068n); + expect(res).to.equal(18437762817766608073n); }); - it('test operator "and" overload (euint64, euint64) => euint64 test 4 (2068, 2064)', async function () { + it('test operator "and" overload (euint64, euint64) => euint64 test 4 (18437762817766608073, 18437762817766608069)', async function () { const res = await this.contract5.and_euint64_euint64( - this.instances5.alice.encrypt64(2068), - this.instances5.alice.encrypt64(2064), + this.instances5.alice.encrypt64(18437762817766608073), + this.instances5.alice.encrypt64(18437762817766608069), ); - expect(res).to.equal(2064n); + expect(res).to.equal(18437762817766608065n); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 1 (3328, 2096)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 1 (18439947486770357681, 18442205516883919361)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(3328), - this.instances5.alice.encrypt64(2096), + this.instances5.alice.encrypt64(18439947486770357681), + this.instances5.alice.encrypt64(18442205516883919361), ); - expect(res).to.equal(3376n); + expect(res).to.equal(18442234697046943665n); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 2 (2092, 2096)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 2 (18439947486770357677, 18439947486770357681)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(2092), - this.instances5.alice.encrypt64(2096), + this.instances5.alice.encrypt64(18439947486770357677), + this.instances5.alice.encrypt64(18439947486770357681), ); - expect(res).to.equal(2108n); + expect(res).to.equal(18439947486770357693n); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 3 (2096, 2096)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 3 (18439947486770357681, 18439947486770357681)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(2096), - this.instances5.alice.encrypt64(2096), + this.instances5.alice.encrypt64(18439947486770357681), + this.instances5.alice.encrypt64(18439947486770357681), ); - expect(res).to.equal(2096n); + expect(res).to.equal(18439947486770357681n); }); - it('test operator "or" overload (euint64, euint64) => euint64 test 4 (2096, 2092)', async function () { + it('test operator "or" overload (euint64, euint64) => euint64 test 4 (18439947486770357681, 18439947486770357677)', async function () { const res = await this.contract5.or_euint64_euint64( - this.instances5.alice.encrypt64(2096), - this.instances5.alice.encrypt64(2092), + this.instances5.alice.encrypt64(18439947486770357681), + this.instances5.alice.encrypt64(18439947486770357677), ); - expect(res).to.equal(2108n); + expect(res).to.equal(18439947486770357693n); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (5602, 4581)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 1 (18444700078916958431, 18443866708631144651)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(5602), - this.instances5.alice.encrypt64(4581), + this.instances5.alice.encrypt64(18444700078916958431), + this.instances5.alice.encrypt64(18443866708631144651), ); - expect(res).to.equal(1031n); + expect(res).to.equal(3795455568392212n); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (4577, 4581)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 2 (18443866708631144647, 18443866708631144651)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(4577), - this.instances5.alice.encrypt64(4581), + this.instances5.alice.encrypt64(18443866708631144647), + this.instances5.alice.encrypt64(18443866708631144651), ); - expect(res).to.equal(4n); + expect(res).to.equal(12n); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 3 (4581, 4581)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 3 (18443866708631144651, 18443866708631144651)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(4581), - this.instances5.alice.encrypt64(4581), + this.instances5.alice.encrypt64(18443866708631144651), + this.instances5.alice.encrypt64(18443866708631144651), ); expect(res).to.equal(0n); }); - it('test operator "xor" overload (euint64, euint64) => euint64 test 4 (4581, 4577)', async function () { + it('test operator "xor" overload (euint64, euint64) => euint64 test 4 (18443866708631144651, 18443866708631144647)', async function () { const res = await this.contract5.xor_euint64_euint64( - this.instances5.alice.encrypt64(4581), - this.instances5.alice.encrypt64(4577), + this.instances5.alice.encrypt64(18443866708631144651), + this.instances5.alice.encrypt64(18443866708631144647), ); - expect(res).to.equal(4n); + expect(res).to.equal(12n); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 1 (55032, 3655)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 1 (18443330521266220729, 18438253731135327627)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(55032), - this.instances5.alice.encrypt64(3655), + this.instances5.alice.encrypt64(18443330521266220729), + this.instances5.alice.encrypt64(18438253731135327627), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 2 (3651, 3655)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 2 (18438253731135327623, 18438253731135327627)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(3651), - this.instances5.alice.encrypt64(3655), + this.instances5.alice.encrypt64(18438253731135327623), + this.instances5.alice.encrypt64(18438253731135327627), ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 3 (3655, 3655)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 3 (18438253731135327627, 18438253731135327627)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(3655), - this.instances5.alice.encrypt64(3655), + this.instances5.alice.encrypt64(18438253731135327627), + this.instances5.alice.encrypt64(18438253731135327627), ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, euint64) => ebool test 4 (3655, 3651)', async function () { + it('test operator "eq" overload (euint64, euint64) => ebool test 4 (18438253731135327627, 18438253731135327623)', async function () { const res = await this.contract5.eq_euint64_euint64( - this.instances5.alice.encrypt64(3655), - this.instances5.alice.encrypt64(3651), + this.instances5.alice.encrypt64(18438253731135327627), + this.instances5.alice.encrypt64(18438253731135327623), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 1 (3163, 2116)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 1 (18445140354518938845, 18441391037965649995)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(3163), - this.instances5.alice.encrypt64(2116), + this.instances5.alice.encrypt64(18445140354518938845), + this.instances5.alice.encrypt64(18441391037965649995), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 2 (2112, 2116)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 2 (18441391037965649991, 18441391037965649995)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(2112), - this.instances5.alice.encrypt64(2116), + this.instances5.alice.encrypt64(18441391037965649991), + this.instances5.alice.encrypt64(18441391037965649995), ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 3 (2116, 2116)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 3 (18441391037965649995, 18441391037965649995)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(2116), - this.instances5.alice.encrypt64(2116), + this.instances5.alice.encrypt64(18441391037965649995), + this.instances5.alice.encrypt64(18441391037965649995), ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, euint64) => ebool test 4 (2116, 2112)', async function () { + it('test operator "ne" overload (euint64, euint64) => ebool test 4 (18441391037965649995, 18441391037965649991)', async function () { const res = await this.contract5.ne_euint64_euint64( - this.instances5.alice.encrypt64(2116), - this.instances5.alice.encrypt64(2112), + this.instances5.alice.encrypt64(18441391037965649995), + this.instances5.alice.encrypt64(18441391037965649991), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 1 (3383, 7363)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 1 (18444991478795579145, 18445260307161364245)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(3383), - this.instances5.alice.encrypt64(7363), + this.instances5.alice.encrypt64(18444991478795579145), + this.instances5.alice.encrypt64(18445260307161364245), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 2 (3379, 3383)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 2 (18444991478795579141, 18444991478795579145)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(3379), - this.instances5.alice.encrypt64(3383), + this.instances5.alice.encrypt64(18444991478795579141), + this.instances5.alice.encrypt64(18444991478795579145), ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 3 (3383, 3383)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 3 (18444991478795579145, 18444991478795579145)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(3383), - this.instances5.alice.encrypt64(3383), + this.instances5.alice.encrypt64(18444991478795579145), + this.instances5.alice.encrypt64(18444991478795579145), ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, euint64) => ebool test 4 (3383, 3379)', async function () { + it('test operator "ge" overload (euint64, euint64) => ebool test 4 (18444991478795579145, 18444991478795579141)', async function () { const res = await this.contract5.ge_euint64_euint64( - this.instances5.alice.encrypt64(3383), - this.instances5.alice.encrypt64(3379), + this.instances5.alice.encrypt64(18444991478795579145), + this.instances5.alice.encrypt64(18444991478795579141), ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 1 (2050, 2503)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 1 (18439787790330435145, 18439484090308827429)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(2050), - this.instances5.alice.encrypt64(2503), + this.instances5.alice.encrypt64(18439787790330435145), + this.instances5.alice.encrypt64(18439484090308827429), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 2 (2046, 2050)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 2 (18439484090308827425, 18439484090308827429)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(2046), - this.instances5.alice.encrypt64(2050), + this.instances5.alice.encrypt64(18439484090308827425), + this.instances5.alice.encrypt64(18439484090308827429), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 3 (2050, 2050)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 3 (18439484090308827429, 18439484090308827429)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(2050), - this.instances5.alice.encrypt64(2050), + this.instances5.alice.encrypt64(18439484090308827429), + this.instances5.alice.encrypt64(18439484090308827429), ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, euint64) => ebool test 4 (2050, 2046)', async function () { + it('test operator "gt" overload (euint64, euint64) => ebool test 4 (18439484090308827429, 18439484090308827425)', async function () { const res = await this.contract5.gt_euint64_euint64( - this.instances5.alice.encrypt64(2050), - this.instances5.alice.encrypt64(2046), + this.instances5.alice.encrypt64(18439484090308827429), + this.instances5.alice.encrypt64(18439484090308827425), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 1 (4742, 3626)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 1 (18440769778451615393, 18446070761608442971)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(4742), - this.instances5.alice.encrypt64(3626), + this.instances5.alice.encrypt64(18440769778451615393), + this.instances5.alice.encrypt64(18446070761608442971), ); - expect(res).to.equal(false); + expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 2 (3622, 3626)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 2 (18440769778451615389, 18440769778451615393)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(3622), - this.instances5.alice.encrypt64(3626), + this.instances5.alice.encrypt64(18440769778451615389), + this.instances5.alice.encrypt64(18440769778451615393), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 3 (3626, 3626)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 3 (18440769778451615393, 18440769778451615393)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(3626), - this.instances5.alice.encrypt64(3626), + this.instances5.alice.encrypt64(18440769778451615393), + this.instances5.alice.encrypt64(18440769778451615393), ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, euint64) => ebool test 4 (3626, 3622)', async function () { + it('test operator "le" overload (euint64, euint64) => ebool test 4 (18440769778451615393, 18440769778451615389)', async function () { const res = await this.contract5.le_euint64_euint64( - this.instances5.alice.encrypt64(3626), - this.instances5.alice.encrypt64(3622), + this.instances5.alice.encrypt64(18440769778451615393), + this.instances5.alice.encrypt64(18440769778451615389), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 1 (16329, 2082)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 1 (18446718131340158589, 18444160910497783341)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(16329), - this.instances5.alice.encrypt64(2082), + this.instances5.alice.encrypt64(18446718131340158589), + this.instances5.alice.encrypt64(18444160910497783341), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 2 (2078, 2082)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 2 (18444160910497783337, 18444160910497783341)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(2078), - this.instances5.alice.encrypt64(2082), + this.instances5.alice.encrypt64(18444160910497783337), + this.instances5.alice.encrypt64(18444160910497783341), ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 3 (2082, 2082)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 3 (18444160910497783341, 18444160910497783341)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(2082), - this.instances5.alice.encrypt64(2082), + this.instances5.alice.encrypt64(18444160910497783341), + this.instances5.alice.encrypt64(18444160910497783341), ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, euint64) => ebool test 4 (2082, 2078)', async function () { + it('test operator "lt" overload (euint64, euint64) => ebool test 4 (18444160910497783341, 18444160910497783337)', async function () { const res = await this.contract5.lt_euint64_euint64( - this.instances5.alice.encrypt64(2082), - this.instances5.alice.encrypt64(2078), + this.instances5.alice.encrypt64(18444160910497783341), + this.instances5.alice.encrypt64(18444160910497783337), ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 1 (2618, 6448)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 1 (18444400472074074345, 18442962239103377481)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(2618), - this.instances5.alice.encrypt64(6448), + this.instances5.alice.encrypt64(18444400472074074345), + this.instances5.alice.encrypt64(18442962239103377481), ); - expect(res).to.equal(2618n); + expect(res).to.equal(18442962239103377481n); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 2 (2614, 2618)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 2 (18442962239103377477, 18442962239103377481)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(2614), - this.instances5.alice.encrypt64(2618), + this.instances5.alice.encrypt64(18442962239103377477), + this.instances5.alice.encrypt64(18442962239103377481), ); - expect(res).to.equal(2614n); + expect(res).to.equal(18442962239103377477n); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 3 (2618, 2618)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 3 (18442962239103377481, 18442962239103377481)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(2618), - this.instances5.alice.encrypt64(2618), + this.instances5.alice.encrypt64(18442962239103377481), + this.instances5.alice.encrypt64(18442962239103377481), ); - expect(res).to.equal(2618n); + expect(res).to.equal(18442962239103377481n); }); - it('test operator "min" overload (euint64, euint64) => euint64 test 4 (2618, 2614)', async function () { + it('test operator "min" overload (euint64, euint64) => euint64 test 4 (18442962239103377481, 18442962239103377477)', async function () { const res = await this.contract5.min_euint64_euint64( - this.instances5.alice.encrypt64(2618), - this.instances5.alice.encrypt64(2614), + this.instances5.alice.encrypt64(18442962239103377481), + this.instances5.alice.encrypt64(18442962239103377477), ); - expect(res).to.equal(2614n); + expect(res).to.equal(18442962239103377477n); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 1 (2374, 2762)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 1 (18440739371866435289, 18438298584940765731)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(2374), - this.instances5.alice.encrypt64(2762), + this.instances5.alice.encrypt64(18440739371866435289), + this.instances5.alice.encrypt64(18438298584940765731), ); - expect(res).to.equal(2762n); + expect(res).to.equal(18440739371866435289n); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 2 (2370, 2374)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 2 (18438298584940765727, 18438298584940765731)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(2370), - this.instances5.alice.encrypt64(2374), + this.instances5.alice.encrypt64(18438298584940765727), + this.instances5.alice.encrypt64(18438298584940765731), ); - expect(res).to.equal(2374n); + expect(res).to.equal(18438298584940765731n); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 3 (2374, 2374)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 3 (18438298584940765731, 18438298584940765731)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(2374), - this.instances5.alice.encrypt64(2374), + this.instances5.alice.encrypt64(18438298584940765731), + this.instances5.alice.encrypt64(18438298584940765731), ); - expect(res).to.equal(2374n); + expect(res).to.equal(18438298584940765731n); }); - it('test operator "max" overload (euint64, euint64) => euint64 test 4 (2374, 2370)', async function () { + it('test operator "max" overload (euint64, euint64) => euint64 test 4 (18438298584940765731, 18438298584940765727)', async function () { const res = await this.contract5.max_euint64_euint64( - this.instances5.alice.encrypt64(2374), - this.instances5.alice.encrypt64(2370), + this.instances5.alice.encrypt64(18438298584940765731), + this.instances5.alice.encrypt64(18438298584940765727), ); - expect(res).to.equal(2374n); + expect(res).to.equal(18438298584940765731n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 1 (17823, 7318)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(17823), 7318); - expect(res).to.equal(25141n); + it('test operator "add" overload (euint64, uint64) => euint64 test 1 (9223329218882461797, 9220956803715422232)', async function () { + const res = await this.contract5.add_euint64_uint64( + this.instances5.alice.encrypt64(9223329218882461797), + 9220956803715422232, + ); + expect(res).to.equal(18444286022597884029n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 2 (3428, 3432)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(3428), 3432); - expect(res).to.equal(6860n); + it('test operator "add" overload (euint64, uint64) => euint64 test 2 (9219964371310000509, 9219964371310000511)', async function () { + const res = await this.contract5.add_euint64_uint64( + this.instances5.alice.encrypt64(9219964371310000509), + 9219964371310000511, + ); + expect(res).to.equal(18439928742620001020n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 3 (3432, 3432)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(3432), 3432); - expect(res).to.equal(6864n); + it('test operator "add" overload (euint64, uint64) => euint64 test 3 (9219964371310000511, 9219964371310000511)', async function () { + const res = await this.contract5.add_euint64_uint64( + this.instances5.alice.encrypt64(9219964371310000511), + 9219964371310000511, + ); + expect(res).to.equal(18439928742620001022n); }); - it('test operator "add" overload (euint64, uint64) => euint64 test 4 (3432, 3428)', async function () { - const res = await this.contract5.add_euint64_uint64(this.instances5.alice.encrypt64(3432), 3428); - expect(res).to.equal(6860n); + it('test operator "add" overload (euint64, uint64) => euint64 test 4 (9219964371310000511, 9219964371310000509)', async function () { + const res = await this.contract5.add_euint64_uint64( + this.instances5.alice.encrypt64(9219964371310000511), + 9219964371310000509, + ); + expect(res).to.equal(18439928742620001020n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 1 (5752, 7318)', async function () { - const res = await this.contract5.add_uint64_euint64(5752, this.instances5.alice.encrypt64(7318)); - expect(res).to.equal(13070n); + it('test operator "add" overload (uint64, euint64) => euint64 test 1 (9219177655732910821, 9220956803715422232)', async function () { + const res = await this.contract5.add_uint64_euint64( + 9219177655732910821, + this.instances5.alice.encrypt64(9220956803715422232), + ); + expect(res).to.equal(18440134459448333053n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 2 (3428, 3432)', async function () { - const res = await this.contract5.add_uint64_euint64(3428, this.instances5.alice.encrypt64(3432)); - expect(res).to.equal(6860n); + it('test operator "add" overload (uint64, euint64) => euint64 test 2 (9219964371310000509, 9219964371310000511)', async function () { + const res = await this.contract5.add_uint64_euint64( + 9219964371310000509, + this.instances5.alice.encrypt64(9219964371310000511), + ); + expect(res).to.equal(18439928742620001020n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 3 (3432, 3432)', async function () { - const res = await this.contract5.add_uint64_euint64(3432, this.instances5.alice.encrypt64(3432)); - expect(res).to.equal(6864n); + it('test operator "add" overload (uint64, euint64) => euint64 test 3 (9219964371310000511, 9219964371310000511)', async function () { + const res = await this.contract5.add_uint64_euint64( + 9219964371310000511, + this.instances5.alice.encrypt64(9219964371310000511), + ); + expect(res).to.equal(18439928742620001022n); }); - it('test operator "add" overload (uint64, euint64) => euint64 test 4 (3432, 3428)', async function () { - const res = await this.contract5.add_uint64_euint64(3432, this.instances5.alice.encrypt64(3428)); - expect(res).to.equal(6860n); + it('test operator "add" overload (uint64, euint64) => euint64 test 4 (9219964371310000511, 9219964371310000509)', async function () { + const res = await this.contract5.add_uint64_euint64( + 9219964371310000511, + this.instances5.alice.encrypt64(9219964371310000509), + ); + expect(res).to.equal(18439928742620001020n); }); - it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (3660, 3660)', async function () { - const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(3660), 3660); + it('test operator "sub" overload (euint64, uint64) => euint64 test 1 (18445117613821089157, 18445117613821089157)', async function () { + const res = await this.contract5.sub_euint64_uint64( + this.instances5.alice.encrypt64(18445117613821089157), + 18445117613821089157, + ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (euint64, uint64) => euint64 test 2 (3660, 3656)', async function () { - const res = await this.contract5.sub_euint64_uint64(this.instances5.alice.encrypt64(3660), 3656); + it('test operator "sub" overload (euint64, uint64) => euint64 test 2 (18445117613821089157, 18445117613821089153)', async function () { + const res = await this.contract5.sub_euint64_uint64( + this.instances5.alice.encrypt64(18445117613821089157), + 18445117613821089153, + ); expect(res).to.equal(4n); }); - it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (3660, 3660)', async function () { - const res = await this.contract5.sub_uint64_euint64(3660, this.instances5.alice.encrypt64(3660)); + it('test operator "sub" overload (uint64, euint64) => euint64 test 1 (18445117613821089157, 18445117613821089157)', async function () { + const res = await this.contract5.sub_uint64_euint64( + 18445117613821089157, + this.instances5.alice.encrypt64(18445117613821089157), + ); expect(res).to.equal(0n); }); - it('test operator "sub" overload (uint64, euint64) => euint64 test 2 (3660, 3656)', async function () { - const res = await this.contract5.sub_uint64_euint64(3660, this.instances5.alice.encrypt64(3656)); + it('test operator "sub" overload (uint64, euint64) => euint64 test 2 (18445117613821089157, 18445117613821089153)', async function () { + const res = await this.contract5.sub_uint64_euint64( + 18445117613821089157, + this.instances5.alice.encrypt64(18445117613821089153), + ); expect(res).to.equal(4n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (3449, 4919)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(3449), 4919); - expect(res).to.equal(16965631n); + it('test operator "mul" overload (euint64, uint64) => euint64 test 1 (4294635170, 4293232253)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(4294635170), 4293232253); + expect(res).to.equal(18437866226712138010n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 2 (2392, 2396)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(2392), 2396); - expect(res).to.equal(5731232n); + it('test operator "mul" overload (euint64, uint64) => euint64 test 2 (4293288604, 4293288604)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(4293288604), 4293288604); + expect(res).to.equal(18432327037236268816n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 3 (2396, 2396)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(2396), 2396); - expect(res).to.equal(5740816n); + it('test operator "mul" overload (euint64, uint64) => euint64 test 3 (4293288604, 4293288604)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(4293288604), 4293288604); + expect(res).to.equal(18432327037236268816n); }); - it('test operator "mul" overload (euint64, uint64) => euint64 test 4 (2396, 2392)', async function () { - const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(2396), 2392); - expect(res).to.equal(5731232n); + it('test operator "mul" overload (euint64, uint64) => euint64 test 4 (4293288604, 4293288604)', async function () { + const res = await this.contract5.mul_euint64_uint64(this.instances5.alice.encrypt64(4293288604), 4293288604); + expect(res).to.equal(18432327037236268816n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (2383, 4919)', async function () { - const res = await this.contract5.mul_uint64_euint64(2383, this.instances5.alice.encrypt64(4919)); - expect(res).to.equal(11721977n); + it('test operator "mul" overload (uint64, euint64) => euint64 test 1 (4294226236, 4293232253)', async function () { + const res = await this.contract5.mul_uint64_euint64(4294226236, this.instances5.alice.encrypt64(4293232253)); + expect(res).to.equal(18436110578073989708n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 2 (2392, 2396)', async function () { - const res = await this.contract5.mul_uint64_euint64(2392, this.instances5.alice.encrypt64(2396)); - expect(res).to.equal(5731232n); + it('test operator "mul" overload (uint64, euint64) => euint64 test 2 (4293288604, 4293288604)', async function () { + const res = await this.contract5.mul_uint64_euint64(4293288604, this.instances5.alice.encrypt64(4293288604)); + expect(res).to.equal(18432327037236268816n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 3 (2396, 2396)', async function () { - const res = await this.contract5.mul_uint64_euint64(2396, this.instances5.alice.encrypt64(2396)); - expect(res).to.equal(5740816n); + it('test operator "mul" overload (uint64, euint64) => euint64 test 3 (4293288604, 4293288604)', async function () { + const res = await this.contract5.mul_uint64_euint64(4293288604, this.instances5.alice.encrypt64(4293288604)); + expect(res).to.equal(18432327037236268816n); }); - it('test operator "mul" overload (uint64, euint64) => euint64 test 4 (2396, 2392)', async function () { - const res = await this.contract5.mul_uint64_euint64(2396, this.instances5.alice.encrypt64(2392)); - expect(res).to.equal(5731232n); + it('test operator "mul" overload (uint64, euint64) => euint64 test 4 (4293288604, 4293288604)', async function () { + const res = await this.contract5.mul_uint64_euint64(4293288604, this.instances5.alice.encrypt64(4293288604)); + expect(res).to.equal(18432327037236268816n); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 1 (3692, 2899)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(3692), 2899); + it('test operator "div" overload (euint64, uint64) => euint64 test 1 (18441976837575510865, 18441212274805422577)', async function () { + const res = await this.contract5.div_euint64_uint64( + this.instances5.alice.encrypt64(18441976837575510865), + 18441212274805422577, + ); expect(res).to.equal(1n); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 2 (3688, 3692)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(3688), 3692); + it('test operator "div" overload (euint64, uint64) => euint64 test 2 (18441976837575510861, 18441976837575510865)', async function () { + const res = await this.contract5.div_euint64_uint64( + this.instances5.alice.encrypt64(18441976837575510861), + 18441976837575510865, + ); expect(res).to.equal(0n); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 3 (3692, 3692)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(3692), 3692); + it('test operator "div" overload (euint64, uint64) => euint64 test 3 (18441976837575510865, 18441976837575510865)', async function () { + const res = await this.contract5.div_euint64_uint64( + this.instances5.alice.encrypt64(18441976837575510865), + 18441976837575510865, + ); expect(res).to.equal(1n); }); - it('test operator "div" overload (euint64, uint64) => euint64 test 4 (3692, 3688)', async function () { - const res = await this.contract5.div_euint64_uint64(this.instances5.alice.encrypt64(3692), 3688); + it('test operator "div" overload (euint64, uint64) => euint64 test 4 (18441976837575510865, 18441976837575510861)', async function () { + const res = await this.contract5.div_euint64_uint64( + this.instances5.alice.encrypt64(18441976837575510865), + 18441976837575510861, + ); expect(res).to.equal(1n); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (2467, 230368)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(2467), 230368); - expect(res).to.equal(2467n); + it('test operator "rem" overload (euint64, uint64) => euint64 test 1 (18443785129295236141, 18441307989286811147)', async function () { + const res = await this.contract5.rem_euint64_uint64( + this.instances5.alice.encrypt64(18443785129295236141), + 18441307989286811147, + ); + expect(res).to.equal(2477140008424994n); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 2 (2168, 2172)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(2168), 2172); - expect(res).to.equal(2168n); + it('test operator "rem" overload (euint64, uint64) => euint64 test 2 (18438390548915069819, 18438390548915069823)', async function () { + const res = await this.contract5.rem_euint64_uint64( + this.instances5.alice.encrypt64(18438390548915069819), + 18438390548915069823, + ); + expect(res).to.equal(18438390548915069819n); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 3 (2172, 2172)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(2172), 2172); + it('test operator "rem" overload (euint64, uint64) => euint64 test 3 (18438390548915069823, 18438390548915069823)', async function () { + const res = await this.contract5.rem_euint64_uint64( + this.instances5.alice.encrypt64(18438390548915069823), + 18438390548915069823, + ); expect(res).to.equal(0n); }); - it('test operator "rem" overload (euint64, uint64) => euint64 test 4 (2172, 2168)', async function () { - const res = await this.contract5.rem_euint64_uint64(this.instances5.alice.encrypt64(2172), 2168); + it('test operator "rem" overload (euint64, uint64) => euint64 test 4 (18438390548915069823, 18438390548915069819)', async function () { + const res = await this.contract5.rem_euint64_uint64( + this.instances5.alice.encrypt64(18438390548915069823), + 18438390548915069819, + ); expect(res).to.equal(4n); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 1 (55032, 2077)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(55032), 2077); + it('test operator "eq" overload (euint64, uint64) => ebool test 1 (18443330521266220729, 18446706410531688277)', async function () { + const res = await this.contract5.eq_euint64_uint64( + this.instances5.alice.encrypt64(18443330521266220729), + 18446706410531688277, + ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 2 (3651, 3655)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(3651), 3655); + it('test operator "eq" overload (euint64, uint64) => ebool test 2 (18438253731135327623, 18438253731135327627)', async function () { + const res = await this.contract5.eq_euint64_uint64( + this.instances5.alice.encrypt64(18438253731135327623), + 18438253731135327627, + ); expect(res).to.equal(false); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 3 (3655, 3655)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(3655), 3655); + it('test operator "eq" overload (euint64, uint64) => ebool test 3 (18438253731135327627, 18438253731135327627)', async function () { + const res = await this.contract5.eq_euint64_uint64( + this.instances5.alice.encrypt64(18438253731135327627), + 18438253731135327627, + ); expect(res).to.equal(true); }); - it('test operator "eq" overload (euint64, uint64) => ebool test 4 (3655, 3651)', async function () { - const res = await this.contract5.eq_euint64_uint64(this.instances5.alice.encrypt64(3655), 3651); + it('test operator "eq" overload (euint64, uint64) => ebool test 4 (18438253731135327627, 18438253731135327623)', async function () { + const res = await this.contract5.eq_euint64_uint64( + this.instances5.alice.encrypt64(18438253731135327627), + 18438253731135327623, + ); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 1 (6350, 2077)', async function () { - const res = await this.contract5.eq_uint64_euint64(6350, this.instances5.alice.encrypt64(2077)); + it('test operator "eq" overload (uint64, euint64) => ebool test 1 (18444395277752785729, 18446706410531688277)', async function () { + const res = await this.contract5.eq_uint64_euint64( + 18444395277752785729, + this.instances5.alice.encrypt64(18446706410531688277), + ); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 2 (3651, 3655)', async function () { - const res = await this.contract5.eq_uint64_euint64(3651, this.instances5.alice.encrypt64(3655)); + it('test operator "eq" overload (uint64, euint64) => ebool test 2 (18438253731135327623, 18438253731135327627)', async function () { + const res = await this.contract5.eq_uint64_euint64( + 18438253731135327623, + this.instances5.alice.encrypt64(18438253731135327627), + ); expect(res).to.equal(false); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 3 (3655, 3655)', async function () { - const res = await this.contract5.eq_uint64_euint64(3655, this.instances5.alice.encrypt64(3655)); + it('test operator "eq" overload (uint64, euint64) => ebool test 3 (18438253731135327627, 18438253731135327627)', async function () { + const res = await this.contract5.eq_uint64_euint64( + 18438253731135327627, + this.instances5.alice.encrypt64(18438253731135327627), + ); expect(res).to.equal(true); }); - it('test operator "eq" overload (uint64, euint64) => ebool test 4 (3655, 3651)', async function () { - const res = await this.contract5.eq_uint64_euint64(3655, this.instances5.alice.encrypt64(3651)); + it('test operator "eq" overload (uint64, euint64) => ebool test 4 (18438253731135327627, 18438253731135327623)', async function () { + const res = await this.contract5.eq_uint64_euint64( + 18438253731135327627, + this.instances5.alice.encrypt64(18438253731135327623), + ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 1 (3163, 3329)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(3163), 3329); + it('test operator "ne" overload (euint64, uint64) => ebool test 1 (18445140354518938845, 18438176226766160787)', async function () { + const res = await this.contract5.ne_euint64_uint64( + this.instances5.alice.encrypt64(18445140354518938845), + 18438176226766160787, + ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 2 (2112, 2116)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(2112), 2116); + it('test operator "ne" overload (euint64, uint64) => ebool test 2 (18441391037965649991, 18441391037965649995)', async function () { + const res = await this.contract5.ne_euint64_uint64( + this.instances5.alice.encrypt64(18441391037965649991), + 18441391037965649995, + ); expect(res).to.equal(true); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 3 (2116, 2116)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(2116), 2116); + it('test operator "ne" overload (euint64, uint64) => ebool test 3 (18441391037965649995, 18441391037965649995)', async function () { + const res = await this.contract5.ne_euint64_uint64( + this.instances5.alice.encrypt64(18441391037965649995), + 18441391037965649995, + ); expect(res).to.equal(false); }); - it('test operator "ne" overload (euint64, uint64) => ebool test 4 (2116, 2112)', async function () { - const res = await this.contract5.ne_euint64_uint64(this.instances5.alice.encrypt64(2116), 2112); + it('test operator "ne" overload (euint64, uint64) => ebool test 4 (18441391037965649995, 18441391037965649991)', async function () { + const res = await this.contract5.ne_euint64_uint64( + this.instances5.alice.encrypt64(18441391037965649995), + 18441391037965649991, + ); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 1 (2985, 3329)', async function () { - const res = await this.contract5.ne_uint64_euint64(2985, this.instances5.alice.encrypt64(3329)); + it('test operator "ne" overload (uint64, euint64) => ebool test 1 (18443547473224968383, 18438176226766160787)', async function () { + const res = await this.contract5.ne_uint64_euint64( + 18443547473224968383, + this.instances5.alice.encrypt64(18438176226766160787), + ); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 2 (2112, 2116)', async function () { - const res = await this.contract5.ne_uint64_euint64(2112, this.instances5.alice.encrypt64(2116)); + it('test operator "ne" overload (uint64, euint64) => ebool test 2 (18441391037965649991, 18441391037965649995)', async function () { + const res = await this.contract5.ne_uint64_euint64( + 18441391037965649991, + this.instances5.alice.encrypt64(18441391037965649995), + ); expect(res).to.equal(true); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 3 (2116, 2116)', async function () { - const res = await this.contract5.ne_uint64_euint64(2116, this.instances5.alice.encrypt64(2116)); + it('test operator "ne" overload (uint64, euint64) => ebool test 3 (18441391037965649995, 18441391037965649995)', async function () { + const res = await this.contract5.ne_uint64_euint64( + 18441391037965649995, + this.instances5.alice.encrypt64(18441391037965649995), + ); expect(res).to.equal(false); }); - it('test operator "ne" overload (uint64, euint64) => ebool test 4 (2116, 2112)', async function () { - const res = await this.contract5.ne_uint64_euint64(2116, this.instances5.alice.encrypt64(2112)); + it('test operator "ne" overload (uint64, euint64) => ebool test 4 (18441391037965649995, 18441391037965649991)', async function () { + const res = await this.contract5.ne_uint64_euint64( + 18441391037965649995, + this.instances5.alice.encrypt64(18441391037965649991), + ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 1 (3383, 3479)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3383), 3479); - expect(res).to.equal(false); + it('test operator "ge" overload (euint64, uint64) => ebool test 1 (18444991478795579145, 18439567451994245465)', async function () { + const res = await this.contract5.ge_euint64_uint64( + this.instances5.alice.encrypt64(18444991478795579145), + 18439567451994245465, + ); + expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 2 (3379, 3383)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3379), 3383); + it('test operator "ge" overload (euint64, uint64) => ebool test 2 (18444991478795579141, 18444991478795579145)', async function () { + const res = await this.contract5.ge_euint64_uint64( + this.instances5.alice.encrypt64(18444991478795579141), + 18444991478795579145, + ); expect(res).to.equal(false); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 3 (3383, 3383)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3383), 3383); + it('test operator "ge" overload (euint64, uint64) => ebool test 3 (18444991478795579145, 18444991478795579145)', async function () { + const res = await this.contract5.ge_euint64_uint64( + this.instances5.alice.encrypt64(18444991478795579145), + 18444991478795579145, + ); expect(res).to.equal(true); }); - it('test operator "ge" overload (euint64, uint64) => ebool test 4 (3383, 3379)', async function () { - const res = await this.contract5.ge_euint64_uint64(this.instances5.alice.encrypt64(3383), 3379); + it('test operator "ge" overload (euint64, uint64) => ebool test 4 (18444991478795579145, 18444991478795579141)', async function () { + const res = await this.contract5.ge_euint64_uint64( + this.instances5.alice.encrypt64(18444991478795579145), + 18444991478795579141, + ); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 1 (27028, 3479)', async function () { - const res = await this.contract5.ge_uint64_euint64(27028, this.instances5.alice.encrypt64(3479)); + it('test operator "ge" overload (uint64, euint64) => ebool test 1 (18444429093181704535, 18439567451994245465)', async function () { + const res = await this.contract5.ge_uint64_euint64( + 18444429093181704535, + this.instances5.alice.encrypt64(18439567451994245465), + ); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 2 (3379, 3383)', async function () { - const res = await this.contract5.ge_uint64_euint64(3379, this.instances5.alice.encrypt64(3383)); + it('test operator "ge" overload (uint64, euint64) => ebool test 2 (18444991478795579141, 18444991478795579145)', async function () { + const res = await this.contract5.ge_uint64_euint64( + 18444991478795579141, + this.instances5.alice.encrypt64(18444991478795579145), + ); expect(res).to.equal(false); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 3 (3383, 3383)', async function () { - const res = await this.contract5.ge_uint64_euint64(3383, this.instances5.alice.encrypt64(3383)); + it('test operator "ge" overload (uint64, euint64) => ebool test 3 (18444991478795579145, 18444991478795579145)', async function () { + const res = await this.contract5.ge_uint64_euint64( + 18444991478795579145, + this.instances5.alice.encrypt64(18444991478795579145), + ); expect(res).to.equal(true); }); - it('test operator "ge" overload (uint64, euint64) => ebool test 4 (3383, 3379)', async function () { - const res = await this.contract5.ge_uint64_euint64(3383, this.instances5.alice.encrypt64(3379)); + it('test operator "ge" overload (uint64, euint64) => ebool test 4 (18444991478795579145, 18444991478795579141)', async function () { + const res = await this.contract5.ge_uint64_euint64( + 18444991478795579145, + this.instances5.alice.encrypt64(18444991478795579141), + ); expect(res).to.equal(true); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 1 (2050, 4117)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(2050), 4117); + it('test operator "gt" overload (euint64, uint64) => ebool test 1 (18439787790330435145, 18441907321511169065)', async function () { + const res = await this.contract5.gt_euint64_uint64( + this.instances5.alice.encrypt64(18439787790330435145), + 18441907321511169065, + ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 2 (2046, 2050)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(2046), 2050); + it('test operator "gt" overload (euint64, uint64) => ebool test 2 (18439484090308827425, 18439484090308827429)', async function () { + const res = await this.contract5.gt_euint64_uint64( + this.instances5.alice.encrypt64(18439484090308827425), + 18439484090308827429, + ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 3 (2050, 2050)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(2050), 2050); + it('test operator "gt" overload (euint64, uint64) => ebool test 3 (18439484090308827429, 18439484090308827429)', async function () { + const res = await this.contract5.gt_euint64_uint64( + this.instances5.alice.encrypt64(18439484090308827429), + 18439484090308827429, + ); expect(res).to.equal(false); }); - it('test operator "gt" overload (euint64, uint64) => ebool test 4 (2050, 2046)', async function () { - const res = await this.contract5.gt_euint64_uint64(this.instances5.alice.encrypt64(2050), 2046); + it('test operator "gt" overload (euint64, uint64) => ebool test 4 (18439484090308827429, 18439484090308827425)', async function () { + const res = await this.contract5.gt_euint64_uint64( + this.instances5.alice.encrypt64(18439484090308827429), + 18439484090308827425, + ); expect(res).to.equal(true); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 1 (44963, 4117)', async function () { - const res = await this.contract5.gt_uint64_euint64(44963, this.instances5.alice.encrypt64(4117)); - expect(res).to.equal(true); + it('test operator "gt" overload (uint64, euint64) => ebool test 1 (18438935380134710315, 18441907321511169065)', async function () { + const res = await this.contract5.gt_uint64_euint64( + 18438935380134710315, + this.instances5.alice.encrypt64(18441907321511169065), + ); + expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 2 (2046, 2050)', async function () { - const res = await this.contract5.gt_uint64_euint64(2046, this.instances5.alice.encrypt64(2050)); + it('test operator "gt" overload (uint64, euint64) => ebool test 2 (18439484090308827425, 18439484090308827429)', async function () { + const res = await this.contract5.gt_uint64_euint64( + 18439484090308827425, + this.instances5.alice.encrypt64(18439484090308827429), + ); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 3 (2050, 2050)', async function () { - const res = await this.contract5.gt_uint64_euint64(2050, this.instances5.alice.encrypt64(2050)); + it('test operator "gt" overload (uint64, euint64) => ebool test 3 (18439484090308827429, 18439484090308827429)', async function () { + const res = await this.contract5.gt_uint64_euint64( + 18439484090308827429, + this.instances5.alice.encrypt64(18439484090308827429), + ); expect(res).to.equal(false); }); - it('test operator "gt" overload (uint64, euint64) => ebool test 4 (2050, 2046)', async function () { - const res = await this.contract5.gt_uint64_euint64(2050, this.instances5.alice.encrypt64(2046)); + it('test operator "gt" overload (uint64, euint64) => ebool test 4 (18439484090308827429, 18439484090308827425)', async function () { + const res = await this.contract5.gt_uint64_euint64( + 18439484090308827429, + this.instances5.alice.encrypt64(18439484090308827425), + ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 1 (4742, 42694)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(4742), 42694); - expect(res).to.equal(true); + it('test operator "le" overload (euint64, uint64) => ebool test 1 (18440769778451615393, 18439065451314752761)', async function () { + const res = await this.contract5.le_euint64_uint64( + this.instances5.alice.encrypt64(18440769778451615393), + 18439065451314752761, + ); + expect(res).to.equal(false); }); - it('test operator "le" overload (euint64, uint64) => ebool test 2 (3622, 3626)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3622), 3626); + it('test operator "le" overload (euint64, uint64) => ebool test 2 (18440769778451615389, 18440769778451615393)', async function () { + const res = await this.contract5.le_euint64_uint64( + this.instances5.alice.encrypt64(18440769778451615389), + 18440769778451615393, + ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 3 (3626, 3626)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3626), 3626); + it('test operator "le" overload (euint64, uint64) => ebool test 3 (18440769778451615393, 18440769778451615393)', async function () { + const res = await this.contract5.le_euint64_uint64( + this.instances5.alice.encrypt64(18440769778451615393), + 18440769778451615393, + ); expect(res).to.equal(true); }); - it('test operator "le" overload (euint64, uint64) => ebool test 4 (3626, 3622)', async function () { - const res = await this.contract5.le_euint64_uint64(this.instances5.alice.encrypt64(3626), 3622); + it('test operator "le" overload (euint64, uint64) => ebool test 4 (18440769778451615393, 18440769778451615389)', async function () { + const res = await this.contract5.le_euint64_uint64( + this.instances5.alice.encrypt64(18440769778451615393), + 18440769778451615389, + ); expect(res).to.equal(false); }); - it('test operator "le" overload (uint64, euint64) => ebool test 1 (2150, 42694)', async function () { - const res = await this.contract5.le_uint64_euint64(2150, this.instances5.alice.encrypt64(42694)); - expect(res).to.equal(true); + it('test operator "le" overload (uint64, euint64) => ebool test 1 (18440980092932624951, 18439065451314752761)', async function () { + const res = await this.contract5.le_uint64_euint64( + 18440980092932624951, + this.instances5.alice.encrypt64(18439065451314752761), + ); + expect(res).to.equal(false); }); - it('test operator "le" overload (uint64, euint64) => ebool test 2 (3622, 3626)', async function () { - const res = await this.contract5.le_uint64_euint64(3622, this.instances5.alice.encrypt64(3626)); + it('test operator "le" overload (uint64, euint64) => ebool test 2 (18440769778451615389, 18440769778451615393)', async function () { + const res = await this.contract5.le_uint64_euint64( + 18440769778451615389, + this.instances5.alice.encrypt64(18440769778451615393), + ); expect(res).to.equal(true); }); - it('test operator "le" overload (uint64, euint64) => ebool test 3 (3626, 3626)', async function () { - const res = await this.contract5.le_uint64_euint64(3626, this.instances5.alice.encrypt64(3626)); + it('test operator "le" overload (uint64, euint64) => ebool test 3 (18440769778451615393, 18440769778451615393)', async function () { + const res = await this.contract5.le_uint64_euint64( + 18440769778451615393, + this.instances5.alice.encrypt64(18440769778451615393), + ); expect(res).to.equal(true); }); - it('test operator "le" overload (uint64, euint64) => ebool test 4 (3626, 3622)', async function () { - const res = await this.contract5.le_uint64_euint64(3626, this.instances5.alice.encrypt64(3622)); + it('test operator "le" overload (uint64, euint64) => ebool test 4 (18440769778451615393, 18440769778451615389)', async function () { + const res = await this.contract5.le_uint64_euint64( + 18440769778451615393, + this.instances5.alice.encrypt64(18440769778451615389), + ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 1 (16329, 2853)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(16329), 2853); + it('test operator "lt" overload (euint64, uint64) => ebool test 1 (18446718131340158589, 18438438177494413269)', async function () { + const res = await this.contract5.lt_euint64_uint64( + this.instances5.alice.encrypt64(18446718131340158589), + 18438438177494413269, + ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 2 (2078, 2082)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(2078), 2082); + it('test operator "lt" overload (euint64, uint64) => ebool test 2 (18444160910497783337, 18444160910497783341)', async function () { + const res = await this.contract5.lt_euint64_uint64( + this.instances5.alice.encrypt64(18444160910497783337), + 18444160910497783341, + ); expect(res).to.equal(true); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 3 (2082, 2082)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(2082), 2082); + it('test operator "lt" overload (euint64, uint64) => ebool test 3 (18444160910497783341, 18444160910497783341)', async function () { + const res = await this.contract5.lt_euint64_uint64( + this.instances5.alice.encrypt64(18444160910497783341), + 18444160910497783341, + ); expect(res).to.equal(false); }); - it('test operator "lt" overload (euint64, uint64) => ebool test 4 (2082, 2078)', async function () { - const res = await this.contract5.lt_euint64_uint64(this.instances5.alice.encrypt64(2082), 2078); + it('test operator "lt" overload (euint64, uint64) => ebool test 4 (18444160910497783341, 18444160910497783337)', async function () { + const res = await this.contract5.lt_euint64_uint64( + this.instances5.alice.encrypt64(18444160910497783341), + 18444160910497783337, + ); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 1 (27593, 2853)', async function () { - const res = await this.contract5.lt_uint64_euint64(27593, this.instances5.alice.encrypt64(2853)); + it('test operator "lt" overload (uint64, euint64) => ebool test 1 (18445719507413937869, 18438438177494413269)', async function () { + const res = await this.contract5.lt_uint64_euint64( + 18445719507413937869, + this.instances5.alice.encrypt64(18438438177494413269), + ); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 2 (2078, 2082)', async function () { - const res = await this.contract5.lt_uint64_euint64(2078, this.instances5.alice.encrypt64(2082)); + it('test operator "lt" overload (uint64, euint64) => ebool test 2 (18444160910497783337, 18444160910497783341)', async function () { + const res = await this.contract5.lt_uint64_euint64( + 18444160910497783337, + this.instances5.alice.encrypt64(18444160910497783341), + ); expect(res).to.equal(true); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 3 (2082, 2082)', async function () { - const res = await this.contract5.lt_uint64_euint64(2082, this.instances5.alice.encrypt64(2082)); + it('test operator "lt" overload (uint64, euint64) => ebool test 3 (18444160910497783341, 18444160910497783341)', async function () { + const res = await this.contract5.lt_uint64_euint64( + 18444160910497783341, + this.instances5.alice.encrypt64(18444160910497783341), + ); expect(res).to.equal(false); }); - it('test operator "lt" overload (uint64, euint64) => ebool test 4 (2082, 2078)', async function () { - const res = await this.contract5.lt_uint64_euint64(2082, this.instances5.alice.encrypt64(2078)); + it('test operator "lt" overload (uint64, euint64) => ebool test 4 (18444160910497783341, 18444160910497783337)', async function () { + const res = await this.contract5.lt_uint64_euint64( + 18444160910497783341, + this.instances5.alice.encrypt64(18444160910497783337), + ); expect(res).to.equal(false); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 1 (2618, 4687)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(2618), 4687); - expect(res).to.equal(2618n); + it('test operator "min" overload (euint64, uint64) => euint64 test 1 (18444400472074074345, 18445675871085860653)', async function () { + const res = await this.contract5.min_euint64_uint64( + this.instances5.alice.encrypt64(18444400472074074345), + 18445675871085860653, + ); + expect(res).to.equal(18444400472074074345n); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 2 (2614, 2618)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(2614), 2618); - expect(res).to.equal(2614n); + it('test operator "min" overload (euint64, uint64) => euint64 test 2 (18442962239103377477, 18442962239103377481)', async function () { + const res = await this.contract5.min_euint64_uint64( + this.instances5.alice.encrypt64(18442962239103377477), + 18442962239103377481, + ); + expect(res).to.equal(18442962239103377477n); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 3 (2618, 2618)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(2618), 2618); - expect(res).to.equal(2618n); + it('test operator "min" overload (euint64, uint64) => euint64 test 3 (18442962239103377481, 18442962239103377481)', async function () { + const res = await this.contract5.min_euint64_uint64( + this.instances5.alice.encrypt64(18442962239103377481), + 18442962239103377481, + ); + expect(res).to.equal(18442962239103377481n); }); - it('test operator "min" overload (euint64, uint64) => euint64 test 4 (2618, 2614)', async function () { - const res = await this.contract5.min_euint64_uint64(this.instances5.alice.encrypt64(2618), 2614); - expect(res).to.equal(2614n); + it('test operator "min" overload (euint64, uint64) => euint64 test 4 (18442962239103377481, 18442962239103377477)', async function () { + const res = await this.contract5.min_euint64_uint64( + this.instances5.alice.encrypt64(18442962239103377481), + 18442962239103377477, + ); + expect(res).to.equal(18442962239103377477n); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 1 (3232, 4687)', async function () { - const res = await this.contract5.min_uint64_euint64(3232, this.instances5.alice.encrypt64(4687)); - expect(res).to.equal(3232n); + it('test operator "min" overload (uint64, euint64) => euint64 test 1 (18443908139931756717, 18445675871085860653)', async function () { + const res = await this.contract5.min_uint64_euint64( + 18443908139931756717, + this.instances5.alice.encrypt64(18445675871085860653), + ); + expect(res).to.equal(18443908139931756717n); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 2 (2614, 2618)', async function () { - const res = await this.contract5.min_uint64_euint64(2614, this.instances5.alice.encrypt64(2618)); - expect(res).to.equal(2614n); + it('test operator "min" overload (uint64, euint64) => euint64 test 2 (18442962239103377477, 18442962239103377481)', async function () { + const res = await this.contract5.min_uint64_euint64( + 18442962239103377477, + this.instances5.alice.encrypt64(18442962239103377481), + ); + expect(res).to.equal(18442962239103377477n); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 3 (2618, 2618)', async function () { - const res = await this.contract5.min_uint64_euint64(2618, this.instances5.alice.encrypt64(2618)); - expect(res).to.equal(2618n); + it('test operator "min" overload (uint64, euint64) => euint64 test 3 (18442962239103377481, 18442962239103377481)', async function () { + const res = await this.contract5.min_uint64_euint64( + 18442962239103377481, + this.instances5.alice.encrypt64(18442962239103377481), + ); + expect(res).to.equal(18442962239103377481n); }); - it('test operator "min" overload (uint64, euint64) => euint64 test 4 (2618, 2614)', async function () { - const res = await this.contract5.min_uint64_euint64(2618, this.instances5.alice.encrypt64(2614)); - expect(res).to.equal(2614n); + it('test operator "min" overload (uint64, euint64) => euint64 test 4 (18442962239103377481, 18442962239103377477)', async function () { + const res = await this.contract5.min_uint64_euint64( + 18442962239103377481, + this.instances5.alice.encrypt64(18442962239103377477), + ); + expect(res).to.equal(18442962239103377477n); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 1 (2374, 5605)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(2374), 5605); - expect(res).to.equal(5605n); + it('test operator "max" overload (euint64, uint64) => euint64 test 1 (18440739371866435289, 18440643015791741637)', async function () { + const res = await this.contract5.max_euint64_uint64( + this.instances5.alice.encrypt64(18440739371866435289), + 18440643015791741637, + ); + expect(res).to.equal(18440739371866435289n); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 2 (2370, 2374)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(2370), 2374); - expect(res).to.equal(2374n); + it('test operator "max" overload (euint64, uint64) => euint64 test 2 (18438298584940765727, 18438298584940765731)', async function () { + const res = await this.contract5.max_euint64_uint64( + this.instances5.alice.encrypt64(18438298584940765727), + 18438298584940765731, + ); + expect(res).to.equal(18438298584940765731n); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 3 (2374, 2374)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(2374), 2374); - expect(res).to.equal(2374n); + it('test operator "max" overload (euint64, uint64) => euint64 test 3 (18438298584940765731, 18438298584940765731)', async function () { + const res = await this.contract5.max_euint64_uint64( + this.instances5.alice.encrypt64(18438298584940765731), + 18438298584940765731, + ); + expect(res).to.equal(18438298584940765731n); }); - it('test operator "max" overload (euint64, uint64) => euint64 test 4 (2374, 2370)', async function () { - const res = await this.contract5.max_euint64_uint64(this.instances5.alice.encrypt64(2374), 2370); - expect(res).to.equal(2374n); + it('test operator "max" overload (euint64, uint64) => euint64 test 4 (18438298584940765731, 18438298584940765727)', async function () { + const res = await this.contract5.max_euint64_uint64( + this.instances5.alice.encrypt64(18438298584940765731), + 18438298584940765727, + ); + expect(res).to.equal(18438298584940765731n); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 1 (7998, 5605)', async function () { - const res = await this.contract5.max_uint64_euint64(7998, this.instances5.alice.encrypt64(5605)); - expect(res).to.equal(7998n); + it('test operator "max" overload (uint64, euint64) => euint64 test 1 (18441357041435050863, 18440643015791741637)', async function () { + const res = await this.contract5.max_uint64_euint64( + 18441357041435050863, + this.instances5.alice.encrypt64(18440643015791741637), + ); + expect(res).to.equal(18441357041435050863n); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 2 (2370, 2374)', async function () { - const res = await this.contract5.max_uint64_euint64(2370, this.instances5.alice.encrypt64(2374)); - expect(res).to.equal(2374n); + it('test operator "max" overload (uint64, euint64) => euint64 test 2 (18438298584940765727, 18438298584940765731)', async function () { + const res = await this.contract5.max_uint64_euint64( + 18438298584940765727, + this.instances5.alice.encrypt64(18438298584940765731), + ); + expect(res).to.equal(18438298584940765731n); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 3 (2374, 2374)', async function () { - const res = await this.contract5.max_uint64_euint64(2374, this.instances5.alice.encrypt64(2374)); - expect(res).to.equal(2374n); + it('test operator "max" overload (uint64, euint64) => euint64 test 3 (18438298584940765731, 18438298584940765731)', async function () { + const res = await this.contract5.max_uint64_euint64( + 18438298584940765731, + this.instances5.alice.encrypt64(18438298584940765731), + ); + expect(res).to.equal(18438298584940765731n); }); - it('test operator "max" overload (uint64, euint64) => euint64 test 4 (2374, 2370)', async function () { - const res = await this.contract5.max_uint64_euint64(2374, this.instances5.alice.encrypt64(2370)); - expect(res).to.equal(2374n); + it('test operator "max" overload (uint64, euint64) => euint64 test 4 (18438298584940765731, 18438298584940765727)', async function () { + const res = await this.contract5.max_uint64_euint64( + 18438298584940765731, + this.instances5.alice.encrypt64(18438298584940765727), + ); + expect(res).to.equal(18438298584940765731n); }); - it('test operator "shl" overload (euint4, uint8) => euint4 test 1 (1, 3)', async function () { - const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(1), 3); - expect(res).to.equal(8); + it('test operator "shl" overload (euint4, uint8) => euint4 test 1 (13, 5)', async function () { + const res = await this.contract5.shl_euint4_uint8(this.instances5.alice.encrypt4(13), 5); + expect(res).to.equal(10); }); it('test operator "shl" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { @@ -13220,9 +13472,9 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "shr" overload (euint4, uint8) => euint4 test 1 (5, 6)', async function () { - const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(5), 6); - expect(res).to.equal(1); + it('test operator "shr" overload (euint4, uint8) => euint4 test 1 (14, 4)', async function () { + const res = await this.contract5.shr_euint4_uint8(this.instances5.alice.encrypt4(14), 4); + expect(res).to.equal(14); }); it('test operator "shr" overload (euint4, uint8) => euint4 test 2 (4, 8)', async function () { @@ -13240,12 +13492,12 @@ describe('TFHE operations', function () { expect(res).to.equal(8); }); - it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (1, 2)', async function () { + it('test operator "shl" overload (euint8, euint8) => euint8 test 1 (34, 4)', async function () { const res = await this.contract5.shl_euint8_euint8( - this.instances5.alice.encrypt8(1), - this.instances5.alice.encrypt8(2), + this.instances5.alice.encrypt8(34), + this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(4); + expect(res).to.equal(32); }); it('test operator "shl" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -13272,9 +13524,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (1, 2)', async function () { - const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(1), 2); - expect(res).to.equal(4); + it('test operator "shl" overload (euint8, uint8) => euint8 test 1 (34, 4)', async function () { + const res = await this.contract5.shl_euint8_uint8(this.instances5.alice.encrypt8(34), 4); + expect(res).to.equal(32); }); it('test operator "shl" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { @@ -13292,12 +13544,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (1, 1)', async function () { + it('test operator "shr" overload (euint8, euint8) => euint8 test 1 (68, 4)', async function () { const res = await this.contract5.shr_euint8_euint8( - this.instances5.alice.encrypt8(1), - this.instances5.alice.encrypt8(1), + this.instances5.alice.encrypt8(68), + this.instances5.alice.encrypt8(4), ); - expect(res).to.equal(0); + expect(res).to.equal(4); }); it('test operator "shr" overload (euint8, euint8) => euint8 test 2 (4, 8)', async function () { @@ -13324,9 +13576,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (1, 1)', async function () { - const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(1), 1); - expect(res).to.equal(0); + it('test operator "shr" overload (euint8, uint8) => euint8 test 1 (68, 4)', async function () { + const res = await this.contract5.shr_euint8_uint8(this.instances5.alice.encrypt8(68), 4); + expect(res).to.equal(4); }); it('test operator "shr" overload (euint8, uint8) => euint8 test 2 (4, 8)', async function () { @@ -13344,12 +13596,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (1, 5)', async function () { + it('test operator "shl" overload (euint16, euint8) => euint16 test 1 (15362, 2)', async function () { const res = await this.contract5.shl_euint16_euint8( - this.instances5.alice.encrypt16(1), - this.instances5.alice.encrypt8(5), + this.instances5.alice.encrypt16(15362), + this.instances5.alice.encrypt8(2), ); - expect(res).to.equal(32); + expect(res).to.equal(61448); }); it('test operator "shl" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { @@ -13376,9 +13628,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (1, 5)', async function () { - const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(1), 5); - expect(res).to.equal(32); + it('test operator "shl" overload (euint16, uint8) => euint16 test 1 (15362, 2)', async function () { + const res = await this.contract5.shl_euint16_uint8(this.instances5.alice.encrypt16(15362), 2); + expect(res).to.equal(61448); }); it('test operator "shl" overload (euint16, uint8) => euint16 test 2 (4, 8)', async function () { @@ -13396,12 +13648,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (278, 4)', async function () { + it('test operator "shr" overload (euint16, euint8) => euint16 test 1 (25648, 5)', async function () { const res = await this.contract5.shr_euint16_euint8( - this.instances5.alice.encrypt16(278), - this.instances5.alice.encrypt8(4), + this.instances5.alice.encrypt16(25648), + this.instances5.alice.encrypt8(5), ); - expect(res).to.equal(17); + expect(res).to.equal(801); }); it('test operator "shr" overload (euint16, euint8) => euint16 test 2 (4, 8)', async function () { @@ -13428,9 +13680,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (278, 4)', async function () { - const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(278), 4); - expect(res).to.equal(17); + it('test operator "shr" overload (euint16, uint8) => euint16 test 1 (25648, 5)', async function () { + const res = await this.contract5.shr_euint16_uint8(this.instances5.alice.encrypt16(25648), 5); + expect(res).to.equal(801); }); it('test operator "shr" overload (euint16, uint8) => euint16 test 2 (4, 8)', async function () { @@ -13448,12 +13700,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (1, 6)', async function () { + it('test operator "shl" overload (euint32, euint8) => euint32 test 1 (833510670, 1)', async function () { const res = await this.contract5.shl_euint32_euint8( - this.instances5.alice.encrypt32(1), - this.instances5.alice.encrypt8(6), + this.instances5.alice.encrypt32(833510670), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(64); + expect(res).to.equal(1667021340); }); it('test operator "shl" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { @@ -13480,9 +13732,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (1, 6)', async function () { - const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(1), 6); - expect(res).to.equal(64); + it('test operator "shl" overload (euint32, uint8) => euint32 test 1 (833510670, 1)', async function () { + const res = await this.contract5.shl_euint32_uint8(this.instances5.alice.encrypt32(833510670), 1); + expect(res).to.equal(1667021340); }); it('test operator "shl" overload (euint32, uint8) => euint32 test 2 (4, 8)', async function () { @@ -13500,12 +13752,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (2, 6)', async function () { + it('test operator "shr" overload (euint32, euint8) => euint32 test 1 (3957313401, 6)', async function () { const res = await this.contract5.shr_euint32_euint8( - this.instances5.alice.encrypt32(2), + this.instances5.alice.encrypt32(3957313401), this.instances5.alice.encrypt8(6), ); - expect(res).to.equal(0); + expect(res).to.equal(61833021); }); it('test operator "shr" overload (euint32, euint8) => euint32 test 2 (4, 8)', async function () { @@ -13532,9 +13784,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (2, 6)', async function () { - const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(2), 6); - expect(res).to.equal(0); + it('test operator "shr" overload (euint32, uint8) => euint32 test 1 (3957313401, 6)', async function () { + const res = await this.contract5.shr_euint32_uint8(this.instances5.alice.encrypt32(3957313401), 6); + expect(res).to.equal(61833021); }); it('test operator "shr" overload (euint32, uint8) => euint32 test 2 (4, 8)', async function () { @@ -13552,12 +13804,12 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (4744, 2)', async function () { + it('test operator "shl" overload (euint64, euint8) => euint64 test 1 (18445451452906630791, 5)', async function () { const res = await this.contract5.shl_euint64_euint8( - this.instances5.alice.encrypt64(4744), - this.instances5.alice.encrypt8(2), + this.instances5.alice.encrypt64(18445451452906630791), + this.instances5.alice.encrypt8(5), ); - expect(res).to.equal(18976); + expect(res).to.equal(18405380208016085000); }); it('test operator "shl" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { @@ -13584,9 +13836,9 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (4744, 2)', async function () { - const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(4744), 2); - expect(res).to.equal(18976); + it('test operator "shl" overload (euint64, uint8) => euint64 test 1 (18445451452906630791, 5)', async function () { + const res = await this.contract5.shl_euint64_uint8(this.instances5.alice.encrypt64(18445451452906630791), 5); + expect(res).to.equal(18405380208016085000); }); it('test operator "shl" overload (euint64, uint8) => euint64 test 2 (4, 8)', async function () { @@ -13604,12 +13856,12 @@ describe('TFHE operations', function () { expect(res).to.equal(128); }); - it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (23325, 5)', async function () { + it('test operator "shr" overload (euint64, euint8) => euint64 test 1 (18439569308403000305, 1)', async function () { const res = await this.contract5.shr_euint64_euint8( - this.instances5.alice.encrypt64(23325), - this.instances5.alice.encrypt8(5), + this.instances5.alice.encrypt64(18439569308403000305), + this.instances5.alice.encrypt8(1), ); - expect(res).to.equal(728); + expect(res).to.equal(9219784654201500000); }); it('test operator "shr" overload (euint64, euint8) => euint64 test 2 (4, 8)', async function () { @@ -13636,9 +13888,9 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (23325, 5)', async function () { - const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(23325), 5); - expect(res).to.equal(728); + it('test operator "shr" overload (euint64, uint8) => euint64 test 1 (18439569308403000305, 1)', async function () { + const res = await this.contract5.shr_euint64_uint8(this.instances5.alice.encrypt64(18439569308403000305), 1); + expect(res).to.equal(9219784654201500000); }); it('test operator "shr" overload (euint64, uint8) => euint64 test 2 (4, 8)', async function () { @@ -13656,53 +13908,53 @@ describe('TFHE operations', function () { expect(res).to.equal(0); }); - it('test operator "neg" overload (euint4) => euint4 test 1 (1)', async function () { - const res = await this.contract5.neg_euint4(this.instances5.alice.encrypt4(1)); - expect(res).to.equal(15n); + it('test operator "neg" overload (euint4) => euint4 test 1 (11)', async function () { + const res = await this.contract5.neg_euint4(this.instances5.alice.encrypt4(11)); + expect(res).to.equal(5n); }); - it('test operator "not" overload (euint4) => euint4 test 1 (1)', async function () { - const res = await this.contract5.not_euint4(this.instances5.alice.encrypt4(1)); - expect(res).to.equal(14n); + it('test operator "not" overload (euint4) => euint4 test 1 (13)', async function () { + const res = await this.contract5.not_euint4(this.instances5.alice.encrypt4(13)); + expect(res).to.equal(2n); }); - it('test operator "neg" overload (euint8) => euint8 test 1 (1)', async function () { - const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(1)); - expect(res).to.equal(255n); + it('test operator "neg" overload (euint8) => euint8 test 1 (251)', async function () { + const res = await this.contract5.neg_euint8(this.instances5.alice.encrypt8(251)); + expect(res).to.equal(5n); }); - it('test operator "not" overload (euint8) => euint8 test 1 (1)', async function () { - const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(1)); - expect(res).to.equal(254n); + it('test operator "not" overload (euint8) => euint8 test 1 (187)', async function () { + const res = await this.contract5.not_euint8(this.instances5.alice.encrypt8(187)); + expect(res).to.equal(68n); }); - it('test operator "neg" overload (euint16) => euint16 test 1 (1)', async function () { - const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(1)); - expect(res).to.equal(65535n); + it('test operator "neg" overload (euint16) => euint16 test 1 (25161)', async function () { + const res = await this.contract5.neg_euint16(this.instances5.alice.encrypt16(25161)); + expect(res).to.equal(40375n); }); - it('test operator "not" overload (euint16) => euint16 test 1 (5)', async function () { - const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(5)); - expect(res).to.equal(65530n); + it('test operator "not" overload (euint16) => euint16 test 1 (60538)', async function () { + const res = await this.contract5.not_euint16(this.instances5.alice.encrypt16(60538)); + expect(res).to.equal(4997n); }); - it('test operator "neg" overload (euint32) => euint32 test 1 (1)', async function () { - const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(1)); - expect(res).to.equal(4294967295n); + it('test operator "neg" overload (euint32) => euint32 test 1 (2156295218)', async function () { + const res = await this.contract5.neg_euint32(this.instances5.alice.encrypt32(2156295218)); + expect(res).to.equal(2138672078n); }); - it('test operator "not" overload (euint32) => euint32 test 1 (1)', async function () { - const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(1)); - expect(res).to.equal(4294967294n); + it('test operator "not" overload (euint32) => euint32 test 1 (2475211657)', async function () { + const res = await this.contract5.not_euint32(this.instances5.alice.encrypt32(2475211657)); + expect(res).to.equal(1819755638n); }); - it('test operator "neg" overload (euint64) => euint64 test 1 (40511)', async function () { - const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(40511)); - expect(res).to.equal(18446744073709511105n); + it('test operator "neg" overload (euint64) => euint64 test 1 (18438244346234461619)', async function () { + const res = await this.contract5.neg_euint64(this.instances5.alice.encrypt64(18438244346234461619)); + expect(res).to.equal(8499727475089997n); }); - it('test operator "not" overload (euint64) => euint64 test 1 (51608)', async function () { - const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(51608)); - expect(res).to.equal(18446744073709500007n); + it('test operator "not" overload (euint64) => euint64 test 1 (18443955194473722291)', async function () { + const res = await this.contract5.not_euint64(this.instances5.alice.encrypt64(18443955194473722291)); + expect(res).to.equal(2788879235829324n); }); });