This repository has been archived by the owner on May 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Fix assertEqual (add to util.ts) #423
Comments
dangerdak
added a commit
to dangerdak/propel
that referenced
this issue
Mar 29, 2018
jasmine_shim.ts and tensor_util.ts use assertEqual from util.ts relates propelml#423
dangerdak
added a commit
to dangerdak/propel
that referenced
this issue
Mar 29, 2018
Merged
dangerdak
added a commit
to dangerdak/propel
that referenced
this issue
Mar 29, 2018
dangerdak
added a commit
to dangerdak/propel
that referenced
this issue
Mar 29, 2018
jasmine_shim.ts and tensor_util.ts use assertEqual from util.ts relates propelml#423
dangerdak
added a commit
to dangerdak/propel
that referenced
this issue
Mar 29, 2018
dangerdak
added a commit
to dangerdak/propel
that referenced
this issue
Mar 30, 2018
jasmine_shim.ts and tensor_util.ts use assertEqual from util.ts relates propelml#423
dangerdak
added a commit
to dangerdak/propel
that referenced
this issue
Mar 30, 2018
dangerdak
added a commit
to dangerdak/propel
that referenced
this issue
Mar 31, 2018
Works with objects. jasmine_shim.ts and tensor_util.ts use equal/assertEqual from util.ts Relates propelml#423
dangerdak
added a commit
to dangerdak/propel
that referenced
this issue
Mar 31, 2018
as assertEqual and equal work with objects (including nested objects). Relates propelml#423
ry
pushed a commit
that referenced
this issue
Mar 31, 2018
Works with objects. jasmine_shim.ts and tensor_util.ts use equal/assertEqual from util.ts Relates #423
ry
pushed a commit
that referenced
this issue
Mar 31, 2018
as assertEqual and equal work with objects (including nested objects). Relates #423
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
should not depend on Tensor, so it can be used in util.ts
should be share code with
toEqual
in the jasmine_shim:propel/tools/jasmine_shim.ts
Lines 61 to 84 in 8b570f0
however the assertEqual in tensor_util should continue to work with Tensors and also share code
propel/src/tensor_util.ts
Lines 71 to 76 in 8b570f0
Also note there exists this lonely function objectsEqual(), which should be used or replaced.
propel/src/util.ts
Lines 123 to 134 in 8b570f0
Should also modify our many tests that use assert when they should use assertEqual:
The text was updated successfully, but these errors were encountered: