Giter Club home page Giter Club logo

Ricardo Monteiro's Projects

autopep8 icon autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide.

fpp-lab2.6 icon fpp-lab2.6

Programming Assignment 2-6 Create a Java class called Prog6 and a JUnit Test Case called TestProg6. Follow the instructions in Lecture 1 to create a JUnit Test Case. Create a static method inside Prog6 called removeDups, which accepts an array of Strings as its only argument. When the method is called, it creates a new array in which all duplicate Strings in the original input array have been removed. This new array is then returned. For example, if the input array is ["horse", "dog", "cat", "horse","dog"] then the output would be the following array: ["horse","dog","cat"] You will test your method removeDups in your class TestProg6. In that class, create a method called testRemoveDups, with void return type and no arguments. This method should pass in some array (hard-coded array is fine) to the removeDups method. For instance, you could store the sample input array described above in a variable String[] testData; To pass testData into removeDups, perform this call: String[] result = Prog6.removeDups(testData); After the call, the variable result should contain an array of Strings without duplicates, and each of these Strings should be an element of the original input array. Verify that both these things are true. Use the JUnit function assertTrue to do tests. NOTE: You must not use any "advanced" data structures to solve this problem – such as implementors of Java's Set interface (like HashSet and TreeSet).

hypothesis icon hypothesis

Hypothesis is a powerful, flexible, and easy to use library for property-based testing.

it-books icon it-books

IT, Programming & Computer science books

java icon java

All Algorithms implemented in Java

mapainterativojs icon mapainterativojs

Mapa Interativo do Brasil separado por Estados em Javascript, utilizando a biblioteca open-source Geo Charts da Google

nameextractor icon nameextractor

This was a group project for CS350 (Software Engineering ), the program is supposed to be able to extract personal from a string, to do this the program needs to use several dictionaries, gazeteers, shingling(looking at a word to the left and right from a given position in a sentence), of words, among other things to return where a name is found in a block of text and place a tag around the name. Example: somebody named <PER>NAME HERE </PER> went to... We used the Gradle build system, communicated virtualy through Google Hangouts 4 or 5 times a week. We wrote test cases before developing code. Using JUnit tests.

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.