Added UnitTest cases.

This commit is contained in:
vsuryakumar
2023-02-04 21:19:21 +05:30
parent 3b782ea863
commit bbf3ba8de0
8 changed files with 14886 additions and 20 deletions

View File

@@ -41,8 +41,8 @@ class TestRightViewModel : ViewModel() {
val calculationVariableList = ArrayList<CalculationVariableForTest>()
fun mapDeviceConstants(string: String) {
Log.d(TAG, "mapDeviceConstants() called")
// viewModelScope.launch {
// Log.d(TAG, "mapDeviceConstants() called")
// Log.d(TAG, "mapDeviceConstants() value -> $string")
if (string.isNotEmpty()) {
val listOfStrings = string.split(",")
if (listOfStrings.size >= 4) {