Skip to content
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

Add and document three new asserts in Tester #92

Merged
merged 3 commits into from
Dec 7, 2012

Conversation

jucor
Copy link
Contributor

@jucor jucor commented Dec 7, 2012

  • Add assertTensorNe (resp. assertTableNe) to assert that the content of two tensors (resp. table) differ
  • Add assertError to assert that an error occurs during a function call
  • Document those new three asserts
  • Add a unit test for assertError

Julien added 3 commits December 7, 2012 20:09
* assertError() expects an error to occur
* assertTensorNe() expects the content of two tensors to differ
* assertTableNe() expects the content of two tables to differ
koraykv added a commit that referenced this pull request Dec 7, 2012
Add and document three new asserts in Tester
@koraykv koraykv merged commit cc3d455 into torch:master Dec 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants