mirror of https://github.com/CGAL/cgal
Add a testsuite
This commit is contained in:
parent
d2425251bf
commit
ce086fed46
|
|
@ -0,0 +1,13 @@
|
||||||
|
#include <CGAL/Dynamic_property_map.h>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
CGAL::Dynamic_property_map<int,int> dpm(2);
|
||||||
|
assert(dpm.default_value() == 2);
|
||||||
|
|
||||||
|
assert(get(dpm, 0) == 2);
|
||||||
|
put(dpm, 0, 1);
|
||||||
|
assert(get(dpm, 0) == 1);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue