From b843a54cfc24ba01acd659bfde6fe985cc380d04 Mon Sep 17 00:00:00 2001 From: "Garg, Vijay [Engineering]" Date: Tue, 26 Nov 2024 12:29:23 +0000 Subject: [PATCH] use existing method for lambda comparision --- .../core_dataquality_test/dataquality_test_utils.pure | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/legend-engine-xts-dataquality/legend-engine-xt-dataquality-pure-test/src/main/resources/core_dataquality_test/dataquality_test_utils.pure b/legend-engine-xts-dataquality/legend-engine-xt-dataquality-pure-test/src/main/resources/core_dataquality_test/dataquality_test_utils.pure index 1c87bc072f8..8746277d50c 100644 --- a/legend-engine-xts-dataquality/legend-engine-xt-dataquality-pure-test/src/main/resources/core_dataquality_test/dataquality_test_utils.pure +++ b/legend-engine-xts-dataquality/legend-engine-xt-dataquality-pure-test/src/main/resources/core_dataquality_test/dataquality_test_utils.pure @@ -65,17 +65,6 @@ function meta::external::dataquality::tests::doRelationTest(dq:String[1], valida assertLambdaEquals($expected, $actual->cast(@LambdaFunction)); } -function meta::external::dataquality::tests::doRelationTestWithLimit(dq:String[1], validationName:String[1], expected:FunctionDefinition[1], resultLimit: Integer[1]):Boolean[1] -{ - let dataqualityRelationValidation = $dq->loadDataQualityRelationValidation(); - - let actual = $dataqualityRelationValidation->meta::external::dataquality::generateDataqualityRelationValidationLambda($validationName, $resultLimit); - - assertLambdaEquals($expected, $actual->cast(@LambdaFunction)); -} - - - function meta::external::dataquality::tests::assertLambdaAndJSONEquals(expected:FunctionDefinition[1], actual:LambdaFunction[1]): Boolean[1] { assertLambdaEquals($expected, $actual);