diff --git a/test-animal.cpp b/test-animal.cpp deleted file mode 100644 index af5414c..0000000 --- a/test-animal.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// ./kaitai-struct-compiler -t cpp_stl --outdir src-animal schemas/animal.ksy -// g++ -DKS_STR_ENCODING_NONE -Ikaitai_struct_cpp_stl_runtime -I. kaitai_struct_cpp_stl_runtime/kaitai/kaitaistream.cpp src-animal/animal.cpp test-animal.cpp -o test-animal - -#include -#include -#include - -int main() { - std::cout << "BEGIN" << std::endl; - - std::ifstream infile("data/animal.raw", std::ifstream::binary); - - kaitai::kstream ks(&infile); - - animal_t zoo = animal_t(&ks); - - // std::vector *animal_vec = zoo.entry(); - - // for (int i = 0; i < animal_vec->size(); i++) { - // animal_t::animal_entry_t *testAnimal = animal_vec->at(i); - - // std::cout << "Species: " << testAnimal->species() << std::endl; - // std::cout << "Age: " << static_cast(testAnimal->age()) << std::endl; - // std::cout << "Weight: " << testAnimal->weight() << std::endl; - // } - - std::cout << "END" << std::endl; -} diff --git a/test-fake.cpp b/test-fake.cpp deleted file mode 100644 index 763fb74..0000000 --- a/test-fake.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main() { - std::cout << "BEGINS" << std::endl; - - std::ifstream infile("data/fake.raw", std::ifstream::binary); - - kaitai::kstream ks(&infile); - - fake_t points = fake_t(&ks); - - std::cout << "ENDS" << std::endl; -} diff --git a/test-lists.cpp b/test-lists.cpp deleted file mode 100644 index 82e302d..0000000 --- a/test-lists.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main() { - std::cout << "BEGINS" << std::endl; - - std::ifstream infile("data/lists.raw", std::ifstream::binary); - - kaitai::kstream ks(&infile); - - lists_t sample = lists_t(&ks); - - std::cout << "ENDS" << std::endl; -} diff --git a/test-numpy.cpp b/test-numpy.cpp deleted file mode 100644 index 1ea9f61..0000000 --- a/test-numpy.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main() { - std::cout << "BEGINS" << std::endl; - - std::ifstream infile("data/numpy.raw", std::ifstream::binary); - - kaitai::kstream ks(&infile); - - numpy_t points = numpy_t(&ks); - - std::cout << "ENDS" << std::endl; -} diff --git a/test-pixie4e.cpp b/test-pixie4e.cpp deleted file mode 100644 index 2636b42..0000000 --- a/test-pixie4e.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main() { - std::cout << "BEGINS" << std::endl; - - std::ifstream infile("data/StilbeneAmCs_500_0253.set", std::ifstream::binary); - - kaitai::kstream ks(&infile); - - pixie4e_t points = pixie4e_t(&ks); - - std::cout << "ENDS" << std::endl; -} diff --git a/test-records.cpp b/test-records.cpp deleted file mode 100644 index 7118cea..0000000 --- a/test-records.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -int main() { - std::cout << "BEGINS" << std::endl; - - std::ifstream infile("data/records.raw", std::ifstream::binary); - - kaitai::kstream ks(&infile); - - records_t points = records_t(&ks); - - std::cout << "ENDS" << std::endl; -}