style(lint): flutter analyze 경고 91건 → 0건 전체 정리
- analysis_options.yaml: freezed/g.dart 생성 파일 분석 제외
- game_text_l10n.dart: if문 중괄호 추가, 불필요한 ${} 제거
- iap_service.dart: 불필요한 dart:typed_data import 제거
- pq_logic.dart, combat_text_frames.dart: dangling library doc → library; 추가
- save_picker_dialog.dart: __ → _ (unnecessary_underscores)
- desktop_equipment_panel.dart: 불필요한 import 제거
- test 파일: _localVar → localVar 네이밍, ignore_for_file 추가
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// ignore_for_file: avoid_print
|
||||
|
||||
import 'dart:math';
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
@@ -7,7 +9,7 @@ import 'package:flutter_test/flutter_test.dart';
|
||||
/// 다양한 GCD 값에 대해 전투 효율성을 측정
|
||||
void main() {
|
||||
test('GCD 시뮬레이션 - 다양한 값 비교', () {
|
||||
print('\n' + '=' * 80);
|
||||
print('\n${'=' * 80}');
|
||||
print('글로벌 쿨타임(GCD) 시뮬레이션 결과');
|
||||
print('=' * 80);
|
||||
|
||||
@@ -93,14 +95,14 @@ void main() {
|
||||
'- DPS 손실이 크지 않음 (${((1 - gcd1500.avgDps / baselineDps) * 100).toStringAsFixed(0)}% ~ ${((1 - gcd2000.avgDps / baselineDps) * 100).toStringAsFixed(0)}%)',
|
||||
);
|
||||
|
||||
print('\n' + '=' * 80);
|
||||
print('\n${'=' * 80}');
|
||||
|
||||
// 테스트는 항상 통과 (정보 출력용)
|
||||
expect(true, isTrue);
|
||||
});
|
||||
|
||||
test('GCD 상세 시뮬레이션 - 레벨별 영향', () {
|
||||
print('\n' + '=' * 80);
|
||||
print('\n${'=' * 80}');
|
||||
print('레벨별 GCD 영향 분석');
|
||||
print('=' * 80);
|
||||
|
||||
@@ -153,7 +155,7 @@ void main() {
|
||||
}
|
||||
}
|
||||
|
||||
print('\n' + '=' * 80);
|
||||
print('\n${'=' * 80}');
|
||||
expect(true, isTrue);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user