Rob Rix
|
6317228466
|
Move totalSpan into Source.
|
2016-09-14 01:57:51 -04:00 |
|
Rob Rix
|
a6633a5351
|
🔥 a redundant binding.
|
2016-09-13 15:10:49 -04:00 |
|
Rob Rix
|
1c335df1f0
|
Verify that sourceSpanToRange computes correct ranges within lines.
|
2016-09-13 15:04:17 -04:00 |
|
Rob Rix
|
e6f4db8ee8
|
Compute the insetting of SourceSpans & Ranges.
|
2016-09-13 15:03:58 -04:00 |
|
Rob Rix
|
50e5f8a411
|
Verify that sourceSpanToRange computes multi-line ranges.
|
2016-09-13 14:27:52 -04:00 |
|
Rob Rix
|
8de562b88e
|
Verify that totalSpan covers multiple lines.
|
2016-09-13 14:27:36 -04:00 |
|
Rob Rix
|
1b890bcde4
|
Verify that totalSpan covers single lines.
|
2016-09-13 14:27:29 -04:00 |
|
Rob Rix
|
8bdf162874
|
Rename the line-by-line test.
|
2016-09-13 14:27:15 -04:00 |
|
Rob Rix
|
c157962785
|
Add a helper to compute the total span of some source.
|
2016-09-13 14:27:05 -04:00 |
|
Rob Rix
|
6ce0ce5e26
|
Indentation.
|
2016-09-13 13:14:02 -04:00 |
|
Rob Rix
|
c5fed4ac25
|
Test sourceSpanToRange across arbitrary sources.
|
2016-09-13 12:37:59 -04:00 |
|
Rob Rix
|
61dd23789d
|
Rename the test.
|
2016-09-13 12:32:28 -04:00 |
|
Rob Rix
|
5459bd4313
|
🔥 This was wrong.
|
2016-09-13 12:23:25 -04:00 |
|
Rob Rix
|
77ddc0abd8
|
Source spans are zero-indexed.
|
2016-09-13 12:23:05 -04:00 |
|
Rob Rix
|
b7d9ab1875
|
Add a trivial test of SourceSpan -> Range computation.
|
2016-09-13 12:09:18 -04:00 |
|
Rob Rix
|
076f5c0d1e
|
Stub in a spec for sourceSpanToRange.
|
2016-09-13 11:59:46 -04:00 |
|
Rob Rix
|
b5d14e702c
|
Test that actualLineRanges is exhaustive.
|
2016-09-13 11:56:43 -04:00 |
|
Rob Rix
|
04519db7a9
|
Verify that actualLineRanges produces the intended # of lines.
|
2016-09-13 11:39:27 -04:00 |
|
Rob Rix
|
8d5bc01a75
|
Run the Source spec.
|
2016-09-13 11:39:05 -04:00 |
|
Rob Rix
|
dcc164d09f
|
Add a spec for Source.
|
2016-09-13 11:35:10 -04:00 |
|
Rob Rix
|
2b34916554
|
Build and run RangeSpec 😔
|
2016-09-13 11:18:38 -04:00 |
|
Rob Rix
|
8d955c3f96
|
Placate hlint.
|
2016-09-09 14:47:24 -04:00 |
|
Rob Rix
|
98637ad656
|
Generalize Term/TermF & Diff/DiffF over the functor.
|
2016-09-09 14:46:50 -04:00 |
|
joshvera
|
499f5da329
|
Export isBranchInfo and clean up some warnings
|
2016-08-25 12:22:58 -04:00 |
|
joshvera
|
17da45b320
|
Moved isBranchInfo to DiffSummary
|
2016-08-24 15:28:10 -04:00 |
|
joshvera
|
3b33c6860f
|
Update some test diffs
|
2016-08-22 10:33:42 -04:00 |
|
joshvera
|
9064e5f047
|
Fix up semantic-diff-tests
|
2016-08-22 10:33:26 -04:00 |
|
Rob Rix
|
7009d9ac2b
|
Move the multiple hunks fixture back to the main diffs list.
|
2016-08-18 15:33:14 -04:00 |
|
Rob Rix
|
00689650dd
|
Use the defaultFeatureVectorDecorator in the tests.
|
2016-08-18 14:03:36 -04:00 |
|
Rob Rix
|
d169e6fa66
|
Spacing.
|
2016-08-18 12:51:07 -04:00 |
|
Rob Rix
|
b14a7765e6
|
Copy in b.
|
2016-08-18 11:40:39 -04:00 |
|
Rob Rix
|
ecaff655c1
|
Extract a function to copy terms in.
|
2016-08-18 11:40:33 -04:00 |
|
Rob Rix
|
cabf1a887e
|
Compute recursive as copies instead of replacements.
This should make us more accurate to the tests of Interpreter.
|
2016-08-18 11:37:55 -04:00 |
|
Rob Rix
|
02bb72ee0b
|
Move compare to the where clause.
|
2016-08-18 11:25:21 -04:00 |
|
Rob Rix
|
8aa0f082a6
|
Bump _q_ in all of the specs.
Figure it’s best if they use the same value for the parameter.
|
2016-08-18 11:23:21 -04:00 |
|
joshvera
|
c09887b8df
|
update semantic-diff tests
|
2016-08-17 11:24:12 -04:00 |
|
joshvera
|
b4133bdcac
|
Map comma operators to flattened indexed nodes
|
2016-08-16 17:24:06 -04:00 |
|
Rob Rix
|
9dcbe04297
|
Move the multiple hunks fixture to the todo list.
See also #682.
|
2016-08-12 13:43:00 -04:00 |
|
Rob Rix
|
e820b43469
|
🔥 a redundant import.
|
2016-08-12 13:40:41 -04:00 |
|
Rob Rix
|
b91b305f32
|
Re-enable the RWS insertion bias tests.
|
2016-08-12 13:22:55 -04:00 |
|
Rob Rix
|
443df7da7c
|
Merge branch 'unbiased-branch-diff-tests-that-actually-test-branch-diff-bias' into unbiased-branch-diffs
# Conflicts:
# src/Diffing.hs
# test/CorpusSpec.hs
# tools/semantic-git-diff/test/corpus/diff-summaries.json
|
2016-08-12 13:04:33 -04:00 |
|
Rob Rix
|
d9be26396c
|
Make the RWS test pending on #683.
|
2016-08-12 12:58:37 -04:00 |
|
Rob Rix
|
2b35110d0a
|
🔥 the faulty tests of unbiased branch diffs.
|
2016-08-12 12:24:38 -04:00 |
|
Rob Rix
|
ff4861e2fb
|
Add the unbiased insertion test to the Interpreter spec.
|
2016-08-12 12:16:48 -04:00 |
|
Rob Rix
|
d3c333ae64
|
🔥 the faulty tests of unbiased insertions.
|
2016-08-12 11:59:44 -04:00 |
|
Rob Rix
|
b1e893b3f8
|
Add a concrete test of unbiased insertions.
|
2016-08-12 11:59:09 -04:00 |
|
Rob Rix
|
ada00d0485
|
The RWS unbiased tests require disjoint syntax constructors.
|
2016-08-12 11:44:29 -04:00 |
|
Rob Rix
|
5462278d0f
|
Use the replacing combinator in the tests.
|
2016-08-12 11:44:23 -04:00 |
|
Rob Rix
|
bcaf909957
|
Revert "Mark the (failing) rws tests as pending for the time being."
This reverts commit a9025cacda01db216590e99dd36e867611e0f953.
|
2016-08-12 11:44:18 -04:00 |
|
Rob Rix
|
fa983e5561
|
Add a concrete test of unbiased deletions.
|
2016-08-12 11:40:30 -04:00 |
|