Giter Club home page Giter Club logo

avl-project's Introduction

avl-project

This repository contains starter code for the first COP3530 project at the University of Florida. We have made this resource available to make it easier to use Catch2 to test your project's code. This repository has been designed to work in VS Code. Download this repository to get started!

Be sure to check out the testing resources at the bottom on how to use Catch2, VSCode, and TestMate.

Edit src/avl.cpp to implement your self-balancing AVL tree, edit test/test.cpp to add to or modify the Catch2 tests, and use the Makefile (or the standard g++ command line interface, or a VSCode build task) to compile and run the tests.

TestMate Information

You may need to edit .vscode/settings.json to get the TestMate Test Explorer to pick up your test executable. Your program's executable (i.e. a.out, AvlTests, a.exe, etc.) name should match exactly what it shows in settings.json. We have provided several possible options if you look at settings.json, you can add a new one to the list. The settings.json file is used to link with Testmate.

Makefile Explanation

To use the Makefile type make into the terminal. Be sure to look at the Makefile to understand what it is doing. Make sure you are in the same directory as the Makefile when you run make. You can check by typing ls into the terminal.

What the Makefile does:

  • All it does is compile then run test/test.cpp which runs tests on src/avl.cpp with Catch2.
  • It checks which operating system the computer uses (MacOS/Linux/Windows), omits the flag "-std=c++11" if the system is Windows and otherwise adds it. Having or not having the flag can make the respective systems angry, so we accounted for that.

Use this link for a refresher on compiling programs using GNU:

Testing Resources

avl-project's People

Contributors

oleibovici avatar hamishpierpont avatar

Watchers

James Cloos avatar

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.