Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bertt committed Mar 27, 2024
1 parent dec5d93 commit d5e7fbc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/TileHandlerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void GetGpuTileTest()
var instance = new Instance();
instance.Position = new Wkx.Point(1, 2, 0);
instance.Scale = 1;
instance.Model = "box.glb";
instance.Model = "Box.glb";
instances.Add(instance);

// act
Expand Down Expand Up @@ -111,7 +111,7 @@ public void GetTileWithScaleNonUniformTest()
var instance = new Instance();
instance.Position = new Wkx.Point(1, 2);
instance.ScaleNonUniform = scaleNonuniform;
instance.Model = "box.glb";
instance.Model = "Box.glb";
instances.Add(instance);

// act
Expand All @@ -133,7 +133,7 @@ public void GetTileWithExternalModelTest()
var instances = new List<Instance>();
var instance = new Instance();
instance.Position = new Wkx.Point(1, 2);
instance.Model = "box.glb";
instance.Model = "Box.glb";
instances.Add(instance);

// act
Expand All @@ -144,7 +144,7 @@ public void GetTileWithExternalModelTest()
// assert
Assert.That(tile.Length > 0);
Assert.That(i3dm.Positions.Count == 1);
Assert.That(i3dm.GlbUrl.StartsWith("box.glb"));
Assert.That(i3dm.GlbUrl.StartsWith("Box.glb"));
Assert.That(i3dm.GlbData == null);
}

Expand All @@ -155,12 +155,12 @@ public void GetTileWithRtcCenterTest()
var instances = new List<Instance>();
var instance = new Instance();
instance.Position = new Wkx.Point(1, 2);
instance.Model = "box.glb";
instance.Model = "Box.glb";
instances.Add(instance);

var instance1 = new Instance();
instance1.Position = new Wkx.Point(10, 20);
instance1.Model = "box.glb";
instance1.Model = "Box.glb";
instances.Add(instance1);

// act
Expand All @@ -183,7 +183,7 @@ public void GetTileWithTagsTest()
var instances = new List<Instance>();
var instance = new Instance();
instance.Position = new Wkx.Point(1, 2);
instance.Model = "box.glb";
instance.Model = "Box.glb";
var tags = JArray.Parse("[{'id':123},{'name': 'test'}]");
instance.Tags = tags;
instances.Add(instance);
Expand Down

0 comments on commit d5e7fbc

Please sign in to comment.