@include test-module('Sassdash') {
  @include test('_xor') {
    @include assert-true(test-lists-equal(_xor(1 2 5, 2 3 5, 3 4 5), 1 4 5),
      'should return the symmetric difference of the given lists');

    @include assert-true(test-lists-equal(_xor(1 1 2 5, 2 2 3 5, 3 4 5 5), 1 4 5),
      'should return a list of unique values');

    @include assert-true(test-lists-equal(_xor(1 1), (1,)),
      'should return a list of unique values');

    $list: 1 2;

    @include assert-true(test-lists-equal(_xor((0,), 3, null, (1: 2)), (0,)),
      'should ignore individual secondary arguments');

    @include assert-true(test-lists-equal(_xor($list, 3, null, (1: 2)), $list),
      'should ignore values that are not lists or arguments objects');

    @include assert-true(test-lists-equal(_xor(null, $list, null, 2 3), 1 3),
      'should ignore values that are not lists or arglists');

    @include assert-true(test-lists-equal(_xor(null, $list, null, test-args(1, 2, 3)), (3,)),
      'should ignore values that are not lists or arglists');

    @include assert-true(test-lists-equal(_(1 2 3, _xor (5 2 1 4)), 3 5 4),
      'should be chainable');
  }
}