title: How do I set up a TestCase that tools a bool as an input
body: <p>I would like to do two test cases that are evaluating on their boolean value.</p>
  <pre><code>public string ActivateAgent(bool trueorfalse)
          {
              agentActivationStatus = true;
              agentPriviledge = true;
  
              return $&quot;Agent activation status {agentActivationStatus}, SHD priviledges {agentPriviledge}, Agent {surname} is now active&quot;;
          }
  </code></pre>
  <p>I've only done unit tests with integer and strings, never a bool. This is the TestCase I tried to create:</p>
  <pre><code>
  [TestCase(true)]
          public void AgentIsActivated(bool expected)
          {
              bool result = Agent.ActivateAgent(bool true);
              Assert.AreEqual(expected, result);
          }
  </code></pre>
  <p>All I want to test is whether the agent is activated.</p>
  <p>This is the full class for Agent, pretty basic but I'm new to C#.</p>
  <pre><code>
  public class Agent
      {
          string agentID;
         public bool agentActivationStatus = false; //activated yes no
          bool agentPriviledge = false; //has agent priviledges
          int waveStatus;
          public bool agentStatus = false;
          public DateTime agentLastSeen = DateTime.Now; //agent last seen alive
          public readonly string forename; //agent first name
          public readonly string surname; //agent last name;
  
          //CONSTRUCTORS --------------------------------------------------
          public Agent(string fname, string lname)
          {
              forename = fname;
              surname = lname;
              string fullname = fname + &quot; &quot; + lname;
          }
  
          //METHODS --------------------------------------------------------
          public string ActivateAgent(bool trueorfalse)
          {
              agentActivationStatus = true;
              agentPriviledge = true;
  
              return $&quot;Agent activation status {agentActivationStatus}, SHD priviledges {agentPriviledge}, Agent {surname} is now active&quot;;
          } 
  
          public string DeactivateAgent(bool trueorfalse)
          {
              agentActivationStatus = false;
              agentPriviledge = false;
  
              return $&quot;Agent activation status {agentActivationStatus}, SHD priviledges {agentPriviledge}, Agent {surname} is now unactive.&quot;;
          }
  
          public string getAgentStatus()
          {
              return $&quot;Agent activation is {agentActivationStatus}, Agent is active&quot;;
          }
  
          //public string getAgentStatus()
          //{
          //    //string result = &quot; &quot;;
          //    //DateTime lastSeen30Days = agentLastSeen.AddDays(30);
          //    //if (agentLastSeen &gt; lastSeen30Days &amp;&amp; agentPriviledge ==)
          //    //{
          //    //   result = $&quot;Agent was last seen {lastSeen30Days}, Agent is presumed MIA &quot;;
          //    //}
          //    //else if (agentStatus == false &amp;&amp; agentPriviledge == true)
          //    //{
          //    //    result = $&quot;Agent was last seen {agentLastSeen} deceased.&quot;;
          //    //}
          //    //else
          //    //{
          //    //    result = $&quot;Agent was last seen {agentLastSeen} Alive&quot;;
          //    //}
          //    //return result;
          }
  
  </code></pre>