From 72af0dedf9e18911da65b9a5c4906689e868d9fc Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Mon, 8 Jun 2026 17:10:31 +0800 Subject: [legacy] Add functional and performance test suites --- .../tests/performance/05_brainfuck-bootstrap.in | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 rcc-legacy/tests/performance/05_brainfuck-bootstrap.in (limited to 'rcc-legacy/tests/performance/05_brainfuck-bootstrap.in') diff --git a/rcc-legacy/tests/performance/05_brainfuck-bootstrap.in b/rcc-legacy/tests/performance/05_brainfuck-bootstrap.in new file mode 100644 index 0000000..158b37b --- /dev/null +++ b/rcc-legacy/tests/performance/05_brainfuck-bootstrap.in @@ -0,0 +1,24 @@ +>>>+[[-]>>[-]++>+>+++++++[<++++>>++<-]++>>+>+>+++++[>++>++++++<<-]+>>>,<++[[>[ +->>]<[>>]<<-]<[<]<+>>[>]>[<+>-[[<+>-]>]<[[[-]<]++<-[<+++++++++>[<->-]>>]>>]]<< +]<]<[[<]>[[>]>>[>>]+[<<]<[<]<+>>-]>[>]+[->>]<<<<[[<<]<[<]+<<[+>+<<-[>-->+<<-[> ++<[>>+<<-]]]>[<+>-]<]++>>-->[>]>>[>>]]<<[>>+<[[<]<]>[[<<]<[<]+[-<+>>-[<<+>++>- +[<->[<<+>>-]]]<[>+<-]>]>[>]>]>[>>]>>]<<[>>+>>+>>]<<[->>>>>>>>]<<[>.>>>>>>>]<<[ +>->>>>>]<<[>,>>>]<<[>+>]<<[+<<]<] +[input a brainfuck program and its input, separated by an exclamation point. +Daniel B Cristofani (cristofdathevanetdotcom) +http://www.hevanet.com/cristofd/brainfuck/] +#i896#>>>>>++++++++[<+++++++++>-]<+[>>[>]+[<]<-]>++++++++++[<+++++ ++++++>-]<[>>[+>]<[<]<-]<++++++++[>++++++++[>>->->->>>>>>>>>> +>->>>->>>>>>->->->->>->>>->>>>->>>>>->->>>>>>->>>>->>>>>->-> +>>>>->>>->>>>>>>->-[<]<-]>>++>++>->>+>++>++>+>>>>++>>->+>>-> +>>>++>>+>+>+>--->>->+>+>->++>>>->++>>+>+>+>--->>-->>+>>->+>+ +>>->>+>++>+>+>->+>>++>++>->>++>->>++>+>++>+>>+>---[<]<<-]>>> +++++>++++>+++>--->++>->->->>[-]>->-->[-]>+++>++>+>+++>--->>> +--->[-]>+>+>+>--->[-]>+++>++>+>+++>->+++>>+++>++>---->->->+> +--->[-]>->---->-->>+++>++>+>>+++>->++>++>+>->+++>+++>---->-- +>-->+++>++++>->+++>---->--->++>>+>->->---[[<]<]+++++++++[<+< ++++++++++++>>-]<<[>>>>>[<]>[.>]>--[>.>]<[<<]>++>>>[.>]>[>]>[ +.>]<[[<]<]>>[.>]>--[>.>]<[<<]>++>>>[.>]>[.>]>[>]>[.>]<[[<]<] +<<[<]>>>+<[>-]>[>]<[+++++++++[<+<->>>>>+<<<-]+<<[>>-]>>>[<]< +<<++++++++++>>[>>[-]+<<-]>>-<<]>>>-[>]>-<<[<]>[.>]>--[>.>]<[ +<<]>++>>>[.>]>[>]>[.>]<.[[<]<]<<[<]>>-<-]! -- cgit v1.2.3