blob: cddd66d8cedea937b1a4b8e29bc6f50ba9e81896 [file] [log] [blame]
Lukasz Anforowiczb1ff2e52022-05-16 10:54:23 -07001// 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)]
6mod 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}