Skip to content

Commit

Permalink
Fixed XorTest
Browse files Browse the repository at this point in the history
  • Loading branch information
kokodyn committed Dec 22, 2020
1 parent a890e35 commit 5edeb4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/java/org/cactoos/scalar/XorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ void singleFalse() throws Exception {
}

@Test
void emptyIteraable() throws Exception {
void emptyIterable() throws Exception {
new Assertion<>(
"Empty iterable must be true",
"Empty iterable must be True",
new Xor(new IterableOf<Scalar<Boolean>>()),
new ScalarHasValue<>(true)
).affirm();
Expand All @@ -118,7 +118,7 @@ void emptyIteraable() throws Exception {
@Test
void oddNumberOfTrue() throws Exception {
new Assertion<>(
"Even number of True must be True",
"Odd number of True must be True",
new Xor(
new False(),
new False(),
Expand All @@ -144,7 +144,7 @@ void evenNumberOfTrue() throws Exception {
@Test
void allFalse() throws Exception {
new Assertion<>(
"Even number of True must be False",
"All False must be False",
new Xor(
new False(),
new False(),
Expand Down

0 comments on commit 5edeb4b

Please sign in to comment.