Write CoreInterface unit test #2BRL-CAD
Status: ClosedTime to complete: 100 hrs Mentors: Popescu Andrei, Mihai NeacsuTags: unit test, library, oop, testing, C++

The C++ Object-oriented API, called CoreInterface aims to provide an easier-to-use, object-oriented interface over the already very powerful set of BRL-CAD tools some of the primitives(classes representing objects have already been written)

You can check out the core interface code from our subversion repository: svn checkout https://svn.code.sf.net/p/brlcad/code/rt^3/trunk rt^3

Your task is to write a unit test for the ellipsoid primitive. It should be put in /rt^3/tests/

Code:

  • rt^3/src/coreInterface/Ellipsoid.cpp
  • rt^3/include/brlcad/Ellipsoid.h

Please upload your work in a svn patch(diff) format: svn diff rt^3 my_changes.patch

References:
  • rt^3/tests/halfspace.cpp
  • rt^3/tests/primitives.cpp
  • rt^3/tests/PrintTitle.cpp
Modify:
  • rt^3/tests/ellipsoid.cpp -- you create this
  • rt^3/tests/CMakeLists.txt -- add your new file in here
Uploaded Work
File name/URLFile sizeDate submitted
task-41-add-coreinterface-ellipsoid-tests.diff11.8 KBDecember 27 2014 01:50 UTC
task-41-add-coreinterface-ellipsoid-tests.diff11.9 KBDecember 27 2014 02:15 UTC
task-41-add-coreinterface-ellipsoid-tests.diff11.9 KBDecember 27 2014 16:27 UTC
Comments
Andromeda Galaxyon December 25 2014 20:50 UTCTask Claimed

I would like to work on this task.

Mihai Neacsu on December 25 2014 21:02 UTCTask Assigned

This task has been assigned to Andromeda Galaxy. You have 100 hours to complete this task, good luck!

Andromeda Galaxyon December 27 2014 01:50 UTCReady for review

The work on this task is ready to be reviewed.

Andromeda Galaxyon December 27 2014 16:28 UTCdiff files

Sorry for the multiple different files, the first couple each had a line that I'd put in accidentally missing.

Mihai Neacsu on December 27 2014 20:47 UTCTask Closed

Congratulations, this task has been completed successfully.