You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test('same line, different orientation', () {
final first =lineString([
[0, 0],
[0, 5],
[5, 5],
[5, 0]
]);
final second =lineString([
[5, 0],
[5, 5],
[0, 5],
[0, 0]
]);
final defaultParam =Equality();
final reversedTrue =Equality(reversedGeometries:true);
final reversedFalse =Equality(reversedGeometries:false);
expect(defaultParam.compare(first, second), true); // should be falseexpect(reversedTrue.compare(first, second), false); // should be trueexpect(reversedFalse.compare(first, second), true); // should be false
});
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: