Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
homothetyhk committed Mar 2, 2024
1 parent bba2afe commit 47acda0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RandomizerCore/RandomizerCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<ProjectGuid>ae78b8e8-a733-44a2-be63-d264c82118b7</ProjectGuid>
<AssemblyTitle>RandomizerCore</AssemblyTitle>
<VersionPrefix>2.0.1</VersionPrefix>
<VersionPrefix>2.0.2</VersionPrefix>
<VersionSuffix></VersionSuffix>
<TargetFrameworks>netstandard2.1;net472;net6.0;net8.0</TargetFrameworks>
<Deterministic>true</Deterministic>
Expand Down
11 changes: 11 additions & 0 deletions RandomizerCoreTests/LogicDefEndToEndTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,17 @@ public void TestLogic1()
l1.CanGet(pm).Should().BeTrue();
}

[Fact]
public void OrigCoalesceTest()
{
LogicManagerBuilder lmb = new();
lmb.GetOrAddTerm("A");
lmb.DoLogicEdit(new("L1", "ORIG?A"));
lmb.LogicLookup["L1"].ToInfix().Should().Be("A");
lmb.AddTransition(new("T", "A"));
lmb.DoLogicEdit(new("L2", "ORIG?*T"));
lmb.LogicLookup["L2"].ToInfix().Should().Be("*T");
}

}
}

0 comments on commit 47acda0

Please sign in to comment.