(wrong string) ée

From: <git_AT_suckless.org>
Date: Wed, 11 May 2016 16:16:22 +0200 (CEST)

commit 309a26ec5b7b3174feb41e9d53c35549ee91419d
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Wed May 11 16:16:08 2016 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Wed May 11 16:16:08 2016 +0200

    test: check that zstr_length validates the radix incorrectly
    
    Signed-off-by: Mattias Andrée <maandree_AT_kth.se>

diff --git a/test.c b/test.c
index 1b18b42..0fc8c52 100644
--- a/test.c
+++ b/test.c
_AT_@ -831,6 +831,10 @@ main(void)
         assert_nr(zmodpowu(a, _0, 1, _0));
         assert_nr(zmodpowu(a, _1, 0, _0));
         assert_nr((zneg(_1, _1), zmodpowu(a, _1, 0, _0))); zneg(_1, _1);
+ assert_nr(zstr_length(a, 0));
+ assert_nr(zstr_length(a, 1));
+ zstr_length(a, 2);
+ zstr_length(a, 3);
 #endif
 
         zsetu(a, 1LL);
Received on Wed May 11 2016 - 16:16:22 CEST

This archive was generated by hypermail 2.3.0 : Wed May 11 2016 - 16:24:15 CEST