MCPcopy Create free account
hub / github.com/Logicalshift/flo_draw / decode_sprite

Function decode_sprite

canvas/src/decoding.rs:1956–1961  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1954
1955 #[test]
1956 fn decode_sprite() {
1957 check_round_trip_single(Draw::Sprite(SpriteId(0)));
1958 check_round_trip_single(Draw::Sprite(SpriteId(10)));
1959 check_round_trip_single(Draw::Sprite(SpriteId(1300)));
1960 check_round_trip_single(Draw::Sprite(SpriteId(1000000000)));
1961 }
1962
1963 #[test]
1964 fn decode_clear_sprite() {

Callers 1

decodeMethod · 0.85

Calls 2

check_round_trip_singleFunction · 0.85
SpriteIdClass · 0.85

Tested by

no test coverage detected