GithubHelp home page GithubHelp logo

fri-5-15-code-review's Introduction

Project: Week 9 Code Review - Substring-in-String Counter

Author: Christopher Huber

Github repo: You're standing on it.

Copyright Christopher Huber, 2020

 

 

Build instructions/Installation:

This project is built in C# 8.0 using .netcoreapp3.1 on a system running Ubuntu 18.04. Dependencies are declared in the wordcounter.csproj and wordcounter.Tests.csproj files in their respective folders; to install, simply clone (or download) this folder into a new directory, git bash to ./wordcounter.Tests/ folder, and run dotnet restore.

To run: either build the project using dotnet build and run the .exe, or navigate to the ./wordcounter/ folder in a terminal and enter "dotnet run"

Development specs:

** Spec 1: Take in an input string from a user as a template string to scan for words** Input/Output: "Banana" |
** Spec 2: Take in a second input string as 'what to look for in the first string'** Input/Output: "anana" |
** Spec 3: Create a new object out of a class** Input/Output: N/A
** Spec 4: Use class's constructor to assign taken-in strings to attributes** Input/Output: "Banana" | RepeatCounter.TemplateString = "Banana"
** Spec 5: Create a method in RepeatCounter to count # of letters in templatestring (test behavior)** Input: "Banana" | Output: 6
** Spec 6: Update Counter Method to count all occurrences of substring in string** Input/Output: "Banana", "anana" | 1
** Spec 7: Add Filter to #6 to not count any occurrences not bracketed by spaces** Input/Output
** Core Functionality ends here; more Specs may be added post-attainment of functionality goals ** Input/Output: "I am a Banana", "I" | 1
** Spec 8: PRINT VALUE ON SCREEN** Input/Output: "cat in a cat bag", "cat" || 2

Contact:

CHuber42.Gmail.com

Copyright Christopher Huber 2020, all rights reserved.

fri-5-15-code-review's People

Contributors

chuber42 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.