Bignum test: Move identical function to superclass

No intended change in generated test cases.

Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
Janos Follath 2022-11-09 12:31:23 +00:00
parent 0cd8967ba1
commit 87df373e0e
3 changed files with 6 additions and 10 deletions

View file

@ -132,11 +132,6 @@ class BignumOperation(bignum_common.OperationCommon, BignumTarget,
tmp = "large " + tmp
return tmp
@classmethod
def generate_function_tests(cls) -> Iterator[test_case.TestCase]:
for a_value, b_value in cls.get_value_pairs():
yield cls(a_value, b_value).create_test_case()
class BignumCmp(BignumOperation):
"""Test cases for bignum value comparison."""