From 92da8d59c0c73e0c7cd8147da2dac24f01d50fde Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Tue, 17 May 2022 17:38:23 +0430 Subject: [PATCH 1/2] fix : minor edit in tests --- CHANGELOG.md | 4 +++- README.md | 4 ++-- art/test2.py | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index edcfa12c..8e8a8d00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] -- Added `ASCII_FONTS` and `ASCII_ARTS` to `art_param.py` +### Added +- `ASCII_FONTS` list +- `ASCII_ARTS` list ## [5.6] - 2022-04-20 ### Added - 7 new font diff --git a/README.md b/README.md index 83b97765..ce6e2ee8 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ art.art.artError: The 'number' type must be int. * Note1 : Use `ART_NAMES` to access all arts name list (new in `Version 4.2`) * Note2 : Use `NON_ASCII_ARTS` to access all Non-ASCII arts name list (new in `Version 4.6`) -* Note3 : Use `ASCII_ARTS` to access all ASCII arts name list. +* Note3 : Use `ASCII_ARTS` to access all ASCII arts name list (new in `Version 5.7`) ### ASCII text @@ -348,7 +348,7 @@ Filename: test.txt * Note1 : Use `FONT_NAMES` to access all fonts name list (new in `Version 4.2`) * Note2 : Use `NON_ASCII_FONTS` to access all Non-ASCII fonts name list (new in `Version 4.4`) -* Note3 : Use `ASCII_FONTS` to access all ASCII fonts name list. +* Note3 : Use `ASCII_FONTS` to access all ASCII fonts name list (new in `Version 5.7`) ### Decoration diff --git a/art/test2.py b/art/test2.py index ff2f2122..96d00ef1 100644 --- a/art/test2.py +++ b/art/test2.py @@ -3008,6 +3008,8 @@ 'OK' >>> Data["Status"] True +>>> FONT_COUNTER = len(ASCII_FONTS) + len(NON_ASCII_FONTS) +>>> ART_COUNTER = len(ASCII_ARTS) + len(NON_ASCII_ARTS) >>> os.remove("antrophobia.txt") >>> os.remove("fancy37.txt") >>> os.remove("fancy6dec.txt") From 05f1c07622b58ca8bdde8d2d4ce9d633ed6d00af Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Tue, 17 May 2022 17:51:16 +0430 Subject: [PATCH 2/2] fix : minor edit in tests --- art/test2.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/art/test2.py b/art/test2.py index 96d00ef1..00f311a8 100644 --- a/art/test2.py +++ b/art/test2.py @@ -3008,8 +3008,10 @@ 'OK' >>> Data["Status"] True ->>> FONT_COUNTER = len(ASCII_FONTS) + len(NON_ASCII_FONTS) ->>> ART_COUNTER = len(ASCII_ARTS) + len(NON_ASCII_ARTS) +>>> FONT_COUNTER == (len(ASCII_FONTS) + len(NON_ASCII_FONTS)) +True +>>> ART_COUNTER == (len(ASCII_ARTS) + len(NON_ASCII_ARTS)) +True >>> os.remove("antrophobia.txt") >>> os.remove("fancy37.txt") >>> os.remove("fancy6dec.txt")