public void Run( [Values("no", "base", "full")] string mask_type, [Values(cpu1, cpu2, cpu3)] string slave_cpu, [Values(cpu1, cpu2, cpu3)] string master_cpu, [Values(mask, null)] string mask_bits ) { Assert.AreEqual( Expected(mask_type, slave_cpu, master_cpu, mask_bits), PoolJoinRules.MaskableTo(mask_type, slave_cpu, master_cpu, mask_bits)); }
public bool Run(string maskType, string slaveCpu, string masterCpu, string maskBits) { return(PoolJoinRules.MaskableTo(maskType, slaveCpu, masterCpu, maskBits)); }