Ad
  • Custom User Avatar
  • Custom User Avatar

    This is plain wrong:

    [
      'Kelton Y.',            'Lane Yoder',
      'Cornelius I.',         'Marquis Yoder',
      'Marie Sampson',        'Marquis M.',
      'Noemi U. Sampson',     'Terrance E.',
      'Athena V. Berry',      'Richard S.',
      'Terrance C. Sampson',  'Kelton P. Lam',
      'Aryan Cisneros',       'Marie E. Cisneros',
      'Cornelius U. Sampson', 'Athena',
      'Aryan L.',             'Marie R. Yoder',
      'Cornelius M. Yoder',   'Aryan',
      'Marquis L.',           'Andres N.',
      'Kelton R. Snyder',     'Athena',
      'Sharon',               'Cornelius P.',
      'Sharon Yoder',         'Lane Y. Snyder',
      'Marquis A. Fleming',   'Terrance'
    ] L*n* Y****
    
    expected [ 'Lane Yoder' ] to deeply equal [ 'Lane Yoder', 'Lane Y. Snyder' ]
    

    How can Y**** match Y.?

  • Custom User Avatar

    Matching logic with more than 1 word is unspecified:

    [
      'Andres T.',             'Sharon O. Berry',
      'Andres L.',             'Marquis A. Prince',
      'Sharon J. Adams',       'Sharon Yoder',
      'Lane H.',               'Richard Yoder',
      'Kelton A.',             'Marie Fleming',
      'Athena Y.',             'Athena W. Prince',
      'Andres J. Cisneros',    'Andres',
      'Kelton',                'Sharon Sampson',
      'Terrance Snyder',       'Marie',
      'Terrance',              'Andres R. Lam',
      'Aryan',                 'Athena M.',
      'Richard H. Cisneros',   'Aryan O.',
      'Athena H. Cross',       'Kelton Snyder',
      'Cornelius G. Cisneros', 'Marie S. Lam',
      'Marie',                 'Terrance S. Snyder',
      'Sharon U.',             'Lane C.',
      'Sharon P. Prince',      'Marie Snyder',
      'Terrance A. Sampson',   'Marquis',
      'Kelton Y.',             'Richard',
      'Cornelius',             'Noemi T. Sampson',
      'Terrance M.',           'Richard Y.',
      'Marie U.'
    ] Sharon Berry
    
    expected [] to deeply equal [ 'Sharon O. Berry' ]
    
  • Custom User Avatar

    I find the word 'turn' very confusing. Even if you explain what it means later in the description. A turn usually involves a change in direction. Care to pick an alternative?

  • Custom User Avatar

    This ( note the "Failed Tests" ) is why there should be no rounding, but comparing with a margin for error. This is documented.