// =============================================================================
// =ALEKSI TESTS - MAP-DEPTH
// =============================================================================

@import "aleksi/maps/map-depth";

@include test-module('The map-depth function')
{
  @include test('should return the depth level of a given map')
  {
    @include assert-equal( map-depth($str-map), 1 );
    @include assert-equal( map-depth($mix-map), 1 );
    @include assert-equal( map-depth($nested-map), 2 );
    @include assert-equal( map-depth($double-nested-map), 3 );
  }

  // @include xtest('should throw an error if invalid arguments are passed')
  // {
  //   @include assert-equal( map-depth($str-list), null );
  //   @include assert-equal( map-depth($int), null );
  // }
}