/// /// Copyright (c) 2021 Sensus Slovensko a.s. /// using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Common { public class Utils { public static string GetTestName(string name, int repeats, int repetitionNr) { if (name == null) return null; if (repeats == 1) return name; return string.Format("{0} ({1}/{2})", name, repetitionNr, repeats); } } }