From 7b5eb7e675ee0978e1b17b75f827dcd45df8c250 Mon Sep 17 00:00:00 2001 From: Cyril SIX Date: Tue, 5 Jun 2018 17:48:22 +0200 Subject: WIP - Changed all the general tests to include PRNG (instead of small constants) --- test/mppa/general/compw.eq.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test/mppa/general/compw.eq.c') diff --git a/test/mppa/general/compw.eq.c b/test/mppa/general/compw.eq.c index f030d86b..dc7a3ab1 100644 --- a/test/mppa/general/compw.eq.c +++ b/test/mppa/general/compw.eq.c @@ -1,4 +1,7 @@ -int main(void){ - int a = 5, b = -2; - return (a == b); +#include "framework.h" + +BEGIN_TEST(int) +{ + c = ((a & 0x1) == (b & 0x1)); } +END_TEST() -- cgit