Rob Rix
|
bee0876bae
|
Correct the test of categorization.
|
2015-10-15 18:29:23 -04:00 |
|
Rob Rix
|
d833e65b50
|
Correct the test of restrictions.
|
2015-10-15 18:29:17 -04:00 |
|
Rob Rix
|
8595464342
|
Migrate the tests to Interpreter.
|
2015-10-15 18:25:35 -04:00 |
|
Rob Rix
|
690e8ef175
|
Rename AlgorithmTests → InterpreterTests.
|
2015-10-15 18:18:38 -04:00 |
|
Rob Rix
|
9a98450cfe
|
Merge branch 'patch-constructors-on-diff' into interpreter
|
2015-10-15 11:23:18 -04:00 |
|
Rob Rix
|
cd7e67c30d
|
Remove the convenience functions.
|
2015-10-15 11:16:27 -04:00 |
|
Rob Rix
|
b4ea7b70bc
|
Use the Diff/Patch constructors in the tests.
|
2015-10-15 11:16:21 -04:00 |
|
Rob Rix
|
a7192afc47
|
Merge branch 'patch-costs-are-proportional-to-the-size-of-their-trees' into interpreter
|
2015-10-15 10:42:02 -04:00 |
|
Rob Rix
|
9cc446b4ea
|
Merge branch 'master' into patch-costs-are-proportional-to-the-size-of-their-trees
Conflicts:
prototype/Doubt/Patch.swift
prototype/Doubt/TermType.swift
prototype/DoubtTests/SESTests.swift
|
2015-10-15 09:32:36 -04:00 |
|
Rob Rix
|
c022085919
|
Merge branch 'master' into restrict-comparisons-by-category
Conflicts:
prototype/Doubt.xcodeproj/project.pbxproj
prototype/Doubt/Fix.swift
|
2015-10-15 09:28:21 -04:00 |
|
Rob Rix
|
89720c8e65
|
Test SES over Cofree terms.
|
2015-10-15 09:08:30 -04:00 |
|
Rob Rix
|
eba7c9bfbd
|
Remove DocTests.swift .
|
2015-10-15 08:54:04 -04:00 |
|
Rob Rix
|
e582f28972
|
Charge a constant cost for the tests.
|
2015-10-14 18:51:52 -04:00 |
|
Rob Rix
|
5fccc3586c
|
Test that uncategorized terms are unrestricted.
|
2015-10-14 17:51:40 -04:00 |
|
Rob Rix
|
c75b2c134e
|
Correct the test of disjoint categorization to assign unique categories to each term.
|
2015-10-14 17:51:31 -04:00 |
|
Rob Rix
|
2aef2114c3
|
Test that comparisons are unrestricted by default.
|
2015-10-14 17:47:07 -04:00 |
|
Rob Rix
|
1134f7a9e9
|
Add a fixture for an unrestricted diff.
|
2015-10-14 17:46:50 -04:00 |
|
Rob Rix
|
90864e397b
|
Avoid an annotation.
|
2015-10-14 17:46:41 -04:00 |
|
Rob Rix
|
0cb72943b1
|
Rename the test case.
|
2015-10-14 17:44:19 -04:00 |
|
Rob Rix
|
d9e7798dde
|
Test that comparisons of disjoint-categorized terms are restricted.
|
2015-10-14 17:41:51 -04:00 |
|
Rob Rix
|
1f23ec9e47
|
Extract the diff into a private global.
|
2015-10-14 17:39:53 -04:00 |
|
Rob Rix
|
7a03f09fe9
|
Test that comparisons are restricted by nil returns from recur .
|
2015-10-14 16:43:08 -04:00 |
|
Rob Rix
|
ed10ec1257
|
Write the fixtures using the typealias.
|
2015-10-14 16:10:23 -04:00 |
|
Rob Rix
|
35617fee70
|
Add typealiases for Diff and Term.
|
2015-10-14 16:09:58 -04:00 |
|
Rob Rix
|
ff559845d8
|
Add a couple of fixtures.
|
2015-10-14 16:07:07 -04:00 |
|
Rob Rix
|
0c78e344ad
|
Stub in a test suite for Algorithm.
|
2015-10-14 15:57:58 -04:00 |
|
Rob Rix
|
b8f8953f1c
|
Return the identity diff when equal.
|
2015-10-14 12:29:40 -04:00 |
|
Rob Rix
|
517c87c303
|
Revert "Revert "SES does not take an equality test.""
This reverts commit bb73f6eac2b59599607369767e9e221e7e5e0f15.
|
2015-10-14 12:28:45 -04:00 |
|
Rob Rix
|
a7f4d91d56
|
Revert "SES does not take an equality test."
This reverts commit 1db8bdf82c85a490188882b810cd9c516e4f210e.
Conflicts:
prototype/Doubt/SES.swift
prototype/DoubtTests/SESTests.swift
|
2015-10-14 12:25:38 -04:00 |
|
Rob Rix
|
8d4a91d3a9
|
Merge branch 'parameterize-algorithm-evaluation-by-comparison-restriction' into generalize-patch
Conflicts:
prototype/Doubt/SES.swift
prototype/DoubtTests/SESTests.swift
|
2015-10-14 12:24:04 -04:00 |
|
Rob Rix
|
6e5335c915
|
SES tests operate over strings.
|
2015-10-14 12:19:38 -04:00 |
|
Rob Rix
|
34258b98b8
|
Generalize Patch from Fix<A> to A .
|
2015-10-14 12:17:39 -04:00 |
|
Rob Rix
|
e33f733d83
|
SES does not take an equality test.
|
2015-10-14 12:14:15 -04:00 |
|
Rob Rix
|
a15687dca3
|
Correct a test fixture.
I am unbelievably glad to be rid of this.
|
2015-10-13 18:05:28 -04:00 |
|
Rob Rix
|
5f395c55cf
|
Disallow diagonal edges.
This technically still allows (in fact, requires) them for equal
elements, but it will never construct `Patch.Replace`.
|
2015-10-13 18:05:11 -04:00 |
|
Rob Rix
|
290ff8853c
|
SESTests uses the constructor conveniences.
|
2015-10-09 18:09:15 -04:00 |
|
Rob Rix
|
3b8b10a4a2
|
Test that empty docs have empty layout.
|
2015-10-07 17:22:53 -04:00 |
|
Rob Rix
|
804e831705
|
🔥 SwiftTests.
This was not really testing anything anyway.
|
2015-10-07 17:20:02 -04:00 |
|
Rob Rix
|
fb41713906
|
Replace roll() with Diff() .
|
2015-10-06 17:48:17 -04:00 |
|
Rob Rix
|
833d27c54a
|
Test an insertion at the end.
|
2015-10-06 17:29:06 -04:00 |
|
Rob Rix
|
6e799e0b79
|
Test a deletion at the end.
|
2015-10-06 17:28:25 -04:00 |
|
Rob Rix
|
17191dd8ab
|
Correct the tests to equate arrays of diffs by element, and not by memory (!).
- rdar://22996431
- rdar://22996542
|
2015-10-06 16:23:48 -04:00 |
|
Rob Rix
|
3cc732f54e
|
Rename DiffTests to SESTests.
|
2015-10-06 14:25:18 -04:00 |
|
Rob Rix
|
0a6a136bff
|
🔥 Vertex & VertexTests.
|
2015-10-06 14:24:56 -04:00 |
|
Rob Rix
|
9b6a3f6e36
|
Remove the fixme because it has been fixed.
|
2015-10-06 14:23:59 -04:00 |
|
Rob Rix
|
a9349c33dc
|
Port the SES example from the paper.
|
2015-10-06 13:27:06 -04:00 |
|
Rob Rix
|
48a0935d5c
|
Use the little API for deletion fixtures.
|
2015-10-06 13:26:44 -04:00 |
|
Rob Rix
|
69d42e121c
|
Port insertion/deletion in the middle.
|
2015-10-06 13:25:56 -04:00 |
|
Rob Rix
|
9761ba3d98
|
Port insertion/deletion at head.
|
2015-10-06 13:25:27 -04:00 |
|
Rob Rix
|
b23a8ac6f7
|
Rename copy to roll so we can actually call it from within the tests.
|
2015-10-06 13:25:09 -04:00 |
|