diff options
Diffstat (limited to 'cas.c')
-rw-r--r-- | cas.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* * File : cas.c * Author : Jérémy Zurcher <jeremy@asynk.ch> - * Date : 01/11/09 + * Date : 2009/11/01 * License : * * Permission is hereby granted, free of charge, to any person obtaining @@ -75,6 +75,12 @@ int main( int argc, char*argv[], char*env[] ) _check((_hi_eq(mem,&v5)),"3 hi value is wrong"); _check((_lo_eq(mem,&v1)),"3 lo value is wrong"); + _hi(old_val,&v1); _lo(old_val,&v2); + _hi(mem,&v4); _lo(mem,&v5); + mem = old_val; + _check((_hi_eq(mem,&v1)),"4 lo value is wrong"); + _check((_lo_eq(mem,&v2)),"4 lo value is wrong"); + printf("success\n"); return EXIT_SUCCESS; |