Lukasz Anforowicz | b1ff2e5 | 2022-05-16 10:54:23 -0700 | [diff] [blame] | 1 | // Part of the Crubit project, under the Apache License v2.0 with LLVM |
2 | // Exceptions. See /LICENSE for license information. | ||||
3 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||||
4 | |||||
5 | #[cfg(test)] | ||||
6 | mod tests { | ||||
7 | #[test] | ||||
8 | fn test_two_template_parameters() { | ||||
9 | let s = | ||||
10 | two_template_parameters::AliasToTemplateWithTwoParams { value1: 123, value2: 456.789 }; | ||||
11 | assert_eq!(123, s.value1); | ||||
12 | assert_eq!(456.789, s.value2); | ||||
13 | } | ||||
14 | } |