Skip to content

Commit

Permalink
adjust tests for narrowing
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxRev-Dev committed Oct 15, 2019
1 parent 402204b commit 9c3e605
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions BinaryRelationsTests/BinaryRelationsOperationsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,37 +152,37 @@ public void Narrowing()
}.Cast<int, bool>();
var expected = new[,]
{
{1, 1, 1, 1},
{1, 0, 0, 1},
{0, 0, 0, 0},
{0, 0, 0, 0},
{1, 0, 0, 1},
{1, 1, 1, 1},
}.Cast<int, bool>();
Assert.Equal(expected, m1.Narrowing(1, 4));

expected = new[,]
{
{1, 1, 1, 1},
{1, 1, 1, 1},
{1, 1, 0, 0},
{1, 1, 0, 0},
{0, 0, 0, 0},
{0, 0, 0, 0},
}.Cast<int, bool>();
Assert.Equal(expected, m1.Narrowing(1, 2));

expected = new[,]
{
{1, 1, 1, 1},
{1, 0, 1, 1},
{1, 1, 1, 1},
{1, 1, 1, 1},
{0, 0, 0, 0},
{1, 0, 1, 1},
{1, 0, 1, 1},
}.Cast<int, bool>();
Assert.Equal(expected, m1.Narrowing(1, 3, 4));

expected = new[,]
{
{1, 1, 1, 1},
{1, 0, 0, 0},
{1, 0, 0, 0},
{1, 0, 0, 0},
{0, 0, 0, 0},
{0, 0, 0, 0},
{0, 0, 0, 0},
}.Cast<int, bool>();
Assert.Equal(expected, m1.Narrowing(1));
}
Expand Down

0 comments on commit 9c3e605

Please sign in to comment.