Code Monkey home page Code Monkey logo

Hi my name is Danny Kha

Danny's Projects

advent-of-code icon advent-of-code

Danny has no idea what he's doing. But honestly all I want for Christmas is to learn how to code

marlin icon marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. | Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.

media-store-bug-fix icon media-store-bug-fix

The reason why the bug was working was because if you looked at the copy constructors for the book and movie objects, the ID is being created a random UUID. And since for example if you look at the first test method, testMovieActionEquals() you can see that the first two lines created a new MovieAction object (the second one copying the first newly created object) and then a assertTrue which will return true because the second (mc in this method) is copying everything that the first one has (m in this method). including the random ID. And then the test method creates another object named mc but with a new call but with the same parameters, but this time the new call has a different randomized ID, even though the rating and title are the same. Thus making the assertFalse true in this matter once again. That's why all the tests came out true even if you did the long return with all the equals.

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.