clean up and added test-cartridges

This commit is contained in:
Nilton Constantino 2026-01-18 05:11:47 +00:00
parent 901b517ba6
commit c49cc634d2
No known key found for this signature in database
6 changed files with 9 additions and 25 deletions

4
Cargo.lock generated
View File

@ -247,10 +247,6 @@ dependencies = [
"wayland-client",
]
[[package]]
name = "cart-demo"
version = "0.1.0"
[[package]]
name = "cc"
version = "1.2.52"

View File

@ -2,6 +2,5 @@
members = [
"crates/prometeu-core",
"crates/host-desktop",
"crates/cart-demo",
]
resolver = "2"

View File

@ -1,6 +0,0 @@
[package]
name = "cart-demo"
version = "0.1.0"
edition = "2024"
[dependencies]

View File

@ -1,14 +0,0 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}

View File

@ -0,0 +1,9 @@
{
"magic": "PMTU",
"cartridge_version": 1,
"app_id": 1,
"title": "Color Square",
"app_version": "0.1.0",
"app_mode": "Game",
"entrypoint": "0"
}

Binary file not shown.