-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Major restructuring for fixing the linting workflow errors and m…
…odule style code writing. (#266) * fix: Simple fixes on multiple files * fix: Removed the improper way of testing the caesar (sub)module * fix: properly configured the test * fix: properly configure rot13 * fix: fixed polybius test * fix: fixed xor cipher and its test * fix: Tried to correct the implemention so that the redeclaration error that appears in tests goes away. TODO: Maybe implement it with interfaces. * fix: simple fixes for the dynamic array file in order for it to work as a module * fix: added hashmap tests and removed main * fix: separated the linkedlists (singly and doubly) so that that there are no clashes with the definition of Nodes - can be simplified using an interface * fix: minor changes * fix: changes to dynamic programming (sub)module so that there are no redeclaration issues * feat: mod file for go get command * fix: simple restructuring of the directories * fix: TODO don't know what this function is for? * fix: restructuring * fix: restructure * fix: linting errors * fix: the automated errors in the golangci-lint for datastructures * fix: automated errors in dynamicprogramming with golangci-lint * fix: automated test errors in math directory with golangci-lint * fix: automated errors in graphs directory with golangci-lint * fix: automated errors in others directory and removed a duplicate that already existed in the math directory which I updated in the previous commit * fix: automated errors in strings directory. Still need to write tests for a lot of functions * fix: minor fixes by removing main * fix: commented out one test because it takes too long to run with go test command * fix: linting errors * feat: changes to workflow file * updating DIRECTORY.md * fix: minor naming fix for the algorithm package import in ciphers/rot13/rot13.go * feat: added automated tests: * fix: some issue with automated test: * fix: some testing issues * fix: automated test issue * fix: automated test issue * fix: test issues * fix: test issue for rsa * fix: ignoring rsa tests for test failures Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
- Loading branch information
1 parent
a8f855d
commit 7ea2964
Showing
70 changed files
with
1,840 additions
and
2,032 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: golang-tests | ||
on: [push, pull_request] | ||
jobs: | ||
golang-tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
- run: go version | ||
- name: Tests | ||
run: go test $(go list ./... | grep -v /sbom | grep -v /rsa) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
7ea2964
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey, could you involve me in the rewriting of the ciphers I implemented most of them and I guess they have a sentimental value to me