public void FromValue_WithEmptyBox_ShouldReturnAnInstance() { // Arrange, Act var tree = AxisAlignedBoundingBoxTree <BoxWrapper> .FromValue(new BoxWrapper(AxisAlignedBoundingBox.Empty)); // Assert Assert.NotNull(tree); Assert.NotNull(tree.Root); }
public void FromValue_WithNullValue_ShouldThrowArgumentNullException() { // Act, Assert Assert.Throws <ArgumentNullException>(() => AxisAlignedBoundingBoxTree <BoxWrapper> .FromValue(null)); }