# Last edited on 2017-07-22 03:47:14 by stolfilocal

PROG = test_jsrandom

TEST_LIB := libjs.a
TEST_LIB_DIR := ../..

JS_LIBS :=

include ${STOLFIHOME}/programs/c/GENERIC-LIB-TEST.make

.PHONY:: do-test

all: do-test

do-test: ${PROG}
	${PROG}
	for xtype in int uint ; do \
          for size in 32 64 ; do \
            for end in lo hi ; do \
              plot-hist.sh $${xtype}$${size}_random_$${end}_A ; \
            done ; \
            for xtest in A B ; do \
              plot-hist.sh $${xtype}$${size}_abrandom_qt_$${xtest} ; \
            done \
          done \
        done
	plot-hist.sh drandom_qt_A

clean::
	rm -f out/*.his out/*.png
