Exemple #1
0
 private static async Task ClickMinute(this IVisualElement <Popup> popup, int minute)
 => await popup.ClickButton(Clock.MinutesCanvasPartName, (minute % 5 == 0 ? (minute / 5 + 11) % 12 : minute - minute / 5 + 11));
Exemple #2
0
 private static async Task ClickHour(this IVisualElement <Popup> popup, int hour)
 => await popup.ClickButton(Clock.HoursCanvasPartName, (hour + 11) % 12);