Coder Social home page Coder Social logo

Add Unit tests about splitwebp HOT 6 CLOSED

Razdeep avatar Razdeep commented on July 29, 2024
Add Unit tests

from splitwebp.

Comments (6)

ollelogdahl avatar ollelogdahl commented on July 29, 2024

Hello. I want to contribute to this! :) Working on it now

from splitwebp.

Razdeep avatar Razdeep commented on July 29, 2024

Great!
GTest should be downloaded & built once if a flag like -DBUILD_TEST=ON is provided along with the CMake command.

from splitwebp.

ollelogdahl avatar ollelogdahl commented on July 29, 2024

Having some problems compiling the source. splitwebp.cpp requires fstream (std::fstream is defined in fstream). I will replace the iostream include for the fstream, since fstream itself includes iostream. Linux also requires hdl5 installed separately (dependency of libopencv_hdl), and therefore i have added it in the dependency list in README. I will add this in my final commit :)

from splitwebp.

ollelogdahl avatar ollelogdahl commented on July 29, 2024

Im still intrested in making actual tests for the project, if someone else has the experience to set up the correct environment.

from splitwebp.

Razdeep avatar Razdeep commented on July 29, 2024

Did you manage to compile the source on Linux? What distribution are you using? And what is the opencv version that you have downloaded?

For now, you can install GTest globally (using a package manager like apt-get), and write the tests. Later on, we'll figure out a way to use GTest as ExternalProject.

from splitwebp.

ollelogdahl avatar ollelogdahl commented on July 29, 2024

Using Archlinux. It compiled sucessfully, once i manually installed hdl5 and fixed the include error. Using openCV 4.4.
I will go ahead and write some tests, compiling them globally.

from splitwebp.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.