public void PositiveFilingIndicatorsMatchExactly() { var ctx = new Context(); var a = new FilingIndicatorCollection(); a.Add(ctx, "A.00.01", true); var b = new FilingIndicatorCollection(); b.Add(ctx, "A.00.01", true); Assert.AreEqual(a, b); }
public void PositiveFilingIndicatorsMatchImplicitly() { var ctx = new Context(); var a = new FilingIndicatorCollection(); a.Add(ctx, "A.00.01", true); var b = new FilingIndicatorCollection(); b.Add(ctx, "A.00.01"); Assert.Equal(a, b); }
public void NegativeFilingIndicatorsMatchExactly() { var ctx = new Context(); var a = new FilingIndicatorCollection(); a.Add(ctx, "A.00.01", false); var b = new FilingIndicatorCollection(); b.Add(ctx, "A.00.01", false); Assert.Equal(a, b); }
public void FilingIndicatorCollectionsMatchFunctionally() { var c0 = new Context(); var a = new FilingIndicatorCollection(); a.Add(c0, "A", true); a.Add(c0, "B", true); a.Add(c0, "C", false); var c1 = new Context(); var b = new FilingIndicatorCollection(); b.Add(c1, "B"); b.Add(c1, "A"); Assert.IsTrue(a.Equals(b)); }
public void FilingIndicatorCollectionsMatchFunctionally() { var c0 = new Context(); var a = new FilingIndicatorCollection(); a.Add(c0, "A", true); a.Add(c0, "B", true); a.Add(c0, "C", false); var c1 = new Context(); var b = new FilingIndicatorCollection(); b.Add(c1, "B"); b.Add(c1, "A"); Assert.True(a.Equals(b)); }