Giter VIP home page Giter VIP logo

Comments (2)

Dash-L avatar Dash-L commented on August 20, 2024 1

Thanks for the quick reply!

I wasn't quite able to include a mock Arduino.h, since that gave me a lot of name conflicts using PlatformIO's build system and ArduinoFake already defines it's own Arduino.h, but I did find a way of patching the impl/NotSoBasicLinearAlgebra.h file to include the #include <algorithm> and using std::max;

I think this issue can be closed now, thanks again!

from basiclinearalgebra.

tomstewart89 avatar tomstewart89 commented on August 20, 2024

Hey @Dash-L , thanks for the interest in my library!

Actually all the tests in this repo are run in a standard linux environment so I'm sure you'll be able to set some tests up too. To deal with that pesky max problem I just defined a mock Arduino.h which contains a using std::max;

If you want to run the tests on your local environment just clone this repo and (on linux):

$ mkdir test/build && cd test/build
$ cmake ..
$ make
$ ./test_linear_algebra

Hope that helps!

from basiclinearalgebra.

Related Issues (20)

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.