From 2f02d7f5fe809c55122bae8853d619f2e3ca836d Mon Sep 17 00:00:00 2001 From: George Zhukov Date: Thu, 26 Jun 2014 18:19:38 +0300 Subject: [PATCH 1/2] Written unit tests for math part. --- .../ConverterViewController.xib | 7 ++----- ConverterApp/Math/MathCelsiusToK.h | 2 +- ConverterApp/Math/MathCelsiusToK.m | 3 +++ ConverterApp/Math/MathInchesToCm.h | 2 +- ConverterAppTests/Math/MathBaseTests.m | 6 ++++-- ConverterAppTests/Math/MathCelsiusToKTests.m | 16 +++++++++++++++- ConverterAppTests/Math/MathInchesToCmTests.m | 18 +++++++++++++++++- ConverterAppTests/Math/MathLitersToGalTests.m | 18 +++++++++++++++++- ConverterAppTests/Math/MathMilesToKmTests.m | 15 +++++++++++++++ 9 files changed, 75 insertions(+), 12 deletions(-) diff --git a/ConverterApp/ConverterViewController/ConverterViewController.xib b/ConverterApp/ConverterViewController/ConverterViewController.xib index 951284b..f26da3d 100644 --- a/ConverterApp/ConverterViewController/ConverterViewController.xib +++ b/ConverterApp/ConverterViewController/ConverterViewController.xib @@ -1,7 +1,7 @@ - + - + @@ -19,7 +19,6 @@ - @@ -28,7 +27,6 @@ - @@ -39,7 +37,6 @@