Skip to content

Commit

Permalink
fix(objectionary#3037): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Apr 3, 2024
1 parent f762888 commit 930a59f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion eo-runtime/src/test/eo/org/eolang/cage-tests.eo
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
*
x.encage
if TRUE 1 0
copy.<
copy.it
x.encage
if TRUE copy 0
x
Expand Down
1 change: 0 additions & 1 deletion eo-runtime/src/test/eo/org/eolang/runtime-tests.eo
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

+alias org.eolang.io.stdout
+architect yegor256@gmail.com
+home https://github.com/objectionary/eo
+tests
Expand Down
9 changes: 0 additions & 9 deletions eo-runtime/src/test/java/EOorg/EOeolang/EOcageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,6 @@ void encagesAndFrees() {
);
}

@Test
void checksThatEmptyCageHasIdentity() {
final Phi cage = Phi..take("org.eolang.cage");
MatcherAssert.assertThat(
new Dataized(cage.take(Attr.VERTEX)).take(Long.class),
Matchers.greaterThan(0L)
);
}

@Test
void overwritesCagedObject() {
final Phi cage = EOcageTest.encaged(
Expand Down
2 changes: 1 addition & 1 deletion eo-runtime/src/test/java/org/eolang/VerticesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void performsVtxOperationsConcurrently() {
final List<Scalar<Integer>> tasks = new ArrayList<>(threads);
tasks.addAll(
Stream.generate(() -> (Scalar<Integer>) vtx::next)
.limit(threads / 2)
.limit(threads)
.collect(Collectors.toList())
);
new Threads<>(threads, tasks).forEach(hashes::add);
Expand Down

0 comments on commit 930a59f

Please sign in to comment.