Remove the std_vector test I've added while trying for testing purposes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3b6e37bdf8
commit
4da42db22e
3 changed files with 0 additions and 25 deletions
|
|
@ -25,7 +25,6 @@ CPP_TEST_CASES += \
|
||||||
cpp_basic_namespaced_class \
|
cpp_basic_namespaced_class \
|
||||||
cpp_basic_template_function \
|
cpp_basic_template_function \
|
||||||
cpp_basic_template_class \
|
cpp_basic_template_class \
|
||||||
cpp_basic_std_vector_built_in \
|
|
||||||
c_backend_cpp_natural_std_string \
|
c_backend_cpp_natural_std_string \
|
||||||
c_backend_cpp_exception
|
c_backend_cpp_exception
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
#include <assert.h>
|
|
||||||
#include "cpp_basic_std_vector_built_in/cpp_basic_std_vector_built_in_proxy.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int main() {
|
|
||||||
Int_Vector *myIntVector = new_Int_Vector_size_t(42);
|
|
||||||
|
|
||||||
assert(Int_Vector_capacity(myIntVector) == 42);
|
|
||||||
Int_Vector_push_back(myIntVector, 4711);
|
|
||||||
assert(Int_Vector_size(myIntVector) == 43);
|
|
||||||
assert(Int_Vector_at(myIntVector, 42) == 4711);
|
|
||||||
Int_Vector_clear(myIntVector);
|
|
||||||
assert(Int_Vector_empty(myIntVector));
|
|
||||||
assert(Int_Vector_size(myIntVector) == 0);
|
|
||||||
Int_Vector_push_back(myIntVector, 23);
|
|
||||||
assert(Int_Vector_size(myIntVector) == 1);
|
|
||||||
|
|
||||||
delete_Int_Vector(myIntVector);
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
%module cpp_basic_std_vector_built_in
|
|
||||||
|
|
||||||
%include <std_vector.i>
|
|
||||||
|
|
||||||
%template(Int_Vector) std::vector<int>;
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue