Giter VIP home page Giter VIP logo

Comments (4)

Shnatsel avatar Shnatsel commented on July 21, 2024 1

https://github.com/jakubadamw/arbitrary-model-tests is an evolved version of https://github.com/blt/bughunt-rust - it autogenerates all the verification code in a proc macro, all you have to do is supply it with a reference implementation of the data structure to compare against. It already includes a HashMap example using std::HashMap.

from hashbrown.

jonhoo avatar jonhoo commented on July 21, 2024 1

Which is basically hashbrown :p Finding a way to integrate it here would be amazing though! And I'll see if I can't take a stab at getting it set up with griddle too.

from hashbrown.

jakubadamw avatar jakubadamw commented on July 21, 2024 1

@jonhoo, I'm the maintainer of that project (which now has a proper name: rutenspitz), so if I could be of any assistance, please do cc me. :)

In the past I have used it to fuzz hashbrown, which is how I found the issue #113. It was however deemed the expected behavior. 🙂 The fuzzer could nonetheless be used as part of a regression suite, perhaps.

from hashbrown.

jonhoo avatar jonhoo commented on July 21, 2024

I've adapted indexmap's tests/quick.rs for the standard HashMap interface over in https://github.com/jonhoo/griddle/blob/master/tests/quick.rs, which may also be helpful. My plan is to try and keep the two synced, while adding some additions that are specific to the standard HashMap.

from hashbrown.

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.