Skip to content

Commit 9c3e605

Browse files
committed
adjust tests for narrowing
1 parent 402204b commit 9c3e605

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

BinaryRelationsTests/BinaryRelationsOperationsTests.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -152,37 +152,37 @@ public void Narrowing()
152152
}.Cast<int, bool>();
153153
var expected = new[,]
154154
{
155-
{1, 1, 1, 1},
156155
{1, 0, 0, 1},
156+
{0, 0, 0, 0},
157+
{0, 0, 0, 0},
157158
{1, 0, 0, 1},
158-
{1, 1, 1, 1},
159159
}.Cast<int, bool>();
160160
Assert.Equal(expected, m1.Narrowing(1, 4));
161161

162162
expected = new[,]
163163
{
164-
{1, 1, 1, 1},
165-
{1, 1, 1, 1},
166164
{1, 1, 0, 0},
167165
{1, 1, 0, 0},
166+
{0, 0, 0, 0},
167+
{0, 0, 0, 0},
168168
}.Cast<int, bool>();
169169
Assert.Equal(expected, m1.Narrowing(1, 2));
170170

171171
expected = new[,]
172172
{
173-
{1, 1, 1, 1},
174173
{1, 0, 1, 1},
175-
{1, 1, 1, 1},
176-
{1, 1, 1, 1},
174+
{0, 0, 0, 0},
175+
{1, 0, 1, 1},
176+
{1, 0, 1, 1},
177177
}.Cast<int, bool>();
178178
Assert.Equal(expected, m1.Narrowing(1, 3, 4));
179179

180180
expected = new[,]
181181
{
182-
{1, 1, 1, 1},
183-
{1, 0, 0, 0},
184-
{1, 0, 0, 0},
185182
{1, 0, 0, 0},
183+
{0, 0, 0, 0},
184+
{0, 0, 0, 0},
185+
{0, 0, 0, 0},
186186
}.Cast<int, bool>();
187187
Assert.Equal(expected, m1.Narrowing(1));
188188
}

0 commit comments

Comments
 (0)