From 2fd17cc697d9a66c08a5e1cd821ac4d0bbe43b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Mon, 10 Dec 2018 14:43:11 +0200 Subject: [PATCH] test_latticegenxyweb.c fix compilation command, add test case. Former-commit-id: 08b07d41cd6819ccb272cf3310467e806da9f6fe --- tests/test_latticegenxyweb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_latticegenxyweb.c b/tests/test_latticegenxyweb.c index 2c98b3d..5a70439 100644 --- a/tests/test_latticegenxyweb.c +++ b/tests/test_latticegenxyweb.c @@ -1,4 +1,4 @@ -//c99 -o test_latticegenxyweb -ggdb -Wall -I ../ test_latticegenxyweb.c ../qpms/latticegens.c -lm +//c99 -o test_latticegenxyweb -ggdb -Wall -I ../ test_latticegenxyweb.c ../qpms/latticegens.c ../qpms/lattices2d.c -lm #define QPMS_VECTORS_NICE_TRANSFORMATIONS #include #include @@ -46,6 +46,9 @@ int main(int argc, char **argv) { b1.x = 1.342, b1.y = 4.3121; b2.x = -1.83, b2.y = 1.4; g = PGen_xyWeb_new(b1, b2, 1e-13, offset, 0, true, 8, false); dump_PGenCart2("oblique1.xydump", &g); + g = PGen_xyWeb_new(b1, b2, 1e-13, offset, 0, false, 8, false); + dump_PGenCart2("oblique1_noorig.xydump", &g); + return 0;