// =============================================================================
// =ALEKSI TESTS - MAP-EXTEND
// =============================================================================

@import "aleksi/maps/map-extend";
@import "aleksi/maps/map-sort-keys";

@include test-module('The function map-extend')
{
  @include test('should merge multiple maps together, and give priority to right most values')
  {
    @include assert-equal( map-sort(map-extend($map-a, $map-b)), $map-ab );
    @include assert-equal( map-sort(map-extend($map-a, $map-b, $map-c)), $map-abc );
  }

  // @include xtest('should throw an error when passed wrong arguments')
  // {
  //   @include assert-equal( map-extend($num-list, $map-b), null );
  //   @include assert-equal( map-extend($map-a, $num-list, $map-c), null );
  // }
}