public class MathOperations extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.openqa.selenium.WebDriver |
driver |
| Constructor and Description |
|---|
MathOperations(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isNumberDivisibleBy(int number,
int divisibleBy)
Checks if given number is divisible by X(integer).
|
public static boolean isNumberDivisibleBy(int number,
int divisibleBy)
throws Exception
number - the number Ex: 20divisibleBy - the divisible by X(integer). Ex: 2Exception - the exception