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

Function decode_draw_sprite

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

Source from the content-addressed store, hash-verified

1993
1994 #[test]
1995 fn decode_draw_sprite() {
1996 check_round_trip_single(Draw::DrawSprite(SpriteId(0)));
1997 check_round_trip_single(Draw::DrawSprite(SpriteId(10)));
1998 check_round_trip_single(Draw::DrawSprite(SpriteId(1300)));
1999 check_round_trip_single(Draw::DrawSprite(SpriteId(1000000000)));
2000 }
2001
2002 #[test]
2003 fn will_accept_newlines() {

Callers

nothing calls this directly

Calls 2

check_round_trip_singleFunction · 0.85
SpriteIdClass · 0.85

Tested by

no test coverage detected