mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 05:45:00 +00:00
feat: Update test values to use 1024 base for k and M suffixes
This commit is contained in:
parent
333ddfb37a
commit
9d570a9cb1
1 changed files with 4 additions and 4 deletions
|
@ -1290,10 +1290,10 @@ class TestCommands(TestCase):
|
||||||
|
|
||||||
# Test with various formats
|
# Test with various formats
|
||||||
test_values = {
|
test_values = {
|
||||||
"8k": 8000,
|
"8k": 8192, # 8 * 1024
|
||||||
"8K": 8000,
|
"8K": 8192, # 8 * 1024
|
||||||
"10.5k": 10500,
|
"10.5k": 10752, # 10.5 * 1024
|
||||||
"0.5M": 500000,
|
"0.5M": 524288, # 0.5 * 1024 * 1024
|
||||||
"1000": 1000,
|
"1000": 1000,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue