Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fx_s1516
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
battle_C_3
fx_s1516
Commits
bfdca00d
Commit
bfdca00d
authored
4 years ago
by
이화진
Browse files
Options
Downloads
Patches
Plain Diff
Add SW testing part
parent
bde6d305
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+16
-0
16 additions, 0 deletions
README.md
images/test_1.PNG
+0
-0
0 additions, 0 deletions
images/test_1.PNG
images/test_2.PNG
+0
-0
0 additions, 0 deletions
images/test_2.PNG
violations.pdf
+0
-0
0 additions, 0 deletions
violations.pdf
with
16 additions
and
0 deletions
README.md
+
16
−
0
View file @
bfdca00d
...
...
@@ -305,6 +305,22 @@ fx_s1516_longlong_div2: 142857
-
```make CFLAGS=-D[MACRO]```
-
```./fx_test.exe```
## SW TESTING
### 정적 테스트(MISRA_C_2012 기반)
-
fx_s1516_longlong.c fx_s1516_longlong.h test.c 에서 총 30개의 위배가 나옴.
-
정적 테스트 위배 상세 내용은 violations.pdf 파일을 통해 확인할 수 있다.
### 동적 테스트

-
전체 COVERAGE는 100%가 나왔다. DIV 연산에서는 DIVIDE BY ZERO 때문에 오류가 난 테스트 케이스가 있었다.

-
테스트 케이스를 다른 값으로 바꿔 오류를 제거했다.
## References
###### Randy Yates, Fixed-Point Arithmetic: An Introudction. pp6-pp11
...
...
This diff is collapsed.
Click to expand it.
images/test_1.PNG
0 → 100644
+
0
−
0
View file @
bfdca00d
220 KiB
This diff is collapsed.
Click to expand it.
images/test_2.PNG
0 → 100644
+
0
−
0
View file @
bfdca00d
294 KiB
This diff is collapsed.
Click to expand it.
violations.pdf
0 → 100644
+
0
−
0
View file @
bfdca00d
File added
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment