Ad
  • Default User Avatar

    thanks :-)

  • Default User Avatar

    Could anyone approve my GO-Translation ?

  • Default User Avatar

    thanks for the hint ... got it now :-)

  • Default User Avatar

    could it be that there is something wrong with the random tests ?

        return files[10]
        
        =>
        
        Random test - 50 files
    'I///A' should equal 'N/├── F/│   └── S/├── H/│   ├── D/│   │   └── A/│   ├── a/│   │   └── G/│   │       └── K/│   │           └── Q/│   └── d/│       └── f/│           └── n/│               └── d/│                   └── u/├── I/│   ├── X/│   │   └── q/│   └── A/├── K/│   └── c/│       └── W/├── L/│   ├── H/│   │
    
        ```
        
        
    
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    I do not print anything to the console, also if I run it with (and return [] on the random tests)

    if len(files) > 20:
    return []

    it returns the same error

  • Default User Avatar

    Hello,

    I did attempt the kata and all not random tests pass but all the random fail. "Max Buffer Size Reached (1.5 MiB)" Any idea why that could be? Thanks!

    Time: 1336msPassed: 5 Failed: 85 Exit Code: 137
    Test Results:
    Example tests
    Empty file list
    Singleton file list
    Dobbleton file list
    Files last
    Example from description
    Completed in 0.22ms
    Random tests
    Random test - 50 files (0 of 30 Assertions)
    Random test - 100 files (0 of 30 Assertions)
    Random test - 500 files (0 of 20 Assertions)
    Random test - 2000 files (0 of 5 Assertions)
    STDERR
    Max Buffer Size Reached (1.5 MiB)

  • Default User Avatar

    Hello,

    could someone please approve my translation https://www.codewars.com/kumite/5fe34a61262ca6002bcd923c

    thanks!