fixed formatting in gles2 version.rs

This commit is contained in:
Christian Meissl 2021-05-13 17:05:01 +02:00
parent 3ceff8ec67
commit f7b58b146c
1 changed files with 5 additions and 5 deletions

View File

@ -69,26 +69,26 @@ mod tests {
#[test] #[test]
fn test_3_2_greater_3_0() { fn test_3_2_greater_3_0() {
assert!(GlVersion::new(3,2) > GlVersion::new(3,0)) assert!(GlVersion::new(3, 2) > GlVersion::new(3, 0))
} }
#[test] #[test]
fn test_3_0_greater_or_equal_3_0() { fn test_3_0_greater_or_equal_3_0() {
assert!(GlVersion::new(3,0) >= GlVersion::new(3,0)) assert!(GlVersion::new(3, 0) >= GlVersion::new(3, 0))
} }
#[test] #[test]
fn test_3_0_less_or_equal_3_0() { fn test_3_0_less_or_equal_3_0() {
assert!(GlVersion::new(3,0) <= GlVersion::new(3,0)) assert!(GlVersion::new(3, 0) <= GlVersion::new(3, 0))
} }
#[test] #[test]
fn test_3_0_eq_3_0() { fn test_3_0_eq_3_0() {
assert!(GlVersion::new(3,0) == GlVersion::new(3,0)) assert!(GlVersion::new(3, 0) == GlVersion::new(3, 0))
} }
#[test] #[test]
fn test_2_0_less_3_0() { fn test_2_0_less_3_0() {
assert!(GlVersion::new(2,0) < GlVersion::new(3,0)) assert!(GlVersion::new(2, 0) < GlVersion::new(3, 0))
} }
} }