Skip to content

Commit

Permalink
Added or condition in testGetDeviceArchType
Browse files Browse the repository at this point in the history
  • Loading branch information
NehaNaithani committed Jan 29, 2024
1 parent 45715d7 commit 29b14f7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import org.mockito.quality.Strictness;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

/**
* @author nehanaithani
Expand Down Expand Up @@ -54,6 +55,7 @@ public void testGetArchTypeByArchName() {
*/
@Test
public void testGetDeviceArchType() {
assertEquals(ArchitectureType.ARM, ArchitectureType.getDeviceArchType());
assertTrue(ArchitectureType.ARM == ArchitectureType.getDeviceArchType()
|| ArchitectureType.INTEL_AMD == ArchitectureType.getDeviceArchType());
}
}

0 comments on commit 29b14f7

Please sign in to comment.