Skip to content

Commit

Permalink
Added theory to compare. The nodes are then children of a Theory Test…
Browse files Browse the repository at this point in the history
…-Suite.
  • Loading branch information
OsirisTerje committed Oct 10, 2023
1 parent 019961b commit 3fbd92c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Issue4491/OtherTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Issue4491;

internal class OtherTests
{
internal enum TestType
{
Test,
Theory,
Whatever
}


[Theory]
public void TestTheory(TestType t)
{
TestContext.WriteLine(TestContext.CurrentContext.Test.ID);
Assert.Pass();
}
}
1 change: 1 addition & 0 deletions Issue4491/UnitTest1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ public void Test3()
bool x = true;
Assert.That(x, Is.True);
}

}

0 comments on commit 3fbd92c

Please sign in to comment.