• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1% # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
2% # Licensed under the Apache License, Version 2.0 (the "License");
3% # you may not use this file except in compliance with the License.
4% # You may obtain a copy of the License at
5% #
6% # http://www.apache.org/licenses/LICENSE-2.0
7% #
8% # Unless required by applicable law or agreed to in writing, software
9% # distributed under the License is distributed on an "AS IS" BASIS,
10% # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11% # See the License for the specific language governing permissions and
12% # limitations under the License.
13
14# Uncovered Assertions
15
16The following assertions from the specification are not covered by tests
17
18<% uncovered.each do |v| %>
19
20## <%= v['title'] %>
21<% if v['description'] -%>
22
23Description: <%= md(v['description']) %>
24<% end %>
25<% if v['instructions'].class == Array -%>
26
27Instructions:
28
29<% v['instructions']&.each do |i| -%>
30- **<%= md(i['sig']) -%>**
31  - *format:* <%= format_array(i) %>
32<% if i['type'] %>  - *type:* <%= md(i['type']) + "\n" %><% end -%>
33<% if i['dtype'] %>  - *dtype:* <%= md(i['dtype']) + "\n" %><% end -%>
34<% if i['etype'] %>  - *etype:* <%= md(i['etype']) + "\n" %><% end -%>
35<% if i['properties'] %>  - *properties:* <%= props(i['properties']) + "\n" %><% end -%>
36<% end -%>
37<% end -%>
38<% if v['exceptions'].class == Array %>
39
40Exceptions:
41
42<% v['exceptions']&.each do |e| -%>
43- <%= md(e) %>
44<% end -%>
45<% end -%>
46<% if v['verification'].class == Array %>
47
48Verification:
49
50<% v['verification']&.each do |x| -%>
51- <%= md(x) %>
52<% end -%>
53<% end -%>
54<% end -%>
55