-
-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: add additional tests to utils/compact-adjacency-matrix
#1373
Conversation
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.
👋 Hi there! 👋
And thank you for opening your first pull request! We will review it shortly. 🏃 💨
utils/compact-adjacency-matrix
Please review it. |
var tape = require( 'tape' ); | ||
var instanceOf = require( '@stdlib/assert/instance-of' ); | ||
var CompactAdjacencyMatrix = require( './../lib' ); | ||
var tape = require('tape'); |
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.
All of these style changes should not have been made. Please revert and ensure that you follow project conventions.
|
||
tape('initialize the matrix correctly', function test(t) { | ||
var mat = new CompactAdjacencyMatrix(4); | ||
t.deepEqual(mat.matrix, [ |
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.
@uchiha-vivek Did you run these tests?
Based on what you have here, it does not appear so. There is no matrix
attribute, and these tests are not written correctly.
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.
This PR needs significant changes in order to be merged. I encourage you to see the tests for other packages (e.g., @stdlib/array/complex64
) for what we expect in terms of rigor and level of detail.
This pull request has been automatically closed because it has been inactive for an extended period after changes were requested. If you still wish to pursue this contribution, feel free to reopen the pull request or submit a new one. We appreciate your interest in contributing to stdlib! |
Resolves # .
Description
Test Cases for adjacency matrix
This pull request:
Related Issues
This pull request:
Questions
Please review the features and suggest changes if required.
Other
No.
Checklist
@stdlib-js/reviewers