]>Regression Test Selection for C# Programs : Algorithm 4
Input: Set ED of affected or potentially affected edges traversed in the CIG graph
Set of test cases 𝑇 that covers the classes in ACD
Output: set 𝑇 of test cases selected from 𝑇 .
Description: this algorithm is responsible for finding the test cases 𝑇 from 𝑇 that traverse
those affected or potentially affected edges. Selection is based on the test cases selected from
the affected class diagram.
𝑇 = 𝜙
𝑒 𝐸 𝐷 do
   {
   For each 𝑡 𝑖 𝑇
     {
     If 𝑡 𝑖 covers 𝑒  // if the test case 𝑡 𝑖 traverses the modified edge 𝑒
      𝑇 = 𝑇 𝑡 𝑖
     }
   }
Return 𝑇
Algorithm 4: Algorithm to find 𝑇 .