Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
iesahin committed Jan 18, 2023
1 parent 70f9941 commit bc1846e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ecs/src/ecs/r11store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ where
/// ```
/// # use xvc_ecs::{R11Store, XvcEntity};
/// # let mut rs = R11Store::<String, String>::new();
/// let entity: XvcEntity = 100usize.into();
/// let entity: XvcEntity = (100u64, 200u64).into();
/// rs.insert(&entity, "left component".into(), "right component".to_string());
/// ```
Expand All @@ -77,7 +77,7 @@ where
/// ```
/// # use xvc_ecs::{R11Store, XvcEntity};
/// # let mut rs = R11Store::<String, String>::new();
/// let entity: XvcEntity = 100.into();
/// let entity: XvcEntity = (100, 200).into();
/// rs.insert(&entity, "left component".into(), "right component".into());
/// ```
pub fn right_to_left(&self, entity: &XvcEntity) -> Option<(&XvcEntity, &T)> {
Expand All @@ -88,7 +88,7 @@ where
/// ```
/// # use xvc_ecs::{R11Store, XvcEntity};
/// # let mut rs = R11Store::<String, String>::new();
/// let entity: XvcEntity = 100.into();
/// let entity: XvcEntity = (100, 200).into();
/// rs.insert(&entity, "left component".into(), "right component".into());
/// let t = rs.tuple(&entity);
/// ```
Expand Down
1 change: 1 addition & 0 deletions logging/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tree and subtasks are marked with indentation.
- [x] `From<(u64, u64)>` and `Into<(u64, u64)>`
- [x] Tests
- [x] Add tests for `From<u128>` and `Into<u128>` ecs/src/ecs/mod.rs
- [x] Fix doc tests that use `100usize` to create `XvcEntity`
- [x] `xvc-test-helper` binary is not produced at builds
- [x] Moved it from dev-dependencies to dependencies in workflow_tests/Cargo.toml
- [x] Still doesn't work 🛑
Expand Down

0 comments on commit bc1846e

Please sign in to comment.