Hi,
tannousmarc has left the following comment at Write CoreInterface unit test
#5
https://www.google-melange.com/gci/task/view/google/gci2014/5823454855036928:
Lack of patch
Sorry for the lack of patch, I will not be able to access my Linux distro
for a while, I just wrote the code in a Windows IDE, and explained
everything I've done in comments, I consider I documented it nicely.
In regards to integration within the project : this goes into
/tests/coreInterface as torus.cpp .
The following files are to be modified : CMakeLists.txt :
set (ciTests_SRC
halfspace.cpp
primitives.cpp
sphere.cpp
cone.cpp
torus.cpp
)
Primitives.cpp :
if (database.Load(argv[1])) {
test_halfspace(database);
test_sphere(database);
test_cone(database);
test_torus(database);
Primitives.h :
void test_halfspace(BRLCAD::Database& database);
void test_sphere(BRLCAD::Database& database);
void test_cone(BRLCAD::Database& database);
void test_torus(BRLCAD::Databse& database);
Regards,
Marc
Greetings,
The Google Open Source Programs Team
---
You are receiving this message because you are subscribed to Write
CoreInterface unit test #5.
To stop receiving these messages, go to:
https://www.google-melange.com/gci/task/view/google/gci2014/5823454855036928.
------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Tracker mailing list
brlcad-tracker@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker