Mercurial > vim
view runtime/macros/maze/mazeansi.c @ 32252:f99b85fc18e7 v9.0.1457
patch 9.0.1457: no regression test for what patch 9.0.1333 fixes
Commit: https://github.com/vim/vim/commit/ceff9cd1bb194f252c63da8e1c2dc7d6764d9d1f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 16 17:17:37 2023 +0100
patch 9.0.1457: no regression test for what patch 9.0.1333 fixes
Problem: No regression test for what patch 9.0.1333 fixes.
Solution: Extend existing test to cover the fixed problem. (issue https://github.com/vim/vim/issues/11930)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Apr 2023 18:30:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
char*M,A,Z,E=40,J[80],T[3];main(C){for(M=J+E,*J=A=scanf("%d",& C) ;-- E;J [E ]=M [E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|" ) , A = 39 ,C -- ) ; Z || printf (T ))T[Z]=Z[A-(E =A[J-Z])&&!C & A == M[ A] |6<<27<rand()||!C&!Z?J[M[E]=M[A]]=E,J[M[A]=A-Z]=A,"_.":" |"];}