How would you unit test this?
if ( Jack.WorkQuantity == "All"
&& Jack.PlayQuantity == "No" )
{
Jack.BoyType = BoyTypes.Dull;
}
It’s a trick question, the answer is “Don’t.” Go outside, nerd.
if ( Jack.WorkQuantity == "All"
&& Jack.PlayQuantity == "No" )
{
Jack.BoyType = BoyTypes.Dull;
}
It’s a trick question, the answer is “Don’t.” Go outside, nerd.