Update files for eclipse oxygen

This commit is contained in:
omicron 2017-11-12 08:37:39 -05:00
parent c8c9a477b7
commit 3ebd5d49a9
6 changed files with 18 additions and 22 deletions

View File

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<installed facet="java" version="1.8"/>
</faceted-project>

View File

@ -0,0 +1,7 @@
(let* ((first-payday 5)
(leap-year 0)
(days-in-year 365)
(total-days (+ days-in-year leap-year))
(two-weeks 14))
(+ (/ (- total-days first-payday) two-weeks) 1))

View File

@ -1,14 +0,0 @@
(let ((first-payday-day 6)
(leap-year 0)
(days-in-year 365)
(two-weeks 14))
(+
(/
(-
(+
days-in-year
leap-year)
first-payday-day)
two-weeks)
1))

View File

@ -0,0 +1,7 @@
(let* ((first-payday 5)
(leap-year 0)
(days-in-year 365)
(total-days (+ days-in-year leap-year))
(one-week 7))
(+ (/ (- total-days first-payday) one-week) 1))

View File

@ -34,7 +34,7 @@ public class LETTest extends SymbolAndFunctionCleaner {
}
@Test
public void letWithSetf_DoesNotAlterGlobalVariable() {
public void letWithSetq_DoesNotAlterGlobalVariable() {
String before = "(setq x 22)";
String input = "(let ((x 1)) x)";
String after = "x";
@ -45,7 +45,7 @@ public class LETTest extends SymbolAndFunctionCleaner {
}
@Test
public void letWithNestedSetf_DoesNotAlterGlobalVariable() {
public void letWithNestedSetq_DoesNotAlterGlobalVariable() {
String before = "(setq x 22)";
String input = "(let ((x 33)) (setq x 44) x)";
String after = "x";

View File

@ -34,7 +34,7 @@ public class LET_STARTest extends SymbolAndFunctionCleaner {
}
@Test
public void letStarWithSetf_DoesNotAlterGlobalVariable() {
public void letStarWithSetq_DoesNotAlterGlobalVariable() {
String before = "(setq x 22)";
String input = "(let* ((x 1)) x)";
String after = "x";
@ -45,7 +45,7 @@ public class LET_STARTest extends SymbolAndFunctionCleaner {
}
@Test
public void letStarWithNestedSetf_DoesNotAlterGlobalVariable() {
public void letStarWithNestedSetq_DoesNotAlterGlobalVariable() {
String before = "(setq x 22)";
String input = "(let* ((x 33)) (setq x 44) x)";
String after = "x";