We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8b8236 commit 414d911Copy full SHA for 414d911
1 file changed
crates/lambda-platform/src/gfx/viewport.rs
@@ -55,4 +55,12 @@ pub mod tests {
55
assert_eq!(viewport_builder.x, 0);
56
assert_eq!(viewport_builder.y, 0);
57
}
58
+
59
+ #[test]
60
+ fn viewport_builder_with_coordinates() {
61
+ let viewport_builder =
62
+ super::ViewPortBuilder::new().with_coordinates(10, 10);
63
+ assert_eq!(viewport_builder.x, 10);
64
+ assert_eq!(viewport_builder.y, 10);
65
+ }
66
0 commit comments