Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed Nov 20, 2024
1 parent 72f8bee commit 213345c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test-schreier-sims.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4424,8 +4424,8 @@ namespace libsemigroups {
"[quick][schreier-sims][copy constructor]") {
auto rg = ReportGuard(false);
using Perm = Perm<0, uint8_t>;
SchreierSims<255, uint8_t, Perm>* S1 =
new SchreierSims<255, uint8_t, Perm>();
SchreierSims<255, uint8_t, Perm>* S1
= new SchreierSims<255, uint8_t, Perm>();
S1->add_generator(Perm(
{1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
Expand Down Expand Up @@ -4467,12 +4467,12 @@ namespace libsemigroups {
238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251,
252, 253, 254}));

SchreierSims<255, uint8_t, Perm>* S2 =
new SchreierSims<255, uint8_t, Perm>(std::move(*S1));
SchreierSims<255, uint8_t, Perm>* S2
= new SchreierSims<255, uint8_t, Perm>(std::move(*S1));
REQUIRE(S2->size() == 120);

SchreierSims<255, uint8_t, Perm>* S3 =
new SchreierSims<255, uint8_t, Perm>();
SchreierSims<255, uint8_t, Perm>* S3
= new SchreierSims<255, uint8_t, Perm>();
*S3 = std::move(*S2);
REQUIRE(S3->size() == 120);
delete S1;
Expand Down

0 comments on commit 213345c

Please sign in to comment.