%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "/lilypond-2.24.4/input/regression/other/lilypond-version-outdated.ly"
\sourcefileline 0
\version "2.23.7"

\header {
  texidoc = "Test for versions considered outdated or not
(used when suggesting @code{convert-ly})."
}

%% This is a unit test since we cannot change the
%% version number of the LilyPond binary that is
%% running.

#(define (expect-outdated expected-result file-version lily-version)
   (let ((result (lilypond-version-outdated? file-version lily-version)))
     (if (not (eq? result expected-result))
         (ly:error "test failed: lilypond-version-outdated? returned ~a on ~a and ~a"
                   result
                   file-version
                   lily-version))))

#(expect-outdated #t '(1 50 46) '(2 22 1))
#(expect-outdated #f '(3 20 46) '(2 22 1))
#(expect-outdated #t '(2 20 50) '(2 22 1))
#(expect-outdated #f '(2 24 0) '(2 22 1))
#(expect-outdated #f '(2 22 0) '(2 22 1))
#(expect-outdated #f '(2 22 1) '(2 22 0))
#(expect-outdated #t '(2 23 0) '(2 23 1))
#(expect-outdated #f '(2 23 1) '(2 23 0))
#(expect-outdated #t '(2 23 0) '(2 23 1 my-patch-level))



% ****************************************************************
% end ly snippet
% ****************************************************************
