in reply to (Golf) Fibonacci Strings

Shouldn't "ab" pass? I see your sample is_fibo function failing it (based on the output you give above). Also, I recomend adding the following string: "abaabbbaaaaabbbbbbbbaaaaaaaaaaaa" to the test which should be not fibo.

Replies are listed 'Best First'.
Re: Re: (Golf) Fibonacci Strings
by danger (Priest) on Jul 19, 2001 at 23:17 UTC

    Note, the caveats section of my post where I explicitly rule out any two character sequences as being trivial sequences. So 'ab' fails. As for 'abaabbbaaaaabbbbbbbbaaaaaaaaaaaa', yes it should fail and could be added, but I wasn't going for an exhaustive test suite, merely a few examples to get started with.