From f4c620c7f81c8344141a84718070dfef28326e8e Mon Sep 17 00:00:00 2001 From: vsuryakumar Date: Mon, 30 Jan 2023 13:50:53 +0530 Subject: [PATCH] created Common Interface for all the calculation classes. --- .../refactoredapp/domain/TestRightResultCalculation.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/src/main/java/com/example/refactoredapp/domain/TestRightResultCalculation.kt diff --git a/app/src/main/java/com/example/refactoredapp/domain/TestRightResultCalculation.kt b/app/src/main/java/com/example/refactoredapp/domain/TestRightResultCalculation.kt new file mode 100644 index 0000000..63e3a47 --- /dev/null +++ b/app/src/main/java/com/example/refactoredapp/domain/TestRightResultCalculation.kt @@ -0,0 +1,10 @@ +package com.example.refactoredapp.domain + +import com.example.refactoredapp.data.model.TestRightCalculationData +import com.example.refactoredapp.data.model.TestRightResultType + +interface TestRightResultCalculation { + fun getResults( + wavelengthToAbsorbance: ArrayList> + ): TestRightCalculationData +} \ No newline at end of file