Skip to content

Commit

Permalink
Fix (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-stan authored Jan 31, 2022
1 parent 256e20d commit ab12c4c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
env:
CIBW_TEST_COMMAND: pytest {project}/test
CIBW_TEST_EXTRAS: test
CIBW_SKIP: "cp310-win* *_i686" # just exclude platforms that error :))
CIBW_SKIP: "cp310-win*" # just exclude platforms that error :))

jobs:
build_sdist:
Expand Down
8 changes: 4 additions & 4 deletions test/writer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -749,12 +749,12 @@ TEST_CASE("Check Spatial Bounds", "[Writer]")
las::Points points(header.PointFormatId(), header.Scale(), header.Offset());

auto point = points.CreatePoint();
point->X(10);
point->Y(10);
point->Z(5);
point->X(9);
point->Y(9);
point->Z(4);

points.AddPoint(point);
writer.AddNode({1, 1, 1, 1}, points);
writer.AddNode({1, 1, 1, 0}, points);
writer.Close();

FileReader reader(file_path);
Expand Down
8 changes: 4 additions & 4 deletions test/writer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,13 +636,13 @@ def test_check_spatial_bounds():

point = points.CreatePoint()
# point has getters/setters for all attributes
point.x = 10
point.y = 10
point.z = 5
point.x = 9
point.y = 9
point.z = 4

points.AddPoint(point)

writer.AddNode((1, 1, 1, 1), points)
writer.AddNode((1, 1, 1, 0), points)
writer.Close()

reader = copc.FileReader(file_path)
Expand Down

0 comments on commit ab12c4c

Please sign in to comment.