File: estshift.mk

package info (click to toggle)
bart-cuda 0.8.00-2
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, sid
  • size: 7,752 kB
  • sloc: ansic: 100,267; python: 717; makefile: 576; sh: 564; cpp: 104
file content (14 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

tests/test-estshift: estshift ones resize flip
	set -e; mkdir $(TESTS_TMP) ; cd $(TESTS_TMP)						;\
	$(TOOLDIR)/ones 1 1 o.ra								;\
	$(TOOLDIR)/resize -c 0 100 o.ra o0.ra							;\
	$(TOOLDIR)/flip 1 o0.ra o1.ra								;\
	$(TOOLDIR)/estshift 1 o1.ra o1.ra | grep "0.000000"					;\
	$(TOOLDIR)/estshift 1 o0.ra o1.ra | grep "1.000000" 					;\
	rm *.ra ; cd .. ; rmdir $(TESTS_TMP)
	touch $@


TESTS += tests/test-estshift